View Issue Details

IDProjectCategoryView StatusLast Update
0013240ScribusImport / Exportpublic2015-07-28 22:29
Reporterfyliu Assigned Tojghali  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformx86-64OSLinuxOS VersionMint 17.1
Product Version1.5.1svn 
Fixed in Version1.5.1svn 
Summary0013240: export to pdf crashes with signal 6
DescriptionExporting document results in crash.
Steps To Reproduce1. Open document.
2. OK to font substitutions.
2. Export as PDF. Ignore errors.
3. Save. Use all default options.
Additional InformationThe attached scribus files are versions of the same document over several months.
The Jan version does not cause the crash, but future versions do.

I tried removing things to pinpoint what causes the crash but could not. Removing all pages except 1 and 2 will crash. Perhaps it has to do with the linked text boxes between page 1 and page 2 in Feb but no link in Jan.
TagsNo tags attached.
PatchNo

Relationships

related to 0013093 closedjghali Crash signal 6 when exporting as PDF 

Activities

fyliu

2015-07-17 22:24

reporter  

export pdf crash.zip (642,138 bytes)

FirasH

2015-07-17 22:43

reporter   ~0035823

Confirmed with 1.5.1.svn (20256).

FirasH

2015-07-17 22:51

reporter  

13240-Backtrace.txt (27,012 bytes)   
setBestEncoding for  ArialMT  with  1674 glyphs, hasNames= 512 , POST size= 16895
Checking cmap  0 ( 0 , 3 , 0 ) format  4
found Unicode enc for Arial Regular as map 0 with 1419 glyphs
Checking cmap  1 ( 1 , 0 , 0 ) format  0
Checking cmap  2 ( 3 , 1 , 0 ) format  4
found Unicode enc for Arial Regular as map 2 with 2838 glyphs
using Unicode enc for Arial Regular
load post 0 16895
setBestEncoding for  ArialMT  with  1674 glyphs, hasNames= 512 , POST size= 16895
Checking cmap  0 ( 0 , 3 , 0 ) format  4
found Unicode enc for Arial Regular as map 0 with 1419 glyphs
Checking cmap  1 ( 1 , 0 , 0 ) format  0
Checking cmap  2 ( 3 , 1 , 0 ) format  4
found Unicode enc for Arial Regular as map 2 with 2838 glyphs
using Unicode enc for Arial Regular
load post 0 16895
pathForIcon: Unable to load icon /home/.../Scribus/INSTALL/TEST/share/scribus/icons/1_5_1/ellipsis.png: File not found
embed list: ""
subset list: "Arial Regular"
outline list: ""
pdf font "Arial Regular"
loca format: 0x1
0 : 2 contours 0 --> 0 / 42
0 : 2 contours 42 --> 42 / 172
0 : 2 contours 214 --> 214 / 168
0 : 2 contours 382 --> 382 / 418
0 : 3 contours 800 --> 800 / 646
0 : 3 contours 1870 --> 1446 / 490
0 : 1 contours 2360 --> 1936 / 70
0 : 1 contours 2430 --> 2006 / 128
0 : 1 contours 2558 --> 2134 / 166
0 : 1 contours 3052 --> 2300 / 120
0 : 1 contours 3172 --> 2420 / 70
0 : 1 contours 3242 --> 2490 / 60
0 : 1 contours 3302 --> 2550 / 112
0 : 2 contours 3414 --> 2662 / 444
0 : 1 contours 3858 --> 3106 / 220
0 : 1 contours 4078 --> 3326 / 554
0 : 1 contours 4632 --> 3880 / 474
0 : 2 contours 5106 --> 4354 / 352
0 : 1 contours 5458 --> 4706 / 442
0 : 2 contours 5900 --> 5148 / 470
0 : 1 contours 6370 --> 5618 / 172
0 : 3 contours 6542 --> 5790 / 660
0 : 2 contours 7202 --> 6450 / 564
0 : 2 contours 7766 --> 7014 / 92
0 : 2 contours 8178 --> 7106 / 112
0 : 2 contours 8424 --> 7218 / 242
0 : 2 contours 8666 --> 7460 / 512
0 : 2 contours 9178 --> 7972 / 426
0 : 3 contours 9604 --> 8398 / 408
0 : 1 contours 10012 --> 8806 / 314
0 : 2 contours 10326 --> 9120 / 328
0 : 1 contours 10654 --> 9448 / 196
0 : 1 contours 10850 --> 9644 / 182
0 : 1 contours 11032 --> 9826 / 400
0 : 1 contours 11432 --> 10226 / 262
0 : 1 contours 11694 --> 10488 / 228
0 : 1 contours 11922 --> 10716 / 232
0 : 1 contours 12154 --> 10948 / 566
0 : 1 contours 12720 --> 11514 / 138
0 : 1 contours 12858 --> 11652 / 810
0 : 1 contours 13668 --> 12462 / 426
0 : 2 contours 14094 --> 12888 / 308
0 : 2 contours 14402 --> 13196 / 262
0 : 2 contours 14664 --> 13458 / 500
0 : 2 contours 15164 --> 13958 / 620
0 : 1 contours 15784 --> 14578 / 682
0 : 1 contours 16466 --> 15260 / 174
0 : 1 contours 16640 --> 15434 / 292
0 : 1 contours 16932 --> 15726 / 372
0 : 1 contours 17304 --> 16098 / 574
0 : 1 contours 18658 --> 16672 / 422
0 : 2 contours 20024 --> 17094 / 722
0 : 2 contours 20746 --> 17816 / 478
0 : 1 contours 21224 --> 18294 / 436
0 : 2 contours 21660 --> 18730 / 436
0 : 2 contours 22096 --> 19166 / 446
0 : 1 contours 22542 --> 19612 / 340
0 : 2 contours 22882 --> 19952 / 496
0 : 1 contours 23378 --> 20448 / 420
0 : 2 contours 23798 --> 20868 / 244
0 : 2 contours 24042 --> 21112 / 280
0 : 1 contours 24322 --> 21392 / 664
0 : 1 contours 24986 --> 22056 / 252
0 : 1 contours 25238 --> 22308 / 560
0 : 1 contours 25798 --> 22868 / 454
0 : 2 contours 26252 --> 23322 / 450
0 : 2 contours 26702 --> 23772 / 452
0 : 2 contours 27154 --> 24224 / 406
0 : 1 contours 27560 --> 24630 / 262
0 : 1 contours 27822 --> 24892 / 936
0 : 1 contours 28758 --> 25828 / 292
0 : 1 contours 29050 --> 26120 / 414
0 : 1 contours 29464 --> 26534 / 542
0 : 1 contours 30006 --> 27076 / 1130
0 : 1 contours 31136 --> 28206 / 548
0 : 1 contours 31684 --> 28754 / 600
0 : 1 contours 32284 --> 29354 / 488
0 : 112 composite glyph brought 1 more glyphs
0 : 1 contours 37228 --> 29895 / 76
0 : 1 contours 49078 --> 29971 / 56
0 : 1 contours 49134 --> 30027 / 50
0 : 2 contours 49184 --> 30077 / 298
0 : 2 contours 49482 --> 30375 / 300
0 : 1 contours 49782 --> 30675 / 174
0 : 1 contours 49956 --> 30849 / 164
0 : 3 contours 59210 --> 31013 / 400
ASSERT failure in QList<T>::operator[]: "index out of range", file /home/.../Qt/5.5/gcc_64/include/QtCore/qlist.h, line 514
scribus: /home/.../Scribus/scribus/scribuscore.cpp:76: void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&): asserzione "false" non riuscita.

Program received signal SIGABRT, Aborted.
0x00007ffff2002187 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff2002187 in raise () at /lib64/libc.so.6
#1  0x00007ffff2003538 in abort () at /lib64/libc.so.6
#2  0x00007ffff1ffb126 in __assert_fail_base () at /lib64/libc.so.6
#3  0x00007ffff1ffb1d2 in  () at /lib64/libc.so.6
#4  0x0000000000d5086b in abort_on_error(QtMsgType, QMessageLogContext const&, QString const&) (t=QtFatalMsg, m=...) at /home/.../Scribus/scribus/scribuscore.cpp:76
#5  0x00007ffff7405721 in  () at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#6  0x00007ffff74070a6 in QMessageLogger::fatal(char const*, ...) const ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#7  0x00007ffff7402681 in  () at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#8  0x000000000093cf83 in QList<unsigned int>::operator[](int) const (this=0x7fffffffb760, i=2000000025) at /home/.../Qt/5.5/gcc_64/include/QtCore/qlist.h:514
#9  0x000000000136453e in sfnt::copyGlyph(QList<unsigned int>&, QByteArray&, unsigned int, QList<unsigned int> const&, QByteArray const&, unsigned int, QMap<unsigned int, unsigned int>&, unsigned int&) (destLoca=..., destGlyf=..., destGid=87, srcLoca=..., srcGlyf=..., srcGid=2000000025, newForOldGid=..., nextFreeGid=@0x7fffffffb72c: 89)
    at /home/.../Scribus/scribus/fonts/sfnt.cpp:1007
#10 0x0000000001364bb7 in sfnt::subsetFace(QByteArray const&, QList<unsigned int>&) (ttf=..., glyphs=...) at /home/.../Scribus/scribus/fonts/sfnt.cpp:1064
#11 0x0000000000abd2bc in PDFLibCore::PDF_WriteTtfSubsetFont(QByteArray const&, ScFace&, QMap<unsigned int, FPointArray> const&) (this=0x4503390, fontName=..., face=..., RealGlyphs=...)
    at /home/.../Scribus/scribus/pdflib_core.cpp:1731
#12 0x0000000000abfa7c in PDFLibCore::PDF_Begin_WriteUsedFonts(SCFonts&, QMap<QString, QMap<unsigned int, FPointArray> > const&) (this=0x4503390, AllFonts=..., ReallyUsed=...)
    at /home/.../Scribus/scribus/pdflib_core.cpp:1946
#13 0x0000000000aae686 in PDFLibCore::PDF_Begin_Doc(QString const&, SCFonts&, QMap<QString, QMap<unsigned int, FPointArray> > const&, BookMView*) (this=0x4503390, fn=..., AllFonts=..., DocFonts=..., vi=0x25d5f40) at /home/.../Scribus/scribus/pdflib_core.cpp:651
#14 0x0000000000aacaa1 in PDFLibCore::doExport(QString const&, QString const&, int, std::vector<int, std::allocator<int> > const&, QMap<int, QPixmap> const&) (this=0x4503390, fn=..., nam=..., Components=3, pageNs=std::vector of length 7, capacity 8 = {...}, thumbs=...)
    at /home/.../Scribus/scribus/pdflib_core.cpp:223
#15 0x0000000000aaa9b8 in PDFlib::doExport(QString const&, QString const&, int, std::vector<int, std::allocator<int> > const&, QMap<int, QPixmap> const&) (this=
    0x7fffffffc3a0, fn=..., nam=..., Components=3, pageNs=std::vector of length 7, capacity 8 = {...}, thumbs=...) at /home/.../Scribus/scribus/pdflib.cpp:19
#16 0x0000000000d27541 in ScribusMainWindow::getPDFDriver(QString const&, QString const&, int, std::vector<int, std::allocator<int> > const&, QMap<int, QPixmap> const&, QString&, bool*) (this=0x1ab00d0, filename=..., name=..., components=3, pageNumbers=std::vector of length 7, capacity 8 = {...},
 thumbs=..., error=..., cancelled=0x0)
    at /home/.../Scribus/scribus/scribus.cpp:7010
#17 0x0000000000d2882f in ScribusMainWindow::doSaveAsPDF() (this=0x1ab00d0)
    at /home/.../Scribus/scribus/scribus.cpp:7149
#18 0x00000000007dc1a7 in ScribusMainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x1ab00d0, _c=QMetaObject::InvokeMetaMethod, _id=177, _a=0x7fffffffcd10)
    at /home/.../Scribus/build/scribus/moc_scribus.cpp:1152
#19 0x00007ffff763436e in QMetaObject::activate(QObject*, int, int, void**) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#20 0x00000000007ea247 in CheckDocument::ignoreAllErrors() (this=0x25e1b10)
    at /home/.../Scribus/build/scribus/ui/moc_checkDocument.cpp:254
#21 0x00000000007e9ca1 in CheckDocument::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x25e1b10, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fffffffcf50)
    at /home/.../Scribus/build/scribus/ui/moc_checkDocument.cpp:113
#22 0x00007ffff763436e in QMetaObject::activate(QObject*, int, int, void**) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#23 0x00007ffff6fd5fc2 in QAbstractButton::clicked(bool) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#24 0x00007ffff6d463f5 in  () at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#25 0x00007ffff6d46f89 in  () at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#26 0x00007ffff6d47124 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#27 0x00007ffff6c8d0b8 in QWidget::event(QEvent*) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#28 0x00007ffff6c4c4dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#29 0x00007ffff6c51e25 in QApplication::notify(QObject*, QEvent*) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#30 0x00007ffff76066a3 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#31 0x00007ffff6c50ab2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#32 0x00007ffff6ca7e45 in  () at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#33 0x00007ffff6caa17b in  () at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#34 0x00007ffff6c4c4dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#35 0x00007ffff6c51640 in QApplication::notify(QObject*, QEvent*) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#36 0x00007ffff76066a3 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#37 0x00007ffff63d30ad in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /home/.../Qt/5.5/gcc_64/lib/libQt5Gui.so.5
#38 0x00007ffff63d4a85 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /home/.../Qt/5.5/gcc_64/lib/libQt5Gui.so.5
#39 0x00007ffff63b9c4f in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/.../Qt/5.5/gcc_64/lib/libQt5Gui.so.5
#40 0x00007fffe9800170 in  ()
    at /home/.../Qt/5.5/gcc_64/plugins/platforms/../../lib/libQt5XcbQpa.so.5
#41 0x00007fffede15a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#42 0x00007fffede15c48 in  () at /usr/lib64/libglib-2.0.so.0
#43 0x00007fffede15cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#44 0x00007ffff765bae7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#45 0x00007ffff7604252 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#46 0x00007ffff760bd3d in QCoreApplication::exec() ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#47 0x00000000012f9738 in mainApp(int, char**) (argc=1, argv=0x7fffffffdd18)
    at /home/.../Scribus/scribus/main_nix.cpp:78
#48 0x00000000012f96c5 in main(int, char**) (argc=1, argv=0x7fffffffdd18)
    at /home/.../Scribus/scribus/main_nix.cpp:54
(gdb) bt full
#0  0x00007ffff2002187 in raise () at /lib64/libc.so.6
#1  0x00007ffff2003538 in abort () at /lib64/libc.so.6
#2  0x00007ffff1ffb126 in __assert_fail_base () at /lib64/libc.so.6
#3  0x00007ffff1ffb1d2 in  () at /lib64/libc.so.6
#4  0x0000000000d5086b in abort_on_error(QtMsgType, QMessageLogContext const&, QString const&) (t=QtFatalMsg, m=...) at /home/.../Scribus/scribus/scribuscore.cpp:76
        __PRETTY_FUNCTION__ = "void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&)"
#5  0x00007ffff7405721 in  () at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#6  0x00007ffff74070a6 in QMessageLogger::fatal(char const*, ...) const ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#7  0x00007ffff7402681 in  () at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#8  0x000000000093cf83 in QList<unsigned int>::operator[](int) const (this=0x7fffffffb760, i=2000000025) at /home/.../Qt/5.5/gcc_64/include/QtCore/qlist.h:514
#9  0x000000000136453e in sfnt::copyGlyph(QList<unsigned int>&, QByteArray&, unsigned int, QList<unsigned int> const&, QByteArray const&, unsigned int, QMap<unsigned int, unsigned int>&, unsigned int&) (destLoca=..., destGlyf=..., destGid=87, srcLoca=..., srcGlyf=..., srcGid=2000000025, newForOldGid=..., nextFreeGid=@0x7fffffffb72c: 89)
    at /home/.../Scribus/scribus/fonts/sfnt.cpp:1007
        glyphStart = 0
        i = 0
        __PRETTY_FUNCTION__ = "QList<unsigned int> sfnt::copyGlyph(QList<unsigned int>&, QByteArray&, uint, const QList<unsigned int>&, const QByteArray&, uint, QMap<unsigned int, unsigned int>&, uint&)"
        compositeElements = 
            {<QListSpecialMethods<unsigned int>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7ffff76f6a30 <QListData::shared_null>}, d = 0x7ffff76f6a30 <QListData::shared_null>}}
        glyphLength = 9692743
#10 0x0000000001364bb7 in sfnt::subsetFace(QByteArray const&, QList<unsigned int>&) (ttf=..., glyphs=...) at /home/.../Scribus/scribus/fonts/sfnt.cpp:1064
        oldGid = 2000000025
        i = 87
        oldGlyf = {static MaxSize = 1073741800, d = 0x2df60f0}
        newLoca = 
            {<QListSpecialMethods<unsigned int>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x45fbf00}, d = 0x45fbf00}}
        nextFreeGid = 89
        oldLoca = 
            {<QListSpecialMethods<unsigned int>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x45f7ef0}, d = 0x45f7ef0}}
        newGlyf = {static MaxSize = 1073741800, d = 0x4600120}
        cmap = {d = 0x7ffff236e620 <main_arena>}
        firstChar = 73366240
        fpgm = {static MaxSize = 1073741800, d = 0x7fffffffb7c0}
        tableP = {i = 0x7fffffffb7a0}
        newForOldGid = {d = 0x430fc90}
        lastChar = 0
        head = {static MaxSize = 1073741800, d = 0x7fffffffb870}
        __PRETTY_FUNCTION__ = "QByteArray sfnt::subsetFace(const QByteArray&, QList<unsigned int>&)"
        post = {static MaxSize = 1073741800, d = 0x341b6d0}
        prep = {static MaxSize = 1073741800, d = 0x7fffffffb7e0}
        font = {static MaxSize = 1073741800, d = 0x430ab10}
        checkSumAdjustment = 32767
        tables = {d = 0x7ffff7736ba0 <QMapDataBase::shared_null>}
        it = {i = 0x0}
        maxp = {static MaxSize = 1073741800, d = 0x7fff00000005}
        hhea = {static MaxSize = 1073741800, d = 0x7fffffffb810}
        name = {static MaxSize = 1073741800, d = 0x7fffffffb7e0}
        cvt = {static MaxSize = 1073741800, d = 0x7fffffffb7d0}
        headTable = 4294949936
        os2 = {static MaxSize = 1073741800, d = 0x1}
#11 0x0000000000abd2bc in PDFLibCore::PDF_WriteTtfSubsetFont(QByteArray const&, ScFace&, QMap<unsigned int, FPointArray> const&) (this=0x4503390, fontName=..., face=..., RealGlyphs=...)
    at /home/.../Scribus/scribus/pdflib_core.cpp:1731
        font = {static MaxSize = 1073741800, d = 0x459e0b0}
        baseFont = {static MaxSize = 1073741800, d = 0x7ffff2b915e0 <std::cerr>}
        __PRETTY_FUNCTION__ = "PdfFont PDFLibCore::PDF_WriteTtfSubsetFont(const QByteArray&, ScFace&, const QMap<unsigned int, FPointArray>&)"
        glyphs = 
            {<QListSpecialMethods<unsigned int>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x45f7ae0}, d = 0x45f7ae0}}
        embeddedFontObj = 46741968
        subEncoding = {d = 0x100000000}
        glyphmap = {d = 0x1}
        subset = {static MaxSize = 1073741800, d = 0x430ab10}
        fontDes = 0
        fullEncoding = {d = 0x7fff00000000}
        result = 
            {name = {static MaxSize = 1073741800, d = 0x4599550}, method = 4149828843, encoding = (Encode_256 | Encode_224 | Encode_IdentityH | unknown: 32286), usage = (Used_in_Content | unknown: 72624320), glyphmap = {d = 0x457f7e0}}
#12 0x0000000000abfa7c in PDFLibCore::PDF_Begin_WriteUsedFonts(SCFonts&, QMap<QString, QMap<unsigned int, FPointArray> > const&) (this=0x4503390, AllFonts=..., ReallyUsed=...)
    at /home/.../Scribus/scribus/pdflib_core.cpp:1946
        fformat = ScFace::SFNT
        pdfFont = 
            {name = {static MaxSize = 1073741800, d = 0x7ffff76f4a60 <QArrayData::shared_null>}, method = 8153029, encoding = Encode_Subset, usage = (unknown: 2), glyphmap = {d = 0x7ffff7736ba0 <QMapDataBase::shared_null>}}
        fontName = {static MaxSize = 1073741800, d = 0x459deb0}
        meth = {static null = {<No data fields>}, d = 0x459ddc0}
        face = 
            @0x284da60: {static CONTROL_GLYPHS = 2000000000, m = 0x1b2a2d0, replacedName = {static null = {<No data fields>}, d = 0x7ffff76f4a60 <QArrayData::shared_null>}, replacedInDoc = {static null = {<No data fields>}, d = 0x7ffff76f4a60 <QArrayData::shared_null>}}
        __PRETTY_FUNCTION__ = "void PDFLibCore::PDF_Begin_WriteUsedFonts(SCFonts&, const QMap<QString, QMap<unsigned int, FPointArray> >&)"
        it = {i = 0x459e080}
        a = 0
#13 0x0000000000aae686 in PDFLibCore::PDF_Begin_Doc(QString const&, SCFonts&, QMap<QString, QMap<unsigned int, FPointArray> > const&, BookMView*) (this=0x4503390, fn=..., AllFonts=..., DocFonts=..., vi=0x25d5f40) at /home/.../Scribus/scribus/pdflib_core.cpp:651
        fiBase = {d_ptr = {d = 0x4599a10}}
        baseDir = {static null = {<No data fields>}, d = 0x4599b40}
#14 0x0000000000aacaa1 in PDFLibCore::doExport(QString const&, QString const&, int, std::vector<int, std::allocator<int> > const&, QMap<int, QPixmap> const&) (this=0x4503390, fn=..., nam=..., Components=3, pageNs=std::vector of length 7, capacity 8 = {...}, thumbs=...)
    at /home/.../Scribus/scribus/pdflib_core.cpp:223
        ret = false
        pc_exportpages = 0
        pc_exportmasterpages = 0
        usedFonts = {d = 0x4573ef0}
        pm = <incomplete type>
        error = false
#15 0x0000000000aaa9b8 in PDFlib::doExport(QString const&, QString const&, int, std::vector<int, std::allocator<int> > const&, QMap<int, QPixmap> const&) (this=0x7fffffffc3a0, fn=..., nam=..., Components=3, pageNs=std::vector of length 7, capacity 8 = {...}, thumbs=...)
    at /home/.../Scribus/scribus/pdflib.cpp:19
#16 0x0000000000d27541 in ScribusMainWindow::getPDFDriver(QString const&, QString const&, int, std::vector<int, std::allocator<int> > const&, QMap<int, QPixmap> const&, QString&, bool*) (this=0x1ab00d0, filename=..., name=..., components=3, pageNumbers=std::vector of length 7, capacity 8 = {...}, thumbs=..., error=..., cancelled=0x0)
    at /home/.../Scribus/scribus/scribus.cpp:7010
        pdflib = 
          {<QObject> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x7ffff7aa9300 <QObject::staticMetaObject>, stringdata = 0x13c98c0 <qt_meta_stringdata_PDFlib>, data = 0x13c98e0 <qt_meta_data_PDFlib>, static_metacall = 0x7d5c4a <PDFlib::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, impl = 0x4503390}
        ret = false
#17 0x0000000000d2882f in ScribusMainWindow::doSaveAsPDF() (this=0x1ab00d0)
    at /home/.../Scribus/scribus/scribus.cpp:7149
        pageString = {static null = {<No data fields>}, d = 0x455ed00}
        pageNs = std::vector of length 7, capacity 8 = {1, 2, 3, 4, 5, 6, 7}
        components = 3
        pageNumbersSize = 7
        thumbs = {d = 0x457e480}
        nam = {static null = {<No data fields>}, d = 0x21c3000}
        fileName = {static null = {<No data fields>}, d = 0x253f6c0}
        errorMsg = 
          {static null = {<No data fields>}, d = 0x7ffff76f4a60 <QArrayData::shared_null>}
        ReallyUsed = {d = 0x237e1b0}
        optBleeds = {m_top = 0, m_left = 0, m_bottom = 0, m_right = 0}
        dia = 
          {<QDialog> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x7ffff7350840 <QDialog::staticMetaObject>, stringdata = 0x13f5400 <qt_meta_stringdata_PDFExportDialog>, data = 0x13f5500 <qt_meta_data_PDFExportDialog>, static_metacall = 0x7ffef4 <PDFExportDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, PDFExportLayout = 0x38b01a0, NameLayout = 0x21d8ef0, Layout7 = 0x44fa310, Name = 0x2d1ca90, multiFile = 0x2ebb060, openAfterExportCheckBox = 0x2eaa780, changeButton = 0x30f1df0, okButton = 0x2ffb1e0, cancelButton = 0x2eb2370, fileNameLineEdit = 0x2ebbde0, Options = 0x44acb90, m_doc = 0x2c93410, m_presEffects = {<QListSpecialMethods<PDFPresentationData>> = {<No data fields>}, {p = {static shared_
null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x4573cb0}, d = 0x4573cb0}}, m_opts = @0x2c93998, m_unitRatio = 0.35277777777777775, m_cmsDescriptor = {static null = {<No data fields>}, d = 0x21c3000}, m_components = 3, m_printerProfiles = @0x1abaa58}
#18 0x00000000007dc1a7 in ScribusMainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x1ab00d0, _c=QMetaObject::InvokeMetaMethod, _id=177, _a=0x7fffffffcd10)
    at /home/.../Scribus/build/scribus/moc_scribus.cpp:1152
        _t = 0x1ab00d0
#19 0x00007ffff763436e in QMetaObject::activate(QObject*, int, int, void**) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#20 0x00000000007ea247 in CheckDocument::ignoreAllErrors() (this=0x25e1b10)
    at /home/.../Scribus/build/scribus/ui/moc_checkDocument.cpp:254
#21 0x00000000007e9ca1 in CheckDocument::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x25e1b10, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fffffffcf50)
    at /home/.../Scribus/build/scribus/ui/moc_checkDocument.cpp:113
        _t = 0x25e1b10
#22 0x00007ffff763436e in QMetaObject::activate(QObject*, int, int, void**) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#23 0x00007ffff6fd5fc2 in QAbstractButton::clicked(bool) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#24 0x00007ffff6d463f5 in  () at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#25 0x00007ffff6d46f89 in  () at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#26 0x00007ffff6d47124 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#27 0x00007ffff6c8d0b8 in QWidget::event(QEvent*) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#28 0x00007ffff6c4c4dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#29 0x00007ffff6c51e25 in QApplication::notify(QObject*, QEvent*) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#30 0x00007ffff76066a3 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#31 0x00007ffff6c50ab2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#32 0x00007ffff6ca7e45 in  () at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#33 0x00007ffff6caa17b in  () at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#34 0x00007ffff6c4c4dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#35 0x00007ffff6c51640 in QApplication::notify(QObject*, QEvent*) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Widgets.so.5
#36 0x00007ffff76066a3 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#37 0x00007ffff63d30ad in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /home/.../Qt/5.5/gcc_64/lib/libQt5Gui.so.5
#38 0x00007ffff63d4a85 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /home/.../Qt/5.5/gcc_64/lib/libQt5Gui.so.5
#39 0x00007ffff63b9c4f in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/.../Qt/5.5/gcc_64/lib/libQt5Gui.so.5
#40 0x00007fffe9800170 in  ()
    at /home/.../Qt/5.5/gcc_64/plugins/platforms/../../lib/libQt5XcbQpa.so.5
#41 0x00007fffede15a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#42 0x00007fffede15c48 in  () at /usr/lib64/libglib-2.0.so.0
#43 0x00007fffede15cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#44 0x00007ffff765bae7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#45 0x00007ffff7604252 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#46 0x00007ffff760bd3d in QCoreApplication::exec() ()
    at /home/.../Qt/5.5/gcc_64/lib/libQt5Core.so.5
#47 0x00000000012f9738 in mainApp(int, char**) (argc=1, argv=0x7fffffffdd18)
    at /home/.../Scribus/scribus/main_nix.cpp:78
        app = 
    {<QApplication> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x7ffff7342380 <QApplication::staticMetaObject>, stringdata = 0x13d6b80 <qt_meta_stringdata_ScribusQApp>, data = 0x13d6c40 <qt_meta_data_ScribusQApp>, static_metacall = 0x7dd8a4 <ScribusQApp::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, static useGUI = true, pythonScript = {static null = {<No data fields>}, d = 0x7ffff76f4a60 <QArrayData::shared_null>}, m_ScCore = 0x1abaa20, lang = {static null = {<No data fields>}, d = 0x1a94ad0}, GUILang = {static null = {<No data fields>}, d = 0x1ab7550}, showSplash = false, showFontInfo = false, showProfileInfo = false, prefsUserFile = {static null = {<No data fields>}, d = 0x7ffff76f4a60 <QArrayData::shared_null>}, filesToLoad = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7ffff76f6a30 <QListData::shared_null>}, d = 0x7ffff76f6a30 <QListData::shared_null>}}, fileName = {static null = {<No data fields>}, d = 0x7ffff76f4a60 <QArrayData::shared_null>}, m_scDLMgr = 0x1a88820}
        appRetVal = 0
#48 0x00000000012f96c5 in main(int, char**) (argc=1, argv=0x7fffffffdd18)
    at /home/.../Scribus/scribus/main_nix.cpp:54
13240-Backtrace.txt (27,012 bytes)   

fyliu

2015-07-17 23:33

reporter   ~0035824

Last edited: 2015-07-17 23:35

Another console output. The place where it crashed looks the same as for 0013093.

ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/include/qt5/QtCore/qlist.h, line 476
scribus-trunk: /build/scribus-trunk-fZS28M/scribus-trunk-1.5.1svn~r20255~20150716~ppa37~ubuntu14.04.1/scribus/scribuscore.cpp:76: void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&): Assertion `false' failed.
Scribus Crash
-------------
Scribus crashes due to Signal 0000006
Calling Emergency Save

Kunda

2015-07-20 18:01

updater   ~0035847

Assigning to avox

Kunda

2015-07-25 13:14

updater   ~0035892

Fix committed by jghali to r20274
Thanks!

FirasH

2015-07-28 22:29

reporter   ~0035935

Thanks jghali!
Fix confirmed with 1.5.1.svn (20274).

Issue History

Date Modified Username Field Change
2015-07-17 22:24 fyliu New Issue
2015-07-17 22:24 fyliu File Added: export pdf crash.zip
2015-07-17 22:26 fyliu Tag Attached: export
2015-07-17 22:26 fyliu Tag Attached: pdf
2015-07-17 22:41 FirasH Product Version => 1.5.1svn
2015-07-17 22:41 FirasH Summary export to pdf crashes with signal 0000006 => export to pdf crashes with signal 6
2015-07-17 22:43 FirasH Note Added: 0035823
2015-07-17 22:43 FirasH Status new => confirmed
2015-07-17 22:51 FirasH File Added: 13240-Backtrace.txt
2015-07-17 23:33 fyliu Note Added: 0035824
2015-07-17 23:35 fyliu Note Edited: 0035824
2015-07-17 23:38 FirasH Relationship added related to 0013093
2015-07-20 18:01 Kunda Assigned To => avox
2015-07-20 18:01 Kunda Status confirmed => assigned
2015-07-20 18:01 Kunda Note Added: 0035847
2015-07-25 13:03 jghali Status assigned => resolved
2015-07-25 13:03 jghali Fixed in Version => 1.5.1svn
2015-07-25 13:03 jghali Resolution open => fixed
2015-07-25 13:03 jghali Assigned To avox => jghali
2015-07-25 13:14 Kunda Note Added: 0035892
2015-07-28 22:28 FirasH Tag Detached: export
2015-07-28 22:28 FirasH Tag Detached: pdf
2015-07-28 22:29 FirasH Note Added: 0035935
2015-07-28 22:29 FirasH Status resolved => closed