View Issue Details

IDProjectCategoryView StatusLast Update
0005933ScribusQt4 Portpublic2007-11-29 22:33
Reportercoixcoix Assigned Toavox  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
PlatformlinuxOSubuntu feistyOS Version7.04
Product Version1.3.5svn 
Fixed in Version1.3.5svn 
Summary0005933: crash when klick backspace in textbox
Descriptioncrash when klick backspace in textbox, version:1.3.5svn

scribus-1.3.5svn: /home/sc/dtp/trunk/Scribus/scribus/text/storytext.cpp:1187: ScText* StoryText::item(uint): Assertion `static_cast<int>(itm) < length()' failed.
Scribus ist abgest
-------------
Absturz durch Signal 0000006
QPaintEngine::setSystemClip: Should not be changed while engine is active
QPaintEngine::setSystemClip: Should not be changed while engine is active


/home/sc/dtp/trunk/Scribus/scribus/text/storytext.cpp

1186 {
1187 assert( static_cast<int>(itm) < length() );
1188 return const_cast<StoryText *>(this)->d->at(itm);
1189 }

TagsNo tags attached.
Patch

Relationships

related to 0005867 closedavox Hitting the Return key in text frames triggers crash 
has duplicate 0005850 closed Using backspace key in text frames triggers crash 

Activities

christoph_s

2007-06-22 01:03

developer   ~0016625

Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1230276912 (LWP 28249)]
scribus: /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 -1230276912 (LWP 28249)]
0xb7f1c410 in ?? ()
(gdb) bt
#0 0xb7f1c410 in ?? ()
0000001 0xbfcddcb8 in ?? ()
0000002 0x00000006 in ?? ()
0000003 0xb6cee801 in abort () from /lib/libc.so.6
0000004 0xb6ce67bb in __assert_fail () from /lib/libc.so.6
0000005 0x089d1d45 in StoryText::item (this=0x97e0e30, itm=10)
    at /home/christoph/scribus135/trunk/Scribus/scribus/text/storytext.cpp:1187
0000006 0x0851b8b7 in PageItem_TextFrame::DrawObj_Item (this=0x97dcc48,
    p=0x9c64660, e={x1 = 634, y1 = 51, x2 = 1120, y2 = 734}, sc=1)
    at /home/christoph/scribus135/trunk/Scribus/scribus/pageitem_textframe.cpp:2245
0000007 0x084ea95f in PageItem::DrawObj (this=0x97dcc48, p=0x9c64660, e=
      {x1 = 634, y1 = 51, x2 = 1120, y2 = 734})
    at /home/christoph/scribus135/trunk/Scribus/scribus/pageitem.cpp:911
0000008 0x087e62af in ScribusView::DrawPageItems (this=0x9448b08,
    painter=0x9c64660, clip={x1 = 634, y1 = 51, x2 = 1120, y2 = 734})
    at /home/christoph/scribus135/trunk/Scribus/scribus/scribusview.cpp:1466
0000009 0x087ec204 in ScribusView::drawContents (this=0x9448b08, psx=0xbfcdf3fc,
    clipx=634, clipy=51, clipw=487, cliph=684)
    at /home/christoph/scribus135/trunk/Scribus/scribus/scribusview.cpp:820
0000010 0xb7d63967 in Q3ScrollView::drawContentsOffset ()
   from /usr/lib/libQt3Support.so.4
0000011 0xb7d65717 in Q3ScrollView::viewportPaintEvent ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libQt3Support.so.4
0000012 0x087eebd5 in ScribusView::viewportPaintEvent (this=0x9448b08,
    p=0xbfcdf724)
    at /home/christoph/scribus135/trunk/Scribus/scribus/scribusview.cpp:382
0000013 0xb7d65f40 in Q3ScrollView::eventFilter () from /usr/lib/libQt3Support.so.4
0000014 0xb76a9dc1 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
0000015 0xb76affbe in QApplication::notify () from /usr/lib/libQtGui.so.4
0000016 0xb72186cb in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
0000017 0xb76f6d8e in qt_sendSpontaneousEvent () from /usr/lib/libQtGui.so.4
0000018 0xb7801176 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
0000019 0xb78018f5 in QWidgetBackingStore::paintSiblingsRecursive ()
   from /usr/lib/libQtGui.so.4
0000020 0xb7800da9 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
0000021 0xb78018f5 in QWidgetBackingStore::paintSiblingsRecursive ()
   from /usr/lib/libQtGui.so.4
0000022 0xb7800da9 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
0000023 0xb78018f5 in QWidgetBackingStore::paintSiblingsRecursive ()
   from /usr/lib/libQtGui.so.4
0000024 0xb7800da9 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
0000025 0xb78018f5 in QWidgetBackingStore::paintSiblingsRecursive ()
   from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
0000026 0xb7800da9 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
0000027 0xb78018f5 in QWidgetBackingStore::paintSiblingsRecursive ()
   from /usr/lib/libQtGui.so.4
0000028 0xb7800da9 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
0000029 0xb7801e3c in QWidgetBackingStore::cleanRegion ()
   from /usr/lib/libQtGui.so.4
0000030 0xb78026fd in qt_syncBackingStore () from /usr/lib/libQtGui.so.4
0000031 0xb76eea92 in QWidget::event () from /usr/lib/libQtGui.so.4
0000032 0xb76a9e10 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
0000033 0xb76affbe in QApplication::notify () from /usr/lib/libQtGui.so.4
0000034 0xb72186cb in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
0000035 0xb721a025 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
0000036 0xb723af8f in QEventDispatcherUNIX::processEvents ()
   from /usr/lib/libQtCore.so.4
0000037 0xb7720cb8 in QEventDispatcherX11::processEvents ()
   from /usr/lib/libQtGui.so.4
0000038 0xb7217c08 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
0000039 0xb7217d1c in QEventLoop::exec () from /usr/lib/libQtCore.so.4
0000040 0xb721a398 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
0000041 0xb76a9527 in QApplication::exec () from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
0000042 0x08455c42 in mainApp (argc=1, argv=0xbfce0b34)
    at /home/christoph/scribus135/trunk/Scribus/scribus/main_nix.cpp:76
0000043 0x08455ca6 in main (argc=Cannot access memory at address 0x6e59
)
    at /home/christoph/scribus135/trunk/Scribus/scribus/main_nix.cpp:52
(gdb)

aliB

2007-08-22 09:26

reporter   ~0017116

Same problem with OpenSuse 10.2 (Scribus 1.3.5svn).

Issue History

Date Modified Username Field Change
2007-06-21 23:33 coixcoix New Issue
2007-06-22 01:03 christoph_s Note Added: 0016625
2007-06-22 01:03 christoph_s Status new => confirmed
2007-06-22 01:03 christoph_s Relationship added related to 0005867
2007-06-22 01:04 christoph_s Status confirmed => assigned
2007-06-22 01:04 christoph_s Assigned To => avox
2007-06-22 01:46 christoph_s Category Fonts => Qt4 Port
2007-06-23 00:13 christoph_s Relationship added has duplicate 0005850
2007-08-22 09:26 aliB Note Added: 0017116
2007-11-29 13:42 cbradney Status assigned => resolved
2007-11-29 13:42 cbradney Fixed in Version => 1.3.5svn
2007-11-29 13:42 cbradney Resolution open => fixed
2007-11-29 22:33 cbradney Status resolved => closed