From owner-freebsd-gnome@FreeBSD.ORG Wed Dec 16 18:54:52 2009 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16BBE106566B for ; Wed, 16 Dec 2009 18:54:52 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id A253D8FC12 for ; Wed, 16 Dec 2009 18:54:51 +0000 (UTC) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.3/8.14.3) with ESMTP id nBGItMQU039423; Wed, 16 Dec 2009 13:55:22 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: "simon.prive@xs4all.nl" In-Reply-To: <20091216202259.1e3d564e.simon.prive@xs4all.nl> References: <20091216202259.1e3d564e.simon.prive@xs4all.nl> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-2EVcaDpKTWfUc9JZyJKO" Organization: MarcusCom, Inc. Date: Wed, 16 Dec 2009 13:54:53 -0500 Message-ID: <1260989693.97856.164.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com 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)) X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 18:54:52 -0000 --=-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 >::_M_clear () > #2 0x000000000057755c in sigc::visit_each, sigc::trackable> = () > #3 0x0000000000570168 in sigc::visit_each, sigc::trackable> = () > #4 0x000000000057234e in sigc::visit_each, sigc::trackable> = () > #5 0x0000000000570168 in sigc::visit_each, sigc::trackable> = () > #6 0x000000000057234e in sigc::visit_each, sigc::trackable> = () > #7 0x0000000000570168 in sigc::visit_each, sigc::trackable> = () > #8 0x000000000057234e in sigc::visit_each, sigc::trackable> = () > #9 0x0000000000570168 in sigc::visit_each, sigc::trackable> = () > #10 0x0000000000969e84 in std::vector >::_M_insert_aux () > #11 0x00000000005991b7 in std::vector >::o= perator=3D () > #12 0x000000000059d475 in std::vector >::o= perator=3D () > #13 0x00000000005991b7 in std::vector >::o= perator=3D () > #14 0x000000000059d475 in std::vector >::o= perator=3D () > #15 0x00000000005991b7 in std::vector >::o= perator=3D () > #16 0x000000000059ce02 in std::vector >::o= perator=3D () > #17 0x000000000059d1f2 in std::vector >::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 # >=20 > ** (inkscape:46863): WARNING **: Event: Set attribute style to "stop-colo= r:#0000ff;stop-opacity:1;" on # >=20 > ** (inkscape:46863): WARNING **: Event: Set attribute offset to "0" on #<= Element:0x0x1145bfc0> >=20 > ** (inkscape:46863): WARNING **: Event: Added # to = # after beginning >=20 > ** (inkscape:46863): WARNING **: Event: Set attribute style to "stop-colo= r:#0000ff;stop-opacity:0;" on # >=20 > ** (inkscape:46863): WARNING **: Event: Set attribute offset to "1" on #<= Element:0x0x1321e420> >=20 > ** (inkscape:46863): WARNING **: Event: Added # to = # after # >=20 > ** (inkscape:46863): WARNING **: Event: Added # to #= after beginning >=20 > ** (inkscape:46863): WARNING **: Event: Set attribute id to "linearGradie= nt2818" on # >=20 > ** (inkscape:46863): WARNING **: Event: Set attribute id to "stop2820" on= # >=20 > ** (inkscape:46863): WARNING **: Event: Set attribute id to "stop2822" on= # >=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 # >=20 > ** (inkscape:46863): WARNING **: Event: Set attribute inkscape:collect to= "always" on # >=20 > ** (inkscape:46863): WARNING **: Event: Set attribute xlink:href to "#lin= earGradient2818" on # >=20 > ** (inkscape:46863): WARNING **: Event: Added # to #= after # >=20 > ** (inkscape:46863): WARNING **: Event: Set attribute id to "linearGradie= nt2824" on # >=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 # >=20 > ** (inkscape:46863): WARNING **: Event: Set attribute x2 to "543.35715" o= n # >=20 > ** (inkscape:46863): WARNING **: Event: Set attribute y2 to "515.21933" o= n # >=20 > ** (inkscape:46863): WARNING **: Event: Set attribute gradientUnits to "u= serSpaceOnUse" on # >=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 #= >=20 > ** (inkscape:46863): WARNING **: Event: Set attribute x1 to "288.57144" o= n # >=20 > ** (inkscape:46863): WARNING **: Event: Set attribute y1 to "446.64789" o= n # >=20 > ** (inkscape:46863): WARNING **: Event: Set attribute x2 to "302.85715" o= n # >=20 > ** (inkscape:46863): WARNING **: Event: Set attribute y2 to "455.21933" o= n # >=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 #= >=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--