View Issue Details

IDProjectCategoryView StatusLast Update
0009886ScribusGeneralpublic2011-04-16 08:58
Reporterowencook Assigned Tocbradney  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformi686OSLinux/Fedora14/Ubuntu-11.04 
Product Version1.4.0svn 
Fixed in Version1.4.0svn 
Summary0009886: Increasing the font size within a text frame will crash Scribus when the font is too large for the the frame
DescriptionThis is with Release 16536 but has occurred with earlier versions
Steps To Reproduce1. Create a text frame (say 4 cm x 2 cm)
2. Double click on the text frame
3. insert one letter and select it
4. Go to Properties, select text
5. Use the up arrow on the Text size widget, let it keep on increasing
6. Eventually when it exceeds text frame size, Sig 11 crash
Additional InformationAlso crashes if you write in a new size
Tried with two different fonts, same result
RC2 also crashed this way on an Ubuntu 11.04
TagsNo tags attached.
Patch

Relationships

has duplicate 0009913 closedjghali 14.3 rc 03 crashes when increading font-size in text frame 
has duplicate 0009950 closedcbradney 1.4rc3 ;: Scribus crashing when font size is too high 
has duplicate 0009954 closedjghali Scribus crashes and exits silently 
has duplicate 0009986 closedjghali Paste text inside a new paste text frame will crash Scribus 1.4.0 rc3 
has duplicate 0009995 closedjghali Crash on sizing font bigger than available space text box 
has duplicate 0010007 closedjghali crash when increasing the font size of the police 
related to 0009917 closedfschmid Cursor not visible in an empty Text Frame 

Activities

owencook

2011-03-27 23:09

reporter   ~0025958

Received a Sig 6 crash in Version 1.5.0 svn 16536 (note Rev number in bug report incorrect, should be 16536 as well)

cezaryece

2011-03-28 00:36

updater   ~0025960

I can confirm this bug for last svn1.4.0.rc2.
It is not happen with Scribus 1.4.0 build from 17th of march.
I run Scribus in debug mode and I can tell Scribus crash while it try to draw text cursor.

owencook

2011-03-28 02:35

reporter   ~0025962

Here is the back trace from 1.5.0 svn, it didn't crash this time, just froze up


Starting program: /Data/Programs/scribus1.5.0/bin/scribus-1.5.0.svn
[Thread debugging using libthread_db enabled]
[New Thread 0xb40aeb70 (LWP 16231)]
[New Thread 0xb23f3b70 (LWP 16232)]
[New Thread 0xb1bf2b70 (LWP 16238)]
[New Thread 0xb13f1b70 (LWP 16239)]
[Thread 0xb1bf2b70 (LWP 16238) exited]
[Thread 0xb13f1b70 (LWP 16239) exited]
ASSERT failure in QList<T>::at: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 455

Program received signal SIGABRT, Aborted.
0xb7fe1424 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fe1424 in __kernel_vsyscall ()
0000001 0xb51d0941 in raise () from /lib/libc.so.6
0000002 0xb51d3e42 in abort () from /lib/libc.so.6
0000003 0xb59bd2dc in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
0000004 0xb59bd4aa in ?? () from /usr/lib/libQtCore.so.4
0000005 0xb59bd5b9 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
0000006 0xb59bd5fc in qt_assert_x(char const*, char const*, char const*, int) () from /usr/lib/libQtCore.so.4
0000007 0x08c93b1c in QList<ScText*>::at (this=0x91b8158, i=-1) at /usr/include/qt4/QtCore/qlist.h:455
0000008 0x08c8fa7b in StoryText::item (this=0x9b7fe1c, itm=4294967295)
    at /home/owen/Downloads/scribus1.5.0/scribus/text/storytext.cpp:1443
0000009 0x0836a795 in CanvasMode_Edit::drawTextCursor (this=0x9b3f008, p=0xbfffe1f4, textframe=0x9b7fb78)
    at /home/owen/Downloads/scribus1.5.0/scribus/canvasmode_edit.cpp:332
0000010 0x083696f5 in CanvasMode_Edit::drawControls (this=0x9b3f008, p=0xbfffe1f4)
    at /home/owen/Downloads/scribus1.5.0/scribus/canvasmode_edit.cpp:169
0000011 0x08337fb7 in Canvas::paintEvent (this=0x9c61e00, p=0xbfffe734)
    at /home/owen/Downloads/scribus1.5.0/scribus/canvas.cpp:921
0000012 0xb6323cc6 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
0000013 0xb62c5fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
0000014 0xb62cc0e9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
0000015 0xb5ac8b3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
0000016 0xb632aee6 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
0000017 0xb651bbff in ?? () from /usr/lib/libQtGui.so.4
0000018 0xb631d2b3 in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
0000019 0xb6324466 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
0000020 0xb6764917 in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
0000021 0xb62c5fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
0000022 0xb62cc0e9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4

cbradney

2011-03-28 15:09

administrator   ~0025966

Another one..

#0 0x00007fff854535d6 in __kill ()
0000001 0x00007fff854f3cd6 in abort ()
0000002 0x0000000102382515 in qt_message_output ()
0000003 0x00000001023826f7 in qt_message ()
0000004 0x00000001023828ba in qFatal ()
0000005 0x00000001006912d4 in QList<ScText*>::at (this=0x1040e4800, i=-1) at qlist.h:456
0000006 0x00000001009e083e in StoryText::item (this=0x10429f8c8, itm=4294967295) at /Users/craig/scribus/PostTrunk/Version135/Scribus/scribus/text/storytext.cpp:1405
0000007 0x00000001001540e7 in CanvasMode_Edit::drawTextCursor (this=0x117f27f60, p=0x7fff5fbfa940, textframe=0x10429f600) at /Users/craig/scribus/PostTrunk/Version135/Scribus/scribus/canvasmode_edit.cpp:298
0000008 0x0000000100154940 in CanvasMode_Edit::drawControls (this=0x117f27f60, p=0x7fff5fbfa940) at /Users/craig/scribus/PostTrunk/Version135/Scribus/scribus/canvasmode_edit.cpp:166
0000009 0x00000001001242b8 in Canvas::paintEvent (this=0x11b5a4690, p=0x7fff5fbfb090) at /Users/craig/scribus/PostTrunk/Version135/Scribus/scribus/canvas.cpp:906
0000010 0x000000010162c536 in QWidget::event ()
0000011 0x00000001015d283d in QApplicationPrivate::notify_helper ()
0000012 0x00000001015d869d in QApplication::notify ()
0000013 0x00000001023d205c in QCoreApplication::notifyInternal ()
0000014 0x00000001015d29fc in qt_sendSpontaneousEvent ()

cbradney

2011-03-28 16:05

administrator   ~0025967

Caused by the cursor enhancements.. will look at this later

cbradney

2011-03-28 16:18

administrator   ~0025968

Fixed in r16539

Issue History

Date Modified Username Field Change
2011-03-27 22:54 owencook New Issue
2011-03-27 23:09 owencook Note Added: 0025958
2011-03-28 00:36 cezaryece Note Added: 0025960
2011-03-28 02:35 owencook Note Added: 0025962
2011-03-28 15:09 cbradney Note Added: 0025966
2011-03-28 15:58 cbradney Description Updated
2011-03-28 15:59 cbradney Status new => confirmed
2011-03-28 16:05 cbradney Note Added: 0025967
2011-03-28 16:18 cbradney Note Added: 0025968
2011-03-28 16:18 cbradney Status confirmed => resolved
2011-03-28 16:18 cbradney Fixed in Version => 1.4.0svn
2011-03-28 16:18 cbradney Resolution open => fixed
2011-03-28 16:18 cbradney Assigned To => cbradney
2011-04-08 21:50 jghali Relationship added has duplicate 0009913
2011-04-16 08:58 cbradney Relationship added related to 0009917
2011-04-16 08:58 cbradney Status resolved => closed
2011-04-21 16:44 cbradney Relationship added has duplicate 0009950
2011-04-21 20:28 jghali Relationship added has duplicate 0009954
2011-05-12 16:36 jghali Relationship added has duplicate 0009986
2011-05-24 06:02 jghali Relationship added has duplicate 0009995
2011-05-28 11:03 jghali Relationship added has duplicate 0010007