View Issue Details

IDProjectCategoryView StatusLast Update
0012678ScribusGeneralpublic2014-10-01 21:16
ReporterFirasH Assigned Tocbradney  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSopenSUSEOS Version13.1
Product Version1.5.0svn 
Target Version1.5.0Fixed in Version1.5.0svn 
Summary0012678: [PATCH] Convert to > Symbol crashes Scribus if "Nodes" window is opened
DescriptionConvert to > Symbol crashes Scribus if "Nodes" window is opened.
Steps To Reproduce0) Create a new document
1) Insert a Shape
2) Double-click on the Shape so that "Nodes" window appears
3) Go to: Item > Convert to > Symbol (OK or Cancel)
You can notice that the Shape is not selected (blue outline).

4) Close "Nodes" window

Scribus crashes due to Signal 11

Maybe the best solution should be disabling conversions while in editing mode, I'm sure its possible to make Scribus crash in other ways with similar steps.
Additional Information1.5.0.svn (19498)
TagsNo tags attached.
Patch

Activities

FirasH

2014-09-10 17:52

developer  

12678.txt (11,199 bytes)   
Program received signal SIGSEGV, Segmentation fault.
0x000000000098ede5 in PageItem::setXYPos (this=0x0, newXPos=293.25, newYPos=148.5, 
    drawingOnly=true) at /home/.../Scribus/scribus/pageitem.cpp:926
926             m_xPos = newXPos;
(gdb) bt
#0  0x000000000098ede5 in PageItem::setXYPos (this=0x0, newXPos=293.25, newYPos=148.5, 
    drawingOnly=true) at /home/.../Scribus/scribus/pageitem.cpp:926
#1  0x0000000000f8a452 in NodePalette::CancelEdit (this=0x2abe9a0)
    at /home/.../Scribus/scribus/ui/nodeeditpalette.cpp:931
#2  0x00000000007b02f9 in NodePalette::qt_static_metacall (_o=0x2abe9a0, 
    _c=QMetaObject::InvokeMetaMethod, _id=37, _a=0x7fffffffc550)
    at /home/.../Scribus/build/scribus/ui/moc_nodeeditpalette.cpp:243
#3  0x00007ffff768a7b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
#4  0x00007ffff701f222 in QAbstractButton::clicked(bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
#5  0x00007ffff6d8d203 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
#6  0x00007ffff6d8db1a in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
#7  0x00007ffff6d8dd24 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
#8  0x00007ffff6cc5c27 in QWidget::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
#9  0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
#10 0x00007ffff6c90e8c in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
#11 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
#12 0x00007ffff6c8fffa in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
#13 0x00007ffff6ce5e87 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
#14 0x00007ffff6ce89d8 in ?? ()
   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 0x00007ffff6c910b6 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 0x00007ffff650c537 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
#19 0x00007ffff650cf75 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
#20 0x00007ffff64f2208 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
#21 0x00007fffe548c460 in ?? ()
   from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so
#22 0x00007fffecddd316 in g_main_dispatch (context=0x7fffe0001740)
    at gmain.c:3066
#23 g_main_context_dispatch (context=context@entry=0x7fffe0001740)
    at gmain.c:3642
#24 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
#25 0x00007fffecddd70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1)
    at gmain.c:3774
#26 0x00007ffff76b3574 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
#27 0x00007ffff765711b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
#28 0x00007ffff765bfe5 in QCoreApplication::exec() ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
#29 0x0000000001248074 in mainApp (argc=1, argv=0x7fffffffdd08)
    at /home/.../Scribus/scribus/main_nix.cpp:86
#30 0x0000000001248004 in main (argc=1, argv=0x7fffffffdd08)
    at /home/.../Scribus/scribus/main_nix.cpp:54
(gdb) bt full
#0  0x000000000098ede5 in PageItem::setXYPos (this=0x0, newXPos=293.25, newYPos=148.5, 
    drawingOnly=true) at /home/.../Scribus/scribus/pageitem.cpp:926
No locals.
#1  0x0000000000f8a452 in NodePalette::CancelEdit (this=0x2abe9a0)
    at /home/.../Scribus/scribus/ui/nodeeditpalette.cpp:931
        currItem = 0x0
#2  0x00000000007b02f9 in NodePalette::qt_static_metacall (_o=0x2abe9a0, 
    _c=QMetaObject::InvokeMetaMethod, _id=37, _a=0x7fffffffc550)
    at /home/.../Scribus/build/scribus/ui/moc_nodeeditpalette.cpp:243
        _t = 0x2abe9a0
#3  0x00007ffff768a7b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
No symbol table info available.
#4  0x00007ffff701f222 in QAbstractButton::clicked(bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
No symbol table info available.
#5  0x00007ffff6d8d203 in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
No symbol table info available.
#6  0x00007ffff6d8db1a in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
No symbol table info available.
#7  0x00007ffff6d8dd24 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
No symbol table info available.
#8  0x00007ffff6cc5c27 in QWidget::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
No symbol table info available.
#9  0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
No symbol table info available.
#10 0x00007ffff6c90e8c in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
No symbol table info available.
#11 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
No symbol table info available.
#12 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.
#13 0x00007ffff6ce5e87 in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
No symbol table info available.
#14 0x00007ffff6ce89d8 in ?? () 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 0x00007ffff6c910b6 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 0x00007ffff650c537 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
No symbol table info available.
#19 0x00007ffff650cf75 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
No symbol table info available.
#20 0x00007ffff64f2208 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
No symbol table info available.
#21 0x00007fffe548c460 in ?? () from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so
No symbol table info available.
#22 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 = 0x19aa120, next = 0x0}
        source = 0x19aa120
        current = 0x1964450
        i = 1
#23 g_main_context_dispatch (context=context@entry=0x7fffe0001740) at gmain.c:3642
No locals.
#24 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 = 0x1c8b3d0
#25 0x00007fffecddd70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1)
    at gmain.c:3774
        retval = <optimized out>
#26 0x00007ffff76b3574 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
No symbol table info available.
#27 0x00007ffff765711b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
No symbol table info available.
#28 0x00007ffff765bfe5 in QCoreApplication::exec() ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
No symbol table info available.
#29 0x0000000001248074 in mainApp (argc=1, argv=0x7fffffffdd08)
    at /home/.../Scribus/scribus/main_nix.cpp:86
        appRetVal = 0
        app = {<QApplication> = {<No data fields>}, static staticMetaObject = {d = {
              superdata = 0x7ffff7340180 <QApplication::staticMetaObject>, 
              stringdata = 0x1311ae0 <qt_meta_stringdata_ScribusQApp>, 
              data = 0x1311b60 <qt_meta_data_ScribusQApp>, 
              static_metacall = 0x793164 <ScribusQApp::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, static useGUI = true, m_ScCore = 
    0x19dc370, lang = {static null = {<No data fields>}, d = 0x197cd80}, GUILang = {
            static null = {<No data fields>}, d = 0x19c6d80}, 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 = 0x19b11c0}
#30 0x0000000001248004 in main (argc=1, argv=0x7fffffffdd08)
    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
Calling Emergency Save

Program received signal SIGSEGV, Segmentation fault.
0x0000000000cd51ba in ScribusMainWindow::emergencySave (this=0x0)
    at /home/.../Scribus/scribus/scribus.cpp:8983
8983            QList<QMdiSubWindow *> windows = mdiArea->subWindowList();
12678.txt (11,199 bytes)   

Kunda

2014-09-11 13:19

updater   ~0033619

Confirmed on 1.5svn r19492

FirasH

2014-10-01 12:34

developer  

12678-Patch.diff (454 bytes)   
Index: scribus/appmodehelper.cpp
===================================================================
--- scribus/appmodehelper.cpp	(revisione 19543)
+++ scribus/appmodehelper.cpp	(copia locale)
@@ -538,6 +538,7 @@
	(*a_scrActions)["toolsPDFAnnot3D"]->setEnabled(b2);
 #endif
	(*a_scrActions)["itemDelete"]->setEnabled(b2);
+	(*a_scrActions)["itemConvertToSymbolFrame"]->setEnabled(b2);
 }

 void AppModeHelper::setSymbolEditMode(bool b, ScribusDoc* doc)
12678-Patch.diff (454 bytes)   

FirasH

2014-10-01 12:36

developer   ~0033862

The attached patch disables Convert to > Symbol when node edit mode is enabled.

FirasH

2014-10-01 21:16

developer   ~0033871

Thanks cbradney!

Issue History

Date Modified Username Field Change
2014-09-10 17:46 FirasH New Issue
2014-09-10 17:52 FirasH File Added: 12678.txt
2014-09-11 02:45 Kunda Severity crash => block
2014-09-11 13:19 Kunda Note Added: 0033619
2014-09-11 13:19 Kunda Status new => confirmed
2014-09-11 13:19 Kunda Target Version => 1.5.0
2014-10-01 12:34 FirasH File Added: 12678-Patch.diff
2014-10-01 12:36 FirasH Note Added: 0033862
2014-10-01 12:36 FirasH Summary Convert to > Symbol crashes Scribus if "Nodes" window is opened => [PATCH] Convert to > Symbol crashes Scribus if "Nodes" window is opened
2014-10-01 20:48 cbradney Status confirmed => resolved
2014-10-01 20:48 cbradney Fixed in Version => 1.5.0svn
2014-10-01 20:48 cbradney Resolution open => fixed
2014-10-01 20:48 cbradney Assigned To => cbradney
2014-10-01 21:16 FirasH Note Added: 0033871
2014-10-01 21:16 FirasH Status resolved => closed