It's some un-upgradeable FC3 -- yum upgrade shows some missing openssh deps or something -- with glib updated manually to 2.0. With the previous glib, Inkscape would not compile. I'll try to recompile Inkscape on FC4, or replace that distro with another one.
Linux linux 2.6.10-1.760_FC3 #1 Wed Feb 2 00:14:23 EST 2005 i686 athlon i386 GNU/Linux
The error was:
*** glibc detected *** free(): invalid pointer: 0x09fced60 ***
Valgrind output:
==19138== Memcheck, a memory error detector. ==19138== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==19138== Using LibVEX rev 1313, a library for dynamic binary translation. ==19138== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==19138== Using valgrind-3.0.0, a dynamic binary instrumentation framework. ==19138== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==19138== For more details, rerun with: -v ==19138== ==19138== Syscall param write(buf) points to uninitialised byte(s) ==19138== at 0x1C110353: __write_nocancel (in /lib/tls/libpthread-2.3.5.so) ==19138== by 0x1C27704F: (within /usr/X11R6/lib/libX11.so.6.2) ==19138== by 0x1C277312: _X11TransWrite (in /usr/X11R6/lib/libX11.so.6.2) ==19138== by 0x1C25B3F2: (within /usr/X11R6/lib/libX11.so.6.2) ==19138== by 0x1C25B47A: _XReply (in /usr/X11R6/lib/libX11.so.6.2) ==19138== by 0x1C2471B7: XInternAtom (in /usr/X11R6/lib/libX11.so.6.2) ==19138== by 0x1C26408C: XSetWMProperties (in /usr/X11R6/lib/libX11.so.6.2) ==19138== by 0x1BF8498D: (within /usr/lib/libgdk-x11-2.0.so.0.400.14) ==19138== by 0x1BF8795E: gdk_window_new (in /usr/lib/libgdk-x11-2.0.so.0.400.14) ==19138== by 0x1BF667CD: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.400.14) ==19138== by 0x1BF473DC: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.400.14) ==19138== by 0x1BD893FE: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.400.14) ==19138== Address 0x1CBE4288 is 128 bytes inside a block of size 16384 alloc'd ==19138== at 0x1B901B47: calloc (vg_replace_malloc.c:279) ==19138== by 0x1C24B835: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2) ==19138== by 0x1BF666B3: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.400.14) ==19138== by 0x1BF473DC: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.400.14) ==19138== by 0x1BD893FE: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.400.14) ==19138== by 0x1BD89431: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.400.14) ==19138== by 0x1BA7A17C: Gtk::Main::init(int*, char***, bool) (main.cc:376) ==19138== by 0x1BA79E57: Gtk::Main::Main(int*, char***, bool) (main.cc:333) ==19138== by 0x8112CA2: sp_main_gui(int, char const**) (main.cpp:514) ==19138== by 0x81D21EB: Inkscape::NSApplication::Application::run() (application.cpp:134) ==19138== by 0x8112966: main (main.cpp:431) ==19138== ==19138== Conditional jump or move depends on uninitialised value(s) ==19138== at 0x1C4B52E5: GC_push_all_eager (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B63EE: GC_push_current_stack (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4BD574: GC_generic_push_regs (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B6532: GC_push_roots (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B40B5: GC_mark_some (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4AD524: GC_stopped_mark (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4AD151: GC_try_to_collect_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B6EC9: GC_init_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2964: GC_generic_malloc_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2AC0: GC_generic_malloc (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2DB4: GC_malloc (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x8359A40: sp_repr_new(char const*) (gc-core.h:72) ==19138== ==19138== Conditional jump or move depends on uninitialised value(s) ==19138== at 0x1C4B52EA: GC_push_all_eager (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B63EE: GC_push_current_stack (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4BD574: GC_generic_push_regs (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B6532: GC_push_roots (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B40B5: GC_mark_some (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4AD524: GC_stopped_mark (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4AD151: GC_try_to_collect_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B6EC9: GC_init_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2964: GC_generic_malloc_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2AC0: GC_generic_malloc (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2DB4: GC_malloc (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x8359A40: sp_repr_new(char const*) (gc-core.h:72) ==19138== ==19138== Conditional jump or move depends on uninitialised value(s) ==19138== at 0x1C4B454E: GC_mark_from (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B41C8: GC_mark_some (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4AD524: GC_stopped_mark (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4AD151: GC_try_to_collect_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B6EC9: GC_init_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2964: GC_generic_malloc_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2AC0: GC_generic_malloc (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2DB4: GC_malloc (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x8359A40: sp_repr_new(char const*) (gc-core.h:72) ==19138== by 0x8356930: sp_repr_svg_read_node(_xmlNode*, char const*, _GHashTable*) (repr-io.cpp:454) ==19138== by 0x8357D6C: sp_repr_do_read(_xmlDoc*, char const*) (repr-io.cpp:364) ==19138== by 0x8357E0E: sp_repr_read_mem(char const*, int, char const*) (repr-io.cpp:288) ==19138== ==19138== Conditional jump or move depends on uninitialised value(s) ==19138== at 0x1C4B4553: GC_mark_from (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B41C8: GC_mark_some (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4AD524: GC_stopped_mark (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4AD151: GC_try_to_collect_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B6EC9: GC_init_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2964: GC_generic_malloc_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2AC0: GC_generic_malloc (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2DB4: GC_malloc (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x8359A40: sp_repr_new(char const*) (gc-core.h:72) ==19138== by 0x8356930: sp_repr_svg_read_node(_xmlNode*, char const*, _GHashTable*) (repr-io.cpp:454) ==19138== by 0x8357D6C: sp_repr_do_read(_xmlDoc*, char const*) (repr-io.cpp:364) ==19138== by 0x8357E0E: sp_repr_read_mem(char const*, int, char const*) (repr-io.cpp:288) ==19138== ==19138== Conditional jump or move depends on uninitialised value(s) ==19138== at 0x1C4B4568: GC_mark_from (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B41C8: GC_mark_some (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4AD524: GC_stopped_mark (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4AD151: GC_try_to_collect_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B6EC9: GC_init_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2964: GC_generic_malloc_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2AC0: GC_generic_malloc (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2DB4: GC_malloc (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x8359A40: sp_repr_new(char const*) (gc-core.h:72) ==19138== by 0x8356930: sp_repr_svg_read_node(_xmlNode*, char const*, _GHashTable*) (repr-io.cpp:454) ==19138== by 0x8357D6C: sp_repr_do_read(_xmlDoc*, char const*) (repr-io.cpp:364) ==19138== by 0x8357E0E: sp_repr_read_mem(char const*, int, char const*) (repr-io.cpp:288) ==19138== ==19138== Conditional jump or move depends on uninitialised value(s) ==19138== at 0x1C4B456D: GC_mark_from (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B41C8: GC_mark_some (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4AD524: GC_stopped_mark (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4AD151: GC_try_to_collect_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B6EC9: GC_init_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2964: GC_generic_malloc_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2AC0: GC_generic_malloc (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2DB4: GC_malloc (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x8359A40: sp_repr_new(char const*) (gc-core.h:72) ==19138== by 0x8356930: sp_repr_svg_read_node(_xmlNode*, char const*, _GHashTable*) (repr-io.cpp:454) ==19138== by 0x8357D6C: sp_repr_do_read(_xmlDoc*, char const*) (repr-io.cpp:364) ==19138== by 0x8357E0E: sp_repr_read_mem(char const*, int, char const*) (repr-io.cpp:288) ==19138== ==19138== Invalid read of size 4 ==19138== at 0x1C4B4543: GC_mark_from (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B41C8: GC_mark_some (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4AD524: GC_stopped_mark (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4AD151: GC_try_to_collect_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B6EC9: GC_init_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2964: GC_generic_malloc_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2AC0: GC_generic_malloc (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2DB4: GC_malloc (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x8359A40: sp_repr_new(char const*) (gc-core.h:72) ==19138== by 0x8356930: sp_repr_svg_read_node(_xmlNode*, char const*, _GHashTable*) (repr-io.cpp:454) ==19138== by 0x8357D6C: sp_repr_do_read(_xmlDoc*, char const*) (repr-io.cpp:364) ==19138== by 0x8357E0E: sp_repr_read_mem(char const*, int, char const*) (repr-io.cpp:288) ==19138== Address 0x52C00030 is not stack'd, malloc'd or (recently) free'd ==19138== ==19138== Process terminating with default action of signal 11 (SIGSEGV) ==19138== Bad permissions for mapped region at address 0x52C00030 ==19138== at 0x1C4B4543: GC_mark_from (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B41C8: GC_mark_some (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4AD524: GC_stopped_mark (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4AD151: GC_try_to_collect_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B6EC9: GC_init_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2964: GC_generic_malloc_inner (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2AC0: GC_generic_malloc (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x1C4B2DB4: GC_malloc (in /usr/lib/libgc.so.1.0.2) ==19138== by 0x8359A40: sp_repr_new(char const*) (gc-core.h:72) ==19138== by 0x8356930: sp_repr_svg_read_node(_xmlNode*, char const*, _GHashTable*) (repr-io.cpp:454) ==19138== by 0x8357D6C: sp_repr_do_read(_xmlDoc*, char const*) (repr-io.cpp:364) ==19138== by 0x8357E0E: sp_repr_read_mem(char const*, int, char const*) (repr-io.cpp:288) ==19138== ==19138== ERROR SUMMARY: 552 errors from 8 contexts (suppressed: 140 from 3) ==19138== malloc/free: in use at exit: 300190 bytes in 5874 blocks. ==19138== malloc/free: 7914 allocs, 2040 frees, 603035 bytes allocated. ==19138== For counts of detected errors, rerun with: -v ==19138== searching for pointers to 5874 not-freed blocks. ==19138== checked 2931004 bytes. ==19138== ==19138== LEAK SUMMARY: ==19138== definitely lost: 0 bytes in 0 blocks. ==19138== possibly lost: 7136 bytes in 24 blocks. ==19138== still reachable: 293054 bytes in 5850 blocks. ==19138== suppressed: 0 bytes in 0 blocks. ==19138== Reachable blocks (those to which a pointer was found) are not shown. ==19138== To see them, rerun with: --show-reachable=yes
On 8/28/05, Mike Hearn <mike@...869...> wrote:
On Sun, 28 Aug 2005 18:59:38 +0200, Artur Rataj wrote:
Static binary 42.0 did not work, the latest sources 42.2 compiled but did not work.
Do you mean the same error occurred? What version of Fedora is this and did you upgrade from an earlier Fedora release?
If you can run the program in valgrind that'd be good.
thanks -mike
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On Mon, 29 Aug 2005 13:10:16 +0200, Artur Rataj wrote:
It's some un-upgradeable FC3 -- yum upgrade shows some missing openssh deps or something -- with glib updated manually to 2.0. With the previous glib, Inkscape would not compile.
I think your system libraries have got messed up. If this crap continues I'll just write my own dynamic linker and get it over with.
participants (2)
-
Artur Rataj
-
Mike Hearn