View Issue Details

IDProjectCategoryView StatusLast Update
0001930ScribusImport / Exportpublic2005-09-09 19:15
ReporterAReichel Assigned Tofschmid  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
PlatformGentoo 2005.0OSLinuxOS VersionKernel 2.6.11
Product Version1.3.0cvs 
Fixed in Version1.3.1cvs 
Summary0001930: Export produces broken PDF or EPS
DescriptionImporting some special SVG from the Gnome Icons produces always broken PDF-Files.
Acrobat cannot read them: "There was an error processing a page. A number is out of range". Ghostscript cannot handle neither the PDF nor the EPS-Files.
XPDF can show the PDF, but shows it with wrong colors.

Importing the SVG into Scribus works flawless, the optical result looks good. I can save and reaload the Scribus-file too.

I've attached a sample SVG, the Scribus-file and the PDF-output. Please help, I thank you in advance.

Best regards!
Steps To ReproduceImport the SVG.
Export to PDF.
Try to open the PDF with acrobat 7.
TagsNo tags attached.
Patch

Activities

2005-04-28 17:02

 

bug.sla (90,587 bytes)

2005-04-28 17:08

 

gnome-mime-text-x-install.svg (7,288 bytes)   
gnome-mime-text-x-install.svg (7,288 bytes)   

2005-04-28 17:08

 

bug.pdf (13,026 bytes)

cbradney

2005-04-28 18:18

administrator   ~0004451

Using that SVG with 1.2.2cvs works fine. Can you please upload the SVG of the one in the SLA file?

AReichel

2005-04-29 05:11

reporter   ~0004453

okay, i've tried the same SVG and the same procedure with Scribus-1.3.0cvs and it gives the same errorneous PDF.
but this time, it warns me about tranparencies befor i export the PDF.

any hints? best regards!

2005-04-29 05:11

 

bug1.sla (72,354 bytes)

2005-04-29 05:12

 

bug1.pdf (9,669 bytes)

AReichel

2005-04-29 05:13

reporter   ~0004454

i've attached the files created with 1.3.0cvs as bug1.*

fschmid

2005-04-29 05:25

developer   ~0004455

Please update to latest CVS, dated 28.04.05 in the About Box, last night i definitly fixed that bug.

cbradney

2005-04-29 05:28

administrator   ~0004456

I dont get any errors with 1.3.0cvs. The preflight checker will warn you about transparencies if its set to certain levels of PDF, or PS. Please update. You still did not upload the SVG thats contained in bug.sla.

plinnell

2005-04-30 10:28

viewer   ~0004462

1.3.0

If I import this SVG into a new open doc, then export:

Scanning PDF file
   **** Warning: File has an invalid xref entry: 10. Rebuilding xref table.
%GSVIEW_PDF_PAGES: 1 1

This comes from GS 8.51, gsview 4.7.

Both Reader 7 and Reader 5.0.10 throw a "file being repaired' dialog, then open.

If I have no docs open then import the SVG it works fine.

PitStop indicates "Needs Repair on Open".

Tested 1.2.2cvs. Passes all tests.

AReichel

2005-04-30 10:58

reporter   ~0004465

ok, i've just compiled 1.2.2cvs directly from cvs, the about-dialog tells me the correct date 28.4.5.
now it works perfectly! i can confirm, that its fixed now in 1.2.2cvs.

however, you need to get the source directly from cvs! the cvs-snapshots are older even if the are named daily snapshots. this confused me a little bit.

i've sent a fixed ebuild for cvs already (was broken before), which builds directly from cvs.

AReichel

2005-04-30 11:02

reporter   ~0004466

@cbradney: i'm sorry, perhaps i'm only too stupid, because i'm not a native english speaker. what means "You still did not upload the SVG thats contained in bug.sla."? please take a look to my attached files, there are the *.sla, AND the *.svg. what exactly else i need to do???

however: thank you really much for your kind and very quick help! best regards.

plinnell

2005-05-15 11:23

viewer   ~0004643

tested this with current cvs both 1.2.2 and 1.3.0 it is defintely fixed. Passes all tests.

plinnell

2005-05-15 11:35

viewer   ~0004644

This bug is a fun one ;)

Doing some more testing with that SVG unearthed a related crash bug.

Import that SVG into 13.0cvs, then Ctrl Drag the SVG to enlarge the SVG.

Then try to export an EPS. This triggers a a crash. Using the SVG with original dimensions does not trigger the crash. 1.2.2 does not crash ever.

plinnell

2005-05-15 11:35

viewer   ~0004645

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1073884928 (LWP 1164)]
0x4226395b in PSLib::CreatePS (this=0x8d11b50, Doc=0x89b6b20, view=0x8a08c18, pageNs=@0xbfffe3c0,
    sep=false, SepNam=
      {static null = {static null = <same as static member of an already seen type>, d = 0x85930c0, static shared_null = 0x85930c0}, d = 0x89f5c00, static shared_null = 0x85930c0}, farb=true,
    Hm=false, Vm=false, Ic=true, gcr=true, doDev=false) at pslib.cpp:969
969 gx -= Doc->Pages.at(pgNum)->Xoffset;
(gdb) bt
#0 0x4226395b in PSLib::CreatePS (this=0x8d11b50, Doc=0x89b6b20, view=0x8a08c18,
    pageNs=@0xbfffe3c0, sep=false, SepNam=
      {static null = {static null = <same as static member of an already seen type>, d = 0x85930c0, static shared_null = 0x85930c0}, d = 0x89f5c00, static shared_null = 0x85930c0}, farb=true,
    Hm=false, Vm=false, Ic=true, gcr=true, doDev=false) at pslib.cpp:969
0000001 0x084913e6 in ScribusApp::DoSaveAsEps (this=0x86207e0, fn=
      {static null = {static null = <same as static member of an already seen type>, d = 0x85930c0, static shared_null = 0x85930c0}, d = 0x8cf8b20, static shared_null = 0x85930c0})
    at scribus.cpp:8165
0000002 0x08491d6f in ScribusApp::reallySaveAsEps (this=0x86207e0) at scribus.cpp:8239
0000003 0x08454d38 in ScribusApp::qt_invoke (this=0x86207e0, _id=208, _o=0xbfffe570) at scribus.moc:964
0000004 0x412bda5e in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000005 0x412be206 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000006 0x0817e4c0 in CheckDocument::ignoreAllErrors (this=0x8924548) at checkDocument.moc:177
0000007 0x0817e712 in CheckDocument::qt_emit (this=0x8924548, _id=9, _o=0xbfffe680)
    at checkDocument.moc:201
0000008 0x412bda91 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000009 0x412be206 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000010 0x416176bc in QButton::clicked () from /usr/lib/qt3/lib/libqt-mt.so.3
0000011 0x41356374 in QButton::mouseReleaseEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000012 0x412f4045 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
0000013 0x4125b2ef in QApplication::internalNotify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000014 0x4125d696 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000015 0x411f899e in QETWidget::translateMouseEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000016 0x411f7856 in QApplication::x11ProcessEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000017 0x41208248 in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3
0000018 0x41273281 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
0000019 0x412730c6 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000020 0x4125cd7f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000021 0x084a6398 in mainApp (argc=1, argv=0xbffff1b4) at main.cpp:218
0000022 0x084a5f3a in main (argc=1, argv=0xbffff1b4) at main.cpp:131

ringerc

2005-06-14 07:20

reporter   ~0005022

mrdocs, I just got the same error as in 0004462 (xref table 10, "needs repair" from acroread) with a new document created in current 1.3cvs with a transparent PNG I'd just created with the GIMP.

This is definitely still around :S

plinnell

2005-06-30 05:36

viewer   ~0005251

Crash is still there with new SVG fixes.

[Switching to Thread 1073876768 (LWP 3521)]
0x4308e157 in PSLib::CreatePS ()
   from /usr/local/lib/scribus//libs/libpostscript.so
(gdb) bt
#0 0x4308e157 in PSLib::CreatePS ()
   from /usr/local/lib/scribus//libs/libpostscript.so
0000001 0x084a8d1e in ScribusApp::DoSaveAsEps () at applytemplatedialog.ui.h:20
0000002 0x084a968e in ScribusApp::reallySaveAsEps () at applytemplatedialog.ui.h:20
0000003 0x084a9979 in ScribusApp::SaveAsEps () at applytemplatedialog.ui.h:20
0000004 0x084cba00 in ScribusApp::qt_invoke () at applytemplatedialog.ui.h:20
0000005 0x417eaa5e in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000006 0x417eb206 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000007 0x41b5f069 in QAction::activated () from /usr/lib/qt3/lib/libqt-mt.so.3
0000008 0x4193725e in QAction::internalActivation ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000009 0x41b5ee87 in QAction::qt_invoke () from /usr/lib/qt3/lib/libqt-mt.so.3
0000010 0x08335cbc in ScrAction::qt_invoke (this=0x86a4e40, _id=8, _o=0xbfffe640)
    at scraction.moc:208
0000011 0x417eaa5e in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000012 0x41b3c872 in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000013 0x41807fb3 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
0000014 0x418fb2a8 in QPopupMenu::mouseReleaseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000015 0x41821045 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
0000016 0x417882ef in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000017 0x4178a696 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000018 0x41725c1b in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000019 0x41724856 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000020 0x41735248 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000021 0x417a0281 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
0000022 0x417a00c6 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000023 0x41789d7f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000024 0x084de3c1 in mainApp () at applytemplatedialog.ui.h:20
0000025 0x084de448 in main () at applytemplatedialog.ui.h:20

fschmid

2005-09-09 19:08

developer   ~0006491

Seems to be fixed with the latest fixes in this area.

plinnell

2005-09-09 19:15

viewer   ~0006492

Closing. I agree its fixed now.

Issue History

Date Modified Username Field Change
2005-04-28 17:02 AReichel New Issue
2005-04-28 17:02 AReichel File Added: bug.sla
2005-04-28 17:08 AReichel File Added: gnome-mime-text-x-install.svg
2005-04-28 17:08 AReichel File Added: bug.pdf
2005-04-28 18:18 cbradney Note Added: 0004451
2005-04-28 21:11 fschmid Status new => resolved
2005-04-28 21:11 fschmid Fixed in Version => 1.2.2cvs
2005-04-28 21:11 fschmid Resolution open => fixed
2005-04-28 21:11 fschmid Assigned To => fschmid
2005-04-29 05:11 AReichel Status resolved => feedback
2005-04-29 05:11 AReichel Resolution fixed => reopened
2005-04-29 05:11 AReichel Note Added: 0004453
2005-04-29 05:11 AReichel File Added: bug1.sla
2005-04-29 05:12 AReichel File Added: bug1.pdf
2005-04-29 05:13 AReichel Note Added: 0004454
2005-04-29 05:25 fschmid Note Added: 0004455
2005-04-29 05:25 fschmid Status feedback => resolved
2005-04-29 05:25 fschmid Resolution reopened => fixed
2005-04-29 05:28 cbradney Note Added: 0004456
2005-04-30 10:28 plinnell Note Added: 0004462
2005-04-30 10:28 plinnell Severity crash => minor
2005-04-30 10:28 plinnell Resolution fixed => reopened
2005-04-30 10:30 plinnell Status resolved => feedback
2005-04-30 10:30 plinnell Product Version 1.2.1 => 1.3.0cvs
2005-04-30 10:30 plinnell Fixed in Version 1.2.2cvs =>
2005-04-30 10:58 AReichel Note Added: 0004465
2005-04-30 11:02 AReichel Note Added: 0004466
2005-05-15 11:23 plinnell Note Added: 0004643
2005-05-15 11:23 plinnell Status feedback => resolved
2005-05-15 11:23 plinnell Resolution reopened => fixed
2005-05-15 11:23 plinnell Fixed in Version => 1.2.2cvs
2005-05-15 11:23 plinnell Status resolved => closed
2005-05-15 11:24 plinnell Fixed in Version 1.2.2cvs => 1.3.0cvs
2005-05-15 11:35 plinnell Note Added: 0004644
2005-05-15 11:35 plinnell Severity minor => crash
2005-05-15 11:35 plinnell Status closed => confirmed
2005-05-15 11:35 plinnell Resolution fixed => reopened
2005-05-15 11:35 plinnell Note Added: 0004645
2005-05-15 11:36 plinnell Fixed in Version 1.3.0cvs =>
2005-06-14 07:20 ringerc Note Added: 0005022
2005-06-30 05:36 plinnell Note Added: 0005251
2005-06-30 05:36 plinnell Status confirmed => assigned
2005-09-09 19:08 fschmid Status assigned => resolved
2005-09-09 19:08 fschmid Fixed in Version => 1.3.1cvs
2005-09-09 19:08 fschmid Resolution reopened => fixed
2005-09-09 19:08 fschmid Note Added: 0006491
2005-09-09 19:15 plinnell Note Added: 0006492
2005-09-09 19:15 plinnell Status resolved => closed