View Issue Details

IDProjectCategoryView StatusLast Update
0014892ScribusStory Editor / Text Framespublic2018-03-26 17:37
Reporteramelhadj Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version1.5.4.svn 
Target VersionFixed in Version 
Summary0014892: Undo operation doesn't work after replace operation
DescriptionThe arabic text contains diacritics or kashida. After the word containing the diacritics or kashida is replaced, the search/replace window is closed. If Undo or ctrl+z is selected, the application immediately crashes.
Steps To Reproduce1) open Scribus
2) create a text "أمــــــــل" with a kashida for example. (It also happens if diacritics are used)
3) press ctrl+f to find the word.
4) Search for: أمــــــــل
5) press search.
6) go to the replace word and enter: 123
7) press replace
8) 123 is the new replaced word.
9) press ctrl+z or Undo
10) the program cashes.
TagsNo tags attached.
PatchNo

Activities

amelhadj

2017-07-02 10:25

reporter  

jghali

2017-07-02 12:06

administrator   ~0044120

Unable to reproduce that one.

PeterBenedek

2017-07-02 18:33

developer   ~0044121

Tested r22094; Linux Mint 18.1; Qt 5.8.0

I can't reproduce.

Intresting: The replace action can't undo...

1. Create TextBox
2. Create a text: ABC [enter]
3. Create a text "أمــــــــل"
4. (CTRL+F) "أمــــــــل" replace "123"
5. Undo

Happen: The [enter] is deleted.

munzirtaha

2017-11-03 12:00

reporter   ~0044619

I can reproduce this exactly as Amel mentioned in my Arch Linux

Qt: 5.9.2
Scribus:
30 October 2017 - SVN Revision: 22214
Build ID: C--T-F-C1.15.8-64bit
Using Ghostscript version 9.22

Scribus crashed with:
scribus: /tmp/makepkg/scribus-svn/src/scribus/Scribus/scribus/text/storytext.cpp:1782: void StoryText::select(int, uint, bool): Assertion `pos + signed(len) <= length()' failed.
Scribus Crash
-------------
Scribus crashes due to Signal 0000006

munzirtaha

2018-03-26 17:37

reporter   ~0045106

This bug severity should be raised to crash it's still vaid as per 13 March 2018 - SVN Revision: 22444
munzir@spectre~> scribus
sizeof(TrkHeader)=1000
FFmpegImageStream::open : av_open_input_file() failed : AVERROR_NOENT
ReaderWriterTF::writeObject
Warning: dynamic library '/usr/lib/osgPlugins-3.4.1/osgdb_xine.so' exists, but an error occurred while trying to open it:
/usr/lib/osgPlugins-3.4.1/osgdb_xine.so: undefined symbol: xine_xmalloc_aligned
setBestEncoding for ArialMT with 4237 glyphs, hasNames= 0 , POST size= 32
Checking cmap 0 ( 0 , 3 , 0 ) format 4
found Unicode enc for Arial Regular as map 0 with 3127 glyphs
Checking cmap 1 ( 1 , 0 , 0 ) format 0
Checking cmap 2 ( 3 , 1 , 0 ) format 4
found Unicode enc for Arial Regular as map 2 with 6254 glyphs
using Unicode enc for Arial Regular
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
QPixmap::scaled: Pixmap is a null pixmap
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/tab.png: File not found
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 11
storytext::charstyle: access at end of text %i 3
storytext::charstyle: access at end of text %i 3
storytext::charstyle: access at end of text %i 3
storytext::charstyle: access at end of text %i 3
storytext::charstyle: access at end of text %i 3
storytext::charstyle: access at end of text %i 3
storytext::charstyle: access at end of text %i 3
storytext::charstyle: access at end of text %i 3
storytext::charstyle: access at end of text %i 3
storytext::charstyle: access at end of text %i 3
storytext::charstyle: access at end of text %i 3
storytext::charstyle: access at end of text %i 3
scribus: /tmp/makepkg/scribus-svn/src/scribus/Scribus/scribus/text/storytext.cpp:1806: void StoryText::select(int, int, bool): Assertion `pos + signed(len) <= length()' failed.
Scribus Crash
-------------
Scribus crashes due to Signal 0000006

Issue History

Date Modified Username Field Change
2017-07-02 10:25 amelhadj New Issue
2017-07-02 10:25 amelhadj File Added: Screenshot_20170702_142452.png
2017-07-02 10:25 amelhadj File Added: Screenshot_20170702_142506.png
2017-07-02 10:25 amelhadj File Added: Screenshot_20170702_142519.png
2017-07-02 12:06 jghali Note Added: 0044120
2017-07-02 18:33 PeterBenedek Note Added: 0044121
2017-11-03 12:00 munzirtaha Note Added: 0044619
2018-03-26 17:37 munzirtaha Note Added: 0045106