View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005429 | Scribus | Story Editor / Text Frames | public | 2007-03-06 23:21 | 2007-04-06 00:37 |
Reporter | hhielscher | Assigned To | avox | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | i586 | OS | Mandriva Linux | OS Version | Cooker |
Product Version | 1.3.4cvs | ||||
Fixed in Version | 1.3.4cvs | ||||
Summary | 0005429: crash at copy of text frame | ||||
Description | Steps to reproduce: 1. open attached file 2. select text frame 3. copy | ||||
Additional Information | [Thread debugging using libthread_db enabled] [New Thread -1209063728 (LWP 1297)] QDom: saving invalid character , the document will not be well-formed pushed item: 744.299,94.38 params 744.299,94.38 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1209063728 (LWP 1297)] 0x087b7172 in Serializer::importCollection () (gdb) bt #0 0x087b7172 in Serializer::importCollection () 0000001 0x087b78b7 in Serializer::deserializeObjects () 0000002 0x0869dd30 in ScribusMainWindow::slotEditCopy () 0000003 0x086c9c32 in ScribusMainWindow::qt_invoke () 0000004 0x4ce0732d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 0000005 0x4ce07f3d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 0000006 0x4d13c959 in QAction::activated () from /usr/lib/qt3/lib/libqt-mt.so.3 0000007 0x4cf43e80 in QAction::internalActivation () from /usr/lib/qt3/lib/libqt-mt.so.3 0000008 0x4d13cc7c in QAction::qt_invoke () from /usr/lib/qt3/lib/libqt-mt.so.3 0000009 0x0863ec40 in ScrAction::qt_invoke () 0000010 0x4ce0732d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 0000011 0x4d11a9ee in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3 0000012 0x4ce23177 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3 0000013 0x4cda69de in QAccelPrivate::activate () from /usr/lib/qt3/lib/libqt-mt.so.3 0000014 0x4cda83c5 in QAccelManager::dispatchAccelEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 0000015 0x4cda88bc in qt_dispatchAccelEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 0000016 0x4cdab3a5 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3 0000017 0x4cda7015 in QAccelManager::tryAccelEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 0000018 0x4cda746c in qt_tryAccelEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 0000019 0x4cd4a16e in QETWidget::translateKeyEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 0000020 0x4cd4adf5 in QApplication::x11ProcessEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 0000021 0x4cd5afea in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3 0000022 0x4cdbf7b2 in QEventLoStarting program: /opt/scribus134cvs/bin/scribus [Thread debugging using libthread_db enabled] [New Thread -1209063728 (LWP 1297)] QDom: saving invalid character , the document will not be well-formed pushed item: 744.299,94.38 params 744.299,94.38 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1209063728 (LWP 1297)] 0x087b7172 in Serializer::importCollection () (gdb) bt #0 0x087b7172 in Serializer::importCollection () 0000001 0x087b78b7 in Serializer::deserializeObjects () 0000002 0x0869dd30 in ScribusMainWindow::slotEditCopy () 0000003 0x086c9c32 in ScribusMainWindow::qt_invoke () 0000004 0x4ce0732d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 0000005 0x4ce07f3d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 0000006 0x4d13c959 in QAction::activated () from /usr/lib/qt3/lib/libqt-mt.so.3 0000007 0x4cf43e80 in QAction::internalActivation () from /usr/lib/qt3/lib/libqt-mt.so.3 0000008 0x4d13cc7c in QAction::qt_invoke () from /usr/lib/qt3/lib/libqt-mt.so.3 0000009 0x0863ec40 in ScrAction::qt_invoke () 0000010 0x4ce0732d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 0000011 0x4d11a9ee in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3 0000012 0x4ce23177 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3 0000013 0x4cda69de in QAccelPrivate::activate () from /usr/lib/qt3/lib/libqt-mt.so.3 0000014 0x4cda83c5 in QAccelManager::dispatchAccelEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 0000015 0x4cda88bc in qt_dispatchAccelEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 0000016 0x4cdab3a5 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3 0000017 0x4cda7015 in QAccelManager::tryAccelEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 0000018 0x4cda746c in qt_tryAccelEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 0000019 0x4cd4a16e in QETWidget::translateKeyEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 0000020 0x4cd4adf5 in QApplication::x11ProcessEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 0000021 0x4cd5afea in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3 0000022 0x4cdbf7b2 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3 0000023 0x4cdbf676 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3 0000024 0x4cda978f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3 0000025 0x083957a5 in mainApp () 0000026 0x08395802 in main () op::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3 0000023 0x4cdbf676 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3 0000024 0x4cda978f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3 0000025 0x083957a5 in mainApp () 0000026 0x08395802 in main () | ||||
Tags | No tags attached. | ||||
Patch | |||||
2007-03-06 23:21
|
|
|
Confirmed under SUSE 10.2 |
|
can't reproduce. please retest with cvs from today (cvs will be synced early in the morning) |
|
crash on paste here: Scribus.exe!PageItem::updateConstants() Ligne 4417 + 0x3 octets C++ Scribus.exe!PageItem::emitAllToGUI() Ligne 4356 C++ Scribus.exe!ScribusView::PasteToPage() Ligne 9748 C++ Scribus.exe!ScribusView::qt_invoke(int _id=106, QUObject * _o=0x0012be18) Ligne 1094 + 0x8 octets C++ |
|
Both copy&paste and duplicate work within the same document. However copy, new document, paste freezes with 100% CPU. I had to kill it. [Thread debugging using libthread_db enabled] [New Thread -1208281392 (LWP 26241)] QDom: saving invalid character , the document will not be well-formed <?xml version="1.0" encoding="UTF-8"?><SCRIBUSFRAGMENT ><font name="DejaVu Serif Bold" /><font name="DejaVu Serif Book" /><font name="Linux Libertine Bold" /><font name="Linux Libertine Regular" /><color CMYK="#000000ff" Register="no" Spot="no" name="Black" /><color CMYK="0000041" Register="no" Spot="no" name="Grey" /><style LineSpacing="15.6" id="style??berschrift_0020gro??" name="??berschrift gro??" parent="??berschrift" ><charstyle Font="DejaVu Serif Bold" FontSize="170" parent="Default Character Style" /></style><charstyle Font="Linux Libertine Regular" FontSize="100" id="charstyleText_0020DE" name="Text DE" parent="Default Character Style" /><item bottom-distance="0" cms-intent="1" cms-profile="" corner-radius="0" do-overprint="no" fill-blendmode="0" fill-color="None" fill-evenodd="yes" fill-gradient-type="0" fill-shade="100" fill-transparency="0" frame-contour="M0 0 C0 0 311.567 0 311.567 0 C311.567 0 311.567 60 311.567 60 C311.567 60 0 60 0 60 C0 60 0 0 0 0 " frame-has-default-shape="yes" frame-shape="M0 0 C0 0 311.567 0 311.567 0 C311.567 0 311.567 60 311.567 60 C311.567 60 0 60 0 60 C0 60 0 0 0 0 " frame-type="0" height="60" id="obj6" image-embedded-profile="" image-flipped-hor="no" image-flipped-vert="no" image-scale-framesize="yes" image-scale-proportional="yes" image-shown="yes" image-use-embedded="yes" image-x-position="0" image-x-scale="1" image-y-position="0" image-y-scale="1" is-annotation="no" is-bookmark="no" isTableItem="no" itemtype="4" layer="0" left-distance="0" level="0" line-blendmode="0" line-cap="0" line-color="None" line-customstyle="" line-end-arrow="0" line-join="0" line-shade="100" line-start-arrow="0" line-style="1" line-transparency="0" line-width="1" locked="no" ownpage="0" pathtext-baseoffset="0" pathtext-flipped="no" pathtext-showpath="no" pathtext-type="0" printable="yes" right-distance="0" rotation="0" size-locked="no" text-autoframes="no" text-columngap="0" text-columns="1" text-flow-mode="0" text-reversed="no" top-distance="0" width="311.567" xorigin="41.306" yorigin="37.6871" ><text-content ><defaultstyle LineSpacing="15.6" LineSpacingMode="0" ><charstyle BaselineOffset="0" FillColor="Black" FillShade="100" Font="Linux Libertine Bold" FontSize="170" OutlineWidth="10" ScaleH="1000" ScaleV="1000" ShadowXOffset="50" ShadowYOffset="-50" StrikethruOffset="-1" StrikethruWidth="-1" StrokeColor="Black" StrokeShade="100" Tracking="0" UnderlineOffset="-1" UnderlineWidth="-1" /></defaultstyle> <style LineSpacing="20.4" LineSpacingMode="0" parent="??berschrift gro??" ><charstyle Font="Linux Libertine Regular" FontSize="170" parent="Text DE" /></style><span ><charstyle BaselineOffset="0" Effects="0" FillColor="Black" FillShade="100" Font="Linux Libertine Bold" FontSize="170" OutlineWidth="10" ScaleH="1000" ScaleV="1000" ShadowXOffset="50" ShadowYOffset="-50" StrikethruOffset="-1" StrikethruWidth="-1" StrokeColor="Black" StrokeShade="100" Tracking="0" UnderlineOffset="-1" UnderlineWidth="-1" />Wei�nsee, die Burg und das Bier</span> <style LineSpacing="20.4" LineSpacingMode="0" parent="??berschrift gro??" ><charstyle Font="Linux Libertine Regular" FontSize="170" parent="Text DE" /></style><span /> </text-content></item></SCRIBUSFRAGMENT>Store: SCRIBUSFRAGMENT <- P10Collection pushed item: 141.463,57.5296 params 141.463,57.5296 startpar: 0->0 0->NULL endstyle: ? 0 153176240 endpar: 32 0 153176240 �erschrift gro� startpar: 0->32 153176240->NULL endstyle: ? 33 153176240 endpar: 33 33 153176240 �erschrift gro� Program terminated with signal SIGKILL, Killed. The program no longer exists. |
|
Reminder sent to: Tsoots hi Tsoots, this gets stuck in StyleManager::addNewType(), calling QValueListPrivate<QPair<QString, QString> >::at (this=0x203855e0, i=20430) Any idea? |
|
i got crash here well before reaching style manager. In scribusview.cpp - line 9689 : selection cleared - line 9696 : as ac = 1 and doc has only one object, no iteration is executed, selection is still empty - line 9732 : consequently null is returned After that a crash has all chance to happen, in my case happen in emitAllToGUI() |
|
jghali: but in line 8682 "Selection pastedObjects = Serializer(*Doc).deserializeObjects(m_ScMW->Buffer2.utf8());" new objects are created in the doc, so that Doc->Items.count() > 1 Did the QASSERT in lin 8733 trigger? |
|
Paste into new doc diesnt crash any more, but 0005510 is still open. Please test. |
|
Still crashes here: (gdb) run Starting program: /opt/scribus134cvs/bin/scribus [Thread debugging using libthread_db enabled] [New Thread -1216100656 (LWP 11143)] QDom: saving invalid character , the document will not be well-formed <?xml version="1.0" encoding="UTF-8"?><SCRIBUSFRAGMENT ><font name="DejaVu Serif Bold" /><font name="DejaVu Serif Book" /><font name="Linux Libertine Bold" /><font name="Linux Libertine Regular" /><color CMYK="#000000ff" Register="no" Spot="no" name="Black" /><color CMYK="0000041" Register="no" Spot="no" name="Grey" /><style LineSpacing="15.6" id="style??berschrift_0020gro??" name="??berschrift gro??" parent="??berschrift" ><charstyle Font="DejaVu Serif Bold" FontSize="170" parent="Default Character Style" /></style><charstyle Font="Linux Libertine Regular" FontSize="100" id="charstyleText_0020DE" name="Text DE" parent="Default Character Style" /><item bottom-distance="0" cms-intent="1" cms-profile="" corner-radius="0" do-overprint="no" fill-blendmode="0" fill-color="None" fill-evenodd="yes" fill-gradient-type="0" fill-shade="100" fill-transparency="0" frame-contour="M0 0 C0 0 311.567 0 311.567 0 C311.567 0 311.567 60 311.567 60 C311.567 60 0 60 0 60 C0 60 0 0 0 0 " frame-has-default-shape="yes" frame-shape="M0 0 C0 0 311.567 0 311.567 0 C311.567 0 311.567 60 311.567 60 C311.567 60 0 60 0 60 C0 60 0 0 0 0 " frame-type="0" height="60" id="obj6" image-embedded-profile="" image-flipped-hor="no" image-flipped-vert="no" image-scale-framesize="yes" image-scale-proportional="yes" image-shown="yes" image-use-embedded="yes" image-x-position="0" image-x-scale="1" image-y-position="0" image-y-scale="1" is-annotation="no" is-bookmark="no" isTableItem="no" itemtype="4" layer="0" left-distance="0" level="0" line-blendmode="0" line-cap="0" line-color="None" line-customstyle="" line-end-arrow="0" line-join="0" line-shade="100" line-start-arrow="0" line-style="1" line-transparency="0" line-width="1" locked="no" ownpage="0" pathtext-baseoffset="0" pathtext-flipped="no" pathtext-showpath="no" pathtext-type="0" printable="yes" right-distance="0" rotation="0" size-locked="no" text-autoframes="no" text-columngap="0" text-columns="1" text-flow-mode="0" text-reversed="no" top-distance="0" width="311.567" xorigin="41.306" yorigin="37.6871" ><text-content ><defaultstyle LineSpacing="15.6" LineSpacingMode="0" ><charstyle BaselineOffset="0" FillColor="Black" FillShade="100" Font="Linux Libertine Bold" FontSize="170" OutlineWidth="10" ScaleH="1000" ScaleV="1000" ShadowXOffset="50" ShadowYOffset="-50" StrikethruOffset="-1" StrikethruWidth="-1" StrokeColor="Black" StrokeShade="100" Tracking="0" UnderlineOffset="-1" UnderlineWidth="-1" /></defaultstyle> <style LineSpacing="20.4" LineSpacingMode="0" parent="??berschrift gro??" ><charstyle Font="Linux Libertine Regular" FontSize="170" parent="Text DE" /></style><span ><charstyle BaselineOffset="0" Effects="0" FillColor="Black" FillShade="100" Font="Linux Libertine Bold" FontSize="170" OutlineWidth="10" ScaleH="1000" ScaleV="1000" ShadowXOffset="50" ShadowYOffset="-50" StrikethruOffset="-1" StrikethruWidth="-1" StrokeColor="Black" StrokeShade="100" Tracking="0" UnderlineOffset="-1" UnderlineWidth="-1" />Wei�nsee, die Burg und das Bier</span> <style LineSpacing="20.4" LineSpacingMode="0" parent="??berschrift gro??" ><charstyle Font="Linux Libertine Regular" FontSize="170" parent="Text DE" /></style><span /> </text-content></item></SCRIBUSFRAGMENT>scribus: /home/helge/Desktop/download/scribus-cvs/Scribus/scribus/desaxe/digester.h:186: ObjType* desaxe::Digester::top(unsigned int) [with ObjType = Collection]: Assertion `offset < count' failed. Program received signal SIGABRT, Aborted. [Switching to Thread -1216100656 (LWP 11143)] 0xffffe410 in __kernel_vsyscall () (gdb) bt #0 0xffffe410 in __kernel_vsyscall () 0000001 0x4440a590 in raise () from /lib/i686/libc.so.6 0000002 0x4440be21 in abort () from /lib/i686/libc.so.6 0000003 0x44403b1b in __assert_fail () from /lib/i686/libc.so.6 0000004 0x087c28b4 in CollectColor_body::end () 0000005 0x0896f101 in desaxe::Digester::end () 0000006 0x0897a198 in desaxe::DigesterParser::endElement () 0000007 0xb7cfb44c in QXmlSimpleReader::processElementEmptyTag () from /usr/lib/qt3/lib/libqt-mt.so.3 0000008 0xb7d008e7 in QXmlSimpleReader::parseElement () from /usr/lib/qt3/lib/libqt-mt.so.3 0000009 0xb7d016e2 in QXmlSimpleReader::parseContent () from /usr/lib/qt3/lib/libqt-mt.so.3 0000010 0xb7d00bd8 in QXmlSimpleReader::parseElement () from /usr/lib/qt3/lib/libqt-mt.so.3 0000011 0xb7d061e7 in QXmlSimpleReader::parseBeginOrContinue () from /usr/lib/qt3/lib/libqt-mt.so.3 0000012 0xb7d065ce in QXmlSimpleReader::parse () from /usr/lib/qt3/lib/libqt-mt.so.3 0000013 0xb7cf63b0 in QXmlSimpleReader::parse () from /usr/lib/qt3/lib/libqt-mt.so.3 0000014 0x08979fd0 in desaxe::Digester::parseMemory () 0000015 0x087bb94d in Serializer::deserializeObjects () 0000016 0x086bab26 in ScribusMainWindow::slotEditPaste () 0000017 0x086cbdc6 in ScribusMainWindow::qt_invoke () 0000018 0xb7ada26d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 0000019 0xb7adae7d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 0000020 0xb7e0f919 in QAction::activated () from /usr/lib/qt3/lib/libqt-mt.so.3 0000021 0xb7c16dd0 in QAction::internalActivation () from /usr/lib/qt3/lib/libqt-mt.so.3 0000022 0xb7e0fc3c in QAction::qt_invoke () from /usr/lib/qt3/lib/libqt-mt.so.3 0000023 0x086434f0 in ScrAction::qt_invoke () 0000024 0xb7ada26d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 0000025 0xb7ded9ae in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3 0000026 0xb7af60b7 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3 0000027 0xb7a7998e in QAccelPrivate::activate () from /usr/lib/qt3/lib/libqt-mt.so.3 0000028 0xb7a7b375 in QAccelManager::dispatchAccelEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 0000029 0xb7a7b86c in qt_dispatchAccelEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 0000030 0xb7a7e355 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3 0000031 0xb7a79fc5 in QAccelManager::tryAccelEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 0000032 0xb7a7a41c in qt_tryAccelEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 0000033 0xb7a1d14e in QETWidget::translateKeyEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 0000034 0xb7a1ddc5 in QApplication::x11ProcessEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 0000035 0xb7a2dfaa in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3 0000036 0xb7a92762 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3 0000037 0xb7a92626 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3 0000038 0xb7a7c73f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3 0000039 0x08392455 in mainApp () 0000040 0x083924b2 in main () |
|
This is a new crash, similar area though. |
|
better now? |
|
works for me right now |
|
Tested, fixed. Thanks! |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-03-06 23:21 | hhielscher | New Issue | |
2007-03-06 23:21 | hhielscher | File Added: crash_at_copy_simpl.sla | |
2007-03-07 00:13 | christoph_s | Note Added: 0015488 | |
2007-03-07 00:13 | christoph_s | Status | new => confirmed |
2007-03-07 02:15 | avox | Status | confirmed => assigned |
2007-03-07 02:15 | avox | Assigned To | => avox |
2007-03-07 02:16 | avox | Note Added: 0015489 | |
2007-03-07 08:12 | jghali | Note Added: 0015491 | |
2007-03-07 13:47 | hhielscher | Note Added: 0015494 | |
2007-03-07 17:16 | avox | Note Added: 0015496 | |
2007-03-11 01:11 | jghali | Note Added: 0015514 | |
2007-03-11 23:10 | cbradney | Relationship added | child of 0003964 |
2007-04-02 01:36 | avox | Note Added: 0015704 | |
2007-04-02 18:35 | avox | Status | assigned => resolved |
2007-04-02 18:35 | avox | Fixed in Version | => 1.3.4cvs |
2007-04-02 18:35 | avox | Resolution | open => fixed |
2007-04-02 18:35 | avox | Note Added: 0015710 | |
2007-04-02 19:05 | cbradney | Relationship added | related to 0005510 |
2007-04-02 19:05 | cbradney | Status | resolved => closed |
2007-04-04 14:05 | hhielscher | Status | closed => feedback |
2007-04-04 14:05 | hhielscher | Resolution | fixed => reopened |
2007-04-04 14:05 | hhielscher | Note Added: 0015728 | |
2007-04-04 17:48 | cbradney | Note Added: 0015732 | |
2007-04-05 00:09 | avox | Note Added: 0015743 | |
2007-04-05 14:46 | hhielscher | Note Added: 0015750 | |
2007-04-05 15:18 | avox | Status | feedback => resolved |
2007-04-05 15:18 | avox | Resolution | reopened => fixed |
2007-04-06 00:37 | christoph_s | Status | resolved => closed |
2007-04-06 00:37 | christoph_s | Note Added: 0015751 | |
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 |