Comment 3 for bug 882167

Revision history for this message
su_v (suv-lp) wrote : Re: invalid eps file created from null/empty svg file

Current trunk (r10696) fails to export such an 'empty' SVG file - backtrace from gdb:

(gdb) r -f 882167-nil-closed.svg -E 882167-nil-closed-r10696-gdb.eps
Starting program: /Volumes/green/mp-inkscape/src/inkscape-trunk/Build/bin/inkscape -f 882167-nil-closed.svg -E 882167-nil-closed-r10696-gdb.eps

(…)

** Message: CairoRenderer: empty bounding box.
terminate called after throwing an instance of 'Inkscape::Extension::Output::save_failed'

Program received signal SIGABRT, Aborted.
0x95087d52 in __kill ()
(gdb) bt
#0 0x95087d52 in __kill ()
#1 0x95087d44 in kill$UNIX2003 ()
#2 0x950fa242 in raise ()
#3 0x95106681 in abort ()
#4 0x97154005 in __gnu_cxx::__verbose_terminate_handler ()
#5 0x9715210c in __gxx_personality_v0 ()
#6 0x9715214b in std::terminate ()
#7 0x97152261 in __cxa_throw ()
#8 0x0032dee5 in Inkscape::Extension::Output::save (this=0x45465f0, doc=0x5f4bf60, filename=0x4544080 "882167-nil-closed-r10696-gdb.eps") at extension/output.cpp:221
#9 0x00004aa9 in do_export_ps_pdf (doc=0x5f4bf60, uri=0x4544080 "882167-nil-closed-r10696-gdb.eps", mime=0x9f72b6 "image/x-e-postscript") at main.cpp:1565
#10 0x000067c6 in sp_process_file_list (fl=0x44201c0) at main.cpp:1043
#11 0x00007466 in sp_main_console (argc=5, argv=0xbffff008) at main.cpp:1168
#12 0x000081b5 in main (argc=5, argv=0xbffff008) at main.cpp:711
(gdb)