View Issue Details

IDProjectCategoryView StatusLast Update
0011573ScribusGeneralpublic2016-04-18 13:35
Reporterute Assigned Tofschmid  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntuOS Version12.10
Product Version1.4.2 
Target Version1.5.2Fixed in Version1.5.2.svn 
Summary0011573: Opening SLA crashes scribus (sla maybe corrupted)
Description( EDIT : title was "applying or deleting masterpages crashes with signal 11" )

My version is actually 1.4.1 svn

Whenever I try to delete a masterpage (I am not using any of the masterpages apart from Normal Left and Normal Right at present, scribus crashes.

By now to the point that I cannot open the file or the autosave file any longer.
Steps To ReproduceRight now: open document- crash signal 11

Before: Edit Masterpages, delete Masterpage other than Normal Left or Normal right - crash signal 11
Additional InformationI saved file between masterchange edits. After previous crashes, I restarted ubuntu and scribus, re-opened an autosaved file and then saved in under a different name.

Now I can't even open the last file any more.
The last existing file that I can open is an autosave file also attached called buy_local_master_try. That's before edits of the other masterpages.
TagsNo tags attached.
PatchNo

Relationships

related to 0012766 closedfschmid 1.5 : Opening 1.4.4 sla that with path object 

Activities

ute

2013-06-04 16:11

reporter  

jghali

2013-06-04 20:07

administrator   ~0030240

I cannot reproduce this issue in 1.4.2 or current 1.4.3svn.

ute

2013-06-09 14:56

reporter   ~0030254

I upgraded to 1.5.0 because my Ubuntu didn't let me upgrade to 1.4.2

Now I can't open these files any longer. When I start then they crash with signal 11. Any ideas?

ute

2013-06-09 14:57

reporter  

buy_local_8point5.sla (664,008 bytes)

ute

2013-06-09 14:57

reporter  

FirasH

2014-03-22 10:49

developer   ~0031533

Last edited: 2014-03-22 10:59

I can reproduce this issue:

With Scribus 1.4.4 SVN (18927):

buy_local_8point5.sla + buy_local_8point5.sla.autosave > Scribus cannot read it and pops-out "Fatal Error" warning: File ... is not in an acceptable format. The file may be damaged or may have been produced in a later version of Scribus.

buy_local_master_try.sla.autosave > Scribus can open it but deleting Masterpages does not crash Scribus.

With Scribus 1.5.0 SVN (18928):

buy_local_8point5.sla + buy_local_8point5.sla.autosave > Scribus crashes due to Signal 11 (I'll provide a backtrace in the following Note).

buy_local_master_try.sla.autosave > Scribus can open it but the drawings are modified (see the screenshot "OpenTest").

FirasH

2014-03-22 10:49

developer  

OpenTest.png (500,781 bytes)   
OpenTest.png (500,781 bytes)   

FirasH

2014-03-22 10:54

developer   ~0031534

Scribus 1.5.0 SVN (18928) + buy_local_8point5.sla bracktrace:

Program received signal SIGSEGV, Segmentation fault.
0x00007fffd47b0ddc in PageItem_NoteFrame::setMaster (this=0x72559b0, frame=0x0)
    at /home/.../Scribus/scribus/pageitem_noteframe.h:40
40 void setMaster(PageItem* frame) { m_masterFrame = frame->asTextFrame(); }
(gdb) bt
#0 0x00007fffd47b0ddc in PageItem_NoteFrame::setMaster (this=0x72559b0, frame=0x0)
    at /home/.../Scribus/scribus/pageitem_noteframe.h:40
0000001 0x00007fffd47a94b7 in Scribus150Format::updateNames2Ptr (this=0x2221f90)
    at /home/.../Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp:6782
0000002 0x00007fffd4773861 in Scribus150Format::loadFile (this=0x2221f90, fileName=...)
    at /home/.../Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp:1899
0000003 0x000000000096b898 in FileFormat::loadFile (this=0x1b7da10, fileName=..., flags=1, index=0)
    at /home/.../Scribus/scribus/loadsaveplugin.cpp:441
0000004 0x0000000000901c0e in FileLoader::loadFile (this=0x2fbf3e0, currDoc=0x2f063c0)
    at /home/.../Scribus/scribus/fileloader.cpp:230
0000005 0x0000000000c93e7e in ScribusMainWindow::loadDoc (this=0x19784e0, fileName=...)
    at /home/.../Scribus/scribus/scribus.cpp:3845
0000006 0x0000000000c91965 in ScribusMainWindow::slotDocOpen (this=0x19784e0)
    at /home/.../Scribus/scribus/scribus.cpp:3558
0000007 0x000000000078ac0d in ScribusMainWindow::qt_static_metacall (_o=0x19784e0, _c=QMetaObject::InvokeMetaMethod, _id=70,
    _a=0x7fffffffc5a0) at /home/.../Scribus/build/scribus/moc_scribus.cpp:981
0000008 0x00007ffff769d6b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000009 0x00007ffff6ce0e92 in QAction::triggered(bool) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000010 0x00007ffff6ce2cc7 in QAction::activate(QAction::ActionEvent) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000011 0x00007ffff6dec125 in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000012 0x00007ffff6dec3e4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000013 0x00007ffff6eae9fa in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000014 0x00007ffff6d24077 in QWidget::event(QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000015 0x00007ffff6eaf890 in QToolButton::event(QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000016 0x00007ffff6cec0f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000017 0x00007ffff6cef4d6 in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000018 0x00007ffff7674734 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000019 0x00007ffff6cee54a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000020 0x00007ffff6d43b65 in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000021 0x00007ffff6d45f98 in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000022 0x00007ffff6cec0f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000023 0x00007ffff6cef6ae in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000024 0x00007ffff7674734 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000025 0x00007ffff6608c21 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Gui.so.5
0000026 0x00007ffff66094a5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Gui.so.5
0000027 0x00007ffff65f0ba8 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Gui.so.5
0000028 0x00007fffe58281b0 in ?? () from /home/.../Qt/5.2.1/gcc_64/plugins/platforms/libqxcb.so
0000029 0x00007fffed05d316 in g_main_dispatch (context=0x7fffe0001740) at gmain.c:3066
0000030 g_main_context_dispatch (context=context@entry=0x7fffe0001740) at gmain.c:3642
0000031 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
0000032 0x00007fffed05d70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1) at gmain.c:3774
0000033 0x00007ffff76c5374 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000034 0x00007ffff76734ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000035 0x00007ffff767753e in QCoreApplication::exec() () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000036 0x0000000001224140 in mainApp (argc=1, argv=0x7fffffffdd78) at /home/.../Scribus/scribus/main_nix.cpp:86
0000037 0x00000000012240d0 in main (argc=1, argv=0x7fffffffdd78) at /home/.../Scribus/scribus/main_nix.cpp:54

JLuc

2014-12-30 09:51

developer   ~0034331

I reproduce crash with buy_local_8point5.sla

JLuc

2014-12-30 09:56

developer   ~0034332

Last edited: 2014-12-30 09:57

The issue with opentest.png is a problem in scribus 1.5 with some scribus 1.4 imported SVGs : see 0012766. That issue has been reported in several reports allready. It could be that in some files, this issue crashes scribus.

Fahad

2015-10-23 13:10

developer   ~0036856

The bug by itself is not reproducible which applying or deleting masterpages crashes with signal 11.

However, the attached file crashes scribus.


I am using 1.5.1 svn r20488

Kunda

2015-10-23 18:04

updater   ~0036870

Last edited: 2015-10-25 14:16

Can confirm still crashes 1.5.1svn r20488 Qt5.5.1
Added a backtrace
* thread 0000001: tid = 0x13c5fd, 0x000000010e011acd libscribus150format.so`PageItem_NoteFrame::setMaster(PageItem*) + 9, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x000000010e011acd libscribus150format.so`PageItem_NoteFrame::setMaster(PageItem*) + 9
libscribus150format.so`PageItem_NoteFrame::setMaster:


Edit: Clarity
I agree with Fahad "reproduce the bug by itself is not reproducible which applying or deleting masterpages crashes with signal 11. The crash above is from opening the .sla (which seems corrupted)

Kunda

2015-10-23 18:05

updater  

backtraceOct2015.txt (4,283 bytes)   
Process 8510 stopped
* thread #1: tid = 0x13c5fd, 0x000000010e011acd libscribus150format.so`PageItem_NoteFrame::setMaster(PageItem*) + 9, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x000000010e011acd libscribus150format.so`PageItem_NoteFrame::setMaster(PageItem*) + 9
libscribus150format.so`PageItem_NoteFrame::setMaster:
->  0x10e011acd <+9>:  movq   (%rsi), %rax
    0x10e011ad0 <+12>: movq   %rsi, %rdi
    0x10e011ad3 <+15>: callq  *0xd0(%rax)
    0x10e011ad9 <+21>: movq   %rax, 0xb28(%rbx)
(lldb) bt
* thread #1: tid = 0x13c5fd, 0x000000010e011acd libscribus150format.so`PageItem_NoteFrame::setMaster(PageItem*) + 9, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x000000010e011acd libscribus150format.so`PageItem_NoteFrame::setMaster(PageItem*) + 9
    frame #1: 0x000000010dff8065 libscribus150format.so`Scribus150Format::updateNames2Ptr() + 1897
    frame #2: 0x000000010dff303d libscribus150format.so`Scribus150Format::loadFile(QString const&, FileFormat const&, int, int) + 10485
    frame #3: 0x000000010015aa26 Scribus`FileFormat::loadFile(QString const&, int, int) const + 80
    frame #4: 0x0000000100123fc9 Scribus`FileLoader::loadFile(ScribusDoc*) + 489
    frame #5: 0x00000001003a71dd Scribus`ScribusMainWindow::loadDoc(QString) + 3317
    frame #6: 0x00000001003c72f9 Scribus`ScribusMainWindow::dropEvent(QDropEvent*) + 465
    frame #7: 0x0000000102382df6 QtWidgets`QWidget::event(QEvent*) + 2566
    frame #8: 0x0000000102489ed7 QtWidgets`QMainWindow::event(QEvent*) + 1751
    frame #9: 0x000000010234496b QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
    frame #10: 0x00000001023470d1 QtWidgets`QApplication::notify(QObject*, QEvent*) + 5121
    frame #11: 0x00000001037a15e3 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 115
    frame #12: 0x00000001023a4944 QtWidgets`QWidgetWindow::handleDropEvent(QDropEvent*) + 740
    frame #13: 0x00000001023a22ad QtWidgets`QWidgetWindow::event(QEvent*) + 573
    frame #14: 0x000000010234496b QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
    frame #15: 0x00000001023472ce QtWidgets`QApplication::notify(QObject*, QEvent*) + 5630
    frame #16: 0x00000001037a15e3 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 115
    frame #17: 0x0000000102a09914 QtGui`QGuiApplicationPrivate::processDrop(QWindow*, QMimeData const*, QPoint const&, QFlags<Qt::DropAction>) + 116
    frame #18: 0x00000001063a0f5b libqcocoa.dylib`-[QNSView performDragOperation:] + 475
    frame #19: 0x00007fff92ff74dd AppKit`NSCoreDragReceiveMessageProc + 345
    frame #20: 0x00007fff8b101e72 HIServices`DoMultipartDropMessage + 327
    frame #21: 0x00007fff8b101b74 HIServices`DoDropMessage + 41
    frame #22: 0x00007fff8b106cfb HIServices`CoreDragMessageHandler + 871
    frame #23: 0x00007fff94187c68 CoreFoundation`__CFMessagePortPerform + 568
    frame #24: 0x00007fff9410ec79 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
    frame #25: 0x00007fff9410ebeb CoreFoundation`__CFRunLoopDoSource1 + 475
    frame #26: 0x00007fff94100767 CoreFoundation`__CFRunLoopRun + 2375
    frame #27: 0x00007fff940ffbd8 CoreFoundation`CFRunLoopRunSpecific + 296
    frame #28: 0x00007fff94f9056f HIToolbox`RunCurrentEventLoopInMode + 235
    frame #29: 0x00007fff94f901ee HIToolbox`ReceiveNextEventCommon + 179
    frame #30: 0x00007fff94f9012b HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71
    frame #31: 0x00007fff92dcb8ab AppKit`_DPSNextEvent + 978
    frame #32: 0x00007fff92dcae58 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
    frame #33: 0x00007fff92dc0af3 AppKit`-[NSApplication run] + 594
    frame #34: 0x00000001063a42df libqcocoa.dylib`QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2191
    frame #35: 0x000000010379ed0c QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 412
    frame #36: 0x00000001037a1b85 QtCore`QCoreApplication::exec() + 341
    frame #37: 0x00000001007e1829 Scribus`mainApp(int, char**) + 90
    frame #38: 0x00007fff9599b5c9 libdyld.dylib`start + 1
    frame #39: 0x00007fff9599b5c9 libdyld.dylib`start + 1
backtraceOct2015.txt (4,283 bytes)   

Kunda

2015-11-05 15:58

updater   ~0037268

OP, can you still reproduce this on version 1.5.1svn ?

Kunda

2015-11-10 15:52

updater   ~0037385

I can't recreate the conditions for the crash, but the SLA still crashes. So perhaps the initial bug is fixed and the corruption in the SLA needs to be addressed ?

Kunda

2016-04-18 13:35

updater   ~0040252

Franz fixed the crash in the original SLA in r21202
Also OpenTest.png phenomena not present.

OX 10.10.5 1.5.2svn r21207

Issue History

Date Modified Username Field Change
2013-06-04 16:11 ute New Issue
2013-06-04 16:11 ute File Added: buy_local_master_try.sla.autosave
2013-06-04 16:44 jghali Category - => General
2013-06-04 20:07 jghali Note Added: 0030240
2013-06-09 14:56 ute Note Added: 0030254
2013-06-09 14:57 ute File Added: buy_local_8point5.sla
2013-06-09 14:57 ute File Added: buy_local_8point5.sla.autosave
2014-03-22 10:49 FirasH Note Added: 0031533
2014-03-22 10:49 FirasH File Added: OpenTest.png
2014-03-22 10:54 FirasH Note Added: 0031534
2014-03-22 10:59 FirasH Note Edited: 0031533
2014-04-05 15:23 christoph_s Status new => confirmed
2014-07-11 07:56 Kunda Target Version => 1.5.0
2014-09-11 02:47 Kunda Severity crash => block
2014-10-30 13:31 Kunda Sticky Issue No => Yes
2014-12-30 09:51 JLuc Note Added: 0034331
2014-12-30 09:56 JLuc Note Added: 0034332
2014-12-30 09:56 JLuc Relationship added related to 0012766
2014-12-30 09:57 JLuc Note Edited: 0034332
2014-12-31 14:00 JLuc Patch => No
2014-12-31 14:00 JLuc Priority immediate => normal
2014-12-31 14:00 JLuc Severity block => major
2015-05-19 20:56 cbradney Target Version 1.5.0 => 1.5.1
2015-10-23 13:10 Fahad Note Added: 0036856
2015-10-23 13:47 JLuc Summary applying or deleting masterpages crashes with signal 11 => Opening SLA crashes scribus (sla maybe corrupted)
2015-10-23 13:47 JLuc Description Updated
2015-10-23 18:04 Kunda Note Added: 0036870
2015-10-23 18:05 Kunda File Added: backtraceOct2015.txt
2015-10-23 18:05 Kunda Note Edited: 0036870
2015-10-25 14:16 Kunda Note Edited: 0036870
2015-11-05 15:58 Kunda Note Added: 0037268
2015-11-10 15:52 Kunda Note Added: 0037385
2015-11-11 15:33 Kunda Sticky Issue Yes => No
2016-01-23 17:17 cbradney Target Version 1.5.1 => 1.5.3
2016-04-17 07:24 fschmid Status confirmed => resolved
2016-04-17 07:24 fschmid Fixed in Version => 1.5.2.svn
2016-04-17 07:24 fschmid Resolution open => fixed
2016-04-17 07:24 fschmid Assigned To => fschmid
2016-04-17 20:23 Kunda Target Version 1.5.3 => 1.5.2
2016-04-18 13:35 Kunda Note Added: 0040252
2016-04-18 13:35 Kunda Status resolved => closed