View Issue Details

IDProjectCategoryView StatusLast Update
0012625ScribusTablespublic2015-02-25 22:09
ReporterFirasH Assigned ToFirasH  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSopenSUSEOS Version13.1
Product Version1.5.0svn 
Target Version1.5.0Fixed in Version1.5.0svn 
Summary0012625: "Delete Columns" will crash or freeze Scribus using "Merge Cells"
Description"Delete Columns" will crash or freeze Scribus using "Merge Cells".
Steps To Reproduce0) Create a new document
1) Insert a Table (4x4)
2) Select 4 cells (2x2) and Table > Merge Cells
3) Select the merged cell and Table > Delete Columns

Scribus crashes due to Signal 6 (or freeze).
I noticed that in order to get the crash you need to select the cells in upper-right part of the table.
Additional Information1.5.0.svn (19430)


ASSERT failure in QList<T>::operator[]: "index out of range", file /home/.../Qt/5.3/gcc_64/include/QtCore/qlist.h, line 483

Program received signal SIGABRT, Aborted.
0x00007fffef509849 in raise () from /lib64/libc.so.6
(gdb) bt
 0 0x00007fffef509849 in raise ()
   from /lib64/libc.so.6
 1 0x00007fffef50acd8 in abort ()
   from /lib64/libc.so.6
 2 0x00007ffff74168ae in QMessageLogger::fatal(char const*, ...) const ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 3 0x00007ffff7411d74 in qt_assert_x(char const*, char const*, char const*, int) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 4 0x0000000000a135ed in QList<TableCell>::operator[] (this=0x2f6fbf0, i=2)
    at /home/.../Qt/5.3/gcc_64/include/QtCore/qlist.h:483
 5 0x0000000000a0c486 in PageItem_Table::cellAt (this=0x2f9d930, row=0, column=2)
    at /home/.../Scribus/scribus/pageitem_table.cpp:554
 6 0x0000000000a0fbcd in PageItem_Table::updateSpans (this=0x2f9d930, index=2, number=2, changeType=PageItem_Table::ColumnsRemoved)
    at /home/.../Scribus/scribus/pageitem_table.cpp:1186
 7 0x0000000000a0b266 in PageItem_Table::removeColumns (this=0x2f9d930, index=2, numColumns=2)
    at /home/.../Scribus/scribus/pageitem_table.cpp:303
 8 0x0000000000d39ec3 in ScribusDoc::itemSelection_DeleteTableColumns (this=0x22e60d0)
    at /home/.../Scribus/scribus/scribusdoc.cpp:8657
 9 0x0000000000794d52 in ScribusDoc::qt_static_metacall (_o=0x22e60d0, _c=QMetaObject::InvokeMetaMethod, _id=144,
    _a=0x7fffffffc3a0) at /home/.../Scribus/build/scribus/moc_scribusdoc.cpp:858
 10 0x00007ffff768a7b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 11 0x00007ffff6c82632 in QAction::triggered(bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 12 0x00007ffff6c84467 in QAction::activate(QAction::ActionEvent) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 13 0x00007ffff6e092fa in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 14 0x00007ffff6e108ff in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 15 0x00007ffff6e11830 in QMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 16 0x00007ffff6cc5c27 in QWidget::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 17 0x00007ffff6e135eb in QMenu::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 18 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 19 0x00007ffff6c90e8c in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 20 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 21 0x00007ffff6c8fffa in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 22 0x00007ffff6ce5b5e in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 23 0x00007ffff6ce89d8 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 24 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 25 0x00007ffff6c910b6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 26 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 27 0x00007ffff650c537 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
 28 0x00007ffff650cf75 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
 29 0x00007ffff64f2208 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
 30 0x00007fffe548c460 in ?? ()
   from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so
 31 0x00007fffecddd316 in g_main_dispatch (context=0x7fffe0001740)
    at gmain.c:3066
 32 g_main_context_dispatch (context=context@entry=0x7fffe0001740)
    at gmain.c:3642
 33 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
 34 0x00007fffecddd70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1)
    at gmain.c:3774
 35 0x00007ffff76b3574 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 36 0x00007ffff765711b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 37 0x00007ffff765bfe5 in QCoreApplication::exec() ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 38 0x0000000001243430 in mainApp (argc=1, argv=0x7fffffffdd18)
    at /home/.../Scribus/scribus/main_nix.cpp:86
 39 0x00000000012433c0 in main (argc=1, argv=0x7fffffffdd18)
    at /home/.../Scribus/scribus/main_nix.cpp:54
TagsNo tags attached.
Patch

Activities

FirasH

2014-08-26 01:22

developer   ~0033351

Screencast: https://www.dropbox.com/s/noiyp69lq4hqm9e/12625.mp4

Kunda

2014-08-27 23:36

updater   ~0033354

Confirmed on OSX 10.8.5 1.5.0svn r19430
upper left 2x2 = freeze
upper right 2x2 = Immediate Crash (no signal 11 shown)

Edited Summary and Description

Kunda

2015-02-25 21:53

updater   ~0034603

Can't recreate anymore in r19883

FirasH

2015-02-25 22:09

developer   ~0034605

Cannot reproduce with 1.5.0.svn (19883)... no idea which revision though.

Issue History

Date Modified Username Field Change
2014-08-20 15:43 FirasH New Issue
2014-08-26 01:22 FirasH Note Added: 0033351
2014-08-27 11:47 jghali Target Version => 1.5.0
2014-08-27 23:36 Kunda Note Added: 0033354
2014-08-27 23:36 Kunda Status new => confirmed
2014-08-27 23:36 Kunda Summary "Delete Columns" might crash Scribus using "Merge Cells" => "Delete Columns" might crash or freeze Scribus using "Merge Cells"
2014-08-27 23:36 Kunda Description Updated
2014-08-28 20:31 Kunda Summary "Delete Columns" might crash or freeze Scribus using "Merge Cells" => "Delete Columns" will crash or freeze Scribus using "Merge Cells"
2014-08-28 20:31 Kunda Description Updated
2014-09-11 02:28 Kunda Severity crash => block
2015-02-25 21:53 Kunda Note Added: 0034603
2015-02-25 22:09 FirasH Note Added: 0034605
2015-02-25 22:09 FirasH Status confirmed => closed
2015-02-25 22:09 FirasH Assigned To => FirasH
2015-02-25 22:09 FirasH Resolution open => fixed
2015-02-25 22:09 FirasH Fixed in Version => 1.5.0svn