Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Dec 2009 13:54:53 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        "simon.prive@xs4all.nl" <simon.prive@xs4all.nl>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: Inkscape 0.47 crashing when using gradients ("libgobject-2.0.so.0" glib-2.22.2 FreeBSD 7.1 arch: AMD64))
Message-ID:  <1260989693.97856.164.camel@shumai.marcuscom.com>
In-Reply-To: <20091216202259.1e3d564e.simon.prive@xs4all.nl>
References:  <20091216202259.1e3d564e.simon.prive@xs4all.nl>

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

--=-2EVcaDpKTWfUc9JZyJKO
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

On Wed, 2009-12-16 at 20:22 +0100, simon.prive@xs4all.nl wrote:
> Inkscape 0.47 crashing when using gradients ("libgobject-2.0.so.0" glib-2=
.22.2 FreeBSD 7.1 arch: AMD64)
>=20
> When i:
> 1. draw a rectangle/square=20
> 2. create a gradient in it
> 3. Undo it
> 4. inkscape crashes
>=20
> The same with:
> 1. draw a rectangler/square
> 2. Menu Object, Fill and Stroke (shift+Ctrl+F)
> 3. choose a gradient
> 4. switch to another gradient
> 5. inkscape crashes

I can't reproduce on i386.  Any chance you can test there?  I have a
feeling this might be a case of 64-bit pointer truncation.

Joe

>=20
> Here are my debugging logs:
>=20
> GDB backtrace:
>=20
> Program received signal SIGSEGV, Segmentation fault.
> 0x00000008040ea68d in g_type_class_ref () from /usr/local/lib/libgobject-=
2.0.so.0
> (gdb) bt
> #0  0x00000008040ea68d in g_type_class_ref () from /usr/local/lib/libgobj=
ect-2.0.so.0
> #1  0x00000000004dd538 in std::_List_base<std::string, std::allocator<std=
::string> >::_M_clear ()
> #2  0x000000000057755c in sigc::visit_each<sigc::internal::limit_derived_=
target<sigc::trackable*, sigc::internal::slot_do_unbind>, sigc::trackable> =
()
> #3  0x0000000000570168 in sigc::visit_each<sigc::internal::limit_derived_=
target<sigc::trackable*, sigc::internal::slot_do_unbind>, sigc::trackable> =
()
> #4  0x000000000057234e in sigc::visit_each<sigc::internal::limit_derived_=
target<sigc::trackable*, sigc::internal::slot_do_unbind>, sigc::trackable> =
()
> #5  0x0000000000570168 in sigc::visit_each<sigc::internal::limit_derived_=
target<sigc::trackable*, sigc::internal::slot_do_unbind>, sigc::trackable> =
()
> #6  0x000000000057234e in sigc::visit_each<sigc::internal::limit_derived_=
target<sigc::trackable*, sigc::internal::slot_do_unbind>, sigc::trackable> =
()
> #7  0x0000000000570168 in sigc::visit_each<sigc::internal::limit_derived_=
target<sigc::trackable*, sigc::internal::slot_do_unbind>, sigc::trackable> =
()
> #8  0x000000000057234e in sigc::visit_each<sigc::internal::limit_derived_=
target<sigc::trackable*, sigc::internal::slot_do_unbind>, sigc::trackable> =
()
> #9  0x0000000000570168 in sigc::visit_each<sigc::internal::limit_derived_=
target<sigc::trackable*, sigc::internal::slot_do_unbind>, sigc::trackable> =
()
> #10 0x0000000000969e84 in std::vector<unsigned int, std::allocator<unsign=
ed int> >::_M_insert_aux ()
> #11 0x00000000005991b7 in std::vector<double, std::allocator<double> >::o=
perator=3D ()
> #12 0x000000000059d475 in std::vector<double, std::allocator<double> >::o=
perator=3D ()
> #13 0x00000000005991b7 in std::vector<double, std::allocator<double> >::o=
perator=3D ()
> #14 0x000000000059d475 in std::vector<double, std::allocator<double> >::o=
perator=3D ()
> #15 0x00000000005991b7 in std::vector<double, std::allocator<double> >::o=
perator=3D ()
> #16 0x000000000059ce02 in std::vector<double, std::allocator<double> >::o=
perator=3D ()
> #17 0x000000000059d1f2 in std::vector<double, std::allocator<double> >::o=
perator=3D ()
> #18 0x000000080443f671 in g_main_context_dispatch () from /usr/local/lib/=
libglib-2.0.so.0
> #19 0x0000000804442a0e in g_main_context_check () from /usr/local/lib/lib=
glib-2.0.so.0
> #20 0x0000000804442cdb in g_main_loop_run () from /usr/local/lib/libglib-=
2.0.so.0
> #21 0x000000080249f612 in gtk_main () from /usr/local/lib/libgtk-x11-2.0.=
so.0
>=20
>=20
>=20
> VALGRIND log:
>=20
> simon@devel$ valgrind --tool=3Dmemcheck inkscape
> =3D=3D46863=3D=3D Memcheck, a memory error detector
> =3D=3D46863=3D=3D Copyright (C) 2002-2009, and GNU GPL'd, by Julian Sewar=
d et al.
> =3D=3D46863=3D=3D Using Valgrind-3.5.0 and LibVEX; rerun with -h for copy=
right info
> =3D=3D46863=3D=3D Command: inkscape
> =3D=3D46863=3D=3D
> Xlib:  extension "Generic Event Extension" missing on display ":0.0".
> Xlib:  extension "Generic Event Extension" missing on display ":0.0".
> Xlib:  extension "Generic Event Extension" missing on display ":0.0".
> Xlib:  extension "Generic Event Extension" missing on display ":0.0".
> Xlib:  extension "Generic Event Extension" missing on display ":0.0".
> Xlib:  extension "Generic Event Extension" missing on display ":0.0".
> =3D=3D46863=3D=3D Invalid read of size 8
> =3D=3D46863=3D=3D    at 0x24777: ??? (in /libexec/ld-elf.so.1)
> =3D=3D46863=3D=3D    by 0x149DD: ??? (in /libexec/ld-elf.so.1)
> =3D=3D46863=3D=3D    by 0x169A6: ??? (in /libexec/ld-elf.so.1)
> =3D=3D46863=3D=3D    by 0x17B32: dlopen (in /libexec/ld-elf.so.1)
> =3D=3D46863=3D=3D    by 0x4A27B1F: g_module_open (in /usr/local/lib/libgm=
odule-2.0.so.0)
> =3D=3D46863=3D=3D    by 0x331EFDB: _gdk_pixbuf_load_module (in /usr/local=
/lib/libgdk_pixbuf-2.0.so.0)
> =3D=3D46863=3D=3D    by 0x332001B: gdk_pixbuf_new_from_file (in /usr/loca=
l/lib/libgdk_pixbuf-2.0.so.0)
> =3D=3D46863=3D=3D    by 0x8137CC: ??? (in /usr/local/bin/inkscape)
> =3D=3D46863=3D=3D    by 0x9AC27F: ??? (in /usr/local/bin/inkscape)
> =3D=3D46863=3D=3D    by 0x8113EB: ??? (in /usr/local/bin/inkscape)
> =3D=3D46863=3D=3D    by 0x6F189D: ??? (in /usr/local/bin/inkscape)
> =3D=3D46863=3D=3D    by 0x491059F: g_type_create_instance (in /usr/local/=
lib/libgobject-2.0.so.0)
> =3D=3D46863=3D=3D  Address 0xc508898 is 56 bytes inside a block of size 6=
1 alloc'd
> =3D=3D46863=3D=3D    at 0x24567B: malloc (in /usr/local/lib/valgrind/vgpr=
eload_memcheck-amd64-freebsd.so)
> =3D=3D46863=3D=3D    by 0x4C6C3CB: g_malloc (in /usr/local/lib/libglib-2.=
0.so.0)
> =3D=3D46863=3D=3D    by 0x4C82ADE: g_strdup (in /usr/local/lib/libglib-2.=
0.so.0)
> =3D=3D46863=3D=3D    by 0x4A27AD3: g_module_open (in /usr/local/lib/libgm=
odule-2.0.so.0)
> =3D=3D46863=3D=3D    by 0x331EFDB: _gdk_pixbuf_load_module (in /usr/local=
/lib/libgdk_pixbuf-2.0.so.0)
> =3D=3D46863=3D=3D    by 0x332001B: gdk_pixbuf_new_from_file (in /usr/loca=
l/lib/libgdk_pixbuf-2.0.so.0)
> =3D=3D46863=3D=3D    by 0x8137CC: ??? (in /usr/local/bin/inkscape)
> =3D=3D46863=3D=3D    by 0x9AC27F: ??? (in /usr/local/bin/inkscape)
> =3D=3D46863=3D=3D    by 0x8113EB: ??? (in /usr/local/bin/inkscape)
> =3D=3D46863=3D=3D    by 0x6F189D: ??? (in /usr/local/bin/inkscape)
> =3D=3D46863=3D=3D    by 0x491059F: g_type_create_instance (in /usr/local/=
lib/libgobject-2.0.so.0)
> =3D=3D46863=3D=3D    by 0x48F5D0C: ??? (in /usr/local/lib/libgobject-2.0.=
so.0)
> =3D=3D46863=3D=3D
> =3D=3D46863=3D=3D Syscall param write(buf) points to uninitialised byte(s=
)
> =3D=3D46863=3D=3D    at 0x6EEA78C: __sys_write (in /lib/libc.so.7)
> =3D=3D46863=3D=3D    by 0x6CFB05F: write (in /lib/libthr.so.3)
> =3D=3D46863=3D=3D    by 0x47BBECE: FcDirCacheWrite (in /usr/local/lib/lib=
fontconfig.so.1)
> =3D=3D46863=3D=3D    by 0x47C2519: FcDirCacheScan (in /usr/local/lib/libf=
ontconfig.so.1)
> =3D=3D46863=3D=3D    by 0x47BED18: FcConfigAddDirList (in /usr/local/lib/=
libfontconfig.so.1)
> =3D=3D46863=3D=3D    by 0x47BEF85: FcConfigBuildFonts (in /usr/local/lib/=
libfontconfig.so.1)
> =3D=3D46863=3D=3D    by 0x47C598A: FcInitLoadConfigAndFonts (in /usr/loca=
l/lib/libfontconfig.so.1)
> =3D=3D46863=3D=3D    by 0x47C5A4C: FcInit (in /usr/local/lib/libfontconfi=
g.so.1)
> =3D=3D46863=3D=3D    by 0x47BE281: FcConfigGetCurrent (in /usr/local/lib/=
libfontconfig.so.1)
> =3D=3D46863=3D=3D    by 0x47BE9B1: FcConfigSubstituteWithPat (in /usr/loc=
al/lib/libfontconfig.so.1)
> =3D=3D46863=3D=3D    by 0x34396BF: ??? (in /usr/local/lib/libpangocairo-1=
.0.so.0)
> =3D=3D46863=3D=3D    by 0x3F22A86: ??? (in /usr/local/lib/libpangoft2-1.0=
.so.0)
> =3D=3D46863=3D=3D  Address 0xd7ec9c4 is 212 bytes inside a block of size =
11,440 alloc'd
> =3D=3D46863=3D=3D    at 0x24567B: malloc (in /usr/local/lib/valgrind/vgpr=
eload_memcheck-amd64-freebsd.so)
> =3D=3D46863=3D=3D    by 0x47BC1C9: FcDirCacheBuild (in /usr/local/lib/lib=
fontconfig.so.1)
> =3D=3D46863=3D=3D    by 0x47C2504: FcDirCacheScan (in /usr/local/lib/libf=
ontconfig.so.1)
> =3D=3D46863=3D=3D    by 0x47BED18: FcConfigAddDirList (in /usr/local/lib/=
libfontconfig.so.1)
> =3D=3D46863=3D=3D    by 0x47BEF85: FcConfigBuildFonts (in /usr/local/lib/=
libfontconfig.so.1)
> =3D=3D46863=3D=3D    by 0x47C598A: FcInitLoadConfigAndFonts (in /usr/loca=
l/lib/libfontconfig.so.1)
> =3D=3D46863=3D=3D    by 0x47C5A4C: FcInit (in /usr/local/lib/libfontconfi=
g.so.1)
> =3D=3D46863=3D=3D    by 0x47BE281: FcConfigGetCurrent (in /usr/local/lib/=
libfontconfig.so.1)
> =3D=3D46863=3D=3D    by 0x47BE9B1: FcConfigSubstituteWithPat (in /usr/loc=
al/lib/libfontconfig.so.1)
> =3D=3D46863=3D=3D    by 0x34396BF: ??? (in /usr/local/lib/libpangocairo-1=
.0.so.0)
> =3D=3D46863=3D=3D    by 0x3F22A86: ??? (in /usr/local/lib/libpangoft2-1.0=
.so.0)
> =3D=3D46863=3D=3D    by 0x4507FDA: ??? (in /usr/local/lib/libpango-1.0.so=
.0)
> =3D=3D46863=3D=3D
>=20
> (inkscape:46863): Gdk-WARNING **: shmat failed: error 22 (Invalid argumen=
t)
>=20
> ** (inkscape:46863): WARNING **: Incomplete undo transaction:
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute inkscape:collect to=
 "always" on #<Element:0x0x10fc8a60>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute style to "stop-colo=
r:#0000ff;stop-opacity:1;" on #<Element:0x0x1145bfc0>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute offset to "0" on #<=
Element:0x0x1145bfc0>
>=20
> ** (inkscape:46863): WARNING **: Event: Added #<Element:0x0x10fc8a60> to =
#<Element:0x0x1145bfc0> after beginning
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute style to "stop-colo=
r:#0000ff;stop-opacity:0;" on #<Element:0x0x1321e420>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute offset to "1" on #<=
Element:0x0x1321e420>
>=20
> ** (inkscape:46863): WARNING **: Event: Added #<Element:0x0x10fc8a60> to =
#<Element:0x0x1321e420> after #<Element:0x0x1145bfc0>
>=20
> ** (inkscape:46863): WARNING **: Event: Added #<Element:0x0xa4354c0> to #=
<Element:0x0x10fc8a60> after beginning
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute id to "linearGradie=
nt2818" on #<Element:0x0x10fc8a60>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute id to "stop2820" on=
 #<Element:0x0x1145bfc0>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute id to "stop2822" on=
 #<Element:0x0x1321e420>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute style to "fill:#000=
0ff;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;s=
troke-linejoin:miter;stroke-opacity:1;fill-opacity:1.0" on #<Element:0x0x13=
1785f0>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute inkscape:collect to=
 "always" on #<Element:0x0xfb9b8c0>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute xlink:href to "#lin=
earGradient2818" on #<Element:0x0xfb9b8c0>
>=20
> ** (inkscape:46863): WARNING **: Event: Added #<Element:0x0xa4354c0> to #=
<Element:0x0xfb9b8c0> after #<Element:0x0xaed8a20>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute id to "linearGradie=
nt2824" on #<Element:0x0xfb9b8c0>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute x1 to "239.5" on #<=
Element:0x0xfb9b8c0>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute y1 to "515.21933" o=
n #<Element:0x0xfb9b8c0>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute x2 to "543.35715" o=
n #<Element:0x0xfb9b8c0>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute y2 to "515.21933" o=
n #<Element:0x0xfb9b8c0>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute gradientUnits to "u=
serSpaceOnUse" on #<Element:0x0xfb9b8c0>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute style to "fill:url(=
#linearGradient2824);fill-rule:evenodd;stroke:#000000;stroke-width:1px;stro=
ke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" on #=
<Element:0x0x131785f0>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute x1 to "288.57144" o=
n #<Element:0x0xfb9b8c0>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute y1 to "446.64789" o=
n #<Element:0x0xfb9b8c0>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute x2 to "302.85715" o=
n #<Element:0x0xfb9b8c0>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute y2 to "455.21933" o=
n #<Element:0x0xfb9b8c0>
>=20
> ** (inkscape:46863): WARNING **: Event: Set attribute style to "fill:url(=
#linearGradient2824);fill-rule:evenodd;stroke:#000000;stroke-width:1px;stro=
ke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" on #=
<Element:0x0x131785f0>
>=20
>=20
> Greetings,
> Simon
> _______________________________________________
> freebsd-gnome@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"
>=20


--=20
PGP Key : http://www.marcuscom.com/pgp.asc

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

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

iEYEABECAAYFAkspLPwACgkQb2iPiv4Uz4exHwCfT75/FruvRg6yt3mJsU+CSpD8
1+QAnjj8iLjar3iauEg/COjy+BwJ/f5V
=/+B/
-----END PGP SIGNATURE-----

--=-2EVcaDpKTWfUc9JZyJKO--




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