View Issue Details

IDProjectCategoryView StatusLast Update
0013189ScribusPDFpublic2015-09-12 12:55
Reporterbrozkeff Assigned Tojghali  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
PlatformLinuxOSMintOS Version17.1 Xfce
Product Version1.5.1svn 
Target Version1.5.1Fixed in Version1.5.1svn 
Summary0013189: 1.5.1svn does not export vector objects to PDF 1.3 and crashes for other PDF versions
DescriptionRepost from 0013093 because I described two different bugs simultaneously and perhaps it is not related to the original bug.

I have a company newsletter that for certain reasons had to be done on Scribus 1.5.0svn on linux for almost a year because of some features not present in S 1.4.x.

Some vector graphics is being used over and over again each month. Recently a correct export to PDF is not possible anymore with the more recent 1.5.1svn versions on Linux:

- When exporting as PDF 1.3, it exports but without any vector objects on all pages.

- Exporting as anything else than PDF 1.3 crashes Scribus during the export (error 6 or 11), using Linux Mint 17.1 64bit with Xfce.

Very freshly I have also the Windows 1.5.0svn build (19 May 2015, Build ID: C-*-T-*-C1.12.18-Windows) running on Czech Windows 8.1 Pro 32bit and this build can succesfully open also the file modified by (newer) Linux build 1.5.1svn, and can export succesfully also with the vector graphics when using PDF 1.3 profile.

The SLA file has a lot of embedded images and is cca 20 MB big in size, using Linux Biolinum fonts.

Check both the SLA file (last edited and with PDF exported succesfully on Windows) and screenshots of an older version of the same file as exported in 1.5.0svn Windows version and 1.5.1svn Linux version - Linux version is the one without vector images)

https://akasha.brozkeff.net/owncloud/index.php/s/8OX4jLtSc75PURb
To avoid the SSL self-signed error you can also use the non-encrypted version at http://akasha.brozkeff.net/owncloud/index.php/s/8OX4jLtSc75PURb
Additional Informationreproduced on OSX 10.10.3 1.5.1svn r20224
TagsNo tags attached.
PatchNo

Relationships

related to 0013093 closedjghali Crash signal 6 when exporting as PDF 

Activities

cbradney

2015-06-30 12:23

administrator   ~0035575

Thanks for the report. Please ensure you are using 1.5.0 and no later for your work. We are changing a lot in 1.5.1.svn and things will be broken. Happy to have the report and review the issue though.

Kunda

2015-06-30 18:08

updater   ~0035590

Brozkeff, check 0013093:0035589 and also if you can provide a backtrace by running Scribus through a debugger.

Kunda

2015-06-30 19:10

updater   ~0035592

Backtrace:

ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/local/opt/qt5/lib/QtCore.framework/Headers/qlist.h, line 482
Assertion failed: (false), function abort_on_error, file /tmp/scribus20150630-2642-uax1by/scribus/scribuscore.cpp, line 76.
Process 14260 stopped
* thread 0000001: tid = 0x31e66, 0x00007fff912a4286 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00007fff912a4286 libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill:
-> 0x7fff912a4286 <+10>: jae 0x7fff912a4290 ; <+20>
    0x7fff912a4288 <+12>: movq %rax, %rdi
    0x7fff912a428b <+15>: jmp 0x7fff9129fc53 ; cerror_nocancel
    0x7fff912a4290 <+20>: retq
(lldb) bt
* thread 0000001: tid = 0x31e66, 0x00007fff912a4286 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
  * frame #0: 0x00007fff912a4286 libsystem_kernel.dylib`__pthread_kill + 10
    frame 0000001: 0x00007fff83ed942f libsystem_pthread.dylib`pthread_kill + 90
    frame 0000002: 0x00007fff83b13b53 libsystem_c.dylib`abort + 129
    frame 0000003: 0x00007fff83adbc39 libsystem_c.dylib`__assert_rtn + 321
    frame 0000004: 0x00000001003df618 Scribus`abort_on_error(QtMsgType, QMessageLogContext const&, QString const&) + 150
    frame 0000005: 0x0000000105bfb8ca QtCore`QMessageLogger::fatal(char const*, ...) const + 234
    frame 0000006: 0x0000000105bf6655 QtCore`qt_assert_x(char const*, char const*, char const*, int) + 85
    frame 0000007: 0x000000010081b089 Scribus`QList<unsigned int>::operator[](int) const + 81
    frame 0000008: 0x0000000100817a60 Scribus`sfnt::copyGlyph(QList<unsigned int>&, QByteArray&, unsigned int, QList<unsigned int> const&, QByteArray const&, unsigned int, QMap<unsigned int, unsigned int>&, unsigned int&) + 70
    frame 0000009: 0x0000000100817e4c Scribus`sfnt::subsetFace(QByteArray const&, QList<unsigned int>&) + 343
    frame 0000010: 0x000000010021c024 Scribus`PDFLibCore::PDF_WriteTtfSubsetFont(QByteArray const&, ScFace&, QMap<unsigned int, FPointArray> const&) + 218
    frame 0000011: 0x000000010020e5e4 Scribus`PDFLibCore::PDF_Begin_WriteUsedFonts(SCFonts&, QMap<QString, QMap<unsigned int, FPointArray> > const&) + 1206
    frame 0000012: 0x00000001001fc8ff Scribus`PDFLibCore::PDF_Begin_Doc(QString const&, SCFonts&, QMap<QString, QMap<unsigned int, FPointArray> > const&, BookMView*) + 201
    frame 0000013: 0x00000001001fbfd7 Scribus`PDFLibCore::doExport(QString const&, QString const&, int, std::__1::vector<int, std::__1::allocator<int> > const&, QMap<int, QPixmap> const&) + 227
    frame 0000014: 0x00000001003c4a5e Scribus`ScribusMainWindow::getPDFDriver(QString const&, QString const&, int, std::__1::vector<int, std::__1::allocator<int> > const&, QMap<int, QPixmap> const&, QString&, bool*) + 112
    frame 0000015: 0x00000001003c57fd Scribus`ScribusMainWindow::doSaveAsPDF() + 2891
    frame 0000016: 0x0000000105e53f49 QtCore`QMetaObject::activate(QObject*, int, int, void**) + 2953
    frame 0000017: 0x0000000105e53f49 QtCore`QMetaObject::activate(QObject*, int, int, void**) + 2953
    frame 0000018: 0x0000000104d00f50 QtWidgets`QAbstractButton::clicked(bool) + 64
    frame 0000019: 0x0000000104a5653a QtWidgets`QAbstractButtonPrivate::emitClicked() + 58
    frame 0000020: 0x0000000104a563a7 QtWidgets`QAbstractButtonPrivate::click() + 263
    frame 0000021: 0x0000000104a573de QtWidgets`QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 270
    frame 0000022: 0x00000001049b185b QtWidgets`QWidget::event(QEvent*) + 1675
    frame 0000023: 0x0000000104a57133 QtWidgets`QAbstractButton::event(QEvent*) + 179
    frame 0000024: 0x0000000104971713 QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 307
    frame 0000025: 0x0000000104974ec1 QtWidgets`QApplication::notify(QObject*, QEvent*) + 9233
    frame 0000026: 0x0000000105e21253 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 115
    frame 0000027: 0x00000001049720c4 QtWidgets`QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 1012
    frame 0000028: 0x00000001049cc906 QtWidgets`QWidgetWindow::handleMouseEvent(QMouseEvent*) + 1190
    frame 0000029: 0x00000001049cbb5f QtWidgets`QWidgetWindow::event(QEvent*) + 111
    frame 0000030: 0x0000000104971713 QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 307
    frame 0000031: 0x0000000104974b15 QtWidgets`QApplication::notify(QObject*, QEvent*) + 8293
    frame 0000032: 0x0000000105e21253 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 115
    frame 0000033: 0x0000000105028260 QtGui`QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 2032
    frame 0000034: 0x00000001050144ba QtGui`QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 346
    frame 0000035: 0x00000001084b0941 libqcocoa.dylib`QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33
    frame 0000036: 0x00007fff8a858a01 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame 0000037: 0x00007fff8a84ab8d CoreFoundation`__CFRunLoopDoSources0 + 269
    frame 0000038: 0x00007fff8a84a1bf CoreFoundation`__CFRunLoopRun + 927
    frame 0000039: 0x00007fff8a849bd8 CoreFoundation`CFRunLoopRunSpecific + 296
    frame 0000040: 0x00007fff90e0156f HIToolbox`RunCurrentEventLoopInMode + 235
    frame 0000041: 0x00007fff90e011ee HIToolbox`ReceiveNextEventCommon + 179
    frame 0000042: 0x00007fff90e0112b HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71
    frame 0000043: 0x00007fff88e3f9bb AppKit`_DPSNextEvent + 978
    frame 0000044: 0x00007fff88e3ef68 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
    frame 0000045: 0x00007fff88e34bf3 AppKit`-[NSApplication run] + 594
    frame 0000046: 0x00000001084af89a libqcocoa.dylib`QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2266
    frame 0000047: 0x0000000105e1ea3c QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 396
    frame 0000048: 0x0000000105e217fa QtCore`QCoreApplication::exec() + 346
    frame 0000049: 0x00000001007d5b99 Scribus`mainApp(int, char**) + 90
    frame 0000050: 0x00007fff900e55c9 libdyld.dylib`start + 1
    frame 0000051: 0x00007fff900e55c9 libdyld.dylib`start + 1

jghali

2015-07-01 06:35

administrator   ~0035597

I fixed the PDF 1.3 stuff. We need now avox to fix the subsetting crash.

Kunda

2015-07-02 17:21

updater   ~0035624

Reminder sent to: avox

Just in case it's not on your radar avox

Kunda

2015-07-25 13:14

updater   ~0035891

Fix committed by jghali to r20274
Thanks!

Kunda

2015-09-12 12:55

updater   ~0036191

Closing

Issue History

Date Modified Username Field Change
2015-06-30 08:43 brozkeff New Issue
2015-06-30 12:23 cbradney Note Added: 0035575
2015-06-30 18:05 Kunda Description Updated
2015-06-30 18:06 Kunda Relationship added related to 0013093
2015-06-30 18:08 Kunda Note Added: 0035590
2015-06-30 19:10 Kunda Note Added: 0035592
2015-06-30 19:10 Kunda Status new => confirmed
2015-06-30 19:11 Kunda Product Version => 1.5.1svn
2015-06-30 19:11 Kunda Additional Information Updated
2015-06-30 19:11 Kunda Severity major => crash
2015-06-30 22:03 jghali Target Version => 1.5.1
2015-07-01 06:32 jghali Summary 1.5.1svn on Linux does not export vector objects to PDF 1.3 and crashes for other PDF versions => 1.5.1svn does not export vector objects to PDF 1.3 and crashes for other PDF versions
2015-07-01 06:35 jghali Note Added: 0035597
2015-07-02 17:21 Kunda Note Added: 0035624
2015-07-25 13:04 jghali Status confirmed => resolved
2015-07-25 13:04 jghali Fixed in Version => 1.5.1svn
2015-07-25 13:04 jghali Resolution open => fixed
2015-07-25 13:04 jghali Assigned To => jghali
2015-07-25 13:14 Kunda Note Added: 0035891
2015-09-12 12:55 Kunda Note Added: 0036191
2015-09-12 12:55 Kunda Status resolved => closed