Hi I'm very happy about being able to debug gsequencer with valgrind :)
It is a very useful error detector. But I experience for now a deadlock. http://gsequencer.org/download.html And sometimes I'm asking me where is the data-race detected by helgrind: ==12967== ---Thread-Announcement------------------------------------------ ==12967== ==12967== Thread #4 was created ==12967== at 0x942593E: clone (in /lib/x86_64-linux-gnu/libc-2.21.so) ==12967== by 0x91260F9: create_thread (createthread.c:102) ==12967== by 0x9127A07: pthread_create@@GLIBC_2.2.5 (pthread_create.c:677) ==12967== by 0x4C30C77: pthread_create_WRK (hg_intercepts.c:427) ==12967== by 0x6043173: _g_closure_invoke_va (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.2) ==12967== by 0x605D975: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.2) ==12967== by 0x605E05E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.2) ==12967== by 0x4C6575: ags_thread_start (ags_thread-posix.c:2307) ==12967== by 0x4525BF: main (main.c:867) ==12967== ==12967== ---------------------------------------------------------------- ==12967== ==12967== Possible data race during read of size 8 at 0x6285618 by thread #1 ==12967== Locks held: none ==12967== at 0x605D4C5: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.2) ==12967== by 0x605E05E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.2) ==12967== by 0x4C6575: ags_thread_start (ags_thread-posix.c:2307) ==12967== by 0x4525BF: main (main.c:867) ==12967== ==12967== This conflicts with a previous write of size 8 by thread #4 ==12967== Locks held: none ==12967== at 0x605DA43: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.2) ==12967== by 0x605E05E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.2) ==12967== by 0x4C6575: ags_thread_start (ags_thread-posix.c:2307) ==12967== by 0x4BE622: ags_audio_loop_run (ags_audio_loop.c:545) ==12967== by 0x6043173: _g_closure_invoke_va (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.2) ==12967== by 0x605D975: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.2) ==12967== by 0x605E05E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.2) ==12967== by 0x4C6865: ags_thread_run (ags_thread-posix.c:2639) ==12967== Address 0x6285618 is 0 bytes inside data symbol "g_emissions" ==12967== ==12967== (action on error) vgdb me ... ==12967== Continuing ... --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 ==12967== ---------------------------------------------------------------- ==12967== ==12967== Possible data race during read of size 4 at 0x1820F290 by thread #1 ==12967== Locks held: none ==12967== at 0x605D503: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.2) ==12967== by 0x605E05E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.2) ==12967== by 0x4C6575: ags_thread_start (ags_thread-posix.c:2307) ==12967== by 0x4525BF: main (main.c:867) ==12967== Address 0x1820f290 is on thread #4's stack ==12967== ==12967== (action on error) vgdb me ... ==12967== Continuing ... --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 --12967-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf2 ==12967== ---------------------------------------------------------------- ==12967== ==12967== Possible data race during write of size 4 at 0x1820F930 by thread #1 ==12967== Locks held: none ==12967== at 0x605D51B: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.2) ==12967== by 0x605E05E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.2) ==12967== by 0x4C6575: ags_thread_start (ags_thread-posix.c:2307) ==12967== by 0x4525BF: main (main.c:867) ==12967== Address 0x1820f930 is on thread #4's stack ==12967== ==12967== (action on error) vgdb me ... For readability I don't entire gdb and helgrind command history. Program received signal SIGTRAP, Trace/breakpoint trap. Python Exception <class 'TypeError'> iter() returned non-iterator of type '_iterator': g_hash_table_resize (hash_table=hash_table@entry=0x101c7b00) at /build/glib2.0-2.46.2/./glib/ghash.c:622 622 in /build/glib2.0-2.46.2/./glib/ghash.c (gdb) Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. Python Exception <class 'TypeError'> iter() returned non-iterator of type '_iterator': g_hash_table_resize (hash_table=hash_table@entry=0x101c7b00) at /build/glib2.0-2.46.2/./glib/ghash.c:623 623 in /build/glib2.0-2.46.2/./glib/ghash.c (gdb) Continuing. [New Thread 12990] [New Thread 12991] Program received signal SIGTRAP, Trace/breakpoint trap. g_signal_emit_valist (instance=0x173f2390, signal_id=<optimized out>, detail=0, var_args=var_args@entry=0xffefffe80) at /build/glib2.0-2.46.2/./gobject/gsignal.c:3304 3304 /build/glib2.0-2.46.2/./gobject/gsignal.c: Datei oder Verzeichnis nicht gefunden. (gdb) Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. emission_pop (emission=0x0) at /build/glib2.0-2.46.2/./gobject/gsignal.c:804 804 in /build/glib2.0-2.46.2/./gobject/gsignal.c (gdb) Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0x000000000605d51b in emission_pop (emission=0x0) at /build/glib2.0-2.46.2/./gobject/gsignal.c:808 808 in /build/glib2.0-2.46.2/./gobject/gsignal.c bests, Joël ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users