View Issue Details

IDProjectCategoryView StatusLast Update
0012441ScribusGeneralpublic2014-06-26 19:24
ReporterFirasH Assigned Tojghali  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSopenSUSEOS Version13.1
Product Version1.5.0svn 
Fixed in Version1.5.0svn 
Summary0012441: Page > Delete... should not be clickable if the document has only 1 page
DescriptionPage > Delete... should not be clickable if the document has only 1 page.
Steps To Reproduce0) Create a new document
1) Go to: Page > Insert... > Insert 1 Page at End
2) Undo once
3) Go to: Page > Delete... > click OK

Scribus crashes due to Signal 6
Additional InformationScribus 1.5.0.svn (19283)


Program received signal SIGABRT, Aborted.
0x00007fffef50d849 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00007fffef50d849 in raise ()
   from /lib64/libc.so.6
0000001 0x00007fffef50ecd8 in abort ()
   from /lib64/libc.so.6
0000002 0x00007ffff74168be in QMessageLogger::fatal(char const*, ...) const ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000003 0x00007ffff7411d84 in qt_assert_x(char const*, char const*, char const*, int) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000004 0x0000000000843307 in QList<ScPage*>::at (this=0x33992b8, i=1)
    at /home/.../Qt/5.3/gcc_64/include/QtCore/qlist.h:479
0000005 0x0000000000d11a86 in ScribusDoc::deletePage (this=0x3398950, pageNumber=0)
    at /home/.../Scribus/scribus/scribusdoc.cpp:2788
0000006 0x0000000000cc0777 in ScribusMainWindow::deletePage (this=0x19ccdd0, from=1, to=1)
    at /home/.../Scribus/scribus/scribus.cpp:6922
0000007 0x0000000000cc004f in ScribusMainWindow::deletePage (this=0x19ccdd0)
    at /home/.../Scribus/scribus/scribus.cpp:6852
0000008 0x000000000078fb36 in ScribusMainWindow::qt_static_metacall (_o=0x19ccdd0, _c=QMetaObject::InvokeMetaMethod, _id=120,
    _a=0x7fffffffc380) at /home/.../Scribus/build/scribus/moc_scribus.cpp:1080
0000009 0x00007ffff768a681 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000010 0x00007ffff6c825d2 in QAction::triggered(bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000011 0x00007ffff6c84407 in QAction::activate(QAction::ActionEvent) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000012 0x00007ffff6e08eda in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000013 0x00007ffff6e1044f in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000014 0x00007ffff6e113d0 in QMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000015 0x00007ffff6cc5a87 in QWidget::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000016 0x00007ffff6e1318b in QMenu::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000017 0x00007ffff6c8d764 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000018 0x00007ffff6c90bb6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000019 0x00007ffff7658dd4 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000020 0x00007ffff6c8fcca in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000021 0x00007ffff6ce598e in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000022 0x00007ffff6ce8808 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000023 0x00007ffff6c8d764 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000024 0x00007ffff6c90de6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000025 0x00007ffff7658dd4 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000026 0x00007ffff650d457 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000027 0x00007ffff650de95 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000028 0x00007ffff64f3148 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000029 0x00007fffe5490630 in ?? ()
   from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so
0000030 0x00007fffecde1316 in g_main_dispatch (context=0x7fffe0001740)
    at gmain.c:3066
0000031 g_main_context_dispatch (context=context@entry=0x7fffe0001740)
    at gmain.c:3642
0000032 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
0000033 0x00007fffecde170c in g_main_context_iteration (context=0x7fffe0001740, may_block=1)
    at gmain.c:3774
0000034 0x00007ffff76b3444 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000035 0x00007ffff7656feb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000036 0x00007ffff765beb5 in QCoreApplication::exec() ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000037 0x000000000123e94c in mainApp (argc=1, argv=0x7fffffffdd18)
    at /home/.../Scribus/scribus/main_nix.cpp:86
0000038 0x000000000123e8dc in main (argc=1, argv=0x7fffffffdd18)
    at /home/.../Scribus/scribus/main_nix.cpp:54
TagsNo tags attached.
Patch

Activities

FirasH

2014-06-26 19:24

developer   ~0032327

Thanks jghali!
Scribus 1.5.0.svn (19287): could not reproduce this issue.
Closing as fixed.

Issue History

Date Modified Username Field Change
2014-06-26 14:41 FirasH New Issue
2014-06-26 17:55 jghali Status new => resolved
2014-06-26 17:55 jghali Fixed in Version => 1.5.0svn
2014-06-26 17:55 jghali Resolution open => fixed
2014-06-26 17:55 jghali Assigned To => jghali
2014-06-26 19:24 FirasH Note Added: 0032327
2014-06-26 19:24 FirasH Status resolved => closed