View Issue Details

IDProjectCategoryView StatusLast Update
0006834ScribusImport / Exportpublic2008-03-19 19:12
Reporterchristoph_s Assigned Tojghali  
PrioritynormalSeveritycrashReproducibilityrandom
Status closedResolutionfixed 
Platformx86OSLinuxOS VersionSUSE 10.3
Product Version1.3.5svn 
Target Version1.3.5 
Summary0006834: Random crashes after importing and deleting EPS files
DescriptionIf I import and delete EPS files, sooner or later Scribus crashes. The crash is not related to a certain file, but can occur with any file.
Steps To ReproduceImport EPS file, delete it, repeat both actions with different files. Sooner or later Scribus crashes either during import or after trying to delete a drawing.
Additional InformationASSERT: "!this->isEmpty()" in file /usr/include/QtCore/QStack, line 60
scribus: /home/christoph/Scribus/scribus/scribuscore.cpp:77: void abort_on_error(QtMsgType, const char*): Zusicherung »false« nicht erfüllt.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6bb36d0 (LWP 10682)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
0000001 0xb6e3c8f5 in raise () from /lib/libc.so.6
0000002 0xb6e3e1e1 in abort () from /lib/libc.so.6
0000003 0xb6e35c1e in __assert_fail () from /lib/libc.so.6
0000004 0x0886d61d in abort_on_error (t=QtFatalMsg,
    m=0xbf95033c "ASSERT: \"!this->isEmpty()\" in file /usr/include/QtCore/QStack, line 60") at /home/christoph/Scribus/scribus/scribuscore.cpp:77
0000005 0xb739c4f3 in qt_message_output () from /usr/lib/libQtCore.so.4
0000006 0xb739c608 in qFatal () from /usr/lib/libQtCore.so.4
0000007 0xb739c6b5 in qt_assert () from /usr/lib/libQtCore.so.4
0000008 0x087c0f08 in QStack<int>::pop (this=0xbf9524e4)
    at /usr/include/QtCore/QStack:60
0000009 0xb5ef98fe in EPSPlug::parseOutput (this=0x96f68a0, fn=@0xbf9528ac,
    eps=true)
    at /home/christoph/Scribus/scribus/plugins/psimport/importps.cpp:753
0000010 0xb5efc2bf in EPSPlug::convert (this=0x96f68a0, fn=@0xbf952ca4, x=0, y=0,
    b=595.27559055118115, h=841.88976377952758)
    at /home/christoph/Scribus/scribus/plugins/psimport/importps.cpp:518
0000011 0xb5efe9e8 in EPSPlug::import (this=0x96f68a0, fName=@0xbf952efc,
    flags=10, showProgress=true)
    at /home/christoph/Scribus/scribus/plugins/psimport/importps.cpp:228
0000012 0xb5f06ffb in ImportPSPlugin::import (this=0x8ddfaf0,
    fileName=@0xbf952f44, flags=10)
---Type <return> to continue, or q <return> to quit---
    at /home/christoph/Scribus/scribus/plugins/psimport/importpsplugin.cpp:162
0000013 0xb5f08bf8 in ImportPSPlugin::qt_metacall (this=0x8ddfaf0,
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf95345c)
    at /home/christoph/Scribus/scribus/plugins/psimport/moc_importpsplugin.cxx:72
0000014 0xb7458c70 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
0000015 0xb7458f80 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
0000016 0xb794d051 in QAction::triggered () from /usr/lib/libQtGui.so.4
0000017 0xb794db8f in QAction::activate () from /usr/lib/libQtGui.so.4
0000018 0xb7c91c8f in QMenuPrivate::activateAction () from /usr/lib/libQtGui.so.4
0000019 0xb7c941b7 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
0000020 0xb7997f6c in QWidget::event () from /usr/lib/libQtGui.so.4
0000021 0xb7c8f9e5 in QMenu::event () from /usr/lib/libQtGui.so.4
0000022 0xb795309d in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
0000023 0xb795980d in QApplication::notify () from /usr/lib/libQtGui.so.4
0000024 0xb744790b in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
0000025 0xb79aa8cc in QETWidget::translateMouseEvent () from /usr/lib/libQtGui.so.4
0000026 0xb79a9436 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
0000027 0xb79ccaba in ?? () from /usr/lib/libQtGui.so.4
0000028 0xbf954010 in ?? ()
0000029 0xbf953d98 in ?? ()
---Type <return> to continue, or q <return> to quit---
0000030 0xbf953d18 in ?? ()
0000031 0xb6dccff0 in _xcb_unlock_io () from /usr/lib/libxcb.so.1
0000032 0xb72d06d6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
0000033 0xb72d3a72 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
0000034 0xb72d402e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
0000035 0xb7469982 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
0000036 0xb79cc735 in QGuiEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtGui.so.4
0000037 0xb7446d58 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
0000038 0xb7446e6c in QEventLoop::exec () from /usr/lib/libQtCore.so.4
0000039 0xb744976a in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
0000040 0xb7952767 in QApplication::exec () from /usr/lib/libQtGui.so.4
0000041 0x08a80928 in mainApp (argc=1, argv=0xbf9540f4)
    at /home/christoph/Scribus/scribus/main_nix.cpp:76
0000042 0x08a8098c in main (argc=Cannot access memory at address 0x29ba
)
    at /home/christoph/Scribus/scribus/main_nix.cpp:52
TagsNo tags attached.
Patch

Relationships

child of 0005693 closedplinnell 1.3.5 bug collection (prior to roadmap) 

Activities

jghali

2008-03-05 20:21

administrator   ~0019149

The crash probably happen when importing specific files. I committed a self defense patch against incorrect balance of PS graphic stack save/restore.

jghali

2008-03-05 23:47

administrator   ~0019150

Should be fixed now

christoph_s

2008-03-06 20:06

developer   ~0019151

Tested, fixed. Thanks.

Issue History

Date Modified Username Field Change
2008-03-04 19:26 christoph_s New Issue
2008-03-04 19:38 jghali Status new => confirmed
2008-03-05 20:21 jghali Note Added: 0019149
2008-03-05 23:47 jghali Status confirmed => resolved
2008-03-05 23:47 jghali Resolution open => fixed
2008-03-05 23:47 jghali Assigned To => jghali
2008-03-05 23:47 jghali Note Added: 0019150
2008-03-06 20:06 christoph_s Status resolved => closed
2008-03-06 20:06 christoph_s Note Added: 0019151
2008-03-19 19:12 christoph_s Relationship added child of 0005693