View Issue Details

IDProjectCategoryView StatusLast Update
0014181ScribusUsabilitypublic2018-04-12 20:14
ReporterPeterBenedek Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status confirmedResolutionopen 
Platformx64OSLinux MintOS Version18 (64bit)
Product Version1.5.3.svn 
Target VersionFuture Release - High PriorityFixed in Version 
Summary0014181: Frame break, Anchors and deleted character the end of the paragraph: Crash
DescriptionTested: Qt5.5.1 and Qt5.6.1; r21386

Antecedent: 0014175

The example document (TEST.sla) include one empty paragraph. If you deleted this, Scribus Crashes.
Additional InformationThread 1 "scribus-trunk" received signal SIGSEGV, Segmentation fault.
0x0000000000000061 in ?? ()

(gdb) bt
#0 0x0000000000000061 in ?? ()
0000001 0x000055555604cae8 in ScribusDoc::eraseMark(Mark*, bool, PageItem*, bool)
    ()
0000002 0x0000555555d12162 in PageItem_TextFrame::removeMarksFromText(bool) ()
0000003 0x0000555555d0819e in PageItem_TextFrame::deleteSelectedTextFromFrame() ()
0000004 0x0000555555d057a1 in PageItem_TextFrame::handleModeEditKey(QKeyEvent*, bool&) ()
0000005 0x0000555555b410ec in CanvasMode_Edit::keyPressEvent(QKeyEvent*) ()
0000006 0x000055555608a25d in ScribusView::eventFilter(QObject*, QEvent*) ()
0000007 0x00007ffff3ad3412 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000008 0x00007ffff452003c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000009 0x00007ffff452709b in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000010 0x00007ffff3ad362b in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000011 0x00007ffff457fb23 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000012 0x00007ffff452005c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000013 0x00007ffff4525516 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000014 0x00007ffff3ad362b in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000015 0x00007ffff3f6c19e in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000016 0x00007ffff3f711c5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000017 0x00007ffff3f54f38 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000018 0x00007fffe6a10070 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
0000019 0x00007fffee00e1a7 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000020 0x00007fffee00e400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000021 0x00007fffee00e4ac in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000022 0x00007ffff3b29a7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000023 0x00007ffff3ad0dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000024 0x00007ffff3ad8e8c in QCoreApplication::exec() ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000025 0x000055555659f3ba in mainApp(int, char**) ()
0000026 0x000055555659f323 in main ()
Tagsmarks
PatchNo

Relationships

related to 0014175 confirmed Error in page number (“Reference to Mark”) when anchors are in linked text frames 
child of 0012496 acknowledged Metabug: Marks & Footnotes & Weld (1.5.0.svn) 

Activities

PeterBenedek

2016-06-25 11:42

developer  

TEST.sla (18,654 bytes)

PeterBenedek

2016-06-25 11:48

developer  

0014181.png (33,350 bytes)
0014181.png (33,350 bytes)

Juan

2016-06-25 14:01

reporter   ~0041714

Confirmed in Windows 10 x64.

Curiously, if I do the same thing with those empty paragraphs in the file I’m attaching to this note, without frame breaks or linked frames, what is deleted is the first anchor, inserted at the beginning of the first paragraph of the frame. This deletion is reflected in the table of contents of the first page.

Juan

2016-06-25 14:01

reporter  

References to anchors - Unlinked Frames.sla (21,564 bytes)

FirasH

2016-09-17 20:08

developer   ~0042015

Confirmed with 1.5.3.svn (21445).

PeterBenedek

2017-05-15 19:59

developer  

output.gif (635,806 bytes)
output.gif (635,806 bytes)

cbradney

2017-05-16 05:35

administrator   ~0043912

We have tested this with current SVN and see no more crash. Please retest

PeterBenedek

2017-05-16 06:23

developer   ~0043913

"...and see no more crash"
Yes, I know. I retested (r22020) and uploaded "output.gif".
The crash are still reproduce, only changed.

Steps (output.gif):
-- Download and open Test.sla
-- Double click last TextBox, and click first character in second paragraph.
-- Press down arrow
-- Press up arrow
-- Press twice the Delete button

Scribus Crash

Issue History

Date Modified Username Field Change
2016-06-25 11:42 PeterBenedek New Issue
2016-06-25 11:42 PeterBenedek File Added: TEST.sla
2016-06-25 11:43 PeterBenedek Description Updated View Revisions
2016-06-25 11:48 PeterBenedek File Added: 0014181.png
2016-06-25 14:01 Juan Note Added: 0041714
2016-06-25 14:01 Juan File Added: References to anchors - Unlinked Frames.sla
2016-09-17 20:08 FirasH Status new => confirmed
2016-09-17 20:08 FirasH Note Added: 0042015
2016-12-17 00:01 Kunda Target Version => Future Release - High Priority
2016-12-19 13:29 Kunda Relationship added related to 0014175
2016-12-19 13:30 Kunda Tag Attached: marks
2016-12-19 13:37 Kunda Relationship added child of 0012496
2017-05-15 19:59 PeterBenedek File Added: output.gif
2017-05-16 05:35 cbradney Note Added: 0043912
2017-05-16 06:23 PeterBenedek Note Added: 0043913