View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002405 | Scribus | Import / Export | public | 2005-08-09 14:09 | 2007-11-28 11:03 |
Reporter | drekka | Assigned To | jghali | ||
Priority | normal | Severity | crash | Reproducibility | sometimes |
Status | closed | Resolution | duplicate | ||
Platform | Linux | OS | Gentoo | OS Version | 2004.3 |
Product Version | 1.3.0 | ||||
Summary | 0002405: Signal 6 crashes when exporting PDFs. | ||||
Description | This happens very regularly. I don't know as yet what the trigger is, but when it starts I can end up restarting scribus many times before I can get a successful export without a crash. Starting scribus from the command line all I see is: Scribus Crash ------------- Scribus crashes due to Signal 0000006 Calling Emergency Save | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
whats the gdb output? (try to start scribus from command line...) - gdb %path_to_scribus%/scribus - enter "run" - after the crash enter "bt" into the command line and copy the output here. |
|
Ok, after an hour of continuous crashes I removed a large image from the top of the page and it saved. So this image which is a PNG image is causing the crash. Why I don't know. I updated the image tonight and scribus can certainly see and display it ok. But export with it on a page and BOOM ! - Signal 6 crash. |
|
Hows this ? gdb ./scribus GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/local/bin/scribus warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 1033)] TIFFReadDirectory: Warning, ads/Powerbronze10%.tif: wrong data type 1 for "ICC Profile"; tag ignored. TIFFReadDirectory: Warning, ads/Powerbronze10%.tif: invalid TIFF directory; tags are not sorted in ascending order. Program received signal SIGABRT, Aborted. [Switching to Thread 16384 (LWP 1033)] 0x40bbc111 in kill () from /lib/libc.so.6 (gdb) bt 0 0x40bbc111 in kill () from /lib/libc.so.6 0000001 0x40a3d620 in pthread_kill () from /lib/libpthread.so.0 0000002 0x40a3d9cb in raise () from /lib/libpthread.so.0 0000003 0x40bbbb62 in raise () from /lib/libc.so.6 0000004 0x40bbd690 in abort () from /lib/libc.so.6 0000005 0x401fd793 in __cxa_call_unexpected () from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.so.5 0000006 0x401fd7c8 in std::terminate () from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.so.5 0000007 0x401fd968 in __cxa_throw () from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.so.5 0000008 0x401fdbe1 in operator new () from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.so.5 0000009 0x401fdd05 in operator new[] () from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.so.5 0000010 0x4076b25d in QString::setLength () from /usr/qt/3/lib/libqt-mt.so.3 0000011 0x4076b530 in QString::grow () from /usr/qt/3/lib/libqt-mt.so.3 0000012 0x4077295c in QString::operator+= () from /usr/qt/3/lib/libqt-mt.so.3 0000013 0x082f2b6d in ScImage::getAlpha () 0000014 0x4ad28642 in ?? () 0000015 0xbfffdbd0 in ?? () 0000016 0xbfffdac0 in ?? () 0000017 0xbfffdbe0 in ?? () 0000018 0x00000001 in ?? () 0000019 0x00000001 in ?? () 0000020 0xbfffe040 in ?? () 0000021 0xbfffe040 in ?? () 0000022 0x00000258 in ?? () 0000023 0x40a3f3fe in __pthread_alt_unlock () from /lib/libpthread.so.0 0000024 0x4ad03e7d in ?? () 0000025 0xbfffe020 in ?? () 0000026 0x08f48b18 in ?? () 0000027 0x091e4508 in ?? () 0000028 0xbfffe040 in ?? () 0000029 0xeb851eb8 in ?? () 0000030 0x3fbeb851 in ?? () 0000031 0xeb851eb8 in ?? () 0000032 0x3fbeb851 in ?? () 0000033 0x00000000 in ?? () 0000034 0x00000000 in ?? () 0000035 0x00000000 in ?? () 0000036 0x80000000 in ?? () 0000037 0x00000000 in ?? () 0000038 0xbfffe030 in ?? () 0000039 0x00000001 in ?? () 0000040 0x00000001 in ?? () 0000041 0xbfffe040 in ?? () 0000042 0x091e46e0 in ?? () 0000043 0x091e4508 in ?? () 0000044 0x00000001 in ?? () 0000045 0x40ca2980 in __after_morecore_hook () from /lib/libc.so.6 0000046 0x089744d8 in ?? () 0000047 0xbfffde38 in ?? () 0000048 0x00000693 in ?? () 0000049 0x40ca2990 in __after_morecore_hook () from /lib/libc.so.6 0000050 0x00000010 in ?? () 0000051 0x40ca2980 in __after_morecore_hook () from /lib/libc.so.6 0000052 0x40ca0ffc in ?? () from /lib/libc.so.6 0000053 0x40ca0ffc in ?? () from /lib/libc.so.6 0000054 0x40a3f3fe in __pthread_alt_unlock () from /lib/libpthread.so.0 0000055 0x4acfd579 in ?? () 0000056 0xbfffe2f0 in ?? () 0000057 0x08f48b18 in ?? () 0000058 0x091e4508 in ?? () 0000059 0x0911e160 in ?? () 0000060 0x00000000 in ?? () 0000061 0x00000000 in ?? () 0000062 0x00000000 in ?? () 0000063 0xbfffe420 in ?? () 0000064 0x40ca2990 in __after_morecore_hook () from /lib/libc.so.6 ---Type <return> to continue, or q <return> to quit--- 0000065 0x00000010 in ?? () 0000066 0x40ca2980 in __after_morecore_hook () from /lib/libc.so.6 0000067 0x40ca0ffc in ?? () from /lib/libc.so.6 0000068 0x40ca0ffc in ?? () from /lib/libc.so.6 0000069 0x40ca2980 in __after_morecore_hook () from /lib/libc.so.6 70 0x4ad402d6 in ?? () 0000071 0x4ad3ffa1 in ?? () 0000072 0x0911e1dc in ?? () 0000073 0x0911e1d8 in ?? () 0000074 0x089728f8 in ?? () 0000075 0xbfffe420 in ?? () 0000076 0xbfffe410 in ?? () 0000077 0xbfffe400 in ?? () 0000078 0xbfffe3f0 in ?? () 0000079 0xbfffe3e0 in ?? () 0000080 0xbfffe3d0 in ?? () 0000081 0xbfffe3c0 in ?? () 0000082 0xbfffe1e8 in ?? () 0000083 0x40a3aea1 in pthread_mutex_trylock () from /lib/libpthread.so.0 0000084 0x4ace2de5 in ?? () 0000085 0x08f48b18 in ?? () 0000086 0x0911e160 in ?? () 0000087 0x00000000 in ?? () 0000088 0x00000000 in ?? () 0000089 0x088708d8 in ?? () 0000090 0x4081603e in typeinfo name for QPSPrinter () from /usr/qt/3/lib/libqt-mt.so.3 0000091 0xbfffe4e0 in ?? () 0000092 0xbfffe520 in ?? () 0000093 0x01000000 in ?? () 0000094 0x08f48b18 in ?? () 0000095 0x00000000 in ?? () 0000096 0x000664f9 in ?? () 0000097 0xbfffe560 in ?? () 0000098 0xbfffe760 in ?? () 0000099 0xbfffe4c0 in ?? () 0000100 0x00000000 in ?? () 0000101 0x00000000 in ?? () 0000102 0x40a3f3fe in __pthread_alt_unlock () from /lib/libpthread.so.0 0000103 0x0848f908 in ScribusApp::getPDFDriver () 0000104 0x0849056f in ScribusApp::doSaveAsPDF () 0000105 0x0848fc0d in ScribusApp::SaveAsPDF () 0000106 0x084482a8 in ScribusApp::qt_invoke () 0000107 0x4049b893 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 0000108 0x4049b6d4 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 0000109 0x407f49bb in QAction::activated () from /usr/qt/3/lib/libqt-mt.so.3 0000110 0x405dad7e in QAction::internalActivation () from /usr/qt/3/lib/libqt-mt.so.3 0000111 0x407f4ae2 in QAction::qt_invoke () from /usr/qt/3/lib/libqt-mt.so.3 0000112 0x08309ac0 in ScrAction::qt_invoke () 0000113 0x4049b893 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 0000114 0x407d4418 in QSignal::signal () from /usr/qt/3/lib/libqt-mt.so.3 0000115 0x404b532f in QSignal::activate () from /usr/qt/3/lib/libqt-mt.so.3 0000116 0x4059e2f2 in QPopupMenu::mouseReleaseEvent () from /usr/qt/3/lib/libqt-mt.so.3 0000117 0x404d0bfa in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3 0000118 0x404406bc in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3 0000119 0x4043fb79 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3 0000120 0x403d6779 in QETWidget::translateMouseEvent () from /usr/qt/3/lib/libqt-mt.so.3 0000121 0x403d47e2 in QApplication::x11ProcessEvent () from /usr/qt/3/lib/libqt-mt.so.3 0000122 0x403ebc7b in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3 0000123 0x40452458 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3 0000124 0x40452308 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3 0000125 0x404408f1 in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3 0000126 0x084a5848 in mainApp () 0000127 0x084a578b in main () (gdb) Edited: ringerc, fixed bad bug links from backtrace. I think we need to stop Mantis auto-linking a #number if it's the first thing on a line. |
|
0000001 0x40a3d620 in pthread_kill () from /lib/libpthread.so.0 0000002 0x40a3d9cb in raise () from /lib/libpthread.so.0 0000003 0x40bbbb62 in raise () from /lib/libc.so.6 0000004 0x40bbd690 in abort () from /lib/libc.so.6 0000005 0x401fd793 in __cxa_call_unexpected () from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.so.5 0000006 0x401fd7c8 in std::terminate () from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.so.5 0000007 0x401fd968 in __cxa_throw () from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.so.5 0000008 0x401fdbe1 in operator new () from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.so.5 0000009 0x401fdd05 in operator new[] () from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.so.5 That means we're running out of memory, libstdc++ is throwing bad_alloc, we're not catching it, and we're crashing as a result. Is Qt compiled with exception support on Gentoo? (To find out, check the flags passed to configure in the ebuild). |
|
Hmm, I had a look at the ebuild code, but no knowing C++ or how these scripts work I could not tell for sure. But I could not see anything about exceptions. (These I know from Java ;-) Can you tell me what I should be looking for. Also I am desperate to get this artwork out to the printers. Is there anyway I can get around this and get the PDF ? |
|
please attach the image file in question (5MB or less) or upload to a place where we can download it.. It could be something in the image. Which app created the TIFF ? Note this does not cure the underlying issue, it just helps to identify what triggers that crash. |
|
He he he, now your making me laugh ;-) The graphic is tended to take up the top 1/3rd of an A2 poster so it's 42cm wide at 600 DPI. The PNG is something like 36M and the tiff version 114M. I've tried with recreating both to no avail. I might have to send it to the printer seperately from the rest of the file and ask then to stitch it together. The rest of the A2 document has about 20 business card sized ads on it, each of which is a couple of meg in size (PNGs). This makes me wonder, am I doing something different to everyone else ? I would have thought graphics at this sort of resolution and size were quite normal in the industry. Certainly the printer wanted higher res than that. Any thoughts ? |
|
Ok, I'm uploading to my site. You should be able to download the PNG soon. http://www.net-dragon.com/header.png I don't know anything about *nix programming, but a memory issue does sound likely. The PNG was created by The Gimp. My system has 1G of ram. |
|
http://www.net-dragon.com/header.png 404 - not found |
|
Oops ! Sorry thats www.net-dragon.com/Header.png |
|
Duplicate of 0004189 |
Date Modified | Username | Field | Change |
---|---|---|---|
2005-08-09 14:09 | drekka | New Issue | |
2005-08-09 14:18 | jo-hannes | Note Added: 0005970 | |
2005-08-09 14:36 | drekka | Note Added: 0005971 | |
2005-08-09 15:12 | drekka | Note Added: 0005973 | |
2005-08-09 15:30 |
|
Note Added: 0005978 | |
2005-08-09 15:33 |
|
Note Edited: 0005973 | |
2005-08-09 15:33 |
|
Status | new => acknowledged |
2005-08-09 15:33 |
|
Note Edited: 0005978 | |
2005-08-10 13:15 | drekka | Note Added: 0006023 | |
2005-08-11 18:01 |
|
Note Added: 0006069 | |
2005-08-11 18:02 |
|
Note Edited: 0006069 | |
2005-08-14 14:42 | drekka | Note Added: 0006116 | |
2005-08-14 15:05 | drekka | Note Added: 0006117 | |
2005-08-14 15:12 |
|
Relationship added | related to 0002438 |
2005-08-15 21:09 |
|
Note Added: 0006123 | |
2005-08-16 14:46 | drekka | Note Added: 0006128 | |
2007-11-28 11:02 | jghali | Relationship added | duplicate of 0004189 |
2007-11-28 11:02 | jghali | Duplicate ID | 0 => 4189 |
2007-11-28 11:02 | jghali | Status | acknowledged => resolved |
2007-11-28 11:02 | jghali | Resolution | open => duplicate |
2007-11-28 11:02 | jghali | Assigned To | => jghali |
2007-11-28 11:02 | jghali | Note Added: 0018027 | |
2007-11-28 11:03 | jghali | Status | resolved => closed |