View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012114 | Scribus | General | public | 2014-03-02 21:05 | 2014-04-06 18:35 |
Reporter | FirasH | Assigned To | fschmid | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x86_64 | OS | openSUSE | OS Version | 13.1 |
Product Version | 1.5.0svn | ||||
Target Version | 1.5.0 | Fixed in Version | 1.5.0svn | ||
Summary | 0012114: Double-clicking on Spiral entries in "Outline" window crashes Scribus in determined condition | ||||
Description | "Outline" window does not handle as expected Spirals inside of a document. | ||||
Steps To Reproduce | 0) Create a new document 1) Open "Windows" > "Outline" 2) Insert a Spiral from Canvas 3) Insert a Polygon from Canvas 4) From "Outline" > "Document-X" double-click on "Spiral" 5) From "Outline" > "Document-X" double-click on "Polygon" Scribus crashes due to Signal 11 If you do Step 5) before Step 4) the entry "Spiral" will not be clickable. | ||||
Additional Information | Scribus 1.5.0 (18858) - Qt 5.2.1 | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
Program received signal SIGSEGV, Segmentation fault. 0x000000000089aba4 in CanvasMode_EditSpiral::updateFromItem (this=0x33ab100) at /home/.../Scribus/scribus/canvasmode_editspiral.cpp:150 150 startAngle = item->spiralStartAngle; (gdb) bt #0 0x000000000089aba4 in CanvasMode_EditSpiral::updateFromItem (this=0x33ab100) at /home/.../Scribus/scribus/canvasmode_editspiral.cpp:150 0000001 0x00000000007744e5 in CanvasMode_EditSpiral::qt_static_metacall (_o=0x33ab100, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffa780) at /home/.../Scribus/build/scribus/moc_canvasmode_editspiral.cpp:81 0000002 0x00007ffff769d6b1 in QMetaObject::activate(QObject*, int, int, void**) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5 0000003 0x000000000078a31b in ScribusDoc::docChanged (this=0x330ed90) at /home/.../Scribus/build/scribus/moc_scribusdoc.cpp:973 0000004 0x0000000000d3b8f7 in ScribusDoc::changed (this=0x330ed90) at /home/.../Scribus/scribus/scribusdoc.cpp:13471 0000005 0x0000000000d62bf7 in DocUpdater::changed (this=0x32cd660, it=0x31cf450, doLayout=false) at /home/.../Scribus/scribus/scribusdoc.cpp:187 0000006 0x0000000000d74f7e in MassObservable<PageItem*>::updateNow (this=0x330ffc0, what=0x2f1bdd0) at /home/.../Scribus/scribus/observable.h:272 0000007 0x0000000000d6f313 in MassObservable<PageItem*>::update (this=0x330ffc0, what=0x31cf450) at /home/.../Scribus/scribus/observable.h:252 0000008 0x000000000077bd80 in SingleObservable<PageItem>::update (this=0x31cf490) at /home/.../Scribus/build/scribus/../../scribus/observable.h:178 0000009 0x0000000000f69031 in NodePalette::MoveN (this=0x2a33740) at /home/.../Scribus/scribus/ui/nodeeditpalette.cpp:834 0000010 0x0000000000c9a22d in ScribusMainWindow::ToggleFrameEdit (this=0x19877d0) at /home/.../Scribus/scribus/scribus.cpp:6538 0000011 0x0000000000c9d9d9 in ScribusMainWindow::setAppMode (this=0x19877d0, mode=29) at /home/.../Scribus/scribus/scribus.cpp:6782 0000012 0x0000000000d8104a in ScribusView::requestMode (this=0x3373bf0, appMode=29) at /home/.../Scribus/scribus/scribusview.cpp:667 0000013 0x0000000000ca4593 in ScribusMainWindow::editItemsFromOutlines (this=0x19877d0, ite=0x31cf450) at /home/.../Scribus/scribus/scribus.cpp:7881 0000014 0x0000000000785fee in ScribusMainWindow::qt_static_metacall (_o=0x19877d0, _c=QMetaObject::InvokeMetaMethod, _id=159, _a=0x7fffffffbb70) at /home/.../Scribus/build/scribus/moc_scribus.cpp:1086 0000015 0x00007ffff769d6b1 in QMetaObject::activate(QObject*, int, int, void**) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5 0000016 0x00000000007a4f75 in OutlinePalette::editElementByItem (this=0x2551ab0, _t1=0x31cf450) at /home/.../Scribus/build/scribus/ui/moc_outlinepalette.cpp:262 0000017 0x0000000000f7e0de in OutlinePalette::slotDoubleClick (this=0x2551ab0, ite=0x2e858d0) at /home/.../Scribus/scribus/ui/outlinepalette.cpp:994 0000018 0x00000000007a4c24 in OutlinePalette::qt_static_metacall (_o=0x2551ab0, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0x7fffffffbdc0) at /home/.../Scribus/build/scribus/ui/moc_outlinepalette.cpp:170 0000019 0x00007ffff769d6b1 in QMetaObject::activate(QObject*, int, int, void**) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5 0000020 0x00007ffff6fa9380 in QTreeWidget::itemDoubleClicked(QTreeWidgetItem*, int) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5 0000021 0x00007ffff769d6b1 in QMetaObject::activate(QObject*, int, int, void**) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5 0000022 0x00007ffff6f303d5 in QAbstractItemView::doubleClicked(QModelIndex const&) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5 0000023 0x00007ffff6f7dd90 in QTreeView::mouseDoubleClickEvent(QMouseEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5 0000024 0x00007ffff6d24091 in QWidget::event(QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5 0000025 0x00007ffff6e2f0f6 in QFrame::event(QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5 0000026 0x00007ffff6f3b79b in QAbstractItemView::viewportEvent(QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5 0000027 0x00007ffff6f78c8a in QTreeView::viewportEvent(QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5 0000028 0x0000000000f79980 in OutlineWidget::viewportEvent (this=0x20870c0, event=0x7fffffffcee0) at /home/.../Scribus/scribus/ui/outlinepalette.cpp:372 0000029 0x00007ffff767495d in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5 0000030 0x00007ffff6cec0bf in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5 0000031 0x00007ffff6cef4d6 in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5 0000032 0x00007ffff7674734 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5 0000033 0x00007ffff6cee54a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5 0000034 0x00007ffff6d43b65 in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5 0000035 0x00007ffff6d45f98 in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5 0000036 0x00007ffff6cec0f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5 0000037 0x00007ffff6cef6ae in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5 0000038 0x00007ffff7674734 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5 0000039 0x00007ffff6608ccc in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Gui.so.5 0000040 0x00007ffff66094a5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Gui.so.5 0000041 0x00007ffff65f0ba8 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Gui.so.5 0000042 0x00007fffe58281b0 in ?? () from /home/.../Qt/5.2.1/gcc_64/plugins/platforms/libqxcb.so 0000043 0x00007fffed05d316 in g_main_dispatch (context=0x7fffe0001740) at gmain.c:3066 0000044 g_main_context_dispatch (context=context@entry=0x7fffe0001740) at gmain.c:3642 0000045 0x00007fffed05d668 in g_main_context_iterate (context=context@entry=0x7fffe0001740, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713 0000046 0x00007fffed05d70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1) at gmain.c:3774 0000047 0x00007ffff76c5374 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5 0000048 0x00007ffff76734ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5 0000049 0x00007ffff767753e in QCoreApplication::exec() () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5 0000050 0x000000000122289c in mainApp (argc=1, argv=0x7fffffffdd98) at /home/.../Scribus/scribus/main_nix.cpp:86 0000051 0x000000000122282c in main (argc=1, argv=0x7fffffffdd98) at /home/.../Scribus/scribus/main_nix.cpp:54 |
|
Same issue happens with Table/Arc/Polygon (not Shape) entries. (Basically the new tools introduced with 1.5.0) |
|
Process 40594 stopped * thread 0000001: tid = 0x2f335, 0x00000001002deb2b Scribus`PageItem::getCombinedTransform(this=0x0000000000000000) const + 43 at pageitem.cpp:8430, queue = 'com.apple.main-thread, stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x00000001002deb2b Scribus`PageItem::getCombinedTransform(this=0x0000000000000000) const + 43 at pageitem.cpp:8430 8427 QTransform PageItem::getCombinedTransform() const 8428 { 8429 QTransform result; -> 8430 if (isGroupChild()) 8431 { 8432 QList<const PageItem*> itList; 8433 const PageItem* ite = this; (lldb) bt * thread 0000001: tid = 0x2f335, 0x00000001002deb2b Scribus`PageItem::getCombinedTransform(this=0x0000000000000000) const + 43 at pageitem.cpp:8430, queue = 'com.apple.main-thread, stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x00000001002deb2b Scribus`PageItem::getCombinedTransform(this=0x0000000000000000) const + 43 at pageitem.cpp:8430 frame 0000001: 0x00000001002deaec Scribus`PageItem::getTransform(this=0x0000000000000000) const + 28 at pageitem.cpp:8424 frame 0000002: 0x000000010017a43c Scribus`CanvasMode_EditPolygon::drawControlsPolygon(this=0x00000001129ab6c0, psx=0x00007fff5fbfd0f8, currItem=0x0000000000000000) + 476 at canvasmode_editpolygon.cpp:95 frame 0000003: 0x000000010017a244 Scribus`CanvasMode_EditPolygon::drawControls(this=0x00000001129ab6c0, p=0x00007fff5fbfd0f8) + 212 at canvasmode_editpolygon.cpp:85 frame 0000004: 0x00000001000f9d37 Scribus`Canvas::paintEvent(this=0x000000011321d650, p=0x00007fff5fbfd770) + 2263 at canvas.cpp:958 frame 0000005: 0x00000001024615e6 QtWidgets`QWidget::event(QEvent*) + 1958 frame 0000006: 0x0000000102428f2c QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 300 frame 0000007: 0x000000010242ba1d QtWidgets`QApplication::notify(QObject*, QEvent*) + 6157 frame 0000008: 0x000000010202c0b2 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 114 frame 0000009: 0x000000010245c29a QtWidgets`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 2890 frame 0000010: 0x00000001024348fa QtWidgets`QWidgetBackingStore::sync() + 3066 frame 0000011: 0x0000000102453a13 QtWidgets`QWidgetPrivate::syncBackingStore() + 211 frame 0000012: 0x000000010246188a QtWidgets`QWidget::event(QEvent*) + 2634 frame 0000013: 0x0000000102555807 QtWidgets`QMainWindow::event(QEvent*) + 935 frame 0000014: 0x0000000102428f2c QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 300 frame 0000015: 0x000000010242ba1d QtWidgets`QApplication::notify(QObject*, QEvent*) + 6157 frame 0000016: 0x000000010202cc07 QtCore`QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 631 frame 0000017: 0x0000000106d1a4c0 libqcocoa.dylib`QCocoaEventDispatcherPrivate::processPostedEvents() + 288 frame 0000018: 0x0000000106d1afd8 libqcocoa.dylib`QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 40 frame 0000019: 0x00007fff8cf4e731 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 frame 0000020: 0x00007fff8cf3fea2 CoreFoundation`__CFRunLoopDoSources0 + 242 frame 0000021: 0x00007fff8cf3f62f CoreFoundation`__CFRunLoopRun + 831 frame 0000022: 0x00007fff8cf3f0b5 CoreFoundation`CFRunLoopRunSpecific + 309 frame 0000023: 0x00007fff84350a0d HIToolbox`RunCurrentEventLoopInMode + 226 frame 0000024: 0x00007fff843507b7 HIToolbox`ReceiveNextEventCommon + 479 frame 0000025: 0x00007fff843505bc HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 65 frame 0000026: 0x00007fff8f4123de AppKit`_DPSNextEvent + 1434 frame 0000027: 0x00007fff8f411a2b AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122 frame 0000028: 0x00007fff8f405b2c AppKit`-[NSApplication run] + 553 frame 0000029: 0x0000000106d19d44 libqcocoa.dylib`QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2404 frame 0000030: 0x000000010202964d QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 397 frame 0000031: 0x000000010202c652 QtCore`QCoreApplication::exec() + 354 frame 0000032: 0x0000000100d62878 Scribus`mainApp(argc=1, argv=0x00007fff5fbffbc0) + 168 at main_nix.cpp:86 frame 0000033: 0x0000000100d627c2 Scribus`main(argc=1, argv=0x00007fff5fbffbc0) + 34 at main_nix.cpp:54 frame 0000034: 0x0000000100009034 Scribus`start + 52 |
|
FirasH, can you please re-test? |
|
Re-tested, cannot reproduce the issue. |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-03-02 21:05 | FirasH | New Issue | |
2014-03-02 21:08 | FirasH | Note Added: 0031439 | |
2014-03-02 21:15 | FirasH | Note Added: 0031440 | |
2014-03-02 21:27 | jghali | Target Version | => 1.5.0 |
2014-03-06 21:39 | cbradney | Note Added: 0031469 | |
2014-03-08 21:03 | fschmid | Status | new => resolved |
2014-03-08 21:03 | fschmid | Fixed in Version | => 1.5.0svn |
2014-03-08 21:03 | fschmid | Resolution | open => fixed |
2014-03-08 21:03 | fschmid | Assigned To | => fschmid |
2014-04-05 14:37 | christoph_s | Note Added: 0031621 | |
2014-04-06 10:53 | FirasH | Note Added: 0031632 | |
2014-04-06 18:35 | christoph_s | Status | resolved => closed |