View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008263 | Scribus | public | 2009-07-07 17:39 | 2009-07-12 15:41 | |
Reporter | pierremarchand | Assigned To | jghali | ||
Priority | normal | Severity | crash | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
OS | openSUSE | OS Version | 11.1 | ||
Product Version | 1.5.0svn | ||||
Fixed in Version | 1.3.5svn | ||||
Summary | 0008263: pdf export crash when ISO-10646-UCS-2 text codec is missing | ||||
Description | I open my file. I do no editing. I export PDF. There is an existing copy of the PDF, it asks if I want to overwrite. Yes. Crash. Signal 11. Here is what gdb returned QTextCodec::fromUnicode (this=0x0, str=@0xbfffb2a0) at codecs/qtextcodec.cpp:1189 1189 codecs/qtextcodec.cpp: No such file or directory. in codecs/qtextcodec.cpp (gdb) bt #0 QTextCodec::fromUnicode (this=0x0, str=@0xbfffb2a0) at codecs/qtextcodec.cpp:1189 0000001 0x086b5cde in PDFLibCore::EncodeUTF16 (this=0x976dea0, in=@0xbfffb448) at /home/neoarttec/Archives/Scribus/1.5.0-svn/Scribus/scribus/pdflib_core.cpp:344 0000002 0x086b5ec8 in PDFLibCore::EncStringUTF16 (this=0x976dea0, in=@0xbfffbe28, ObjNum=2) at /home/neoarttec/Archives/Scribus/1.5.0-svn/Scribus/scribus/pdflib_core.cpp:409 0000003 0x086fb314 in PDFLibCore::PDF_Begin_Doc (this=0x976dea0, fn=@0xbfffcc34, AllFonts=@0x8fcb1a8, DocFonts={{d = 0xbfffc9c4, e = 0xbfffc9c4}}, vi=0x95db930) at /home/neoarttec/Archives/Scribus/1.5.0-svn/Scribus/scribus/pdflib_core.cpp:865 0000004 0x0870e234 in PDFLibCore::doExport (this=0x976dea0, fn=@0xbfffcc34, nam=@0xbfffcc38, Components=3, pageNs=@0xbfffcc40, thumbs=@0xbfffcc3c) at /home/neoarttec/Archives/Scribus/1.5.0-svn/Scribus/scribus/pdflib_core.cpp:169 0000005 0x08684aff in PDFlib::doExport (this=0xbfffca8c, fn=@0xbfffcc34, nam=@0xbfffcc38, Components=3, pageNs=@0xbfffcc40, thumbs=@0xbfffcc3c) at /home/neoarttec/Archives/Scribus/1.5.0-svn/Scribus/scribus/pdflib.cpp:19 0000006 0x0895138e in ScribusMainWindow::getPDFDriver (this=0x8fddd10, fn=@0xbfffcc34, nam=@0xbfffcc38, Components=3, pageNs=@0xbfffcc40, thumbs=@0xbfffcc3c, error=@0xbfffcc30, cancelled=0x0) ---Type <return> to continue, or q <return> to quit--- at /home/neoarttec/Archives/Scribus/1.5.0-svn/Scribus/scribus/scribus.cpp:7903 0000007 0x08952d59 in ScribusMainWindow::doSaveAsPDF (this=0x8fddd10) at /home/neoarttec/Archives/Scribus/1.5.0-svn/Scribus/scribus/scribus.cpp:8040 0000008 0x089537c9 in ScribusMainWindow::SaveAsPDF (this=0x8fddd10) at /home/neoarttec/Archives/Scribus/1.5.0-svn/Scribus/scribus/scribus.cpp:7938 0000009 0x0824f6c1 in ScribusMainWindow::qt_metacall (this=0x8fddd10, _c=QMetaObject::InvokeMetaMethod, _id=168, _a=0xbfffcfcc) at /home/neoarttec/Archives/Scribus/1.5.0-svn/Scribus/scribus/moc_scribus.cxx:585 0000010 0xb623d788 in QMetaObject::activate (sender=0x9056460, from_signal_index=5, to_signal_index=6, argv=0xbfffcfcc) at kernel/qobject.cpp:3113 0000011 0xb623dbc0 in QMetaObject::activate (sender=0x9056460, m=0xb70ab0e8, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfffcfcc) at kernel/qobject.cpp:3207 0000012 0xb6853181 in QAction::triggered (this=0x9056460, _t1=false) at .moc/release-shared/moc_qaction.cpp:236 0000013 0xb68546ff in QAction::activate (this=0x9056460, event=QAction::Trigger) at kernel/qaction.cpp:1160 ---Type <return> to continue, or q <return> to quit--- 0000014 0xb6cdb732 in QToolButton::nextCheckState (this=0xa557e50) at ../../src/gui/kernel/qaction.h:203 0000015 0xb6bf40c3 in QAbstractButtonPrivate::click (this=0x92d56f0) at widgets/qabstractbutton.cpp:525 0000016 0xb6bf4396 in QAbstractButton::mouseReleaseEvent (this=0x92d56d0, e=0xbfffd598) at widgets/qabstractbutton.cpp:1115 0000017 0xb6cdbc2c in QToolButton::mouseReleaseEvent (this=0x92d56d0, e=0xbfffd598) at widgets/qtoolbutton.cpp:709 0000018 0xb68b03d3 in QWidget::event (this=0x92d56d0, event=0xbfffd598) at kernel/qwidget.cpp:7549 0000019 0xb6bf23ae in QAbstractButton::event (this=0x92d56d0, e=0xbfffd598) at widgets/qabstractbutton.cpp:1077 0000020 0xb6cde65a in QToolButton::event (this=0x92d56d0, event=0xbfffd598) at widgets/qtoolbutton.cpp:1151 0000021 0xb68597fc in QApplicationPrivate::notify_helper (this=0x8f6e7d0, receiver=0x92d56d0, e=0xbfffd598) at kernel/qapplication.cpp:4056 ---Type <return> to continue, or q <return> to quit--- 0000022 0xb6862461 in QApplication::notify (this=0xbfffeee4, receiver=0x92d56d0, e=0xbfffd598) at kernel/qapplication.cpp:3758 0000023 0xb622816b in QCoreApplication::notifyInternal (this=0xbfffeee4, receiver=0x92d56d0, event=0xbfffd598) at kernel/qcoreapplication.cpp:610 0000024 0xb68614ce in QApplicationPrivate::sendMouseEvent (receiver=0x92d56d0, event=0xbfffd598, alienWidget=0x92d56d0, nativeWidget=0x8fddd10, buttonDown=0xb70c3a40, lastMouseReceiver=@0xb70c3a44) at ../../src/corelib/kernel/qcoreapplication.h:216 0000025 0xb68d16e6 in QETWidget::translateMouseEvent (this=0x8fddd10, event=0xbfffec2c) at kernel/qapplication_x11.cpp:4407 0000026 0xb68d0ab5 in QApplication::x11ProcessEvent (this=0xbfffeee4, event=0xbfffec2c) at kernel/qapplication_x11.cpp:3426 0000027 0xb68fa5ca in x11EventSourceDispatch (s=0x8f75158, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 0000028 0xb603e9c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- 0000029 0xb6042083 in ?? () from /usr/lib/libglib-2.0.so.0 0000030 0xb6042241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 0000031 0xb62538d8 in QEventDispatcherGlib::processEvents (this=0x8f71d78, flags={i = -1073746456}) at kernel/qeventdispatcher_glib.cpp:327 0000032 0xb68f9cc5 in QGuiEventDispatcherGlib::processEvents (this=0x8f71d78, flags={i = -1073746408}) at kernel/qguieventdispatcher_glib.cpp:202 0000033 0xb622678a in QEventLoop::processEvents (this=0xbfffee90, flags={i = -1073746344}) at kernel/qeventloop.cpp:149 0000034 0xb6226bd2 in QEventLoop::exec (this=0xbfffee90, flags={i = -1073746280}) at kernel/qeventloop.cpp:201 0000035 0xb6229079 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 0000036 0xb6859677 in QApplication::exec () at kernel/qapplication.cpp:3525 ---Type <return> to continue, or q <return> to quit--- 0000037 0x08c8d4e6 in mainApp (argc=1, argv=0xbfffefd4) at /home/neoarttec/Archives/Scribus/1.5.0-svn/Scribus/scribus/main_nix.cpp:84 0000038 0x08c8d55b in main (argc=Cannot access memory at address 0x0 ) at /home/neoarttec/Archives/Scribus/1.5.0-svn/Scribus/scribus/main_nix.cpp:52 (gdb) | ||||
Additional Information | reported for Leo Plaw | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
Sample doc? |
2009-07-07 20:53
|
|
|
FWD "I tried several older versions of this file. All crash with the same error. I also removed all JPG images, and 1.5 still crashes on export. Attached is the one of the offending files, with images removed. Scribus outputs a zero length file on export." "Further testing shows that files generated by 1.3.3 will export to PDF no problems. Files natively created in 1.5.0 export to PDF no problems. ( I only created a simple file. SVG image, text, JPG image, 4 pages) It would then appear any files created with 1.3.5 crash with the Signal 11." |
|
I can export that document without problem. Looking at the backtrace, it seems your Qt is missing the text codec for ISO-10646-UCS-2 |
|
Have created a new blank document, with no master pages. Have copied page content from orginal problem file, and pasted to new blank document, one page at a time. Then export PDF. Repeat the process, if export is successful. So far 1/4 through pages, and no crash on export. If I import the pages from the original problem file, 1.5.0 makes a mess and does not place page content where it should be, and newly imported pages do not appear properly. However, document exports to PDF. The pages recreated by hand render fine, the imported pages, not at all. Importing Master Pages causes a crash. 0xb3e24587 in Scribus150Format::pasteItem (this=0x9229df8, doc=0xa638440, attrs=@0xbfffc6b8, baseDir=@0xbfffcb98, pagenr=-1) at /home/neoarttec/Archives/Scribus/1.5.0-svn/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp:2316 2316 currItem->FrameType = attrs.valueAsInt("FRTYPE", 0); |
|
in Scribus 1.3.5rc3 created a blank document. imported all pages from the original problem document. (aligned all text boxes over margins to the margins) Export to PDF works. Next step, I imported the Master Pages from the original problem document. Export to PDF - CRASH. I have noted that in the Master Pages there are text boxes outside of the margins. (page numbers) So, I have opened the file and moved all text frames inside the margins. Export to PDF works. This has been tested in both 1.3.5rc3 and 1.5.0.svn, producing the same results. The issue is related to text boxes that cross the Margins. |
|
I fixed the master page import problem in 1.5.0svn. Unfortunately i'm still totally unable to reproduce your pdf export problem. |
|
I fixed detection of ISO-10646-UCS-2 text codec availability. It is now checked right at start of export and export will exit immediately with an error if codec is not available. |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-07-07 17:39 | pierremarchand | New Issue | |
2009-07-07 17:42 | jghali | Note Added: 0022134 | |
2009-07-07 20:53 | pierremarchand | File Added: Beyond-Omega-Catalogue-04.test.sla | |
2009-07-07 20:54 | pierremarchand | Note Added: 0022135 | |
2009-07-07 21:59 | jghali | Note Added: 0022136 | |
2009-07-08 11:09 | neoarttec | Note Added: 0022140 | |
2009-07-08 12:55 | neoarttec | Note Added: 0022141 | |
2009-07-08 12:56 | neoarttec | Note Edited: 0022141 | |
2009-07-08 21:04 | jghali | Note Added: 0022146 | |
2009-07-11 10:15 | jghali | Summary | PDF export - signal 11 => pdf export crash when ISO-10646-UCS-2 text codec is missing |
2009-07-11 10:17 | jghali | Note Added: 0022162 | |
2009-07-11 10:17 | jghali | Status | new => resolved |
2009-07-11 10:17 | jghali | Fixed in Version | => 1.3.5svn |
2009-07-11 10:17 | jghali | Resolution | open => fixed |
2009-07-11 10:17 | jghali | Assigned To | => jghali |
2009-07-12 15:41 | cbradney | Status | resolved => closed |