View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005787 | Scribus | General | public | 2007-05-30 21:17 | 2007-06-06 21:24 |
Reporter | fschmid | Assigned To | jghali | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.3.5svn | ||||
Fixed in Version | 1.3.5svn | ||||
Summary | 0005787: Copy & Paste of Textframes results in Signal 11 crash. | ||||
Description | Copy & Paste of Textframes results in Signal 11 crash. | ||||
Additional Information | Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1231976752 (LWP 9716)] QString::operator= (this=0x97042a4, other=@0xbf8862e8) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:70 70 ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h: Datei oder Verzeichnis nicht gefunden. in ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h (gdb) bt #0 QString::operator= (this=0x97042a4, other=@0xbf8862e8) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:70 0000001 0x0887b62b in Style::setShortcut (this=0x9704290, shortcut=@0xbf8862e8) at /home/franz/Entwicklung/Scribus-SVN/Scribus135/Scribus/scribus/styles/../style.h:115 0000002 0x08a0e41b in desaxe::SetAttributeWithConversion_body<ParagraphStyle, QString const&>::begin (this=0x95645b8, attr=@0xbf8863d0) at /home/franz/Entwicklung/Scribus-SVN/Scribus135/Scribus/scribus/desaxe/simple_actions.h:468 0000003 0x089ed49d in desaxe::Action::begin (this=0x970576c, tag=@0x962dc2c, attr=@0xbf88640c) at /home/franz/Entwicklung/Scribus-SVN/Scribus135/Scribus/scribus/desaxe/actions.h:65 0000004 0x089da5e7 in desaxe::Digester::begin (this=0xbf886b34, tag=@0x962dc2c, attr=@0xbf88645c) at /home/franz/Entwicklung/Scribus-SVN/Scribus135/Scribus/scribus/desaxe/digester.cpp:161 0000005 0x089ee272 in desaxe::DigesterParser::startElement (this=0x95f7970, nsURI=@0xbf8864c4, locName=@0xbf8864c0, qName=@0x962dc2c, qattr=@0x954813c) at /home/franz/Entwicklung/Scribus-SVN/Scribus135/Scribus/scribus/desaxe/digester_parse.cpp:34 0000006 0xb723a7f1 in QXmlSimpleReaderPrivate::processElementEmptyTag (this=0x9548100) at qxml.cpp:3840 0000007 0xb7243e3b in QXmlSimpleReaderPrivate::parseElement (this=0x9548100) at qxml.cpp:3808 0000008 0xb724337e in QXmlSimpleReaderPrivate::parseContent (this=0x9548100) at qxml.cpp:4261 0000009 0xb7243d7d in QXmlSimpleReaderPrivate::parseElement (this=0x9548100) at qxml.cpp:3787 0000010 0xb7249efa in QXmlSimpleReaderPrivate::parseBeginOrContinue (this=0x9548100, state=0, incremental=false) at qxml.cpp:3332 0000011 0xb724a3f4 in QXmlSimpleReader::parse (this=0xbf88680c, input=0xbf886814, incremental=234) at qxml.cpp:3274 0000012 0xb7236bc0 in QXmlSimpleReader::parse (this=0xbf88680c, input=@0xbf886814) at qxml.cpp:3217 0000013 0x089eddac in desaxe::Digester::parseMemory (this=0xbf886b34, data=0x9747ab0 "<?xml version=\"1.0\" encoding=\"UTF-8\"?><SCRIBUSFRAGMENT ><font name=\"Bitstream Charter Regular\" /><color CMYK=\"#000000ff\" Register=\"no\" Spot=\"no\" name=\"Black\" /><style Alignment=\"0\" DropCapLines=\"2\" Dr"..., length=3403) at /home/franz/Entwicklung/Scribus-SVN/Scribus135/Scribus/scribus/desaxe/digester_parse.cpp:70 0000014 0x0885578a in Serializer::deserializeObjects (this=0xbf886b34, xml=@0xbf886b30) | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
Same with image frames that contain an image: ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/include/QtCore/qlist.h, line 378 scribus: /home/christoph/scribus135/Scribus/scribus/scribuscore.cpp:67: void abort_on_error(QtMsgType, const char*): Zusicherung »false« nicht erfüllt. Program received signal SIGABRT, Aborted. [Switching to Thread -1230530336 (LWP 13372)] 0xb7fab410 in ?? () (gdb) bt #0 0xb7fab410 in ?? () 0000001 0xbfcbf908 in ?? () 0000002 0x00000006 in ?? () 0000003 0xb6cb2801 in abort () from /lib/libc.so.6 0000004 0xb6caa7bb in __assert_fail () from /lib/libc.so.6 0000005 0x0876e43d in abort_on_error (t=QtFatalMsg, m=0xbfcbfafc "ASSERT failure in QList<T>::operator[]: \"index out of range\", file /usr/include/QtCore/qlist.h, line 378") at /home/christoph/scribus135/Scribus/scribus/scribuscore.cpp:67 0000006 0xb712f883 in qt_message_output () from /usr/lib/libQtCore.so.4 0000007 0xb712f9b5 in qFatal () from /usr/lib/libQtCore.so.4 0000008 0xb712f9fc in qt_assert_x () from /usr/lib/libQtCore.so.4 0000009 0x0821d2e0 in QList<QString>::operator[] (this=0xbfcc1b80, i=2) at /usr/include/QtCore/qlist.h:378 0000010 0x089c4069 in Path2Relative (Path=@0xbfcc2078) at /home/christoph/scribus135/Scribus/scribus/util.cpp:612 0000011 0x0880fb49 in ScriXmlDoc::SetItemProps (this=0x9474d08, ob=0xbfcc282c, item=0x9331da8, newFormat=false) at /home/christoph/scribus135/Scribus/scribus/scribusXml.cpp:333 0000012 0x08811bae in ScriXmlDoc::WriteObject (this=0x9474d08, doc=0x94f7a28, docu=@0xbfcc2908, ob=@0xbfcc282c, UsedMapped2Saved=@0xbfcc28ec, item=0x9331da8) at /home/christoph/scribus135/Scribus/scribus/scribusXml.cpp:1398 ---Type <return> to continue, or q <return> to quit--- 0000013 0x0881870c in ScriXmlDoc::WriteElem (this=0x9474d08, doc=0x94f7a28, view=0x8d40050, selection=0x91fbcd8) at /home/christoph/scribus135/Scribus/scribus/scribusXml.cpp:1383 0000014 0x0873db04 in ScribusMainWindow::slotEditCopy (this=0x8c2e900) at /home/christoph/scribus135/Scribus/scribus/scribus.cpp:4755 0000015 0x081ec43e in ScribusMainWindow::qt_metacall (this=0x8c2e900, _c=QMetaObject::InvokeMetaMethod, _id=79, _a=0xbfcc348c) at /home/christoph/scribus135/Scribus/scribus/moc_scribus.cxx:438 0000016 0xb71edb9f in QMetaObject::activate () from /usr/lib/libQtCore.so.4 0000017 0xb71ede1f in QMetaObject::activate () from /usr/lib/libQtCore.so.4 0000018 0xb76371bb in QAction::activated () from /usr/lib/libQtGui.so.4 0000019 0xb7637ef8 in QAction::activate () from /usr/lib/libQtGui.so.4 0000020 0xb79395c4 in QMenu::wheelEvent () from /usr/lib/libQtGui.so.4 0000021 0xb793bd96 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4 0000022 0xb768681c in QWidget::event () from /usr/lib/libQtGui.so.4 0000023 0xb793686c in QMenu::event () from /usr/lib/libQtGui.so.4 0000024 0xb763d820 in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 0000025 0xb764029e in QApplication::notify () from /usr/lib/libQtGui.so.4 0000026 0xb769a001 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 0000027 0xb7698bd6 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 0000028 0xb76bbfe5 in QX11Info::copyX11Data () from /usr/lib/libQtGui.so.4 0000029 0xb71db828 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 ---Type <return> to continue, or q <return> to quit--- 0000030 0xb71db93a in QEventLoop::exec () from /usr/lib/libQtCore.so.4 0000031 0xb793bfef in QMenu::exec () from /usr/lib/libQtGui.so.4 0000032 0x082c798c in Q3PopupMenu::exec (this=0x94c8378, pos=@0xbfcc53c4, indexAtPoint=0) at /usr/include/Qt3Support/q3popupmenu.h:42 0000033 0x087ed791 in ScribusView::contentsMouseReleaseEvent (this=0x8d40050, m=0xbfcc6218) at /home/christoph/scribus135/Scribus/scribus/scribusview.cpp:3191 0000034 0xb7d6ef2a in Q3ScrollView::viewportMouseReleaseEvent () from /usr/lib/libQt3Support.so.4 0000035 0xb7d6fd0f in Q3ScrollView::eventFilter () from /usr/lib/libQt3Support.so.4 0000036 0xb763d7d1 in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 0000037 0xb764029e in QApplication::notify () from /usr/lib/libQtGui.so.4 0000038 0xb76995fb in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 0000039 0xb7698bd6 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 0000040 0xb76bbfe5 in QX11Info::copyX11Data () from /usr/lib/libQtGui.so.4 0000041 0xb71db828 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 0000042 0xb71db93a in QEventLoop::exec () from /usr/lib/libQtCore.so.4 0000043 0xb71ddf58 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 0000044 0xb763d297 in QApplication::exec () from /usr/lib/libQtGui.so.4 0000045 0x084648a6 in mainApp (argc=1, argv=0xbfcc6b14) at /home/christoph/scribus135/Scribus/scribus/main_nix.cpp:76 0000046 0x0846490a in main (argc=Cannot access memory at address 0x343c ) ---Type <return> to continue, or q <return> to quit--- at /home/christoph/scribus135/Scribus/scribus/main_nix.cpp:52 |
|
Actually, copying and pasting any object results in a crash. |
|
That second crash is totally unrelated and there is already another issue for it (#5789) |
|
Comitted a patch that fix crash for text frames. However copied objects can not be selected |
|
Doesn't work with cut'n'paste either. And all types of items are concerned. |
|
i have commited a patch which should fix the selection problem |
|
Tested, fixed. Thanks. |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-05-30 21:17 | fschmid | New Issue | |
2007-05-30 21:17 | fschmid | Status | new => assigned |
2007-05-30 21:17 | fschmid | Assigned To | => avox |
2007-05-30 22:28 | christoph_s | Note Added: 0016367 | |
2007-05-30 23:05 | christoph_s | Note Added: 0016370 | |
2007-05-30 23:06 | jghali | Note Added: 0016371 | |
2007-05-30 23:18 | jghali | Note Added: 0016372 | |
2007-06-02 21:57 | christoph_s | Note Added: 0016417 | |
2007-06-02 22:31 | jghali | Note Added: 0016420 | |
2007-06-05 21:44 | jghali | Assigned To | avox => jghali |
2007-06-05 21:45 | jghali | Status | assigned => resolved |
2007-06-05 21:45 | jghali | Fixed in Version | => 1.3.5cvs |
2007-06-05 21:45 | jghali | Resolution | open => fixed |
2007-06-06 21:24 | christoph_s | Status | resolved => closed |
2007-06-06 21:24 | christoph_s | Note Added: 0016467 |