View Issue Details

IDProjectCategoryView StatusLast Update
0002733ScribusStory Editor / Text Framespublic2021-11-09 21:39
Reporterdanhiscutt Assigned Tocbradney  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformx86 (Athlon Xp)OSUbuntuOS Version 5.10
Product Version1.3.3cvs 
Fixed in Version1.5.8.svn 
Summary0002733: Scribus crashes when formatting large amounts of text In Story Editor
DescriptionLarge scale text operations grind Scribus to a halt (20,000 words plus). I'm running an Athlon Xp 3400+ with 1GB of DDR 400mhz ram, which is never more than 30% capacity during this operation.

Maybe a robust progress indicator or a text frame fast preview (like image frames) would help?
Steps To ReproduceCut and paste 20,000 or so words into story editor as pure text, select all and then change font, paragraph justification or similar, hit the green tick to import back into the currently selected text frame.

Sit back, watch the Scribus process hit 100% CPU usage and just seem to freeze forever.

I've done this with several versions of Scribus and Ubuntu over the last week.
TagsNo tags attached.
Patch

Relationships

related to 0002169 confirmed Long pauses with new non-modal story editor when working with large amounts of text 
child of 0002438 acknowledged Metabug: Cases of extreme memory use 

Activities

JLuc

2014-09-11 06:35

developer   ~0033613

I confirm with Scribus 1.5 svn.
Steps :
- Create doc + text frame
- Paste large text (300 000 glyphs)
- Enter Story editor
- Select All

Crash :
ASSERT failure in QList<T>::at: "index out of range", file /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/include/QtCore/qlist.h, line 479
Program received signal SIGABRT, Aborted.
0x00007ffff2d3dbb9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type.

Backtrace :
#0 0x00007ffff2d3dbb9 in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
0000001 0x00007ffff2d40fc8 in __GI_abort () at abort.c:89
0000002 0x00007ffff74278be in QMessageLogger::fatal(char const*, ...) const ()
   from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Core.so.5
0000003 0x00007ffff7422d84 in qt_assert_x(char const*, char const*, char const*, int) () from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Core.so.5
0000004 0x00000000005cb592 in QList<ScText*>::at(int) const [clone .part.51] ()
0000005 0x0000000000fd50ea in StoryText::text(int) const ()
0000006 0x0000000000fd5eaa in StoryText::prevParagraph(int) ()
0000007 0x0000000000f4350f in SideBar::paintEvent(QPaintEvent*) ()
0000008 0x00007ffff6cd6cb4 in QWidget::event(QEvent*) ()
   from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Widgets.so.5
0000009 0x00007ffff6de1756 in QFrame::event(QEvent*) ()
   from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Widgets.so.5
0000010 0x00007ffff6c9e764 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Widgets.so.5
0000011 0x00007ffff6ca1de6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Widgets.so.5
0000012 0x00007ffff7669dd4 in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Core.so.5
0000013 0x00007ffff6cd3a5c in ?? ()
   from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Widgets.so.5
0000014 0x00007ffff6caac61 in ?? ()
   from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Widgets.so.5
0000015 0x00007ffff6cab044 in ?? ()
   from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Widgets.so.5
0000016 0x00007ffff6ccb4ce in QWidgetPrivate::syncBackingStore() ()
   from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Widgets.so.5
0000017 0x00007ffff6cd707b in QWidget::event(QEvent*) ()
   from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Widgets.so.5
0000018 0x00007ffff6df820b in QMainWindow::event(QEvent*) ()
   from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Widgets.so.5
0000019 0x00007ffff6c9e764 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Widgets.so.5
0000020 0x00007ffff6ca1de6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Widgets.so.5
0000021 0x00007ffff7669dd4 in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Core.so.5
0000022 0x00007ffff766c958 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Core.so.5
0000023 0x00007ffff76c4013 in ?? ()
   from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Core.so.5
0000024 0x00007ffff0a2ce04 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000025 0x00007ffff0a2d048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000026 0x00007ffff0a2d0ec in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000027 0x00007ffff76c4444 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Core.so.5
0000028 0x00007ffff7667feb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Core.so.5
0000029 0x00007ffff766ceb5 in QCoreApplication::exec() ()
   from /home/jluc/dev/Qt/Qt5.3/5.3/gcc_64/lib/libQt5Core.so.5
0000030 0x0000000000fb58a1 in mainApp(int, char**) ()
0000031 0x00007ffff2d28ec5 in __libc_start_main (main=0x5d81e0 <main>, argc=1,
    argv=0x7fffffffe028, init=<optimized out>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffffffe018) at libc-start.c:287
0000032 0x00000000005d8a77 in _start ()

cbradney

2021-10-29 22:30

administrator   ~0049324

I was able to load 380k characters in SE in 1.5.8.svn.

Issue History

Date Modified Username Field Change
2005-10-19 07:51 danhiscutt New Issue
2006-01-16 22:55 plinnell Status new => acknowledged
2006-01-16 22:55 plinnell Product Version 1.3.2cvs => 1.3.3cvs
2014-09-11 02:47 Kunda Severity crash => block
2014-09-11 06:35 JLuc Note Added: 0033613
2014-09-11 22:18 Kunda Severity block => crash
2014-09-11 22:18 Kunda Target Version => 1.5.1
2014-09-11 22:34 Kunda Target Version 1.5.1 =>
2014-09-13 13:47 Kunda Relationship added child of 0002438
2014-09-17 15:10 Kunda Relationship added related to 0002169
2015-09-17 20:08 Kunda Category Story Editor / Text Frames => Story Ed/Txt Frames
2015-09-17 20:12 Kunda Category Story Ed/Txt Frames => Story Editor / Text Frames
2021-10-29 22:30 cbradney Assigned To => cbradney
2021-10-29 22:30 cbradney Status acknowledged => resolved
2021-10-29 22:30 cbradney Resolution open => fixed
2021-10-29 22:30 cbradney Fixed in Version => 1.5.8.svn
2021-10-29 22:30 cbradney Note Added: 0049324
2021-11-09 21:39 cbradney Status resolved => closed