Save as EPS closes Inkscape

Bug #169066 reported by Bug Importer
10
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Critical
Ted Gould

Bug Description

Mac build 16340 dmg run on Macmini Intel duo core:

Saving as EPS (standard settings in the popup windows)
causes an internal error message and Inkscape to shut down.

Workaround:
If one is aware of this bug, save to SVG file and load it into 45.1 build
to save there as EPS.

Klaus <email address hidden>

Revision history for this message
Kur9kin (kur9kin) wrote :

Originator: NO

This was fixed in revision 16419 by johanengelen.
I confirmed that it works on Mac aswell.

Revision history for this message
Jack Tonkin (jacktonkin) wrote :

Originator: NO

This still fails for me in 16467 on an Intel core duo MacBook. I get a
similar effect trying to save as ps (not using Cairo).

I followed the gdb instructions on ... and didn't produce anything
particularly enlightening:

--
Starting program: /Applications/Inkscape.app/Contents/MacOS/Inkscape
2007-11-15 15:35:19.530 defaults[933]
The domain/default pair of (kCFPreferencesAnyApplication,
AppleAquaColorVariant) does not exist
2007-11-15 15:35:19.549 defaults[934]
The domain/default pair of (kCFPreferencesAnyApplication,
AppleHighlightColor) does not exist

(inkscape-bin:907): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
/Applications/Inkscape.app/Contents/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/gtkrc:42:
error: unexpected character `,', expected number (float)

glibmm-ERROR **:
unhandled exception (type unknown) in signal handler

aborting...

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can
fix it.

Program exited normally.
(gdb) bt
No stack.
--

I am happy to provide any more information / test any new builds.

Revision history for this message
Jack Tonkin (jacktonkin) wrote :

Originator: NO

Um... I meant I followed the instructions on
http://www.inkscape.org/report_bugs.php?lang=en

I don't know gdb so perhaps I can get more information somehow?

I also have a screenshot of the error dialogue if that helps...

I'm running OSX 10.4.10.

Revision history for this message
Kur9kin (kur9kin) wrote :

Originator: NO

Hmmm...

The error dialog might help.

Are you sure you got the new code in?
Try to check it out from scratch, and build it again.

The gdb output won't really tell us much in this case I'm afraid...

How far do you get? Do you get to enter the options for the EPS export?
Does it crash right after that? (Because the fix in the rev. i mentioned
took care
of a bug like that)

Can you export to any other formats? What works/what doesn't?

/Illiya

Revision history for this message
Jack Tonkin (jacktonkin) wrote :

Originator: NO

I am running the 16467 snapshot from
http://inkscape.modevia.com/macosx-snap/

I get to enter my options for export, and then it crashes when I click OK,
whichever choices I make.

I get this problem when saving as: .eps .ps (Cairo .ps works) .ai .espi.
All svg formats work, as does .odg (opens correctly in NeoOffice). Some
other formats fail to save due to missing bits of python, others appear to
work but I have no easy way of verifying their success (Tex looks right in
a text editor, for example).

What dependencies do I need to build inkscape? Are they all available via
MacPorts?

Thanks,

Jack

Revision history for this message
Jack Tonkin (jacktonkin) wrote :

Originator: NO

See http://www.mentorfoundation.org/uploads/Inkscape.png for screenshot of
error.

Revision history for this message
Pieter van Oostrum (pietvo) wrote :

I experience the same bug in inkscape 0.46. I have a stack trace

vonHalenbach (lustik)
Changed in inkscape:
assignee: nobody → keescook
status: New → Confirmed
nightrow (jb-benoit)
Changed in inkscape:
importance: Undecided → High
Kees Cook (kees)
Changed in inkscape:
assignee: keescook → nobody
Revision history for this message
ZeToken (sourceforge-zetoken) wrote :

Hi there,

Same problem (internal error of Inkscape and crash) occurs when saving to postscript, pdf, ps and EMF. I tried it with last SVN depository, and checked the same problem with precompiled Inkscape0802121743.7z
OS: Windows Vista Business

Revision history for this message
JiHO (jiho) wrote :

Works for me for EPS, Cairo PS etc. on Inkscape rev 17338

Revision history for this message
Johan Engelen (johanengelen) wrote :

Setting to milestone 0.46 because I think this is a definitive show stopper.
(it has worked, though I don't know from which SVN rev it stopped working)

Changed in inkscape:
milestone: none → 0.46
importance: High → Critical
Revision history for this message
JiHO (jiho) wrote :

Ignore my comment about rev 17338 above, it crashed there too (don't know why I thought it worked). Still does not work on rev 17373. I am attaching my crash log in case it helps.

Revision history for this message
Maximilian Albert (cilix) wrote :

I'm not sure if we are talking about more than one bug here [1]. But git-bisect says that the latest crash was introduced in rev #17244. Thus I'm assigning to Ted Gould for inspection. Here is another backtrace, in case it helps:

#0 Inkscape::Extension::Extension::get_state (this=0x0) at extension/extension.cpp:210
#1 0x0850ea33 in Inkscape::Extension::Effect::effect (this=0x0, doc=0x88fde00) at extension/effect.cpp:248
#2 0xb7d9a0b4 in Gtk::Dialog_Class::response_callback () from /usr/lib/libgtkmm-2.4.so.1
#3 0xb73ba6aa in g_cclosure_marshal_VOID () from /usr/lib/libgobject-2.0.so.0
#4 0xb73abf39 in ?? () from /usr/lib/libgobject-2.0.so.0
#5 0x0a5bcb60 in ?? ()
#6 0x00000000 in ?? ()

[1] Just a guess because the original bug was allegedly fixed, and when I tested some revisions later than the ones mentioned in the above posts they worked for me.

Changed in inkscape:
assignee: nobody → ted-gould
Revision history for this message
theAdib (theadib) wrote :

I don't know if the commit 17420 solves all the issues.
It simply test in (only) one specific case the pointer to NULL.

Pls test and report. Adib.

Revision history for this message
Dino (martin-tomko) wrote :

It still crashes with the latest 0.46 pre 1 release. It did also with 0.45-1.
It crashes when you do save as copy and also when just doing save as with default settings. Once you tick embed fonts it works fine (although there are no texts in the drawing).

Frustrating...

Revision history for this message
Pieter van Oostrum (pietvo) wrote : [Bug 169066] Re: Save as EPS closes Inkscape

>>>>> theAdib <email address hidden> (A) wrote:

>A> I don't know if the commit 17420 solves all the issues.
>A> It simply test in (only) one specific case the pointer to NULL.

>A> Pls test and report. Adib.

Hello Adib,

It works for me. Thanks. Do you want a formal response in the tracker?

Regards,
--
Piet van Oostrum <email address hidden>
URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4]
Private email: <email address hidden>

Revision history for this message
Pieter van Oostrum (pietvo) wrote :

>>>>> Dino <email address hidden> (D) wrote:

>D> It still crashes with the latest 0.46 pre 1 release. It did also with 0.45-1.
>D> It crashes when you do save as copy and also when just doing save as with default settings. Once you tick embed fonts it works fine (although there are no texts in the drawing).

>D> Frustrating...

It is solved in SVN.
--
Piet van Oostrum <email address hidden>
URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4]
Private email: <email address hidden>

Revision history for this message
ScislaC (scislac) wrote :

I can't reproduce personally (on win32 nor ubuntu hardy)... please let us know if it's still an issue for you.

Revision history for this message
Ted Gould (ted) wrote :

Fixed in SVN.

Changed in inkscape:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.