View Issue Details

IDProjectCategoryView StatusLast Update
0010509ScribusImport / Exportpublic2012-04-29 10:58
Reportergpittman Assigned Tojghali  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version1.4.1.svn 
Fixed in Version1.4.1.svn 
Summary0010509: crash on attempt to export as image
DescriptionI wanted to export a page as an image, Scribus crashes with Signal 0000006
Steps To ReproduceOpen document
Select File > Export > Save as image
Immediate crash with message about Signal 0000006

Even crashes with an empty page.
TagsNo tags attached.
Patch

Activities

jghali

2012-01-12 07:19

administrator   ~0027519

Unable to reproduce here.

gpittman

2012-01-12 13:48

developer   ~0027522

I deleted my installation, ran make install, still found same crash.

I ran from the console, which gave this message:


QSharedPointer: pointer 0x3f1ad10 already has reference counting
Scribus Crash
-------------
Scribus crashes due to Signal 0000006

gpittman

2012-01-12 13:49

developer   ~0027523

I'll try erasing my svn download, checkout again, and recompile.

cezaryece

2012-01-12 14:10

updater   ~0027525

Cannot to reproduce either, on Kubuntu.
Maybe this is OS specific issue? Do you use Windows?

(BTW - in bug report form there are fields like Platform, OS and OS Version and we should using them for not wasting time for questions like "what OS do you use")

gpittman

2012-01-12 14:19

developer   ~0027526

I don't know why, somehow I skipped over the OS, etc.

Fedora 16, 64-bit

gpittman

2012-01-12 14:50

developer   ~0027528

Ok. Deleted my svn download, checked out again, deleted previous installation.

Still Signal 0000006:

QSharedPointer: pointer 0x3454720 already has reference counting


rpm -q qt
qt-4.8.0-5.fc16.x86_64

cbradney

2012-01-12 19:55

administrator   ~0027530

Greg, please provide a full gdb backtrace

gpittman

2012-01-12 21:45

developer   ~0027533

Not sure how to use backtrace. Here is what I seem to get:

(gdb) bt
#0 0x0000003258a36285 in raise () from /lib64/libc.so.6
Cannot access memory at address 0x7fffffffbd58
(gdb)

gpittman

2012-01-12 22:04

developer   ~0027534

maybe this is more complete:

(gdb) backtrace
#0 0x0000003258a36285 in raise () from /lib64/libc.so.6
0000001 0x0000003258a37b9b in abort () from /lib64/libc.so.6
0000002 0x0000003df80714b4 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/libQtCore.so.4
0000003 0x0000003df807166f in ?? () from /usr/lib64/libQtCore.so.4
0000004 0x0000003df8071814 in qFatal(char const*, ...) () from /usr/lib64/libQtCore.so.4
0000005 0x0000003df80bd04f in QtSharedPointer::ExternalRefCountData::setQObjectShared(QObject const*, bool) () from /usr/lib64/libQtCore.so.4
0000006 0x00007fffeaa3a58c in PixmapExportPlugin::run(ScribusDoc*, QString) () from /home/gregp/scribus140/lib/scribus/plugins//libscribusexportpixmap.so
0000007 0x000000000058b932 in ScActionPlugin::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
0000008 0x0000003df818ccd1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
0000009 0x000000000058bda2 in ScrAction::triggeredData(ScribusDoc*) ()
0000010 0x0000000000a5743f in ScrAction::triggeredToTriggeredData() ()
0000011 0x000000000058bf05 in ScrAction::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
0000012 0x0000003df818ccd1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
0000013 0x0000003df99c37b2 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
0000014 0x0000003df99c399f in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
0000015 0x0000003df9e0c809 in ?? () from /usr/lib64/libQtGui.so.4
0000016 0x0000003df9e12902 in ?? () from /usr/lib64/libQtGui.so.4
0000017 0x0000003df9a1a02a in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
0000018 0x0000003df9e13e9b in QMenu::event(QEvent*) () from /usr/lib64/libQtGui.so.4
0000019 0x0000003df99c9994 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
0000020 0x0000003df99cf0e3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
0000021 0x0000003df817903c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
0000022 0x0000003df99ca962 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
0000023 0x0000003df9a469b1 in ?? () from /usr/lib64/libQtGui.so.4
0000024 0x0000003df9a451aa in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
0000025 0x0000003df9a6c92c in ?? () from /usr/lib64/libQtGui.so.4
0000026 0x000000325b644a7d in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
0000027 0x000000325b645278 in ?? () from /lib64/libglib-2.0.so.0
0000028 0x000000325b64544c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
0000029 0x0000003df81a7d4f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
0000030 0x0000003df9a6c61e in ?? () from /usr/lib64/libQtGui.so.4
0000031 0x0000003df8178172 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
0000032 0x0000003df81783c7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
0000033 0x0000003df817cdc5 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
0000034 0x0000000000ccda24 in mainApp(int, char**) ()
0000035 0x0000003258a2169d in __libc_start_main () from /lib64/libc.so.6
0000036 0x000000000056c481 in _start ()
(gdb)

gpittman

2012-01-12 22:05

developer   ~0027535

I also checked another computer, which also has F16, 64-bit, same crash. Also, version 1.5.0 also crashes.

cbradney

2012-01-12 22:28

administrator   ~0027536

Thanks Greg.. also.. can you please ensure you have -DWANT_DEBUG=1 on your cmake command line?

gpittman

2012-01-13 00:15

developer   ~0027538

All fixed!!

Incidentally, this all came about because I am giving a talk in Miami for Medtronic corporation, and they balked when I told them I would have a PDF, as opposed to PPT. At that point, I thought perhaps I could send them a series of images from the PDF, and I discovered the crash.
Furthermore, I can say that ImageMagick doesn't do a very good job at PDF conversion compared with Scribus -- IM is very bad at gradients.
Nonetheless, I still plan to try to teach them about PDFs for presentations.

jlec

2012-02-13 08:55

reporter   ~0027688

I can reproduce it on a gentoo Linux system with qt-4.8 and scribus-1.4.0.
Please reopen.

Here the full backtrace:


QSharedPointer: pointer 0x22d89c0 already has reference counting

Program received signal SIGABRT, Aborted.
0x00002aaaad6631b5 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00002aaaad6631b5 in raise () from /lib64/libc.so.6
0000001 0x00002aaaad664ad3 in abort () from /lib64/libc.so.6
0000002 0x00002aaaaba1de74 in qt_message_output (msgType=<optimized out>, buf=<optimized out>) at global/qglobal.cpp:2252
0000003 0x00002aaaaba1e041 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x2aaaabbf7258 "QSharedPointer: pointer %p already has reference counting", ap=0x7fffffffa778) at global/qglobal.cpp:2298
0000004 0x00002aaaaba1e1bc in qFatal (msg=<optimized out>) at global/qglobal.cpp:2481
0000005 0x00002aaaaba6e6cf in QtSharedPointer::ExternalRefCountData::setQObjectShared (this=0x2b3c130, obj=<optimized out>) at tools/qsharedpointer.cpp:1242
0000006 0x00002aaac0f94aa2 in internalFinishConstruction (ptr=0x22d89c0, this=0x7fffffffa8b0) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:381
0000007 internalConstruct (ptr=0x22d89c0, this=0x7fffffffa8b0) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:357
0000008 ExternalRefCount (this=0x7fffffffa8b0, ptr=0x22d89c0) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:391
0000009 QSharedPointer (ptr=0x22d89c0, this=0x7fffffffa8b0) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:473
0000010 PixmapExportPlugin::run (this=<optimized out>, doc=0x2867940, target=...) at /var/tmp/portage/app-office/scribus-1.4.0/work/scribus-1.4.0/scribus/plugins/pixmapexport/export.cpp:99
0000011 0x000000000057a6ef in ScActionPlugin::qt_static_metacall (_o=0x17e71a0, _c=<optimized out>, _id=1, _a=0x7fffffffac40) at /var/tmp/portage/app-office/scribus-1.4.0/work/scribus-1.4.0_build/scribus/moc_scplugin.cxx:127
0000012 0x00002aaaabb4c165 in QMetaObject::activate (sender=0x1afd5e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffffffac40) at kernel/qobject.cpp:3547
0000013 0x000000000057ad80 in ScrAction::triggeredData (this=<optimized out>, _t1=0x2867940) at /var/tmp/portage/app-office/scribus-1.4.0/work/scribus-1.4.0_build/scribus/moc_scraction.cxx:148
0000014 0x0000000000abe360 in ScrAction::triggeredToTriggeredData (this=0x1afd5e0) at /var/tmp/portage/app-office/scribus-1.4.0/work/scribus-1.4.0/scribus/scraction.cpp:189
0000015 0x000000000057af18 in ScrAction::qt_static_metacall (_o=0x1afd5e0, _c=<optimized out>, _id=9, _a=0x7fffffffae50) at /var/tmp/portage/app-office/scribus-1.4.0/work/scribus-1.4.0_build/scribus/moc_scraction.cxx:77
0000016 0x00002aaaabb4c165 in QMetaObject::activate (sender=0x1afd5e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffffffae50) at kernel/qobject.cpp:3547
0000017 0x00002aaaaae95f42 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
0000018 0x00002aaaaae96163 in QAction::activate (this=0x1afd5e0, event=<optimized out>) at kernel/qaction.cpp:1257
0000019 0x00002aaaaae9628f in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
0000020 0x00002aaaaae9c94c in notify_helper (e=0x7fffffffb210, receiver=0x1afd5e0, this=0x10c2560) at kernel/qapplication.cpp:4550
0000021 QApplicationPrivate::notify_helper (this=0x10c2560, receiver=0x1afd5e0, e=0x7fffffffb210) at kernel/qapplication.cpp:4522
0000022 0x00002aaaaaea1ae3 in QApplication::notify (this=0x7fffffffc430, receiver=0x1afd5e0, e=0x7fffffffb210) at kernel/qapplication.cpp:3932
0000023 0x00002aaaabb376dc in QCoreApplication::notifyInternal (this=0x7fffffffc430, receiver=0x1afd5e0, event=0x7fffffffb210) at kernel/qcoreapplication.cpp:876
0000024 0x00002aaaaaed1d61 in sendEvent (event=0x7fffffffb210, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
0000025 QShortcutMap::dispatchEvent (this=<optimized out>, e=0x7fffffffb620) at kernel/qshortcutmap.cpp:879
0000026 0x00002aaaaaed3303 in QShortcutMap::tryShortcutEvent (this=0x10c2680, o=<optimized out>, e=0x7fffffffb620) at kernel/qshortcutmap.cpp:364
0000027 0x00002aaaaaea38ad in QApplication::notify (this=0x7fffffffc430, receiver=0x28334a0, e=0x7fffffffb620) at kernel/qapplication.cpp:3974
0000028 0x00002aaaabb376dc in QCoreApplication::notifyInternal (this=0x7fffffffc430, receiver=0x28334a0, event=0x7fffffffb620) at kernel/qcoreapplication.cpp:876
0000029 0x00002aaaaaf4400c in QKeyMapper::sendKeyEvent (keyWidget=0x28334a0, grab=<optimized out>, type=QEvent::KeyPress, code=69, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=26, nativeVirtualKey=69, nativeModifiers=21) at kernel/qkeymapper_x11.cpp:1866
0000030 0x00002aaaaaf4445a in QKeyMapperPrivate::translateKeyEvent (this=0x11174f0, keyWidget=0x28334a0, event=0x7fffffffc000, grab=false) at kernel/qkeymapper_x11.cpp:1836
0000031 0x00002aaaaaf1e9a3 in QApplication::x11ProcessEvent (this=0x7fffffffc430, event=0x7fffffffc000) at kernel/qapplication_x11.cpp:3513
0000032 0x00002aaaaaf488f2 in x11EventSourceDispatch (s=0x10c8300, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
0000033 0x00002aaaae7a0989 in g_main_dispatch (context=0x10c70e0) at gmain.c:2441
0000034 g_main_context_dispatch (context=0x10c70e0) at gmain.c:3011
0000035 0x00002aaaae7a1118 in g_main_context_iterate (context=0x10c70e0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3089
0000036 0x00002aaaae7a14ab in g_main_context_iteration (context=0x10c70e0, may_block=1) at gmain.c:3152
0000037 0x00002aaaabb68c42 in QEventDispatcherGlib::processEvents (this=0x10c46b0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
0000038 0x00002aaaaaf4856e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
0000039 0x00002aaaabb36352 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
0000040 0x00002aaaabb36607 in QEventLoop::exec (this=0x7fffffffc3e0, flags=...) at kernel/qeventloop.cpp:204
0000041 0x00002aaaabb3b6c9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
0000042 0x0000000000d6d2ae in mainApp (argc=1, argv=<optimized out>) at /var/tmp/portage/app-office/scribus-1.4.0/work/scribus-1.4.0/scribus/main_nix.cpp:84
0000043 0x00002aaaad64e4dd in __libc_start_main () from /lib64/libc.so.6
0000044 0x0000000000553379 in _start ()

jghali

2012-02-13 09:13

administrator   ~0027689

No need to reopen. That issue was fixed in 1.4.1svn. 1.4.0 does not have the fix.

jlec

2012-02-13 09:21

reporter   ~0027690

Could you point me to the commit, so that I can fix it in the gentoo repositories?

jghali

2012-02-13 10:14

administrator   ~0027691

Last edited: 2012-02-13 10:14

The issue has been fixed with commit r17196 in Version14x branch.

Issue History

Date Modified Username Field Change
2012-01-11 23:24 gpittman New Issue
2012-01-12 07:19 jghali Note Added: 0027519
2012-01-12 13:48 gpittman Note Added: 0027522
2012-01-12 13:49 gpittman Note Added: 0027523
2012-01-12 14:10 cezaryece Note Added: 0027525
2012-01-12 14:19 gpittman Note Added: 0027526
2012-01-12 14:50 gpittman Note Added: 0027528
2012-01-12 19:55 cbradney Note Added: 0027530
2012-01-12 21:45 gpittman Note Added: 0027533
2012-01-12 22:04 gpittman Note Added: 0027534
2012-01-12 22:05 gpittman Note Added: 0027535
2012-01-12 22:28 cbradney Note Added: 0027536
2012-01-12 23:04 jghali Status new => resolved
2012-01-12 23:04 jghali Fixed in Version => 1.4.1.svn
2012-01-12 23:04 jghali Resolution open => fixed
2012-01-12 23:04 jghali Assigned To => jghali
2012-01-13 00:15 gpittman Note Added: 0027538
2012-02-13 08:55 jlec Note Added: 0027688
2012-02-13 09:13 jghali Note Added: 0027689
2012-02-13 09:21 jlec Note Added: 0027690
2012-02-13 10:14 jghali Note Added: 0027691
2012-02-13 10:14 jghali Note Edited: 0027691
2012-04-29 10:58 cbradney Status resolved => closed