Skip site navigation (1)Skip section navigation (2)
Date:      01 Jul 2003 12:11:19 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Jeremy Messenger <mezz7@cox.net>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: gThumb2 and Nautilus2 crash if there has *.svg in directory..
Message-ID:  <1057075879.301.19.camel@gyros>
In-Reply-To: <oprrlxtxs38ckrg5@smtp.central.cox.net>
References:  <oprrlxtxs38ckrg5@smtp.central.cox.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-pMhBrurCNtjjqeFi3aRp
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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=20
> *.svg in the directory. It's using libc_r right now.
>=20
> I got the svg file from: ftp://ftp.gascom.ru/pub/GNOME2/Bg/beastie.svg ..=
 I=20
> 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

>=20
> I ran gthumb under the gdb and here's info:=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> $ gdb gthumb
>=20
> (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=3D0x83d9800, ch=3D0x83d9800 "",=20
> len=3D138254336)
>     at rsvg.c:906
> 906     rsvg.c: No such file or directory.
>         in rsvg.c
>=20
> (gdb) bt
> #0  0x293e7cf2 in rsvg_characters (data=3D0x83d9800, ch=3D0x83d9800 "",
>     len=3D138254336) at rsvg.c:906
> #1  0x2882b333 in xmlParseCharData (ctxt=3D0x8422800, cdata=3D0) at=20
> parser.c:2857
> #2  0x28835771 in xmlParseTryOrFinish (ctxt=3D0x8422800, terminate=3D0)
>     at parser.c:8736
> #3  0x288363be in xmlParseChunk (ctxt=3D0x8422800,
>     chunk=3D0xbfafde90 "<?xml version=3D\"1.0\" encoding=3D\"UTF-8\"=20
> standalone=3D\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG=20
> 20010904//EN\"\n\"http://www.w3.org/TR/2001/REC-SVG-
> 20010904/DTD/svg10.dtd\">\n<!-- Created with Sodipodi (\"http"...,=20
> size=3D4096, terminate=3D0) at parser.c:9209
> #4  0x293e7f6c in rsvg_handle_write_impl (handle=3D0x83d9800, buf=3D0x83d=
9800=20
> "",
>     count=3D138254336, error=3D0xbfafef98) at rsvg.c:1016
> #5  0x293e834a in rsvg_handle_write (handle=3D0xd0d0d0d0, buf=3D0x83d9800=
 "",
>     count=3D138254336, error=3D0x83d9800) at rsvg.c:1207
> #6  0x293b5c83 in gdk_pixbuf__svg_image_load_increment (data=3D0x841d1e0,
>     buf=3D0xbfafde90 "<?xml version=3D\"1.0\" encoding=3D\"UTF-8\"=20
> standalone=3D\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG=20
> 20010904//EN\"\n\"http://www.w3.org/TR/2001/REC-SVG-
> 20010904/DTD/svg10.dtd\">\n<!-- Created with Sodipodi (\"http"...,=20
> size=3D4096, error=3D0xbfafef98) at io-svg.c:104
> #7  0x28bf396d in _gdk_pixbuf_generic_image_load (module=3D0x819d700,
>     f=3D0x291ec300, error=3D0xbfafef98) at gdk-pixbuf-io.c:688
> #8  0x28bf1dc7 in gdk_pixbuf_animation_new_from_file (
>     filename=3D0x83dab00 "/usr/home/mezz/burncd/beastie.svg",=20
> error=3D0xbfafef98)
> ---Type <return> to continue, or q <return> to quit---
>     at gdk-pixbuf-animation.c:183
> #9  0x290c5205 in load_image_thread (thread_data=3D0x823a320)
>     at image-loader.c:491
> #10 0x28ee8c92 in g_thread_create_proxy (data=3D0x823c100) at gthread.c:5=
51
> #11 0x28e9556e in _thread_start ()
>     at /usr/src/lib/libc_r/uthread/uthread_create.c:275
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> Cheers,
> Mezz
--=20
PGP Key : http://www.marcuscom.com/pgp.asc



--=-pMhBrurCNtjjqeFi3aRp
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQA/AbKnb2iPiv4Uz4cRAiVaAKCpb8sOn+QYdd9A4EcYKMAfHiFoFQCeIHta
dA5eRgiMb96Mpczcy7sG9l4=
=ePTH
-----END PGP SIGNATURE-----

--=-pMhBrurCNtjjqeFi3aRp--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1057075879.301.19.camel>