View Issue Details

IDProjectCategoryView StatusLast Update
0004995ScribusImport / Exportpublic2006-12-31 00:13
Reporterchristoph_s Assigned Toavox  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformx86OSLinuxOS VersionSuSE 10.1
Product Version1.3.4cvs 
Fixed in Version1.3.4cvs 
Summary0004995: ODG file with macros crashes Scribus
DescriptionBoth ODG files attached to this bug report crash Scribus. The first one contains macros, in the second one I have removed the macros, but Scribus crashes anyway. If Scribus can't import OpenDocument files that contain or contained macros, it should reject them and display a warning.
Additional InformationProgram received signal SIGABRT, Aborted.
[Switching to Thread -1225393808 (LWP 26241)]
0xffffe410 in __kernel_vsyscall ()

(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
0000001 0xb73037d0 in raise () from /lib/libc.so.6
0000002 0xb7304ea3 in abort () from /lib/libc.so.6
0000003 0xb72fd01b in __assert_fail () from /lib/libc.so.6
0000004 0x084cf4fe in StoryText::appendLine (this=0x995c9e0, ls=@0xbfb5cbf8)
    at /home/christoph/scribus134cvs/Scribus/scribus/text/storytext.h:208
0000005 0x084cbb23 in PageItem_TextFrame::layout (this=0x99587e8)
    at /home/christoph/scribus134cvs/Scribus/scribus/pageitem_textframe.cpp:1748
0000006 0x084cbf49 in PageItem_TextFrame::DrawObj_Item (this=0x99587e8,
    p=0x98480a0, e={x1 = 150, y1 = 10, x2 = 1390, y2 = 758}, sc=1)
    at /home/christoph/scribus134cvs/Scribus/scribus/pageitem_textframe.cpp:1798
0000007 0x0849b35b in PageItem::DrawObj (this=0x99587e8, p=0x98480a0, e=
      {x1 = 150, y1 = 10, x2 = 1390, y2 = 758})
    at /home/christoph/scribus134cvs/Scribus/scribus/pageitem.cpp:774
0000008 0x0873b7d2 in ScribusView::DrawPageItems (this=0x93cfb78,
    painter=0x98480a0, clip={x1 = 150, y1 = 10, x2 = 1390, y2 = 758})
    at /home/christoph/scribus134cvs/Scribus/scribus/scribusview.cpp:1062
0000009 0x08742250 in ScribusView::drawContents (this=0x93cfb78, psx=0xbfb5ea9c,
    clipx=150, clipy=10, clipw=1241, cliph=749)
    at /home/christoph/scribus134cvs/Scribus/scribus/scribusview.cpp:575
0000010 0xb7b37f23 in QScrollView::drawContentsOffset ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libqt-mt.so.3
0000011 0xb7b39cb3 in QScrollView::viewportPaintEvent ()
   from /usr/lib/libqt-mt.so.3
0000012 0x0873d3a1 in ScribusView::viewportPaintEvent (this=0x93cfb78,
    p=0xbfb5ee68)
    at /home/christoph/scribus134cvs/Scribus/scribus/scribusview.cpp:348
0000013 0xb7b3ab3f in QScrollView::eventFilter () from /usr/lib/libqt-mt.so.3
0000014 0xb7a2779c in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
0000015 0xb7a2780b in QObject::event () from /usr/lib/libqt-mt.so.3
0000016 0xb7a6084c in QWidget::event () from /usr/lib/libqt-mt.so.3
0000017 0xb79c8f37 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
0000018 0xb79c9d29 in QApplication::notify () from /usr/lib/libqt-mt.so.3
0000019 0xb799be58 in QWidget::repaint () from /usr/lib/libqt-mt.so.3
0000020 0xb79ca96c in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3
0000021 0xb79caa66 in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3
0000022 0xb79783d7 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
0000023 0xb79dfd68 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
0000024 0xb79c8a5f in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
0000025 0xb5a654b1 in DCOPClient::callInternal () from /opt/kde3/lib/libDCOP.so.4
0000026 0xb5a6570d in DCOPClient::callInternal () from /opt/kde3/lib/libDCOP.so.4
0000027 0xb5a6a157 in DCOPClient::call () from /opt/kde3/lib/libDCOP.so.4
0000028 0xb5a6a1b7 in DCOPClient::call () from /opt/kde3/lib/libDCOP.so.4
0000029 0xb646deb6 in messageBox1 ()
---Type <return> to continue, or q <return> to quit---
   from /opt/kde3/lib/kde3/plugins/integration/libqtkde.so
0000030 0xb79575e4 in QKDEIntegration::warning () from /usr/lib/libqt-mt.so.3
0000031 0xb7bd67cb in QMessageBox::warning () from /usr/lib/libqt-mt.so.3
0000032 0xb65ea227 in OODrawImportPlugin::import (this=0x8e04670,
    fileName=@0xbfb5f7f0, flags=10)
    at /home/christoph/scribus134cvs/Scribus/scribus/plugins/fileloader/oodraw/oodrawimp.cpp:195
0000033 0xb65eaeee in OODrawImportPlugin::qt_invoke (this=0x8e04670, _id=2,
    _o=0xbfb5f878)
    at /home/christoph/scribus134cvs/Scribus/scribus/plugins/fileloader/oodraw/oodrawimp.moc:98
0000034 0xb7a27e01 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
0000035 0xb7a28afd in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
0000036 0xb7d81619 in QAction::activated () from /usr/lib/libqt-mt.so.3
0000037 0xb7b6618e in QAction::internalActivation () from /usr/lib/libqt-mt.so.3
0000038 0xb7d8193c in QAction::qt_invoke () from /usr/lib/libqt-mt.so.3
0000039 0x0866eea1 in ScrAction::qt_invoke (this=0x8e40b60, _id=8, _o=0xbfb5f984)
    at /home/christoph/scribus134cvs/Scribus/scribus/scraction.moc:229
0000040 0xb7a27e9d in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
0000041 0xb7d5f39e in QSignal::signal () from /usr/lib/libqt-mt.so.3
0000042 0xb7a43f77 in QSignal::activate () from /usr/lib/libqt-mt.so.3
0000043 0xb7b2bffa in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
0000044 0xb7a60bc0 in QWidget::event () from /usr/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
0000045 0xb79c8f37 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
0000046 0xb79c9e5b in QApplication::notify () from /usr/lib/libqt-mt.so.3
0000047 0xb796951e in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
0000048 0xb7967e16 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
0000049 0xb797845a in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
0000050 0xb79dfd68 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
0000051 0xb79dfbfe in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
0000052 0xb79c8aef in QApplication::exec () from /usr/lib/libqt-mt.so.3
0000053 0x08405ea3 in mainApp (argc=1, argv=0xbfb60234)
    at /home/christoph/scribus134cvs/Scribus/scribus/main_nix.cpp:76
0000054 0x08405f0a in main (argc=Cannot access memory at address 0x6681
)
    at /home/christoph/scribus134cvs/Scribus/scribus/main_nix.cpp:52
TagsNo tags attached.
Patch

Relationships

related to 0004992 closedavox doc opening with text crashes at text asserts 

Activities

2006-12-26 15:44

 

dptc.odg (20,530 bytes)

2006-12-26 15:44

 

dptc1.odg (12,601 bytes)

2006-12-26 16:34

 

dptc1.sxd (12,489 bytes)

christoph_s

2006-12-26 16:35

developer   ~0014257

Added a sxd version for completeness.

fschmid

2006-12-29 08:25

developer   ~0014305

Fixed by Avox's latest changes.

Issue History

Date Modified Username Field Change
2006-12-26 15:44 christoph_s New Issue
2006-12-26 15:44 christoph_s File Added: dptc.odg
2006-12-26 15:44 christoph_s File Added: dptc1.odg
2006-12-26 15:45 christoph_s Additional Information Updated
2006-12-26 15:57 plinnell Status new => confirmed
2006-12-26 16:34 christoph_s File Added: dptc1.sxd
2006-12-26 16:35 christoph_s Note Added: 0014257
2006-12-26 23:22 jghali Relationship added related to 0004992
2006-12-29 08:25 fschmid Status confirmed => resolved
2006-12-29 08:25 fschmid Fixed in Version => 1.3.4cvs
2006-12-29 08:25 fschmid Resolution open => fixed
2006-12-29 08:25 fschmid Assigned To => fschmid
2006-12-29 08:25 fschmid Note Added: 0014305
2006-12-29 08:28 fschmid Status resolved => assigned
2006-12-29 08:28 fschmid Assigned To fschmid => avox
2006-12-29 08:29 fschmid Status assigned => resolved
2006-12-31 00:13 plinnell Status resolved => closed