View Issue Details

IDProjectCategoryView StatusLast Update
0012359ScribusScrapbookpublic2014-06-10 19:43
ReporterFirasH Assigned Tojghali  
PrioritynormalSeveritycrashReproducibilityrandom
Status closedResolutionfixed 
Platformx86_64OSopenSUSEOS Version13.1
Product Version1.5.0svn 
Fixed in Version1.5.0svn 
Summary0012359: Renaming items in Scrapbook may crash Scribus
DescriptionRenaming items in Scrapbook may crash Scribus.
Steps To ReproduceIn order to reproduce this bug, it is needed to delete/move .scribus folder to use default Scrapbook settings.

0) Create a new document and make sure Windows > Scrapbook is opened
1) Insert an item (example: Image Frame)
2) Select the item and Item > Send to > Scrapook > Main
Keep the default Name. (Image1)

3) From the Scrapbook window right-click on the item added in step 2 and select Rename
4) Change the item name deleting the last character, then click "OK" (example: Image1 > Image)
5) Sometimes repressing Rename crashes Scribus

Scribus may crash in Step 3/4/5 or not. Otherwise re-try (half times at least crashes).

Scribus crashes due to Signal 11
Additional InformationScribus 1.5.0 SVN (19197)

Successful case backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7aa4480 in QArrayData::shared_null ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
(gdb) bt
#0 0x00007ffff7aa4480 in QArrayData::shared_null ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000001 0x0000000000dd5d18 in QListWidgetItem::setText (this=0x362c7c0, atext=...)
    at /home/.../Qt/5.3/gcc_64/include/QtWidgets/qlistwidget.h:171
0000002 0x000000000114009d in Biblio::renameObj (this=0x2b08260)
    at /home/.../Scribus/scribus/ui/scrapbookpalette.cpp:1421
0000003 0x00000000007c27af in Biblio::qt_static_metacall (_o=0x2b08260,
    _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7fffffffa870)
    at /home/.../Scribus/build/scribus/ui/moc_scrapbookpalette.cpp:331
0000004 0x00007ffff768a681 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000005 0x00007ffff6c825d2 in QAction::triggered(bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000006 0x00007ffff6c84407 in QAction::activate(QAction::ActionEvent) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000007 0x00007ffff6e08eda in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000008 0x00007ffff6e1044f in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000009 0x00007ffff6e113d0 in QMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000010 0x00007ffff6cc5a87 in QWidget::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000011 0x00007ffff6e1318b in QMenu::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000012 0x00007ffff6c8d764 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000013 0x00007ffff6c90bb6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000014 0x00007ffff7658dd4 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000015 0x00007ffff6c8fcca in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000016 0x00007ffff6ce598e in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000017 0x00007ffff6ce8808 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000018 0x00007ffff6c8d764 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000019 0x00007ffff6c90de6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000020 0x00007ffff7658dd4 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000021 0x00007ffff650d457 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000022 0x00007ffff650de95 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000023 0x00007ffff64f3148 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000024 0x00007fffe5490630 in ?? ()
   from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so
0000025 0x00007fffecde1316 in g_main_dispatch (context=0x7fffe0001740)
    at gmain.c:3066
0000026 g_main_context_dispatch (context=context@entry=0x7fffe0001740)
    at gmain.c:3642
0000027 0x00007fffecde1668 in g_main_context_iterate (context=context@entry=0x7fffe0001740,
    block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
0000028 0x00007fffecde170c in g_main_context_iteration (context=0x7fffe0001740, may_block=1)
    at gmain.c:3774
0000029 0x00007ffff76b3444 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000030 0x00007ffff7656feb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000031 0x00007ffff6e0ccd5 in QMenu::exec(QPoint const&, QAction*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000032 0x000000000113b6c1 in Biblio::HandleMouse (this=0x2b08260, p=...)
    at /home/.../Scribus/scribus/ui/scrapbookpalette.cpp:1190
0000033 0x00000000007c2717 in Biblio::qt_static_metacall (_o=0x2b08260,
    _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fffffffc450)
    at /home/.../Scribus/build/scribus/ui/moc_scrapbookpalette.cpp:325
0000034 0x00007ffff768a681 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000035 0x00007ffff6cb4225 in QWidget::customContextMenuRequested(QPoint const&) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000036 0x00007ffff6cc6535 in QWidget::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000037 0x00007ffff6dd0756 in QFrame::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000038 0x00007ffff6ede65b in QAbstractItemView::viewportEvent(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000039 0x00007ffff7659043 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)
    () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000040 0x00007ffff6c8d72f in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000041 0x00007ffff6c92467 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000042 0x00007ffff7658dd4 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000043 0x00007ffff6ce5d9d in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000044 0x00007ffff6ce8808 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000045 0x00007ffff6c8d764 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000046 0x00007ffff6c90de6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000047 0x00007ffff7658dd4 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000048 0x00007ffff650d457 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000049 0x00007ffff650de95 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000050 0x00007ffff64f3148 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000051 0x00007fffe5490630 in ?? ()
   from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so
0000052 0x00007fffecde1316 in g_main_dispatch (context=0x7fffe0001740)
    at gmain.c:3066
0000053 g_main_context_dispatch (context=context@entry=0x7fffe0001740)
    at gmain.c:3642
0000054 0x00007fffecde1668 in g_main_context_iterate (context=context@entry=0x7fffe0001740,
    block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at gmain.c:3713
0000055 0x00007fffecde170c in g_main_context_iteration (context=0x7fffe0001740, may_block=1)
    at gmain.c:3774
0000056 0x00007ffff76b3444 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000057 0x00007ffff7656feb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000058 0x00007ffff765beb5 in QCoreApplication::exec() ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000059 0x000000000123c840 in mainApp (argc=1, argv=0x7fffffffdd38)
    at /home/.../Scribus/scribus/main_nix.cpp:86
0000060 0x000000000123c7d0 in main (argc=1, argv=0x7fffffffdd38)
    at /home/.../Scribus/scribus/main_nix.cpp:54
TagsNo tags attached.
Patch

Activities

FirasH

2014-06-09 15:29

developer   ~0032057

I also managed to reproduce this issue without deleting .scribus. Simply continue renaming Scrapbook items until Scribus crashes.

FirasH

2014-06-10 12:45

developer   ~0032064

Scribus 1.5.0 SVN (19203): could not reproduce this issue.

FirasH

2014-06-10 19:43

developer   ~0032074

Thanks jghali!
Closing as fixed.

Issue History

Date Modified Username Field Change
2014-06-09 15:27 FirasH New Issue
2014-06-09 15:29 FirasH Note Added: 0032057
2014-06-09 22:00 jghali Status new => resolved
2014-06-09 22:00 jghali Fixed in Version => 1.5.0svn
2014-06-09 22:00 jghali Resolution open => fixed
2014-06-09 22:00 jghali Assigned To => jghali
2014-06-10 12:45 FirasH Note Added: 0032064
2014-06-10 19:43 FirasH Note Added: 0032074
2014-06-10 19:43 FirasH Status resolved => closed