From owner-freebsd-gnome@FreeBSD.ORG Wed Dec 16 18:37:36 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 70156106568D for ; Wed, 16 Dec 2009 18:37:36 +0000 (UTC) (envelope-from simon.prive@xs4all.nl) Received: from CPSMTPM-EML107.kpnxchange.com (Cpsmtpm-eml107.kpnxchange.com [195.121.3.11]) by mx1.freebsd.org (Postfix) with ESMTP id B59E88FC14 for ; Wed, 16 Dec 2009 18:37:35 +0000 (UTC) Received: from devel ([213.10.240.114]) by CPSMTPM-EML107.kpnxchange.com with Microsoft SMTPSVC(7.0.6001.18000); Wed, 16 Dec 2009 19:25:30 +0100 Date: Wed, 16 Dec 2009 20:22:59 +0100 From: "simon.prive@xs4all.nl" To: freebsd-gnome@freebsd.org Message-Id: <20091216202259.1e3d564e.simon.prive@xs4all.nl> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.16.1; amd64-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 16 Dec 2009 18:25:30.0926 (UTC) FILETIME=[262214E0:01CA7E7D] Subject: 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:37:36 -0000 Inkscape 0.47 crashing when using gradients ("libgobject-2.0.so.0" glib-2.22.2 FreeBSD 7.1 arch: AMD64) When i: 1. draw a rectangle/square 2. create a gradient in it 3. Undo it 4. inkscape crashes 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 Here are my debugging logs: GDB backtrace: 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/libgobject-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 >::operator= () #12 0x000000000059d475 in std::vector >::operator= () #13 0x00000000005991b7 in std::vector >::operator= () #14 0x000000000059d475 in std::vector >::operator= () #15 0x00000000005991b7 in std::vector >::operator= () #16 0x000000000059ce02 in std::vector >::operator= () #17 0x000000000059d1f2 in std::vector >::operator= () #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/libglib-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 VALGRIND log: simon@devel$ valgrind --tool=memcheck inkscape ==46863== Memcheck, a memory error detector ==46863== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==46863== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==46863== Command: inkscape ==46863== 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". ==46863== Invalid read of size 8 ==46863== at 0x24777: ??? (in /libexec/ld-elf.so.1) ==46863== by 0x149DD: ??? (in /libexec/ld-elf.so.1) ==46863== by 0x169A6: ??? (in /libexec/ld-elf.so.1) ==46863== by 0x17B32: dlopen (in /libexec/ld-elf.so.1) ==46863== by 0x4A27B1F: g_module_open (in /usr/local/lib/libgmodule-2.0.so.0) ==46863== by 0x331EFDB: _gdk_pixbuf_load_module (in /usr/local/lib/libgdk_pixbuf-2.0.so.0) ==46863== by 0x332001B: gdk_pixbuf_new_from_file (in /usr/local/lib/libgdk_pixbuf-2.0.so.0) ==46863== by 0x8137CC: ??? (in /usr/local/bin/inkscape) ==46863== by 0x9AC27F: ??? (in /usr/local/bin/inkscape) ==46863== by 0x8113EB: ??? (in /usr/local/bin/inkscape) ==46863== by 0x6F189D: ??? (in /usr/local/bin/inkscape) ==46863== by 0x491059F: g_type_create_instance (in /usr/local/lib/libgobject-2.0.so.0) ==46863== Address 0xc508898 is 56 bytes inside a block of size 61 alloc'd ==46863== at 0x24567B: malloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) ==46863== by 0x4C6C3CB: g_malloc (in /usr/local/lib/libglib-2.0.so.0) ==46863== by 0x4C82ADE: g_strdup (in /usr/local/lib/libglib-2.0.so.0) ==46863== by 0x4A27AD3: g_module_open (in /usr/local/lib/libgmodule-2.0.so.0) ==46863== by 0x331EFDB: _gdk_pixbuf_load_module (in /usr/local/lib/libgdk_pixbuf-2.0.so.0) ==46863== by 0x332001B: gdk_pixbuf_new_from_file (in /usr/local/lib/libgdk_pixbuf-2.0.so.0) ==46863== by 0x8137CC: ??? (in /usr/local/bin/inkscape) ==46863== by 0x9AC27F: ??? (in /usr/local/bin/inkscape) ==46863== by 0x8113EB: ??? (in /usr/local/bin/inkscape) ==46863== by 0x6F189D: ??? (in /usr/local/bin/inkscape) ==46863== by 0x491059F: g_type_create_instance (in /usr/local/lib/libgobject-2.0.so.0) ==46863== by 0x48F5D0C: ??? (in /usr/local/lib/libgobject-2.0.so.0) ==46863== ==46863== Syscall param write(buf) points to uninitialised byte(s) ==46863== at 0x6EEA78C: __sys_write (in /lib/libc.so.7) ==46863== by 0x6CFB05F: write (in /lib/libthr.so.3) ==46863== by 0x47BBECE: FcDirCacheWrite (in /usr/local/lib/libfontconfig.so.1) ==46863== by 0x47C2519: FcDirCacheScan (in /usr/local/lib/libfontconfig.so.1) ==46863== by 0x47BED18: FcConfigAddDirList (in /usr/local/lib/libfontconfig.so.1) ==46863== by 0x47BEF85: FcConfigBuildFonts (in /usr/local/lib/libfontconfig.so.1) ==46863== by 0x47C598A: FcInitLoadConfigAndFonts (in /usr/local/lib/libfontconfig.so.1) ==46863== by 0x47C5A4C: FcInit (in /usr/local/lib/libfontconfig.so.1) ==46863== by 0x47BE281: FcConfigGetCurrent (in /usr/local/lib/libfontconfig.so.1) ==46863== by 0x47BE9B1: FcConfigSubstituteWithPat (in /usr/local/lib/libfontconfig.so.1) ==46863== by 0x34396BF: ??? (in /usr/local/lib/libpangocairo-1.0.so.0) ==46863== by 0x3F22A86: ??? (in /usr/local/lib/libpangoft2-1.0.so.0) ==46863== Address 0xd7ec9c4 is 212 bytes inside a block of size 11,440 alloc'd ==46863== at 0x24567B: malloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) ==46863== by 0x47BC1C9: FcDirCacheBuild (in /usr/local/lib/libfontconfig.so.1) ==46863== by 0x47C2504: FcDirCacheScan (in /usr/local/lib/libfontconfig.so.1) ==46863== by 0x47BED18: FcConfigAddDirList (in /usr/local/lib/libfontconfig.so.1) ==46863== by 0x47BEF85: FcConfigBuildFonts (in /usr/local/lib/libfontconfig.so.1) ==46863== by 0x47C598A: FcInitLoadConfigAndFonts (in /usr/local/lib/libfontconfig.so.1) ==46863== by 0x47C5A4C: FcInit (in /usr/local/lib/libfontconfig.so.1) ==46863== by 0x47BE281: FcConfigGetCurrent (in /usr/local/lib/libfontconfig.so.1) ==46863== by 0x47BE9B1: FcConfigSubstituteWithPat (in /usr/local/lib/libfontconfig.so.1) ==46863== by 0x34396BF: ??? (in /usr/local/lib/libpangocairo-1.0.so.0) ==46863== by 0x3F22A86: ??? (in /usr/local/lib/libpangoft2-1.0.so.0) ==46863== by 0x4507FDA: ??? (in /usr/local/lib/libpango-1.0.so.0) ==46863== (inkscape:46863): Gdk-WARNING **: shmat failed: error 22 (Invalid argument) ** (inkscape:46863): WARNING **: Incomplete undo transaction: ** (inkscape:46863): WARNING **: Event: Set attribute inkscape:collect to "always" on # ** (inkscape:46863): WARNING **: Event: Set attribute style to "stop-color:#0000ff;stop-opacity:1;" on # ** (inkscape:46863): WARNING **: Event: Set attribute offset to "0" on # ** (inkscape:46863): WARNING **: Event: Added # to # after beginning ** (inkscape:46863): WARNING **: Event: Set attribute style to "stop-color:#0000ff;stop-opacity:0;" on # ** (inkscape:46863): WARNING **: Event: Set attribute offset to "1" on # ** (inkscape:46863): WARNING **: Event: Added # to # after # ** (inkscape:46863): WARNING **: Event: Added # to # after beginning ** (inkscape:46863): WARNING **: Event: Set attribute id to "linearGradient2818" on # ** (inkscape:46863): WARNING **: Event: Set attribute id to "stop2820" on # ** (inkscape:46863): WARNING **: Event: Set attribute id to "stop2822" on # ** (inkscape:46863): WARNING **: Event: Set attribute style to "fill:#0000ff;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1.0" on # ** (inkscape:46863): WARNING **: Event: Set attribute inkscape:collect to "always" on # ** (inkscape:46863): WARNING **: Event: Set attribute xlink:href to "#linearGradient2818" on # ** (inkscape:46863): WARNING **: Event: Added # to # after # ** (inkscape:46863): WARNING **: Event: Set attribute id to "linearGradient2824" on # ** (inkscape:46863): WARNING **: Event: Set attribute x1 to "239.5" on # ** (inkscape:46863): WARNING **: Event: Set attribute y1 to "515.21933" on # ** (inkscape:46863): WARNING **: Event: Set attribute x2 to "543.35715" on # ** (inkscape:46863): WARNING **: Event: Set attribute y2 to "515.21933" on # ** (inkscape:46863): WARNING **: Event: Set attribute gradientUnits to "userSpaceOnUse" on # ** (inkscape:46863): WARNING **: Event: Set attribute style to "fill:url(#linearGradient2824);fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" on # ** (inkscape:46863): WARNING **: Event: Set attribute x1 to "288.57144" on # ** (inkscape:46863): WARNING **: Event: Set attribute y1 to "446.64789" on # ** (inkscape:46863): WARNING **: Event: Set attribute x2 to "302.85715" on # ** (inkscape:46863): WARNING **: Event: Set attribute y2 to "455.21933" on # ** (inkscape:46863): WARNING **: Event: Set attribute style to "fill:url(#linearGradient2824);fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" on # Greetings, Simon