View Issue Details

IDProjectCategoryView StatusLast Update
0006064ScribusStory Editor / Text Framespublic2007-12-26 17:02
Reporterchristoph_s Assigned Toavox  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformx86OSLinuxOS VersionSuSE 10.2
Product Version1.3.5svn 
Target Version1.3.5Fixed in Version1.3.5svn 
Summary0006064: Deleting text in text frames triggers crash
DescriptionIf I delete larger sections of text in a frame (canvas), scribus crashes with sig 6.
Steps To Reproduce- Insert text frame

- Insert sample text

- Insert the cursor somewhere

- Use Ctrl+End to select all of text below the line

- Hit delete

--> Bang
Additional Informationscribus: /home/christoph/scribus135/trunk/Scribus/scribus/text/storytext.cpp:1187: ScText* StoryText::item(uint): Zusicherung »static_cast<int>(itm) < length()« nicht erfüllt.

Program received signal SIGABRT, Aborted.
[Switching to Thread -1230244144 (LWP 15081)]
0xb7f26410 in ?? ()
(gdb) bt
#0 0xb7f26410 in ?? ()
0000001 0xbf9a0928 in ?? ()
0000002 0x00000006 in ?? ()
0000003 0xb6cf6801 in abort () from /lib/libc.so.6
0000004 0xb6cee7bb in __assert_fail () from /lib/libc.so.6
0000005 0x08a12aed in StoryText::item (this=0x9888a70, itm=2659)
    at /home/christoph/scribus135/trunk/Scribus/scribus/text/storytext.cpp:1187
0000006 0x08524077 in PageItem_TextFrame::DrawObj_Item (this=0x9884888,
    p=0xa5e6f98, e={x1 = 729, y1 = 54, x2 = 1255, y2 = 770}, sc=1)
    at /home/christoph/scribus135/trunk/Scribus/scribus/pageitem_textframe.cpp:2264
0000007 0x084f2533 in PageItem::DrawObj (this=0x9884888, p=0xa5e6f98, e=
      {x1 = 729, y1 = 54, x2 = 1255, y2 = 770})
    at /home/christoph/scribus135/trunk/Scribus/scribus/pageitem.cpp:903
0000008 0x08817627 in ScribusView::DrawPageItems (this=0x943bd78,
    painter=0xa5e6f98, clip={x1 = 729, y1 = 54, x2 = 1255, y2 = 770})
    at /home/christoph/scribus135/trunk/Scribus/scribus/scribusview.cpp:1468
0000009 0x0881d58d in ScribusView::drawContents (this=0x943bd78, psx=0xbf9a206c,
    clipx=729, clipy=54, clipw=527, cliph=717)
    at /home/christoph/scribus135/trunk/Scribus/scribus/scribusview.cpp:822
0000010 0xb7d6e967 in Q3ScrollView::drawContentsOffset ()
   from /usr/lib/libQt3Support.so.4
0000011 0xb7d70717 in Q3ScrollView::viewportPaintEvent ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libQt3Support.so.4
0000012 0x0881ff61 in ScribusView::viewportPaintEvent (this=0x943bd78,
    p=0xbf9a2394)
    at /home/christoph/scribus135/trunk/Scribus/scribus/scribusview.cpp:384
0000013 0xb7d70f40 in Q3ScrollView::eventFilter () from /usr/lib/libQt3Support.so.4
0000014 0xb76b4dc1 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
0000015 0xb76bafbe in QApplication::notify () from /usr/lib/libQtGui.so.4
0000016 0xb72206cb in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
0000017 0xb7701d8e in qt_sendSpontaneousEvent () from /usr/lib/libQtGui.so.4
0000018 0xb780c176 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
0000019 0xb780c8f5 in QWidgetBackingStore::paintSiblingsRecursive ()
   from /usr/lib/libQtGui.so.4
0000020 0xb780bda9 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
0000021 0xb780c8f5 in QWidgetBackingStore::paintSiblingsRecursive ()
   from /usr/lib/libQtGui.so.4
0000022 0xb780bda9 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
0000023 0xb780c8f5 in QWidgetBackingStore::paintSiblingsRecursive ()
   from /usr/lib/libQtGui.so.4
0000024 0xb780bda9 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
0000025 0xb780c8f5 in QWidgetBackingStore::paintSiblingsRecursive ()
   from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
0000026 0xb780bda9 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
0000027 0xb780c8f5 in QWidgetBackingStore::paintSiblingsRecursive ()
   from /usr/lib/libQtGui.so.4
0000028 0xb780bda9 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
0000029 0xb780ce3c in QWidgetBackingStore::cleanRegion ()
   from /usr/lib/libQtGui.so.4
0000030 0xb780d6fd in qt_syncBackingStore () from /usr/lib/libQtGui.so.4
0000031 0xb76f9a92 in QWidget::event () from /usr/lib/libQtGui.so.4
0000032 0xb7973833 in QAbstractButton::event () from /usr/lib/libQtGui.so.4
0000033 0xb7a2a274 in QToolButton::event () from /usr/lib/libQtGui.so.4
0000034 0xb76b4e10 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
0000035 0xb76bafbe in QApplication::notify () from /usr/lib/libQtGui.so.4
0000036 0xb72206cb in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
0000037 0xb7222025 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
0000038 0xb7242f8f in QEventDispatcherUNIX::processEvents ()
   from /usr/lib/libQtCore.so.4
0000039 0xb772bcb8 in QEventDispatcherX11::processEvents ()
   from /usr/lib/libQtGui.so.4
0000040 0xb721fc08 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
0000041 0xb721fd1c in QEventLoop::exec () from /usr/lib/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
0000042 0xb7222398 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
0000043 0xb76b4527 in QApplication::exec () from /usr/lib/libQtGui.so.4
0000044 0x0845da96 in mainApp (argc=1, argv=0xbf9a37e4)
    at /home/christoph/scribus135/trunk/Scribus/scribus/main_nix.cpp:76
0000045 0x0845dafa in main (argc=Cannot access memory at address 0x3ae9
)
    at /home/christoph/scribus135/trunk/Scribus/scribus/main_nix.cpp:52
TagsNo tags attached.
Patch

Relationships

child of 0005693 closedplinnell 1.3.5 bug collection (prior to roadmap) 

Activities

avox

2007-12-02 20:21

updater   ~0018129

is this still reproducable in current svn?

christoph_s

2007-12-03 01:01

developer   ~0018136

Yes.

cbradney

2007-12-05 23:08

administrator   ~0018180

scribus-1.3.5svn: /home/craig/scribus/PostTrunk/trunk/Scribus/scribus/text/storytext.cpp:1198: const ScText* StoryText::item(uint) const: Assertion `static_cast<int>(itm) < length()' failed.

Program received signal SIGABRT, Aborted.
0xb7fcc410 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fcc410 in __kernel_vsyscall ()
0000001 0xb6f15101 in raise () from /lib/libc.so.6
0000002 0xb6f168e8 in abort () from /lib/libc.so.6
0000003 0xb6f0e7a5 in __assert_fail () from /lib/libc.so.6
0000004 0x08a57703 in StoryText::item (this=0x94e33dc, itm=355) at /home/craig/scribus/PostTrunk/trunk/Scribus/scribus/text/storytext.cpp:1198
0000005 0x08a57c24 in StoryText::screenToPosition (this=0x94e33dc, coord=@0xbfdaba60) at /home/craig/scribus/PostTrunk/trunk/Scribus/scribus/text/storytext.cpp:1111
0000006 0x08890f6f in ScribusView::slotSetCurs (this=0x93870a0, x=361, y=166) at /home/craig/scribus/PostTrunk/trunk/Scribus/scribus/scribusview.cpp:1586
0000007 0x0830fd6f in LegacyMode::mousePressEvent (this=0x9310558, m=0xbfdac74c) at /home/craig/scribus/PostTrunk/trunk/Scribus/scribus/canvasmode_legacy.cpp:1665
0000008 0x08888912 in ScribusView::eventFilter (this=0x93870a0, obj=0x938eaf0, event=0xbfdac74c) at /home/craig/scribus/PostTrunk/trunk/Scribus/scribus/scribusview.cpp:4381
0000009 0xb78c920f in QApplicationPrivate::notify_helper () from /usr/lib/qt4/libQtGui.so.4
0000010 0xb78cb48d in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4
0000011 0xb741f186 in QCoreApplication::notifyInternal () from /usr/lib/qt4/libQtCore.so.4
0000012 0xb791d212 in ?? () from /usr/lib/qt4/libQtGui.so.4
0000013 0xb791bd86 in QApplication::x11ProcessEvent () from /usr/lib/qt4/libQtGui.so.4
0000014 0xb793ef4c in ?? () from /usr/lib/qt4/libQtGui.so.4
0000015 0xb741e7ab in QEventLoop::processEvents () from /usr/lib/qt4/libQtCore.so.4
0000016 0xb741e88f in QEventLoop::exec () from /usr/lib/qt4/libQtCore.so.4
0000017 0xb7420327 in QCoreApplication::exec () from /usr/lib/qt4/libQtCore.so.4
0000018 0xb78c8cff in QApplication::exec () from /usr/lib/qt4/libQtGui.so.4
0000019 0x08a45a62 in mainApp (argc=1, argv=0xbfdacd64) at /home/craig/scribus/PostTrunk/trunk/Scribus/scribus/main_nix.cpp:76
0000020 0x08a45ac6 in main (argc=Cannot access memory at address 0x7d58
) at /home/craig/scribus/PostTrunk/trunk/Scribus/scribus/main_nix.cpp:52

christoph_s

2007-12-06 22:28

developer   ~0018209

Crash is gone in current SVN.

subik

2007-12-20 18:43

manager   ~0018372

it has gone. No crash anymore.

christoph_s

2007-12-22 00:06

developer   ~0018392

Tested, fixed. Thanks.

Issue History

Date Modified Username Field Change
2007-08-03 22:51 christoph_s New Issue
2007-08-04 00:40 christoph_s Status new => assigned
2007-08-04 00:40 christoph_s Assigned To => avox
2007-09-29 22:23 christoph_s Relationship added child of 0005693
2007-12-02 20:21 avox Note Added: 0018129
2007-12-02 20:21 avox Status assigned => feedback
2007-12-03 01:01 christoph_s Note Added: 0018136
2007-12-05 23:08 cbradney Note Added: 0018180
2007-12-06 22:28 christoph_s Note Added: 0018209
2007-12-20 18:43 subik Status feedback => resolved
2007-12-20 18:43 subik Fixed in Version => 1.3.5svn
2007-12-20 18:43 subik Resolution open => fixed
2007-12-20 18:43 subik Note Added: 0018372
2007-12-20 22:51 cbradney Target Version => 1.3.5svn
2007-12-22 00:06 christoph_s Status resolved => closed
2007-12-22 00:06 christoph_s Note Added: 0018392
2007-12-26 17:02 cbradney Target Version 1.3.5svn => 1.3.5
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