View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012666 | Scribus | General | public | 2014-09-05 16:46 | 2014-09-14 14:02 |
Reporter | FirasH | Assigned To | cbradney | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x86_64 | OS | openSUSE | OS Version | 13.1 |
Product Version | 1.5.0svn | ||||
Fixed in Version | 1.5.0svn | ||||
Summary | 0012666: [TESTED-PATCH] "Edit > Cut/Delete/Deselect All" crashes Scribus if Polygon/Arc/Spiral is in Edit mode | ||||
Description | "Edit > Cut/Delete/Deselect All" crashes Scribus if Polygon/Arc/Spiral is in Edit mode. | ||||
Steps To Reproduce | 0) Create a new document 1) Insert a Polygon/Arc/Spiral 2) Double-click on the Polygon/Arc/Spiral so that its Edit window appears 3A) Go to: Edit > Cut/Delete/Deselect All 3B) Go to: Item > Convert to > something 3C) Go to: Page > Insert/Delete/Copy/Convert to Master Page | ||||
Additional Information | 1.5.0.svn (19478) | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
12666.txt (13,709 bytes)
Program received signal SIGSEGV, Segmentation fault. 0x00000000008b4dc6 in CanvasMode_EditSpiral::updateFromItem (this=0x2f03d20) at /home/.../Scribus/scribus/canvasmode_editspiral.cpp:148 148 PageItem_Spiral* item = currItem->asSpiral(); (gdb) bt #0 0x00000000008b4dc6 in CanvasMode_EditSpiral::updateFromItem (this=0x2f03d20) at /home/.../Scribus/scribus/canvasmode_editspiral.cpp:148 #1 0x000000000077f4a1 in CanvasMode_EditSpiral::qt_static_metacall (_o=0x2f03d20, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffbd30) at /home/.../Scribus/build/scribus/moc_canvasmode_editspiral.cpp:81 #2 0x00007ffff768a7b1 in QMetaObject::activate(QObject*, int, int, void**) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 #3 0x000000000079582f in ScribusDoc::docChanged (this=0x340ca10) at /home/.../Scribus/build/scribus/moc_scribusdoc.cpp:1061 #4 0x0000000000d5a144 in ScribusDoc::changed (this=0x340ca10) at /home/.../Scribus/scribus/scribusdoc.cpp:13555 #5 0x0000000000d4ef2a in ScribusDoc::itemSelection_DeleteItem (this=0x340ca10, customSelection=0x0, forceDeletion=false) at /home/.../Scribus/scribus/scribusdoc.cpp:11744 #6 0x0000000000793711 in ScribusDoc::qt_static_metacall (_o=0x340ca10, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0x7fffffffc3a0) at /home/.../Scribus/build/scribus/moc_scribusdoc.cpp:750 #7 0x00007ffff768a7b1 in QMetaObject::activate(QObject*, int, int, void**) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 #8 0x00007ffff6c82632 in QAction::triggered(bool) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 #9 0x00007ffff6c84467 in QAction::activate(QAction::ActionEvent) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 #10 0x00007ffff6e092fa in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 #11 0x00007ffff6e108ff in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 #12 0x00007ffff6e11830 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 #13 0x00007ffff6cc5c27 in QWidget::event(QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 #14 0x00007ffff6e135eb in QMenu::event(QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 #15 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 #16 0x00007ffff6c90e8c in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 #17 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 #18 0x00007ffff6c8fffa in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 #19 0x00007ffff6ce5b5e in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 #20 0x00007ffff6ce89d8 in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 #21 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 #22 0x00007ffff6c910b6 in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 #23 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 #24 0x00007ffff650c537 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5 #25 0x00007ffff650cf75 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5 #26 0x00007ffff64f2208 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5 #27 0x00007fffe548c460 in ?? () from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so #28 0x00007fffecddd316 in g_main_dispatch (context=0x7fffe0001740) at gmain.c:3066 #29 g_main_context_dispatch (context=context@entry=0x7fffe0001740) at gmain.c:3642 #30 0x00007fffecddd668 in g_main_context_iterate (context=context@entry=0x7fffe0001740, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713 #31 0x00007fffecddd70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1) at gmain.c:3774 #32 0x00007ffff76b3574 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 #33 0x00007ffff765711b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 #34 0x00007ffff765bfe5 in QCoreApplication::exec() () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 #35 0x0000000001244558 in mainApp (argc=1, argv=0x7fffffffdd18) at /home/.../Scribus/scribus/main_nix.cpp:86 #36 0x00000000012444e8 in main (argc=1, argv=0x7fffffffdd18) at /home/.../Scribus/scribus/main_nix.cpp:54 (gdb) bt full #0 0x00000000008b4dc6 in CanvasMode_EditSpiral::updateFromItem (this=0x2f03d20) at /home/.../Scribus/scribus/canvasmode_editspiral.cpp:148 currItem = 0x0 item = 0x7fffffffbc40 #1 0x000000000077f4a1 in CanvasMode_EditSpiral::qt_static_metacall (_o=0x2f03d20, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffbd30) at /home/.../Scribus/build/scribus/moc_canvasmode_editspiral.cpp:81 _t = 0x2f03d20 #2 0x00007ffff768a7b1 in QMetaObject::activate(QObject*, int, int, void**) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 No symbol table info available. #3 0x000000000079582f in ScribusDoc::docChanged (this=0x340ca10) at /home/.../Scribus/build/scribus/moc_scribusdoc.cpp:1061 No locals. #4 0x0000000000d5a144 in ScribusDoc::changed (this=0x340ca10) at /home/.../Scribus/scribus/scribusdoc.cpp:13555 No locals. #5 0x0000000000d4ef2a in ScribusDoc::itemSelection_DeleteItem (this=0x340ca10, customSelection=0x0, forceDeletion=false) at /home/.../Scribus/scribus/scribusdoc.cpp:11744 itemSelection = 0x32784e0 selectedItemCount = 1 offs = 0 tooltip = {static null = {<No data fields>}, d = 0x2fa4230} delItems = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = { 0x0}}, d = 0x31b3ff0}, d = 0x31b3ff0}} textInteractionItems = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7ffff7aa4d40 <QListData::shared_null>}, d = 0x7ffff7aa4d40 <QListData::shared_null>}} currItem = 0x3281a40 itemList = 0x340d3a0 activeTransaction = {<Transaction> = {_vptr.Transaction = 0x192fc50 <vtable for UndoTransaction+16>, m_data = { d = 0x351bbc0}}, <No data fields>} #6 0x0000000000793711 in ScribusDoc::qt_static_metacall (_o=0x340ca10, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0x7fffffffc3a0) at /home/.../Scribus/build/scribus/moc_scribusdoc.cpp:750 _t = 0x340ca10 #7 0x00007ffff768a7b1 in QMetaObject::activate(QObject*, int, int, void**) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 No symbol table info available. #8 0x00007ffff6c82632 in QAction::triggered(bool) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 No symbol table info available. #9 0x00007ffff6c84467 in QAction::activate(QAction::ActionEvent) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 No symbol table info available. #10 0x00007ffff6e092fa in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 No symbol table info available. #11 0x00007ffff6e108ff in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 No symbol table info available. #12 0x00007ffff6e11830 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 No symbol table info available. #13 0x00007ffff6cc5c27 in QWidget::event(QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 No symbol table info available. #14 0x00007ffff6e135eb in QMenu::event(QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 No symbol table info available. #15 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 No symbol table info available. #16 0x00007ffff6c90e8c in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 No symbol table info available. #17 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 No symbol table info available. #18 0x00007ffff6c8fffa in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 No symbol table info available. #19 0x00007ffff6ce5b5e in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 No symbol table info available. #20 0x00007ffff6ce89d8 in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 No symbol table info available. #21 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 No symbol table info available. #22 0x00007ffff6c910b6 in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 No symbol table info available. #23 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 No symbol table info available. #24 0x00007ffff650c537 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5 No symbol table info available. #25 0x00007ffff650cf75 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5 No symbol table info available. #26 0x00007ffff64f2208 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5 No symbol table info available. #27 0x00007fffe548c460 in ?? () from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so No symbol table info available. #28 0x00007fffecddd316 in g_main_dispatch (context=0x7fffe0001740) at gmain.c:3066 dispatch = 0x7fffe548c450 was_in_call = 0 user_data = 0x0 callback = 0x0 cb_funcs = 0x0 cb_data = 0x0 need_destroy = <optimized out> current_source_link = {data = 0x19a6120, next = 0x0} source = 0x19a6120 current = 0x1960450 i = 1 #29 g_main_context_dispatch (context=context@entry=0x7fffe0001740) at gmain.c:3642 No locals. #30 0x00007fffecddd668 in g_main_context_iterate (context=context@entry=0x7fffe0001740, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713 max_priority = 0 timeout = 0 some_ready = 1 nfds = <optimized out> allocated_nfds = 5 fds = 0x1b84290 #31 0x00007fffecddd70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1) at gmain.c:3774 retval = <optimized out> #32 0x00007ffff76b3574 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 No symbol table info available. #33 0x00007ffff765711b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 No symbol table info available. #34 0x00007ffff765bfe5 in QCoreApplication::exec() () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 No symbol table info available. #35 0x0000000001244558 in mainApp (argc=1, argv=0x7fffffffdd18) at /home/.../Scribus/scribus/main_nix.cpp:86 appRetVal = 0 app = {<QApplication> = {<No data fields>}, static staticMetaObject = {d = { superdata = 0x7ffff7340180 <QApplication::staticMetaObject>, stringdata = 0x130df40 <qt_meta_stringdata_ScribusQApp>, data = 0x130dfc0 <qt_meta_data_ScribusQApp>, static_metacall = 0x792d6c <ScribusQApp::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, static useGUI = true, m_ScCore = 0x19d5c40, lang = { static null = {<No data fields>}, d = 0x1978d80}, GUILang = {static null = {<No data fields>}, d = 0x19d6590}, showSplash = true, showFontInfo = false, showProfileInfo = false, swapDialogButtonOrder = false, prefsUserFile = { static null = {<No data fields>}, d = 0x7ffff7aa4480 <QArrayData::shared_null>}, filesToLoad = {{p = { static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7ffff7aa4d40 <QListData::shared_null>}, d = 0x7ffff7aa4d40 <QListData::shared_null>}}, fileName = { static null = {<No data fields>}, d = 0x7ffff7aa4480 <QArrayData::shared_null>}, m_scDLMgr = 0x19ad1c0} #36 0x00000000012444e8 in main (argc=1, argv=0x7fffffffdd18) at /home/.../Scribus/scribus/main_nix.cpp:54 No locals. (gdb) continue Continuing. Crash di Scribus ------------- Scribus รจ andato in crash a causa del Segnale #11 Program received signal SIGSEGV, Segmentation fault. 0x00000000009cdf21 in PageItem::getCombinedTransform (this=0x0) at /home/.../Scribus/scribus/pageitem.cpp:8827 8827 if (isGroupChild()) |
|
Updated as "Edit > Deselect All" crashes as well |
|
Crashes also present when using Item > Convert to > something. |
|
"Edit > Deselect All" fixed.. other things are different issues |
|
Investigated a bit more and basically in Polygon/Arc/Spiral edit mode a lot of entries cause crash as well as enabled palettes (all are usable while in this edit mode). |
|
Yes, and I suspect any other edit mode.. working on this... |
|
Committed r19495 to redo/reorganise app mode switching. void AppModeHelper::setSpecialEditMode(bool b) is now the function that is in question. Feel free to add more to that if you find more that needs disabling in those edit modes. Let me know |
|
I've attached "12666-Additional.diff" which fixes the other crashes reported here. |
|
12666-Additional.diff (1,156 bytes)
Index: scribus/appmodehelper.cpp =================================================================== --- scribus/appmodehelper.cpp (revisione 19498) +++ scribus/appmodehelper.cpp (copia locale) @@ -449,6 +449,19 @@ (*a_scrActions)["editSelectAllOnLayer"]->setEnabled(b2); (*a_scrActions)["editDeselectAll"]->setEnabled(b2); (*a_scrActions)["itemDelete"]->setEnabled(b2); + (*a_scrActions)["itemSendToPattern"]->setEnabled(b2); + (*a_scrActions)["itemSendToInline"]->setEnabled(b2); + (*a_scrActions)["itemConvertToTextFrame"]->setEnabled(b2); + (*a_scrActions)["itemConvertToImageFrame"]->setEnabled(b2); + (*a_scrActions)["itemConvertToPolygon"]->setEnabled(b2); + (*a_scrActions)["itemConvertToBezierCurve"]->setEnabled(b2); + (*a_scrActions)["itemConvertToOutlines"]->setEnabled(b2); + (*a_scrActions)["itemConvertToSymbolFrame"]->setEnabled(b2); + (*a_scrActions)["pageInsert"]->setEnabled(b2); + (*a_scrActions)["pageImport"]->setEnabled(b2); + (*a_scrActions)["pageDelete"]->setEnabled(b2); + (*a_scrActions)["pageCopy"]->setEnabled(b2); + (*a_scrActions)["pageCopyToMasterPage"]->setEnabled(b2); } void AppModeHelper::setFrameEditMode(bool b) |
|
At the moment most of the menu entries are fixed with the attached patch "12666-Additional.diff". I would create a new report for the other minor issues and palettes as the issue described here is fixed. All this notes make things difficult to find/read... |
|
Used a few days now, seems to work correctly. |
|
I've divided the present issues in the 2 related reports. |
|
Thanks cbradney! Closing as fixed. |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-09-05 16:46 | FirasH | New Issue | |
2014-09-05 16:46 | FirasH | File Added: 12666.txt | |
2014-09-05 17:00 | FirasH | Note Added: 0033528 | |
2014-09-05 17:00 | FirasH | Summary | Edit > Delete crashes Scribus if Polygon/Arc/Spiral is in Edit mode => "Edit > Delete/Deselect All" crashes Scribus if Polygon/Arc/Spiral is in Edit mode |
2014-09-05 17:00 | FirasH | Description Updated | |
2014-09-05 17:16 | FirasH | Summary | "Edit > Delete/Deselect All" crashes Scribus if Polygon/Arc/Spiral is in Edit mode => "Edit > Cut/Delete/Deselect All" crashes Scribus if Polygon/Arc/Spiral is in Edit mode |
2014-09-05 17:16 | FirasH | Description Updated | |
2014-09-05 17:16 | FirasH | Steps to Reproduce Updated | |
2014-09-05 18:43 | FirasH | Note Added: 0033530 | |
2014-09-05 21:02 | cbradney | Note Added: 0033533 | |
2014-09-05 21:44 | FirasH | Steps to Reproduce Updated | |
2014-09-05 22:11 | cbradney | Assigned To | => cbradney |
2014-09-05 22:11 | cbradney | Status | new => assigned |
2014-09-06 01:59 | FirasH | Note Added: 0033536 | |
2014-09-06 07:43 | cbradney | Note Added: 0033539 | |
2014-09-09 22:23 | cbradney | Note Added: 0033606 | |
2014-09-10 11:49 | FirasH | File Added: 12666-Additional.diff | |
2014-09-10 11:50 | FirasH | Note Added: 0033609 | |
2014-09-10 11:51 | FirasH | Summary | "Edit > Cut/Delete/Deselect All" crashes Scribus if Polygon/Arc/Spiral is in Edit mode => [PATCH] "Edit > Cut/Delete/Deselect All" crashes Scribus if Polygon/Arc/Spiral is in Edit mode |
2014-09-10 12:13 | FirasH | File Deleted: 12666-Additional.diff | |
2014-09-10 12:13 | FirasH | File Added: 12666-Additional.diff | |
2014-09-11 02:45 | Kunda | Severity | crash => block |
2014-09-11 14:36 | FirasH | Note Added: 0033624 | |
2014-09-14 10:59 | FirasH | Note Added: 0033681 | |
2014-09-14 10:59 | FirasH | Summary | [PATCH] "Edit > Cut/Delete/Deselect All" crashes Scribus if Polygon/Arc/Spiral is in Edit mode => [TESTED-PATCH] "Edit > Cut/Delete/Deselect All" crashes Scribus if Polygon/Arc/Spiral is in Edit mode |
2014-09-14 11:58 | cbradney | Status | assigned => resolved |
2014-09-14 11:58 | cbradney | Fixed in Version | => 1.5.0svn |
2014-09-14 11:58 | cbradney | Resolution | open => fixed |
2014-09-14 13:54 | FirasH | Relationship added | related to 0012692 |
2014-09-14 14:01 | FirasH | Relationship added | related to 0012693 |
2014-09-14 14:02 | FirasH | Note Added: 0033691 | |
2014-09-14 14:02 | FirasH | Note Added: 0033692 | |
2014-09-14 14:02 | FirasH | Status | resolved => closed |