View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004066 | Scribus | Story Editor / Text Frames | public | 2006-07-26 14:34 | 2006-08-18 21:13 |
Reporter | deanm58 | Assigned To | avox | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Intel | OS | Linux Fedora Core | OS Version | 5 |
Product Version | 1.3.4cvs | ||||
Fixed in Version | 1.3.3.4cvs | ||||
Summary | 0004066: crashes (sig 11) when moving text frame after closing text editor | ||||
Description | crashes when I centre text in text edit frame and close | ||||
Steps To Reproduce | create text frame. edit text. create line of text centre text close edit dialogue crashes with sig11 | ||||
Additional Information | doesn't crash if text is left at left-justified? gdb info Starting program: /home/deanm/cmakeScribus/bin/scribus Reading symbols from shared object read from target memory...done. Loaded system supplied DSO at 0x42e9e000 [Thread debugging using libthread_db enabled] [New Thread -1209046816 (LWP 3824)] Detaching after fork from child process 4077. Detaching after fork from child process 4091. Detaching after fork from child process 4093. Detaching after fork from child process 4095. Detaching after fork from child process 4110. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1209046816 (LWP 3824)] 0x084597bf in PageItem_TextFrame::layout (this=0x98fcfe8) at /home/deanm/SCRIBUS/CVS-download/Scribus/scribus/pageitem_textframe.cpp:1694 1694 tabDist = itemText.item(curLine.firstItem+zc-1)->glyph.xoffset + itemText.item(curLine.firstItem+zc-1)->glyph.xadvance; | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
it does crash on left-justified text as well on checking |
|
Just curious could this problem be font-related somehow ran under KDbg an got following: scribus: /home/deanm/SCRIBUS/CVS-download/Scribus/scribus/text/storytext.cpp:257: void StoryText::insertChars(int, QString): Assertion `!style.font().isNone()' failed. |
|
No, that means Scribus is using an invalid style in insertChars(). Do you have a backtrace? |
2006-08-17 00:05
|
backtrace.txt (4,174 bytes)
GNU gdb Red Hat Linux (6.3.0.0-1.122rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db lib rary "/lib/libthread_db.so.1". (gdb) run Starting program: /home/deanm/cmakeScribus/bin/scribus Reading symbols from shared object read from target memory...done. Loaded system supplied DSO at 0x42e9e000 [Thread debugging using libthread_db enabled] [New Thread -1208747808 (LWP 7703)] Detaching after fork from child process 7708. Detaching after fork from child process 7709. Detaching after fork from child process 7710. Detaching after fork from child process 7711. Detaching after fork from child process 7712. Detaching after fork from child process 7715. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208747808 (LWP 7703)] 0x0848c5eb in PageItem_TextFrame::layout (this=0xab92018) at /home/deanm/SCRIBUS/CVS-download/Scribus/scribus/pageitem_textframe.cpp:1694 1694 tabDist = itemText.item(curLine.firstItem+zc-1)->glyph.xoffset + it emText.item(curLine.firstItem+zc-1)->glyph.xadvance; (gdb) bt #0 0x0848c5eb in PageItem_TextFrame::layout (this=0xab92018) at /home/deanm/SCRIBUS/CVS-download/Scribus/scribus/pageitem_textframe.cpp:1694 #1 0x0848cb39 in PageItem_TextFrame::DrawObj_Item (this=0xab92018, p=0xaba4dc0, e={x1 = 335, y1 = 540, x2 = 942, y2 = 881}, sc=1) at /home/deanm/SCRIBUS/CVS-download/Scribus/scribus/pageitem_textframe.cpp:1747 #2 0x0845cb99 in PageItem::DrawObj (this=0xab92018, p=0xaba4dc0, e= {x1 = 335, y1 = 540, x2 = 942, y2 = 881}) at /home/deanm/SCRIBUS/CVS-download/Scribus/scribus/pageitem.cpp:744 #3 0x086aea8d in ScribusView::DrawPageItems (this=0xaa25820, painter=0xaba4dc0, clip={x1 = 335, y1 = 540, x2 = 942, y2 = 881}) at /home/deanm/SCRIBUS/CVS-download/Scribus/scribus/scribusview.cpp:832 #4 0x086b43a6 in ScribusView::drawContents (this=0xaa25820, psx=0xbfe5facc, clipx=335, clipy=540, clipw=608, cliph=342) at /home/deanm/SCRIBUS/CVS-download/Scribus/scribus/scribusview.cpp:401 #5 0x06135003 in QScrollView::drawContentsOffset () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #6 0x061366a3 in QScrollView::viewportPaintEvent () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #7 0x086b04fd in ScribusView::viewportPaintEvent (this=0xaa25820, p=0xbfe5fedc) at /home/deanm/SCRIBUS/CVS-download/Scribus/scribus/scribusview.cpp:281 ---Type <return> to continue, or q <return> to quit--- #8 0x06137d7f in QScrollView::eventFilter () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #9 0x0600ad4c in QObject::activate_filters () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #10 0x0600adcb in QObject::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #11 0x0604860c in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #12 0x05fa2beb in QApplication::internalNotify () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #13 0x05fa4039 in QApplication::notify () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #14 0x05f2da0e in QETWidget::translatePaintEvent () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #15 0x05f39922 in QApplication::x11ProcessEvent () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #16 0x05f4afcb in QEventLoop::processEvents () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #17 0x05fbc090 in QEventLoop::enterLoop () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #18 0x05fbbf56 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #19 0x05fa26ff in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #20 0x083d9123 in mainApp (argc=1, argv=0xbfe60444) at /home/deanm/SCRIBUS/CVS-download/Scribus/scribus/main_nix.cpp:76 #21 0x083d918a in main (argc=Cannot access memory at address 0x0 ) ---Type <return> to continue, or q <return> to quit--- at /home/deanm/SCRIBUS/CVS-download/Scribus/scribus/main_nix.cpp:52 |
|
uploaded backtrace file It seems to crash on exiting text editor. |
Date Modified | Username | Field | Change |
---|---|---|---|
2006-07-26 14:34 | deanm58 | New Issue | |
2006-07-26 16:00 | deanm58 | Note Added: 0012010 | |
2006-07-27 02:52 | Tsoots | Severity | minor => crash |
2006-07-27 19:40 | avox | Status | new => assigned |
2006-07-27 19:40 | avox | Assigned To | => avox |
2006-07-30 02:10 | deanm58 | Note Added: 0012046 | |
2006-07-30 10:26 | avox | Note Added: 0012047 | |
2006-08-17 00:05 | deanm58 | File Added: backtrace.txt | |
2006-08-17 00:05 | deanm58 | Note Added: 0012203 | |
2006-08-17 00:07 | deanm58 | Note Edited: 0012203 | |
2006-08-17 10:51 | avox | Status | assigned => resolved |
2006-08-17 10:51 | avox | Fixed in Version | => 1.3.3.4cvs |
2006-08-17 10:51 | avox | Resolution | open => fixed |
2006-08-18 21:13 |
|
Status | resolved => closed |
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 |