gThumb2 and Nautilus2 crash if there has *.svg in directory..
Joe Marcus Clarke
marcus at marcuscom.com
Tue Jul 1 09:11:33 PDT 2003
On Mon, 2003-06-30 at 21:16, Jeremy Messenger wrote:
> gThumb2 (2.1.0_1) and Nautilus2 (2.3.6_1) will crash if there has any of
> *.svg in the directory. It's using libc_r right now.
>
> I got the svg file from: ftp://ftp.gascom.ru/pub/GNOME2/Bg/beastie.svg .. I
> can open it in Sodipodi with no problem, but gThumb2 and Nautilus2.
I recommend you rebuild graphics/librsvg2. I don't see this on my
-CURRENT GNOME 2.3 machine without malloc.conf using libc_r. Beastie
comes up just fine in Nautilus.
In gthumb, however, I can reproduce the crash. Not sure where the bug
lies exactly. As far as I know, Nautilus and gthumb use the same code
to draw SVG images. Since librsvg2-2.2.x works, I recommend you file
this as a bug with the librsvg developers.
Joe
>
> I ran gthumb under the gdb and here's info:
> ============================================
> $ gdb gthumb
>
> (gdb) r
> Starting program: /usr/X11R6/bin/gthumb
> ** (gthumb:13489): WARNING **:
> --- you're entering a whole world of pain ---
> Program received signal SIGBUS, Bus error.
> 0x293e7cf2 in rsvg_characters (data=0x83d9800, ch=0x83d9800 "",
> len=138254336)
> at rsvg.c:906
> 906 rsvg.c: No such file or directory.
> in rsvg.c
>
> (gdb) bt
> #0 0x293e7cf2 in rsvg_characters (data=0x83d9800, ch=0x83d9800 "",
> len=138254336) at rsvg.c:906
> #1 0x2882b333 in xmlParseCharData (ctxt=0x8422800, cdata=0) at
> parser.c:2857
> #2 0x28835771 in xmlParseTryOrFinish (ctxt=0x8422800, terminate=0)
> at parser.c:8736
> #3 0x288363be in xmlParseChunk (ctxt=0x8422800,
> chunk=0xbfafde90 "<?xml version=\"1.0\" encoding=\"UTF-8\"
> standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG
> 20010904//EN\"\n\"http://www.w3.org/TR/2001/REC-SVG-
> 20010904/DTD/svg10.dtd\">\n<!-- Created with Sodipodi (\"http"...,
> size=4096, terminate=0) at parser.c:9209
> #4 0x293e7f6c in rsvg_handle_write_impl (handle=0x83d9800, buf=0x83d9800
> "",
> count=138254336, error=0xbfafef98) at rsvg.c:1016
> #5 0x293e834a in rsvg_handle_write (handle=0xd0d0d0d0, buf=0x83d9800 "",
> count=138254336, error=0x83d9800) at rsvg.c:1207
> #6 0x293b5c83 in gdk_pixbuf__svg_image_load_increment (data=0x841d1e0,
> buf=0xbfafde90 "<?xml version=\"1.0\" encoding=\"UTF-8\"
> standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG
> 20010904//EN\"\n\"http://www.w3.org/TR/2001/REC-SVG-
> 20010904/DTD/svg10.dtd\">\n<!-- Created with Sodipodi (\"http"...,
> size=4096, error=0xbfafef98) at io-svg.c:104
> #7 0x28bf396d in _gdk_pixbuf_generic_image_load (module=0x819d700,
> f=0x291ec300, error=0xbfafef98) at gdk-pixbuf-io.c:688
> #8 0x28bf1dc7 in gdk_pixbuf_animation_new_from_file (
> filename=0x83dab00 "/usr/home/mezz/burncd/beastie.svg",
> error=0xbfafef98)
> ---Type <return> to continue, or q <return> to quit---
> at gdk-pixbuf-animation.c:183
> #9 0x290c5205 in load_image_thread (thread_data=0x823a320)
> at image-loader.c:491
> #10 0x28ee8c92 in g_thread_create_proxy (data=0x823c100) at gthread.c:551
> #11 0x28e9556e in _thread_start ()
> at /usr/src/lib/libc_r/uthread/uthread_create.c:275
> ============================================
>
> Cheers,
> Mezz
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20030701/da7f5ad5/attachment.bin
More information about the freebsd-gnome
mailing list