View Issue Details

IDProjectCategoryView StatusLast Update
0014145ScribusStory Editor / Text Framespublic2016-06-10 13:29
ReporterJLuc Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionunable to reproduce 
PlatformLinuxOSUbuntuOS Version14.04
Summary0014145: Crash on deleting reference to mark when inserted in overflown part of text
DescriptionWhen deleting a frame containing a mark OR deleting the content of the frame, sribus crashes.

bt provided

There is no footnote in document but one mark :
<Marks>
  <Mark label="éLauresse" type="0"/>
</Marks>


The reference to this mark is used only once in the document : the place where it is used is in a part of the text that is OUTSIDE the frame. It is in overflown part of text. That is what makes scribus crash.

When the text frame is made bigger so the reference to the mark is in the displayed part of the text frame (not in the overflown part) then there is no crash.

Steps To ReproduceI uploaded a simplified doc to reproduce the issue

open document
see : some part of text is overflown. at the end of it, there is a mark
delete text frame
see : scribus crashes

open document
make text frame wider so all text fits in it
delete text frame
see : no more crash
Additional InformationProgram received signal SIGSEGV, Segmentation fault.
0x0000000000d91ef8 in ScribusDoc::setUndoDelMark (this=0x407b4f0,
    mrk=0x428b3c0) at /home/jluc/dev/scribus/svn/scribus/scribusdoc.cpp:16973
16973 if (master->isNoteFrame())
(gdb) bt
#0 0x0000000000d91ef8 in ScribusDoc::setUndoDelMark (this=0x407b4f0,
    mrk=0x428b3c0) at /home/jluc/dev/scribus/svn/scribus/scribusdoc.cpp:16973
0000001 0x0000000000a46c11 in PageItem_TextFrame::removeMarksFromText (
    this=0x41cd930, doUndo=true)
    at /home/jluc/dev/scribus/svn/scribus/pageitem_textframe.cpp:6219
0000002 0x0000000000d6b269 in ScribusDoc::itemSelection_DeleteItem (
    this=0x407b4f0, customSelection=0x0, forceDeletion=false)
    at /home/jluc/dev/scribus/svn/scribus/scribusdoc.cpp:11497
0000003 0x000000000087c52c in CanvasMode::commonkeyPressEvent_NormalNodeEdit (
    this=0x73c62d0, e=0x7fffffffdba0)
    at /home/jluc/dev/scribus/svn/scribus/canvasmode.cpp:1418
0000004 0x00000000008eea5b in CanvasMode_Normal::keyPressEvent (this=0x73c62d0,
    e=0x7fffffffdba0)
    at /home/jluc/dev/scribus/svn/scribus/canvasmode_normal.cpp:1586
0000005 0x0000000000dd4c63 in ScribusView::eventFilter (this=0x3951ad0,
    obj=0x3951ad0, event=0x7fffffffdba0)
    at /home/jluc/dev/scribus/svn/scribus/scribusview.cpp:3999
0000006 0x00007ffff7628bf3 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /localbin/Qt5.6.0/5.6/gcc_64/lib/libQt5Core.so.5
0000007 0x00007ffff6ca1025 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /localbin/Qt5.6.0/5.6/gcc_64/lib/libQt5Widgets.so.5
0000008 0x00007ffff6ca52a9 in QApplication::notify(QObject*, QEvent*) ()
   from /localbin/Qt5.6.0/5.6/gcc_64/lib/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---
0000009 0x00007ffff7628e80 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
    () from /localbin/Qt5.6.0/5.6/gcc_64/lib/libQt5Core.so.5
0000010 0x00007ffff6d006f3 in ?? ()
   from /localbin/Qt5.6.0/5.6/gcc_64/lib/libQt5Widgets.so.5
0000011 0x00007ffff6ca104c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /localbin/Qt5.6.0/5.6/gcc_64/lib/libQt5Widgets.so.5
0000012 0x00007ffff6ca5488 in QApplication::notify(QObject*, QEvent*) ()
   from /localbin/Qt5.6.0/5.6/gcc_64/lib/libQt5Widgets.so.5
0000013 0x00007ffff7628e80 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
    () from /localbin/Qt5.6.0/5.6/gcc_64/lib/libQt5Core.so.5
0000014 0x00007ffff644a738 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) ()
   from /localbin/Qt5.6.0/5.6/gcc_64/lib/libQt5Gui.so.5
0000015 0x00007ffff644f465 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /localbin/Qt5.6.0/5.6/gcc_64/lib/libQt5Gui.so.5
0000016 0x00007ffff64306a3 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /localbin/Qt5.6.0/5.6/gcc_64/lib/libQt5Gui.so.5
0000017 0x00007fffe80ee720 in ?? ()
   from /localbin/Qt5.6.0/5.6/gcc_64/plugins/platforms/../../lib/libQt5XcbQpa.so.5
0000018 0x00007fffef0d1e04 in g_main_context_dispatch ()
---Type <return> to continue, or q <return> to quit---
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000019 0x00007fffef0d2048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000020 0x00007fffef0d20ec in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000021 0x00007ffff76784e7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /localbin/Qt5.6.0/5.6/gcc_64/lib/libQt5Core.so.5
0000022 0x00007ffff7626efa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /localbin/Qt5.6.0/5.6/gcc_64/lib/libQt5Core.so.5
0000023 0x00007ffff762ed9d in QCoreApplication::exec() ()
   from /localbin/Qt5.6.0/5.6/gcc_64/lib/libQt5Core.so.5
0000024 0x00000000012a40d0 in mainApp (argc=1, argv=0x7fffffffe048)
    at /home/jluc/dev/scribus/svn/scribus/main_nix.cpp:78
0000025 0x00000000012a404e in main (argc=1, argv=0x7fffffffe048)
    at /home/jluc/dev/scribus/svn/scribus/main_nix.cpp:54
TagsNo tags attached.
PatchNo

Relationships

related to 0012495 closedjghali Undo/Redo crashes Scribus using Marks > Reference to Item 

Activities

JLuc

2016-06-10 08:01

developer   ~0041639

I found out when it crashes precisely : The reference to this mark is used only once in the document : the place where it is used is in a part of the text that is OUTSIDE the frame. It is in overflown part of text. That is what makes scribus crash.

When the reference to the mark is in the displayed part of the text frame (not in the overflown part) then there is no crash.

& I upload document.

JLuc

2016-06-10 08:07

developer  

papuce XS.sla (19,535 bytes)

jghali

2016-06-10 13:29

administrator   ~0041640

Pre-boxes issue already fixed in current build. JLUc, it's useless to log any issue for pre-boxes. Before reporting an issue, please check it occurs in current build.

Issue History

Date Modified Username Field Change
2016-06-10 07:28 JLuc New Issue
2016-06-10 07:31 JLuc Description Updated
2016-06-10 07:33 JLuc Description Updated
2016-06-10 07:35 JLuc Description Updated
2016-06-10 08:01 JLuc Description Updated
2016-06-10 08:01 JLuc Steps to Reproduce Updated
2016-06-10 08:01 JLuc Note Added: 0041639
2016-06-10 08:06 JLuc Additional Information Updated
2016-06-10 08:07 JLuc File Added: papuce XS.sla
2016-06-10 08:08 JLuc Description Updated
2016-06-10 08:08 JLuc Relationship added related to 0012495
2016-06-10 08:11 JLuc Summary Crash on deleting reference to mark => Crash on deleting reference to mark when inserted in overflown part of text
2016-06-10 08:13 JLuc Steps to Reproduce Updated
2016-06-10 13:29 jghali Note Added: 0041640
2016-06-10 13:29 jghali Status new => resolved
2016-06-10 13:29 jghali Resolution open => unable to reproduce
2016-06-10 13:29 jghali Assigned To => jghali
2016-06-10 13:29 jghali Status resolved => closed