Ich weiss wirklich nicht genau, ob ich hier richtig bin - allgemein in diesem Unterforum oder überhaupt ...
Egal. Folgendes - seit dem letzten Systemupdate wurde die glibc geupdated. nun, immer wenn ich Valgrind einsetze - nich tnur mit meiner Anwendung, die ich entwickle - es passiert bei ALLEN Anwendungen - spuckt es folgendes aus:
Beispiel free:
[zico@marvin ~]$ valgrind free
==6571== Memcheck, a memory error detector.
==6571== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==6571== Using LibVEX rev 1732, a library for dynamic binary translation.
==6571== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==6571== Using valgrind-3.2.3, a dynamic binary instrumentation framework.
==6571== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==6571== For more details, rerun with: -v
==6571==
==6571== Conditional jump or move depends on uninitialised value(s)
==6571== at 0x4013C1E: index (in /lib/ld-2.6.so)
==6571== by 0x4006E9A: expand_dynamic_string_token (in /lib/ld-2.6.so)
==6571== by 0x400788E: _dl_map_object (in /lib/ld-2.6.so)
==6571== by 0x4000D0A: map_doit (in /lib/ld-2.6.so)
==6571== by 0x400C965: _dl_catch_error (in /lib/ld-2.6.so)
==6571== by 0x4000C8E: do_preload (in /lib/ld-2.6.so)
==6571== by 0x4004427: dl_main (in /lib/ld-2.6.so)
==6571== by 0x4012877: _dl_sysdep_start (in /lib/ld-2.6.so)
==6571== by 0x4001F30: _dl_start (in /lib/ld-2.6.so)
==6571== by 0x4000A77: (within /lib/ld-2.6.so)
==6571==
==6571== Conditional jump or move depends on uninitialised value(s)
==6571== at 0x4013C29: index (in /lib/ld-2.6.so)
==6571== by 0x4006E9A: expand_dynamic_string_token (in /lib/ld-2.6.so)
==6571== by 0x400788E: _dl_map_object (in /lib/ld-2.6.so)
==6571== by 0x4000D0A: map_doit (in /lib/ld-2.6.so)
==6571== by 0x400C965: _dl_catch_error (in /lib/ld-2.6.so)
==6571== by 0x4000C8E: do_preload (in /lib/ld-2.6.so)
==6571== by 0x4004427: dl_main (in /lib/ld-2.6.so)
==6571== by 0x4012877: _dl_sysdep_start (in /lib/ld-2.6.so)
==6571== by 0x4001F30: _dl_start (in /lib/ld-2.6.so)
==6571== by 0x4000A77: (within /lib/ld-2.6.so)
==6571==
==6571== Conditional jump or move depends on uninitialised value(s)
==6571== at 0x4013C34: index (in /lib/ld-2.6.so)
==6571== by 0x4006E9A: expand_dynamic_string_token (in /lib/ld-2.6.so)
==6571== by 0x400788E: _dl_map_object (in /lib/ld-2.6.so)
==6571== by 0x4000D0A: map_doit (in /lib/ld-2.6.so)
==6571== by 0x400C965: _dl_catch_error (in /lib/ld-2.6.so)
==6571== by 0x4000C8E: do_preload (in /lib/ld-2.6.so)
==6571== by 0x4004427: dl_main (in /lib/ld-2.6.so)
==6571== by 0x4012877: _dl_sysdep_start (in /lib/ld-2.6.so)
==6571== by 0x4001F30: _dl_start (in /lib/ld-2.6.so)
==6571== by 0x4000A77: (within /lib/ld-2.6.so)
==6571==
==6571== Conditional jump or move depends on uninitialised value(s)
==6571== at 0x4013D91: strlen (in /lib/ld-2.6.so)
==6571== by 0x4006EA7: expand_dynamic_string_token (in /lib/ld-2.6.so)
==6571== by 0x400788E: _dl_map_object (in /lib/ld-2.6.so)
==6571== by 0x4000D0A: map_doit (in /lib/ld-2.6.so)
==6571== by 0x400C965: _dl_catch_error (in /lib/ld-2.6.so)
==6571== by 0x4000C8E: do_preload (in /lib/ld-2.6.so)
==6571== by 0x4004427: dl_main (in /lib/ld-2.6.so)
==6571== by 0x4012877: _dl_sysdep_start (in /lib/ld-2.6.so)
==6571== by 0x4001F30: _dl_start (in /lib/ld-2.6.so)
==6571== by 0x4000A77: (within /lib/ld-2.6.so)
==6571==
==6571== Conditional jump or move depends on uninitialised value(s)
==6571== at 0x4013D91: strlen (in /lib/ld-2.6.so)
==6571== by 0x40099BD: _dl_new_object (in /lib/ld-2.6.so)
==6571== by 0x4005CB4: _dl_map_object_from_fd (in /lib/ld-2.6.so)
==6571== by 0x4007937: _dl_map_object (in /lib/ld-2.6.so)
==6571== by 0x4000D0A: map_doit (in /lib/ld-2.6.so)
==6571== by 0x400C965: _dl_catch_error (in /lib/ld-2.6.so)
==6571== by 0x4000C8E: do_preload (in /lib/ld-2.6.so)
==6571== by 0x4004427: dl_main (in /lib/ld-2.6.so)
==6571== by 0x4012877: _dl_sysdep_start (in /lib/ld-2.6.so)
==6571== by 0x4001F30: _dl_start (in /lib/ld-2.6.so)
==6571== by 0x4000A77: (within /lib/ld-2.6.so)
==6571==
==6571== Conditional jump or move depends on uninitialised value(s)
==6571== at 0x400A08F: _dl_relocate_object (in /lib/ld-2.6.so)
==6571== by 0x400358E: dl_main (in /lib/ld-2.6.so)
==6571== by 0x4012877: _dl_sysdep_start (in /lib/ld-2.6.so)
==6571== by 0x4001F30: _dl_start (in /lib/ld-2.6.so)
==6571== by 0x4000A77: (within /lib/ld-2.6.so)
==6571==
==6571== Conditional jump or move depends on uninitialised value(s)
==6571== at 0x400A09C: _dl_relocate_object (in /lib/ld-2.6.so)
==6571== by 0x400358E: dl_main (in /lib/ld-2.6.so)
==6571== by 0x4012877: _dl_sysdep_start (in /lib/ld-2.6.so)
==6571== by 0x4001F30: _dl_start (in /lib/ld-2.6.so)
==6571== by 0x4000A77: (within /lib/ld-2.6.so)
==6571==
==6571== Conditional jump or move depends on uninitialised value(s)
==6571== at 0x400A08F: _dl_relocate_object (in /lib/ld-2.6.so)
==6571== by 0x40037B6: dl_main (in /lib/ld-2.6.so)
==6571== by 0x4012877: _dl_sysdep_start (in /lib/ld-2.6.so)
==6571== by 0x4001F30: _dl_start (in /lib/ld-2.6.so)
==6571== by 0x4000A77: (within /lib/ld-2.6.so)
==6571==
==6571== Conditional jump or move depends on uninitialised value(s)
==6571== at 0x400A09C: _dl_relocate_object (in /lib/ld-2.6.so)
==6571== by 0x40037B6: dl_main (in /lib/ld-2.6.so)
==6571== by 0x4012877: _dl_sysdep_start (in /lib/ld-2.6.so)
==6571== by 0x4001F30: _dl_start (in /lib/ld-2.6.so)
==6571== by 0x4000A77: (within /lib/ld-2.6.so)
total used free shared buffers cached
Mem: 1027988 901684 126304 0 70552 442688
-/+ buffers/cache: 388444 639544
Swap: 995988 0 995988
==6571==
==6571== ERROR SUMMARY: 9 errors from 9 contexts (suppressed: 0 from 0)
==6571== malloc/free: in use at exit: 0 bytes in 0 blocks.
==6571== malloc/free: 1 allocs, 1 frees, 568 bytes allocated.
==6571== For counts of detected errors, rerun with: -v
==6571== All heap blocks were freed -- no leaks are possible.
Wenn ich das richtig verstehe, sollten diese Fehler auf glibc-2.6-2 hindeuten.
Ich nutze ARCH64 und habe ebenfalls lib32-glibc-2.5 (nicht 2.6) installiert. Dieser Versionsunterschied sollte aber IMHO keine Rolle dabei spielen Aber eine Erwähnung ists ja Wert.
Jetzt bin ich nicht sicher wo der Fehler liegt und wohin ich mich wenden soll:
- Valgrind Entwickler -> Fehler in Valgrind?
- glibc Entwickler?
- glibc Paketmaintainer von ARCH64?
Ich hoffe irgendjemand hier weiss weiter. 🙂