View Issue Details

IDProjectCategoryView StatusLast Update
0012668ScribusShape Drawingpublic2014-11-30 13:00
ReporterFirasH Assigned Tocbradney  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSopenSUSEOS Version13.1
Product Version1.5.0svn 
Fixed in Version1.5.0svn 
Summary0012668: "Edit > Deselect All" may lead to crash Editing Shapes
Description"Edit > Deselect All" may lead to crash Editing Shapes.
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: Edit > Deselect All
4) Close "Nodes" window

Scribus crashes due to Signal 11
Additional Information1.5.0.svn (19478)
TagsNo tags attached.
Patch

Relationships

related to 0012841 closedjghali Backport 0012668 fix to 1.4.5.svn 

Activities

FirasH

2014-09-05 17:07

developer  

12668.txt (9,296 bytes)   
Program received signal SIGSEGV, Segmentation fault.
0x00000000007869d8 in PageItem::itemType (this=0x0)
    at /home/.../Scribus/build/scribus/../../scribus/pageitem.h:1068
1068            ItemType itemType() const { return m_ItemType; }
(gdb) bt
#0  0x00000000007869d8 in PageItem::itemType (this=0x0)
    at /home/.../Scribus/build/scribus/../../scribus/pageitem.h:1068
#1  0x0000000000f88eea in NodePalette::closeEvent (this=0x2ab2be0, ce=0x7fffffffd270)
    at /home/.../Scribus/scribus/ui/nodeeditpalette.cpp:887
#2  0x00007ffff6cc6120 in QWidget::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
#3  0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
#4  0x00007ffff6c910b6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
#5  0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
#6  0x00007ffff6cc101a in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
#7  0x00007ffff6ce6d16 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
#8  0x00007ffff6ce87e0 in ?? ()
   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 0x00007ffff6c910b6 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 0x00007ffff650527c in QGuiApplicationPrivate::processCloseEvent(QWindowSystemInterfacePrivate::CloseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
#13 0x00007ffff650cfa5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
#14 0x00007ffff64f2208 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
#15 0x00007fffe548c460 in ?? ()
   from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so
#16 0x00007fffecddd316 in g_main_dispatch (context=0x7fffe0001740)
    at gmain.c:3066
#17 g_main_context_dispatch (context=context@entry=0x7fffe0001740)
    at gmain.c:3642
#18 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
#19 0x00007fffecddd70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1)
    at gmain.c:3774
#20 0x00007ffff76b3574 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
#21 0x00007ffff765711b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
#22 0x00007ffff765bfe5 in QCoreApplication::exec() ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
#23 0x0000000001244558 in mainApp (argc=1, argv=0x7fffffffdd18)
    at /home/.../Scribus/scribus/main_nix.cpp:86
#24 0x00000000012444e8 in main (argc=1, argv=0x7fffffffdd18)
    at /home/.../Scribus/scribus/main_nix.cpp:54
(gdb) bt full
#0  0x00000000007869d8 in PageItem::itemType (this=0x0)
    at /home/.../Scribus/build/scribus/../../scribus/pageitem.h:1068
No locals.
#1  0x0000000000f88eea in NodePalette::closeEvent (this=0x2ab2be0, ce=0x7fffffffd270)
    at /home/.../Scribus/scribus/ui/nodeeditpalette.cpp:887
        currItem = 0x0
#2  0x00007ffff6cc6120 in QWidget::event(QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
No symbol table info available.
#3  0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
No symbol table info available.
#4  0x00007ffff6c910b6 in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
No symbol table info available.
#5  0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
No symbol table info available.
#6  0x00007ffff6cc101a in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
No symbol table info available.
#7  0x00007ffff6ce6d16 in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
No symbol table info available.
#8  0x00007ffff6ce87e0 in ?? () 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 0x00007ffff6c910b6 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 0x00007ffff650527c in QGuiApplicationPrivate::processCloseEvent(QWindowSystemInterfacePrivate::CloseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
No symbol table info available.
#13 0x00007ffff650cfa5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
No symbol table info available.
#14 0x00007ffff64f2208 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
No symbol table info available.
#15 0x00007fffe548c460 in ?? () from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so
No symbol table info available.
#16 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
#17 g_main_context_dispatch (context=context@entry=0x7fffe0001740) at gmain.c:3642
No locals.
#18 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 = 0x1b84300
#19 0x00007fffecddd70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1) at gmain.c:3774
        retval = <optimized out>
#20 0x00007ffff76b3574 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
No symbol table info available.
#21 0x00007ffff765711b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
No symbol table info available.
#22 0x00007ffff765bfe5 in QCoreApplication::exec() () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
No symbol table info available.
#23 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 = 0x19d9040, lang = {
            static null = {<No data fields>}, d = 0x1978d80}, GUILang = {static null = {<No data fields>}, d = 0x19c6cc0}, 
          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}
#24 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
Calling Emergency Save

Program received signal SIGSEGV, Segmentation fault.
0x0000000000cd4b64 in ScribusMainWindow::emergencySave (this=0x0)
    at /home/.../Scribus/scribus/scribus.cpp:9001
9001            QList<QMdiSubWindow *> windows = mdiArea->subWindowList();
12668.txt (9,296 bytes)   

jghali

2014-09-06 21:12

administrator   ~0033553

I cannot reproduce this issue anymore after r19482.

FirasH

2014-09-06 22:03

developer   ~0033554

Indeed, fixed here in 1.5.0.svn (19487) with the recent changes done by cbradney.

FirasH

2014-09-06 22:45

developer   ~0033556

Thanks cbradney!
Fixed in 1.5.0.svn (19487).

Issue History

Date Modified Username Field Change
2014-09-05 17:07 FirasH New Issue
2014-09-05 17:07 FirasH File Added: 12668.txt
2014-09-06 21:12 jghali Note Added: 0033553
2014-09-06 22:03 FirasH Note Added: 0033554
2014-09-06 22:03 FirasH Status new => resolved
2014-09-06 22:03 FirasH Fixed in Version => 1.5.0svn
2014-09-06 22:03 FirasH Resolution open => fixed
2014-09-06 22:03 FirasH Assigned To => cbradney
2014-09-06 22:45 FirasH Note Added: 0033556
2014-09-06 22:45 FirasH Status resolved => closed
2014-11-30 13:00 FirasH Relationship added related to 0012841