Comment 4 for bug 424564

Revision history for this message
Henry Cejtin (henry-cejtin) wrote : Re: [Bug 424564] Re: inkscape segfaults on opening this file

I'd take an error dialog or message about a bad SVG file, but not a segfault.
(Note, tidy did not complain, but that doesn't have the DTD.)

On Fri, Sep 4, 2009 at 5:18 PM, Alvin Penner<email address hidden> wrote:
> I do get a large number of warnings, however:
>
> ** (inkscape.exe:4024): WARNING **: URI failed to parse: ##bfefff
>
> these messages appear to come from the following source in the file:
>
> style="fill:url(##bfefff);stroke:black;;"
>
> I'm guessing that the line should read url(#bfefff), not url(##bfefff)
>
> --
> inkscape segfaults on opening this file
> https://bugs.launchpad.net/bugs/424564
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Inkscape: A Vector Drawing Tool: New
>
> Bug description:
> I  am  running  Debian  testing  on  AMD-64  hardware.  I have inscape 0.46-9
> installed.  The same thing happend  with  Ubuntu  Jaunty  i386  and  inkscape
> 0.46-5ubuntu4 installed.
>
> When you start inkscape with
>    inkscape pretty-out.svg
> it segfaults with the following output:
>
>    terminate called after throwing an instance of 'Inkscape::MalformedURIException'
>      what():  Malformed URI
>
>    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.
>    Segmentation fault
>
> If you just start inkscape with no argument, go to the File/Open menu and try
> to open the file pretty-out.svg it dies with the output:
>
>    glibmm-ERROR **:
>    unhandled exception (type std::exception) in signal handler:
>    what: Malformed URI
>
>    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.
>    Segmentation fault
>
> eog, for example, has no problem displaying this SVG file.
>