View Issue Details

IDProjectCategoryView StatusLast Update
0012672ScribusGeneralpublic2014-10-21 21:53
ReporterFirasH Assigned ToFirasH  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSFreeBSDOS Version10.0
Product Version1.5.0svn 
Target Version1.5.0Fixed in Version1.5.0svn 
Summary0012672: Layers deleting + Table editing might lead to crash
DescriptionLayers deleting + Table editing might lead to crash.
Steps To Reproduce0) Create a new document and make sure Windows > Layers is opened
1) Insert a Table
2) Double-click on the Table and select some cells
3) From Windows > Layers add a new layer "New Layer 1"
4) Delete the layer "Background"

You can notice that the "blue selection" is still there.

5) Go to: Edit > Select All (probably other buttons cause crash as well)

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

Relationships

related to 0012692 closedcbradney [PATCH] Palettes are enabled while in Polygon/Arc/Spiral mode 

Activities

FirasH

2014-09-07 03:03

reporter  

12672-SelectAll.txt (8,848 bytes)   
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 814c06400 (LWP 100150/scribus)]
0x0000000000dc7b70 in ScribusMainWindow::SelectAll (this=0x814c08c00, 
    docWideSelect=false)
    at /home/.../Scribus/scribus/scribus.cpp:5410
5410				currItem = currItem->asTable()->activeCell().textFrame();
(gdb) bt
#0  0x0000000000dc7b70 in ScribusMainWindow::SelectAll (this=0x814c08c00, 
    docWideSelect=false)
    at /home/.../Scribus/scribus/scribus.cpp:5410
#1  0x00000000007380e4 in ScribusMainWindow::qt_static_metacall (
    _o=0x814c08c00, _c=QMetaObject::InvokeMetaMethod, _id=100, 
    _a=0x7fffffffc600)
    at /home/.../Scribus/build/scribus/moc_scribus.cpp:1067
#2  0x000000080242f827 in QMetaObject::activate ()
   from /usr/local/lib/libQt5Core.so.5
#3  0x00000008029869cf in QAction::activate ()
   from /usr/local/lib/libQt5Widgets.so.5
#4  0x0000000802ad0f6f in QMenu::setIcon ()
   from /usr/local/lib/libQt5Widgets.so.5
#5  0x0000000802acf5ce in QMenu::internalDelayedPopup ()
   from /usr/local/lib/libQt5Widgets.so.5
#6  0x00000008029c4281 in QWidget::event ()
   from /usr/local/lib/libQt5Widgets.so.5
#7  0x0000000802ad4c84 in QMenu::event ()
   from /usr/local/lib/libQt5Widgets.so.5
#8  0x000000080298e1a7 in QApplicationPrivate::notify_helper ()
   from /usr/local/lib/libQt5Widgets.so.5
#9  0x0000000802991018 in QApplication::notify ()
   from /usr/local/lib/libQt5Widgets.so.5
#10 0x00000008023ffac2 in QCoreApplication::notifyInternal ()
   from /usr/local/lib/libQt5Core.so.5
#11 0x000000080298eb45 in QApplicationPrivate::sendMouseEvent ()
   from /usr/local/lib/libQt5Widgets.so.5
#12 0x00000008029e0e95 in QWidgetPrivate::setModal_sys ()
   from /usr/local/lib/libQt5Widgets.so.5
#13 0x00000008029dfdff in QWidgetPrivate::setModal_sys ()
   from /usr/local/lib/libQt5Widgets.so.5
#14 0x000000080298e1a7 in QApplicationPrivate::notify_helper ()
   from /usr/local/lib/libQt5Widgets.so.5
#15 0x0000000802990c0c in QApplication::notify ()
   from /usr/local/lib/libQt5Widgets.so.5
#16 0x00000008023ffac2 in QCoreApplication::notifyInternal ()
   from /usr/local/lib/libQt5Core.so.5
#17 0x00000008030df8f7 in QGuiApplicationPrivate::processMouseEvent ()
   from /usr/local/lib/libQt5Gui.so.5
#18 0x00000008030dec41 in QGuiApplicationPrivate::processWindowSystemEvent ()
   from /usr/local/lib/libQt5Gui.so.5
#19 0x00000008030cfb58 in QWindowSystemInterface::sendWindowSystemEvents ()
   from /usr/local/lib/libQt5Gui.so.5
#20 0x00000008145396f0 in qt_plugin_instance ()
   from /usr/local/lib/qt5/plugins/platforms/libqxcb.so
#21 0x000000080bca0702 in g_main_context_dispatch ()
   from /usr/local/lib/libglib-2.0.so.0
#22 0x000000080bca0aa3 in g_main_context_pending ()
   from /usr/local/lib/libglib-2.0.so.0
#23 0x000000080bca0b34 in g_main_context_iteration ()
   from /usr/local/lib/libglib-2.0.so.0
#24 0x000000080244de58 in QEventDispatcherGlib::processEvents ()
   from /usr/local/lib/libQt5Core.so.5
#25 0x000000081453969c in qt_plugin_instance ()
   from /usr/local/lib/qt5/plugins/platforms/libqxcb.so
#26 0x00000008023fd45e in QEventLoop::exec ()
   from /usr/local/lib/libQt5Core.so.5
#27 0x0000000802400072 in QCoreApplication::exec ()
   from /usr/local/lib/libQt5Core.so.5
#28 0x00000000014c8cdb in mainApp (argc=1, argv=0x7fffffffd908)
    at main_nix.cpp:86
#29 0x00000000014c8c22 in main (argc=1, argv=0x7fffffffd908) at main_nix.cpp:54
(gdb) bt full
#0  0x0000000000dc7b70 in ScribusMainWindow::SelectAll (this=0x814c08c00, 
    docWideSelect=false)
    at /home/.../Scribus/scribus/scribus.cpp:5410
	currItem = (PageItem *) 0x0
	nextItem = (PageItem *) 0x814c08c00
#1  0x00000000007380e4 in ScribusMainWindow::qt_static_metacall (
    _o=0x814c08c00, _c=QMetaObject::InvokeMetaMethod, _id=100, 
    _a=0x7fffffffc600)
    at /home/.../Scribus/build/scribus/moc_scribus.cpp:1067
	_t = (ScribusMainWindow *) 0x814c08c00
#2  0x000000080242f827 in QMetaObject::activate ()
   from /usr/local/lib/libQt5Core.so.5
No symbol table info available.
#3  0x00000008029869cf in QAction::activate ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#4  0x0000000802ad0f6f in QMenu::setIcon ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#5  0x0000000802acf5ce in QMenu::internalDelayedPopup ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#6  0x00000008029c4281 in QWidget::event ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#7  0x0000000802ad4c84 in QMenu::event ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#8  0x000000080298e1a7 in QApplicationPrivate::notify_helper ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#9  0x0000000802991018 in QApplication::notify ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#10 0x00000008023ffac2 in QCoreApplication::notifyInternal ()
   from /usr/local/lib/libQt5Core.so.5
No symbol table info available.
#11 0x000000080298eb45 in QApplicationPrivate::sendMouseEvent ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#12 0x00000008029e0e95 in QWidgetPrivate::setModal_sys ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#13 0x00000008029dfdff in QWidgetPrivate::setModal_sys ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#14 0x000000080298e1a7 in QApplicationPrivate::notify_helper ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#15 0x0000000802990c0c in QApplication::notify ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#16 0x00000008023ffac2 in QCoreApplication::notifyInternal ()
   from /usr/local/lib/libQt5Core.so.5
No symbol table info available.
#17 0x00000008030df8f7 in QGuiApplicationPrivate::processMouseEvent ()
   from /usr/local/lib/libQt5Gui.so.5
No symbol table info available.
#18 0x00000008030dec41 in QGuiApplicationPrivate::processWindowSystemEvent ()
   from /usr/local/lib/libQt5Gui.so.5
No symbol table info available.
#19 0x00000008030cfb58 in QWindowSystemInterface::sendWindowSystemEvents ()
   from /usr/local/lib/libQt5Gui.so.5
No symbol table info available.
#20 0x00000008145396f0 in qt_plugin_instance ()
   from /usr/local/lib/qt5/plugins/platforms/libqxcb.so
No symbol table info available.
#21 0x000000080bca0702 in g_main_context_dispatch ()
   from /usr/local/lib/libglib-2.0.so.0
No symbol table info available.
#22 0x000000080bca0aa3 in g_main_context_pending ()
   from /usr/local/lib/libglib-2.0.so.0
No symbol table info available.
#23 0x000000080bca0b34 in g_main_context_iteration ()
   from /usr/local/lib/libglib-2.0.so.0
No symbol table info available.
#24 0x000000080244de58 in QEventDispatcherGlib::processEvents ()
   from /usr/local/lib/libQt5Core.so.5
No symbol table info available.
#25 0x000000081453969c in qt_plugin_instance ()
   from /usr/local/lib/qt5/plugins/platforms/libqxcb.so
No symbol table info available.
#26 0x00000008023fd45e in QEventLoop::exec ()
   from /usr/local/lib/libQt5Core.so.5
No symbol table info available.
#27 0x0000000802400072 in QCoreApplication::exec ()
   from /usr/local/lib/libQt5Core.so.5
No symbol table info available.
#28 0x00000000014c8cdb in mainApp (argc=1, argv=0x7fffffffd908)
    at main_nix.cpp:86
	appRetVal = 0
	app = {<QApplication> = {<QGuiApplication> = {<QCoreApplication> = {<QObject> = {_vptr$QObject = 0x1d01680, static staticMetaObject = <optimized out>, 
          d_ptr = {d = 0x814c90180}, 
          static staticQtMetaObject = <optimized out>}, 
        static staticMetaObject = <optimized out>, 
        static self = <optimized out>}, 
      static staticMetaObject = <optimized out>}, 
    static staticMetaObject = <optimized out>}, 
  static staticMetaObject = <optimized out>, static useGUI = <optimized out>, 
  m_ScCore = 0x814c96c80, lang = {static null = <optimized out>, 
    d = 0x8024a0250}, GUILang = {static null = <optimized out>, 
    d = 0x8024a0250}, showSplash = true, showFontInfo = false, 
  showProfileInfo = false, swapDialogButtonOrder = false, prefsUserFile = {
    static null = <optimized out>, d = 0x8024a0220}, filesToLoad = {{p = {
        static shared_null = <optimized out>, d = 0x8024a2270}, 
      d = 0x8024a2270}}, fileName = {static null = <optimized out>, 
    d = 0x8024a0220}, m_scDLMgr = 0x814c17220}
#29 0x00000000014c8c22 in main (argc=1, argv=0x7fffffffd908) at main_nix.cpp:54
No locals.
(gdb) continue
Continuing.
Scribus Crash
-------------
Scribus crashes due to Signal #11
Calling Emergency Save

Program received signal SIGSEGV, Segmentation fault.
0x0000000000de53a2 in ScribusMainWindow::emergencySave (this=0x0)
    at /home/.../Scribus/scribus/scribus.cpp:9015
9015		QList<QMdiSubWindow *> windows = mdiArea->subWindowList();
12672-SelectAll.txt (8,848 bytes)   

FirasH

2014-09-07 03:04

reporter  

12672-Paste.txt (8,924 bytes)   
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 814c06400 (LWP 100180/scribus)]
0x0000000000dc52a1 in ScribusMainWindow::slotEditPaste (this=0x814c08c00)
    at /home/.../Scribus/scribus/scribus.cpp:5113
5113			if (((doc->appMode == modeEdit) || (doc->appMode == modeEditTable)) && (selItem->isTextFrame() || selItem->isTable()))
(gdb) bt
#0  0x0000000000dc52a1 in ScribusMainWindow::slotEditPaste (this=0x814c08c00)
    at /home/.../Scribus/scribus/scribus.cpp:5113
#1  0x000000000073805e in ScribusMainWindow::qt_static_metacall (
    _o=0x814c08c00, _c=QMetaObject::InvokeMetaMethod, _id=93, 
    _a=0x7fffffffc600)
    at /home/.../Scribus/build/scribus/moc_scribus.cpp:1060
#2  0x000000080242f827 in QMetaObject::activate ()
   from /usr/local/lib/libQt5Core.so.5
#3  0x00000008029869cf in QAction::activate ()
   from /usr/local/lib/libQt5Widgets.so.5
#4  0x0000000802ad0f6f in QMenu::setIcon ()
   from /usr/local/lib/libQt5Widgets.so.5
#5  0x0000000802acf5ce in QMenu::internalDelayedPopup ()
   from /usr/local/lib/libQt5Widgets.so.5
#6  0x00000008029c4281 in QWidget::event ()
   from /usr/local/lib/libQt5Widgets.so.5
#7  0x0000000802ad4c84 in QMenu::event ()
   from /usr/local/lib/libQt5Widgets.so.5
#8  0x000000080298e1a7 in QApplicationPrivate::notify_helper ()
   from /usr/local/lib/libQt5Widgets.so.5
#9  0x0000000802991018 in QApplication::notify ()
   from /usr/local/lib/libQt5Widgets.so.5
#10 0x00000008023ffac2 in QCoreApplication::notifyInternal ()
   from /usr/local/lib/libQt5Core.so.5
#11 0x000000080298eb45 in QApplicationPrivate::sendMouseEvent ()
   from /usr/local/lib/libQt5Widgets.so.5
#12 0x00000008029e0e95 in QWidgetPrivate::setModal_sys ()
   from /usr/local/lib/libQt5Widgets.so.5
#13 0x00000008029dfdff in QWidgetPrivate::setModal_sys ()
   from /usr/local/lib/libQt5Widgets.so.5
#14 0x000000080298e1a7 in QApplicationPrivate::notify_helper ()
   from /usr/local/lib/libQt5Widgets.so.5
#15 0x0000000802990c0c in QApplication::notify ()
   from /usr/local/lib/libQt5Widgets.so.5
#16 0x00000008023ffac2 in QCoreApplication::notifyInternal ()
   from /usr/local/lib/libQt5Core.so.5
#17 0x00000008030df8f7 in QGuiApplicationPrivate::processMouseEvent ()
   from /usr/local/lib/libQt5Gui.so.5
#18 0x00000008030dec41 in QGuiApplicationPrivate::processWindowSystemEvent ()
   from /usr/local/lib/libQt5Gui.so.5
#19 0x00000008030cfb58 in QWindowSystemInterface::sendWindowSystemEvents ()
   from /usr/local/lib/libQt5Gui.so.5
#20 0x00000008145396f0 in qt_plugin_instance ()
   from /usr/local/lib/qt5/plugins/platforms/libqxcb.so
#21 0x000000080bca0702 in g_main_context_dispatch ()
   from /usr/local/lib/libglib-2.0.so.0
#22 0x000000080bca0aa3 in g_main_context_pending ()
   from /usr/local/lib/libglib-2.0.so.0
#23 0x000000080bca0b34 in g_main_context_iteration ()
   from /usr/local/lib/libglib-2.0.so.0
#24 0x000000080244de58 in QEventDispatcherGlib::processEvents ()
   from /usr/local/lib/libQt5Core.so.5
#25 0x000000081453969c in qt_plugin_instance ()
   from /usr/local/lib/qt5/plugins/platforms/libqxcb.so
#26 0x00000008023fd45e in QEventLoop::exec ()
   from /usr/local/lib/libQt5Core.so.5
#27 0x0000000802400072 in QCoreApplication::exec ()
   from /usr/local/lib/libQt5Core.so.5
#28 0x00000000014c8cdb in mainApp (argc=1, argv=0x7fffffffd908)
    at main_nix.cpp:86
#29 0x00000000014c8c22 in main (argc=1, argv=0x7fffffffd908) at main_nix.cpp:54
(gdb) bt full
#0  0x0000000000dc52a1 in ScribusMainWindow::slotEditPaste (this=0x814c08c00)
    at /home/.../Scribus/scribus/scribus.cpp:5113
	activeTransaction = {<Transaction> = {_vptr$Transaction = 0x1d34c20, 
    m_data = {d = 0x81708e7c0}}, <No data fields>}
	selItem = (PageItem *) 0x0
#1  0x000000000073805e in ScribusMainWindow::qt_static_metacall (
    _o=0x814c08c00, _c=QMetaObject::InvokeMetaMethod, _id=93, 
    _a=0x7fffffffc600)
    at /home/.../Scribus/build/scribus/moc_scribus.cpp:1060
	_t = (ScribusMainWindow *) 0x814c08c00
#2  0x000000080242f827 in QMetaObject::activate ()
   from /usr/local/lib/libQt5Core.so.5
No symbol table info available.
#3  0x00000008029869cf in QAction::activate ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#4  0x0000000802ad0f6f in QMenu::setIcon ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#5  0x0000000802acf5ce in QMenu::internalDelayedPopup ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#6  0x00000008029c4281 in QWidget::event ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#7  0x0000000802ad4c84 in QMenu::event ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#8  0x000000080298e1a7 in QApplicationPrivate::notify_helper ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#9  0x0000000802991018 in QApplication::notify ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#10 0x00000008023ffac2 in QCoreApplication::notifyInternal ()
   from /usr/local/lib/libQt5Core.so.5
No symbol table info available.
#11 0x000000080298eb45 in QApplicationPrivate::sendMouseEvent ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#12 0x00000008029e0e95 in QWidgetPrivate::setModal_sys ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#13 0x00000008029dfdff in QWidgetPrivate::setModal_sys ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#14 0x000000080298e1a7 in QApplicationPrivate::notify_helper ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#15 0x0000000802990c0c in QApplication::notify ()
   from /usr/local/lib/libQt5Widgets.so.5
No symbol table info available.
#16 0x00000008023ffac2 in QCoreApplication::notifyInternal ()
   from /usr/local/lib/libQt5Core.so.5
No symbol table info available.
#17 0x00000008030df8f7 in QGuiApplicationPrivate::processMouseEvent ()
   from /usr/local/lib/libQt5Gui.so.5
No symbol table info available.
#18 0x00000008030dec41 in QGuiApplicationPrivate::processWindowSystemEvent ()
   from /usr/local/lib/libQt5Gui.so.5
No symbol table info available.
#19 0x00000008030cfb58 in QWindowSystemInterface::sendWindowSystemEvents ()
   from /usr/local/lib/libQt5Gui.so.5
No symbol table info available.
#20 0x00000008145396f0 in qt_plugin_instance ()
   from /usr/local/lib/qt5/plugins/platforms/libqxcb.so
No symbol table info available.
#21 0x000000080bca0702 in g_main_context_dispatch ()
   from /usr/local/lib/libglib-2.0.so.0
No symbol table info available.
#22 0x000000080bca0aa3 in g_main_context_pending ()
   from /usr/local/lib/libglib-2.0.so.0
No symbol table info available.
#23 0x000000080bca0b34 in g_main_context_iteration ()
   from /usr/local/lib/libglib-2.0.so.0
No symbol table info available.
#24 0x000000080244de58 in QEventDispatcherGlib::processEvents ()
   from /usr/local/lib/libQt5Core.so.5
No symbol table info available.
#25 0x000000081453969c in qt_plugin_instance ()
   from /usr/local/lib/qt5/plugins/platforms/libqxcb.so
No symbol table info available.
#26 0x00000008023fd45e in QEventLoop::exec ()
   from /usr/local/lib/libQt5Core.so.5
No symbol table info available.
#27 0x0000000802400072 in QCoreApplication::exec ()
   from /usr/local/lib/libQt5Core.so.5
No symbol table info available.
#28 0x00000000014c8cdb in mainApp (argc=1, argv=0x7fffffffd908)
    at main_nix.cpp:86
	appRetVal = 0
	app = {<QApplication> = {<QGuiApplication> = {<QCoreApplication> = {<QObject> = {_vptr$QObject = 0x1d01680, static staticMetaObject = <optimized out>, 
          d_ptr = {d = 0x814c90180}, 
          static staticQtMetaObject = <optimized out>}, 
        static staticMetaObject = <optimized out>, 
        static self = <optimized out>}, 
      static staticMetaObject = <optimized out>}, 
    static staticMetaObject = <optimized out>}, 
  static staticMetaObject = <optimized out>, static useGUI = <optimized out>, 
  m_ScCore = 0x814c96c80, lang = {static null = <optimized out>, 
    d = 0x8024a0250}, GUILang = {static null = <optimized out>, 
    d = 0x8024a0250}, showSplash = true, showFontInfo = false, 
  showProfileInfo = false, swapDialogButtonOrder = false, prefsUserFile = {
    static null = <optimized out>, d = 0x8024a0220}, filesToLoad = {{p = {
        static shared_null = <optimized out>, d = 0x8024a2270}, 
      d = 0x8024a2270}}, fileName = {static null = <optimized out>, 
    d = 0x8024a0220}, m_scDLMgr = 0x814c17220}
#29 0x00000000014c8c22 in main (argc=1, argv=0x7fffffffd908) at main_nix.cpp:54
No locals.
(gdb) continue
Continuing.
Scribus Crash
-------------
Scribus crashes due to Signal #11
Calling Emergency Save

Program received signal SIGSEGV, Segmentation fault.
0x0000000000de53a2 in ScribusMainWindow::emergencySave (this=0x0)
    at /home/.../Scribus/scribus/scribus.cpp:9015
9015		QList<QMdiSubWindow *> windows = mdiArea->subWindowList();
12672-Paste.txt (8,924 bytes)   

Kunda

2014-09-07 23:43

updater   ~0033567

Confirmed on r19492 (OSX 10.8.5)

FirasH

2014-10-21 20:50

reporter   ~0034101

Should be fixed with the patch attached to 0012692.

FirasH

2014-10-21 21:53

reporter   ~0034108

Cannot reproduce in 1.5.0.svn (19604).

Issue History

Date Modified Username Field Change
2014-09-07 02:54 FirasH New Issue
2014-09-07 03:03 FirasH File Added: 12672-SelectAll.txt
2014-09-07 03:04 FirasH File Added: 12672-Paste.txt
2014-09-07 23:43 Kunda Note Added: 0033567
2014-09-07 23:43 Kunda Status new => confirmed
2014-09-07 23:43 Kunda Target Version => 1.5.0
2014-09-11 02:25 Kunda Severity crash => block
2014-10-18 16:37 FirasH Relationship added related to 0012692
2014-10-21 20:50 FirasH Note Added: 0034101
2014-10-21 20:50 FirasH Status confirmed => resolved
2014-10-21 20:50 FirasH Fixed in Version => 1.5.0svn
2014-10-21 20:50 FirasH Resolution open => fixed
2014-10-21 20:50 FirasH Assigned To => FirasH
2014-10-21 21:53 FirasH Note Added: 0034108
2014-10-21 21:53 FirasH Status resolved => closed