View Issue Details

IDProjectCategoryView StatusLast Update
0014176ScribusUsabilitypublic2022-01-29 21:41
ReporterPeterBenedek Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status confirmedResolutionopen 
Platformx64OSLinux MintOS Version18 (64bit)
Product Version1.5.3.svn 
Target Version1.6 milestone 
Summary0014176: Insert Two Variable Text and Backspace --> Crash
Description- Make new document
- Make TextBox
- Double click in TextBox
- Insert -- Mark -- Variable Text -- Make Variable Text (Label: A; Text to Insert: AAA -- OK
- Again: Insert -- Mark -- Variable Text (A) -- OK
- Press BackSpace

Scribus Crashes
Steps To Reproduce- Open Document-1.sla
- Double click in TextFrame
- Press BackSpace
Additional Information(gdb) bt
0) 0x00007ffff2c18418 in __GI_raise (sig=sig@entry=6)
    at ../sysdeps/unix/sysv/linux/raise.c:54
1) 0x00007ffff2c1a01a in __GI_abort () at abort.c:89
2) 0x00007ffff2c10bd7 in __assert_fail_base (fmt=<optimized out>,
    assertion=assertion@entry=0x5555568e179b "pos <= length()",
    file=file@entry=0x5555568e1718 "/build/scribus-trunk-lIn2oH/scribus-trunk-1.5.2svn~r21385~20160619~ppa54~ubuntu16.04.1/scribus/text/storytext.cpp",
    line=line@entry=902,
    function=function@entry=0x5555568e1fc0 "const CharStyle& StoryText::charStyle(int) const") at assert.c:92
3) 0x00007ffff2c10c82 in __GI___assert_fail (
    assertion=0x5555568e179b "pos <= length()",
    file=0x5555568e1718 "/build/scribus-trunk-lIn2oH/scribus-trunk-1.5.2svn~r21385~20160619~ppa54~ubuntu16.04.1/scribus/text/storytext.cpp", line=902,
    function=0x5555568e1fc0 "const CharStyle& StoryText::charStyle(int) const")
    at assert.c:101
4) 0x00005555565d844f in StoryText::charStyle(int) const ()
5) 0x0000555555d080f1 in PageItem_TextFrame::deleteSelectedTextFromFrame() ()
6) 0x0000555555d05b63 in PageItem_TextFrame::handleModeEditKey(QKeyEvent*, bool&) ()
7) 0x0000555555b410ec in CanvasMode_Edit::keyPressEvent(QKeyEvent*) ()
8) 0x000055555608a0ef in ScribusView::eventFilter(QObject*, QEvent*) ()
9) 0x00007ffff3ad3412 in QCoreApplicationPrivate::sendThroughObjectEventFilters---Type <return> to continue, or q <return> to quit---
(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
10) 0x00007ffff452003c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
11) 0x00007ffff452709b in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
12) 0x00007ffff3ad362b in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
13) 0x00007ffff457fb23 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
14) 0x00007ffff452005c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
15) 0x00007ffff4525516 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
16) 0x00007ffff3ad362b in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
17) 0x00007ffff3f6c19e in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
18) 0x00007ffff3f711c5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
19) 0x00007ffff3f54f38 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
20) 0x00007fffe6a10070 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
21) 0x00007fffee00e1a7 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
22) 0x00007fffee00e400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
23) 0x00007fffee00e4ac in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
24) 0x00007ffff3b29a7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
25) 0x00007ffff3ad0dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
26) 0x00007ffff3ad8e8c in QCoreApplication::exec() ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
27) 0x000055555659f24c in mainApp(int, char**) ()
28) 0x000055555659f1b5 in main ()
TagsNo tags attached.
PatchNo

Relationships

child of 0012496 acknowledged Metabug: Marks & Footnotes & Weld (1.5.0.svn) 

Activities

PeterBenedek

2016-06-23 14:51

developer  

output.gif (578,144 bytes)   
output.gif (578,144 bytes)   

PeterBenedek

2016-06-23 14:53

developer  

Document-1.sla (14,441 bytes)

FirasH

2016-09-17 20:10

reporter   ~0042016

Confirmed with 1.5.3.svn (21445).

JLuc

2022-01-28 08:10

developer   ~0049498

Confirmed with 1.5.8.
It requires to delete immediately after inserting the 2nd note.
When having some more actions before deleting, it doesnt crash immediately, but both notes are deleted at once.

Issue History

Date Modified Username Field Change
2016-06-23 14:51 PeterBenedek New Issue
2016-06-23 14:51 PeterBenedek File Added: output.gif
2016-06-23 14:53 PeterBenedek File Added: Document-1.sla
2016-06-23 14:55 PeterBenedek Steps to Reproduce Updated
2016-06-23 15:08 PeterBenedek Relationship added related to 0013560
2016-06-23 15:11 PeterBenedek Relationship deleted related to 0013560
2016-06-23 15:18 PeterBenedek Relationship added child of 0012496
2016-09-17 20:10 FirasH Status new => confirmed
2016-09-17 20:10 FirasH Note Added: 0042016
2016-12-17 00:00 Kunda Target Version => Future Release - High Priority
2022-01-28 08:04 JLuc Additional Information Updated
2022-01-28 08:10 JLuc Note Added: 0049498
2022-01-29 21:41 cbradney Target Version Future Release - High Priority => 1.6 milestone