View Issue Details

IDProjectCategoryView StatusLast Update
0012089ScribusUser Interfacepublic2014-06-27 15:04
ReporterPeterBenedek Assigned To 
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionfixed 
PlatformDesktop PC and NotebookOSLinux Mint OS Version16 or later
Product Version1.5.0svn 
Target Version1.5.0Fixed in Version1.5.0svn 
Summary0012089: Group resize and crash
DescriptionEnvironment: Linux Mint 16 "Petra"
Version: Scribus 1.5.0 (https://launchpad.net/~scribus/+archive/ppa)
Language: HU

After selecting and resizing at least two groups and a separated object the items in the selection are displayed incorrectly or not displayed at all.
After undoing the resize operation, the program crashes with the following error message: Scribus crashes due to Signal 0000011

Link this video: https://www.dropbox.com/s/2nnhxsu7zhvp3nb/group_resize.avi
TagsNo tags attached.
Patch

Relationships

parent of 0012448 closedfschmid Resizing of a Group + Item is not correct 

Activities

FirasH

2014-02-25 14:32

developer   ~0031391

I can reproduce this issue with Scribus 1.5.0 SVN (18837) - Qt 5.2.1

JLuc

2014-02-25 16:05

developer   ~0031392

@PeterBenedek : in case of reproducible crashes, it will help to get a first grip on the bug if you provide a gdb backtrace along with your report.
Have a look at : http://wiki.scribus.net/canvas/How_to_debug_for_reporting

FirasH

2014-02-25 16:18

developer   ~0031393

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000031 in ?? ()
(gdb) bt
#0 0x0000000000000031 in ?? ()
0000001 0x00000000010c08db in PropertiesPalette_Shape::enableEditShape (this=0x2522e60)
    at /home/.../Scribus/scribus/ui/propertiespalette_shape.cpp:209
0000002 0x00000000010c09f6 in PropertiesPalette_Shape::handleSelectionChanged (this=0x2522e60)
    at /home/.../Scribus/scribus/ui/propertiespalette_shape.cpp:231
0000003 0x00000000007b18bf in PropertiesPalette_Shape::qt_static_metacall (_o=0x2522e60, _c=QMetaObject::InvokeMetaMethod, _id=5,
    _a=0x7fffffffa0c0) at /home/.../Scribus/build/scribus/ui/moc_propertiespalette_shape.cpp:128
0000004 0x00007ffff769d6b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000005 0x000000000078a28b in ScribusDoc::docChanged (this=0x338fec0)
    at /home/.../Scribus/build/scribus/moc_scribusdoc.cpp:973
0000006 0x0000000000d48e27 in ScribusDoc::itemSelection_UnGroupObjects (this=0x338fec0, customSelection=0x7fffffffa340)
    at /home/.../Scribus/scribus/scribusdoc.cpp:15301
0000007 0x0000000000cf36d8 in ScribusDoc::restoreGrouping (this=0x338fec0, state=0x2f3e4b0, isUndo=true)
    at /home/.../Scribus/scribus/scribusdoc.cpp:2363
0000008 0x0000000000ce8d77 in ScribusDoc::restore (this=0x338fec0, state=0x2f3e4b0, isUndo=true)
    at /home/.../Scribus/scribus/scribusdoc.cpp:1743
0000009 0x0000000000dd39c8 in UndoState::undo (this=0x2f3e4b0) at /home/.../Scribus/scribus/undostate.cpp:73
0000010 0x0000000000dc487a in TransactionState::undo (this=0x2f8be80)
    at /home/.../Scribus/scribus/undomanager.cpp:808
0000011 0x0000000000dd2b03 in UndoStack::undo (this=0x34b67c0, steps=1, objectId=-1)
    at /home/.../Scribus/scribus/undostack.cpp:80
0000012 0x0000000000dc3249 in UndoManager::undo (this=0x1e48360, steps=1)
    at /home/.../Scribus/scribus/undomanager.cpp:553
0000013 0x000000000078f012 in UndoManager::qt_static_metacall (_o=0x1e48360, _c=QMetaObject::InvokeMetaMethod, _id=12,
    _a=0x7fffffffc340) at /home/.../Scribus/build/scribus/moc_undomanager.cpp:143
0000014 0x00007ffff769d6b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000015 0x000000000078437c in ScrAction::triggeredData (this=0x1d110e0, _t1=1)
    at /home/.../Scribus/build/scribus/moc_scraction.cpp:229
0000016 0x0000000000c4c5ac in ScrAction::triggeredToTriggeredData (this=0x1d110e0)
    at /home/.../Scribus/scribus/scraction.cpp:178
0000017 0x0000000000783f51 in ScrAction::qt_static_metacall (_o=0x1d110e0, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fffffffc5b0)
    at /home/.../Scribus/build/scribus/moc_scraction.cpp:114
0000018 0x00007ffff769d6b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000019 0x00007ffff6ce0e92 in QAction::triggered(bool) () from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000020 0x00007ffff6ce2cc7 in QAction::activate(QAction::ActionEvent) () from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000021 0x00007ffff6dec125 in ?? () from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000022 0x00007ffff6dec3e4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000023 0x00007ffff6eae9fa in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000024 0x00007ffff6d24077 in QWidget::event(QEvent*) () from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000025 0x00007ffff6eaf890 in QToolButton::event(QEvent*) () from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000026 0x00007ffff6cec0f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000027 0x00007ffff6cef4d6 in QApplication::notify(QObject*, QEvent*) () from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000028 0x00007ffff7674734 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000029 0x00007ffff6cee54a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000030 0x00007ffff6d43b65 in ?? () from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000031 0x00007ffff6d45f98 in ?? () from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000032 0x00007ffff6cec0f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000033 0x00007ffff6cef6ae in QApplication::notify(QObject*, QEvent*) () from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000034 0x00007ffff7674734 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000035 0x00007ffff6608c21 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Gui.so.5
0000036 0x00007ffff66094a5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Gui.so.5
0000037 0x00007ffff65f0ba8 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Gui.so.5
0000038 0x00007fffe58281b0 in ?? () from /home/firashanife/Qt/5.2.1/gcc_64/plugins/platforms/libqxcb.so
0000039 0x00007fffed05d316 in g_main_dispatch (context=0x7fffe0001740) at gmain.c:3066
0000040 g_main_context_dispatch (context=context@entry=0x7fffe0001740) at gmain.c:3642
0000041 0x00007fffed05d668 in g_main_context_iterate (context=context@entry=0x7fffe0001740, block=block@entry=1,
    dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
0000042 0x00007fffed05d70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1) at gmain.c:3774
0000043 0x00007ffff76c5374 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000044 0x00007ffff76734ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000045 0x00007ffff767753e in QCoreApplication::exec() () from /home/firashanife/Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000046 0x0000000001222490 in mainApp (argc=1, argv=0x7fffffffdd88) at /home/.../Scribus/scribus/main_nix.cpp:86
0000047 0x0000000001222420 in main (argc=1, argv=0x7fffffffdd88) at /home/.../Scribus/scribus/main_nix.cpp:54

FirasH

2014-06-26 19:37

developer   ~0032329

Scribus 1.5.0.svn (19287): cannot reproduce this issue.
PeterBenedek could you please re-test with a later version of Scribus and tell us if you still reproduce the crash? It's likely that it has been fixed (groups are not correctly restored but it's another issue).

JLuc

2014-06-26 21:36

developer   ~0032332

Last edited: 2014-06-26 21:41

I can't reproduce crash neither.

Other issue shown on vdo is that (although multiple selected items are well resized, and so are elements in a group when the group is resized) a selection of both items and groups makes the elements in the group resize badly : one element of the group jumps to other side of group (but the selection rectangle stays ok in place).
Its a bit the same "selection versus position" issue as with now fixed 0012376

PeterBenedek

2014-06-27 03:54

developer   ~0032335

Tested:
Linux Mint 17
Qt: 5.2.1
Scribus: 1.5.0svn201406262346-30

No crash, but the scaling problem is present: "(groups are not correctly restored but it's another issue)".

In this context you need another trouble ticket?

FirasH

2014-06-27 14:52

developer   ~0032344

As the crash is fixed I'd close this report and open a specific one for the scaling issue.

FirasH

2014-06-27 15:04

developer   ~0032345

PeterBenedek: I've divided the 2 issues and created 0012448.
Closing this one as the crash does not occur anymore with recent fixes.

Issue History

Date Modified Username Field Change
2014-02-25 10:36 PeterBenedek New Issue
2014-02-25 14:32 FirasH Note Added: 0031391
2014-02-25 16:05 JLuc Note Added: 0031392
2014-02-25 16:18 FirasH Note Added: 0031393
2014-02-25 21:55 jghali Target Version => 1.5.0
2014-06-26 19:37 FirasH Note Added: 0032329
2014-06-26 21:36 JLuc Note Added: 0032332
2014-06-26 21:37 JLuc Note Edited: 0032332
2014-06-26 21:41 JLuc Note Edited: 0032332
2014-06-27 03:54 PeterBenedek Note Added: 0032335
2014-06-27 14:52 FirasH Note Added: 0032344
2014-06-27 15:02 FirasH Relationship added parent of 0012448
2014-06-27 15:04 FirasH Note Added: 0032345
2014-06-27 15:04 FirasH Status new => closed
2014-06-27 15:04 FirasH Resolution open => fixed
2014-06-27 15:04 FirasH Fixed in Version => 1.5.0svn