Bug 362276 - Valgrind got SIGSEGV while doing synchronization of multi-threaded tree and copy audio buffers
Summary: Valgrind got SIGSEGV while doing synchronization of multi-threaded tree and c...
Status: RESOLVED NOT A BUG
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.11.0
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-26 06:07 UTC by Joël Krähemann
Modified: 2016-04-26 09:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
linux kernel configuration (169.24 KB, text/plain)
2016-04-26 06:18 UTC, Joël Krähemann
Details
/etc/initramfs-tools/modules (291 bytes, text/plain)
2016-04-26 06:21 UTC, Joël Krähemann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joël Krähemann 2016-04-26 06:07:29 UTC
Advanced Gtk+ Sequencer is a realtime capable audio sequencer doing many threads to compute your audio tree. While doing playback involved with a lot of audio buffers copying, valgrind crashed.



Reproducible: Always

Steps to Reproduce:
1. compile and run gsequencer.org
2. simple setup with AgsPanel input linked to AgsFFPlayer output
3. open fluidsynth FluidR3_GM.sf2 in AgsFFPlayer and select Piccolo
4. add an editor index link it to AgsFFPlayer and try to play a quarter note

Actual Results:  
--5952-- VALGRIND INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) - exiting
--5952-- si_code=128;  Faulting address: 0x0;  sp: 0x810f8ae20

valgrind: the 'impossible' happened:
   Killed by fatal signal

host stacktrace:
==5952==    at 0x38092459: get_bszB_as_is (m_mallocfree.c:300)
==5952==    by 0x38092459: get_bszB (m_mallocfree.c:311)
==5952==    by 0x38092459: vgPlain_arena_free (m_mallocfree.c:2044)
==5952==    by 0x38050CF3: release_oldest_block (mc_malloc_wrappers.c:165)
==5952==    by 0x38050CF3: create_MC_Chunk (mc_malloc_wrappers.c:208)
==5952==    by 0x38051387: vgMemCheck_realloc (mc_malloc_wrappers.c:557)
==5952==    by 0x380D4CD3: do_client_request (scheduler.c:1873)
==5952==    by 0x380D4CD3: vgPlain_scheduler (scheduler.c:1425)
==5952==    by 0x380E3926: thread_wrapper (syswrap-linux.c:102)
==5952==    by 0x380E3926: run_a_thread_NORETURN (syswrap-linux.c:155)
==5952==    by 0x380E3DFA: vgModuleLocal_start_thread_NORETURN (syswrap-linux.c:324)
==5952==    by 0x3810C60D: ??? (in /usr/lib/valgrind/memcheck-amd64-linux)
==5952==    by 0xDEADBEEFDEADBEEE: ???
==5952==    by 0xDEADBEEFDEADBEEE: ???
==5952==    by 0xDEADBEEFDEADBEEE: ???

sched status:
  running_tid=46

Thread 1: status = VgTs_WaitSys (lwpid 5952)
==5952==    at 0x95FE6DD: pthread_join (pthread_join.c:90)
==5952==    by 0x40F5AC: main (gsequencer_main.c:464)

Thread 2: status = VgTs_WaitSys (lwpid 5954)
==5952==    at 0x98F2E4D: ??? (in /lib/x86_64-linux-gnu/libc-2.22.so)
==5952==    by 0x88E232B: g_main_context_iterate.isra.29 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0)
==5952==    by 0x88E243B: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0)
==5952==    by 0x88E2478: glib_worker_main (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0)
==5952==    by 0x8908B74: g_thread_proxy (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 3: status = VgTs_WaitSys (lwpid 5955)
==5952==    at 0x98F2E4D: ??? (in /lib/x86_64-linux-gnu/libc-2.22.so)
==5952==    by 0x88E232B: g_main_context_iterate.isra.29 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0)
==5952==    by 0x88E26B1: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0)
==5952==    by 0x7F9B905: gdbus_shared_thread_func (in /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4800.0)
==5952==    by 0x8908B74: g_thread_proxy (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 4: status = VgTs_WaitSys (lwpid 5956)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x4E1905: ags_audio_loop_sync_audio_super_threaded (ags_audio_loop.c:1326)
==5952==    by 0x4E1CAA: ags_audio_loop_play_audio (ags_audio_loop.c:1153)
==5952==    by 0x4E1EB7: ags_audio_loop_run (ags_audio_loop.c:598)
==5952==    by 0x824F1D3: _g_closure_invoke_va (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82699A5: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54EBFD: ags_thread_run (ags_thread-posix.c:2745)
==5952==    by 0x54EBFD: ags_thread_loop (ags_thread-posix.c:2597)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 5: status = VgTs_WaitSys (lwpid 5957)
==5952==    at 0x96033F8: pthread_cond_timedwait@@GLIBC_2.3.2 (pthread_cond_timedwait.S:225)
==5952==    by 0x5491B5: ags_thread_pool_creation_thread (ags_thread_pool.c:370)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 6: status = VgTs_WaitSys (lwpid 5958)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 7: status = VgTs_WaitSys (lwpid 5959)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 8: status = VgTs_WaitSys (lwpid 5960)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 9: status = VgTs_WaitSys (lwpid 5961)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 10: status = VgTs_WaitSys (lwpid 5962)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 11: status = VgTs_WaitSys (lwpid 5963)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 12: status = VgTs_WaitSys (lwpid 5964)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 13: status = VgTs_WaitSys (lwpid 5965)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 14: status = VgTs_WaitSys (lwpid 5966)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 15: status = VgTs_WaitSys (lwpid 5967)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 16: status = VgTs_WaitSys (lwpid 5968)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 17: status = VgTs_WaitSys (lwpid 5969)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 18: status = VgTs_WaitSys (lwpid 5970)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 19: status = VgTs_WaitSys (lwpid 5971)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 20: status = VgTs_WaitSys (lwpid 5972)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 21: status = VgTs_WaitSys (lwpid 5973)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 22: status = VgTs_WaitSys (lwpid 5974)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 23: status = VgTs_WaitSys (lwpid 5975)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 24: status = VgTs_WaitSys (lwpid 5976)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 25: status = VgTs_WaitSys (lwpid 5977)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 26: status = VgTs_WaitSys (lwpid 5978)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 27: status = VgTs_WaitSys (lwpid 5979)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 28: status = VgTs_WaitSys (lwpid 5980)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 29: status = VgTs_WaitSys (lwpid 5981)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 30: status = VgTs_WaitSys (lwpid 5982)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 31: status = VgTs_WaitSys (lwpid 5983)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 32: status = VgTs_WaitSys (lwpid 5984)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 33: status = VgTs_WaitSys (lwpid 5985)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 34: status = VgTs_WaitSys (lwpid 5986)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 35: status = VgTs_WaitSys (lwpid 5987)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 36: status = VgTs_WaitSys (lwpid 5988)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 37: status = VgTs_WaitSys (lwpid 5989)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 38: status = VgTs_WaitSys (lwpid 5990)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 39: status = VgTs_WaitSys (lwpid 5991)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 40: status = VgTs_WaitSys (lwpid 5992)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 41: status = VgTs_WaitSys (lwpid 6028)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 42: status = VgTs_WaitSys (lwpid 6029)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 43: status = VgTs_WaitSys (lwpid 6030)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 44: status = VgTs_WaitSys (lwpid 6016)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 45: status = VgTs_WaitSys (lwpid 6017)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x54CDA5: ags_thread_clock_sync (ags_thread-posix.c:2004)
==5952==    by 0x54CDA5: ags_thread_real_clock (ags_thread-posix.c:2213)
==5952==    by 0x55C56F: g_cclosure_user_marshal_UINT__VOID (ags_marshal.c:83)
==5952==    by 0x824EEFE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826156D: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82697F8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54E277: ags_thread_clock (ags_thread-posix.c:2280)
==5952==    by 0x54E277: ags_thread_loop (ags_thread-posix.c:2473)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 46: status = VgTs_Runnable (lwpid 6031)
==5952==    at 0x4C2BDDF: realloc (vg_replace_malloc.c:785)
==5952==    by 0x88E7777: g_realloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0)
==5952==    by 0x8902C26: g_string_maybe_expand (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0)
==5952==    by 0x8902F46: g_string_insert_len (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0)
==5952==    by 0x88E854B: g_log_default_handler (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0)
==5952==    by 0x88E8943: g_logv (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0)
==5952==    by 0x88E8B6E: g_log (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0)
==5952==    by 0x4DDD5E: ags_recycling_create_audio_signal_with_frame_count (ags_recycling.c:1013)
==5952==    by 0x522E78: ags_play_notation_audio_run_alloc_input_callback (ags_play_notation_audio_run.c:864)
==5952==    by 0x824EFA4: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x8260FC0: signal_emit_unlocked_R (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x8269D5B: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x516BA5: ags_delay_audio_run_notation_alloc_input (ags_delay_audio_run.c:723)
==5952==    by 0x5173E7: ags_delay_audio_run_run_pre (ags_delay_audio_run.c:539)
==5952==    by 0x824F1D3: _g_closure_invoke_va (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82699A5: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x4C1925: ags_recall_run_pre (ags_recall.c:1530)
==5952==    by 0x493920: ags_audio_play (ags_audio.c:3895)
==5952==    by 0x4A282B: ags_channel_recursive_play_down.30319 (ags_channel.c:7889)
==5952==    by 0x4ABD2E: ags_channel_recursive_play (ags_channel.c:7940)
==5952==    by 0x4E4131: ags_channel_thread_run (ags_channel_thread.c:478)
==5952==    by 0x824F121: _g_closure_invoke_va (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82699A5: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54EBFD: ags_thread_run (ags_thread-posix.c:2745)
==5952==    by 0x54EBFD: ags_thread_loop (ags_thread-posix.c:2597)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)

Thread 47: status = VgTs_WaitSys (lwpid 6032)
==5952==    at 0x960304F: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185)
==5952==    by 0x4E30CD: ags_audio_thread_sync_channel_super_threaded (ags_audio_thread.c:693)
==5952==    by 0x4E334E: ags_audio_thread_run (ags_audio_thread.c:513)
==5952==    by 0x824F121: _g_closure_invoke_va (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x82699A5: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x826A08E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0)
==5952==    by 0x54EBFD: ags_thread_run (ags_thread-posix.c:2745)
==5952==    by 0x54EBFD: ags_thread_loop (ags_thread-posix.c:2597)
==5952==    by 0x95FD453: start_thread (pthread_create.c:334)
==5952==    by 0x98FBEDC: clone (in /lib/x86_64-linux-gnu/libc-2.22.so)


Note: see also the FAQ in the source distribution.
It contains workarounds to several common problems.
In particular, if Valgrind aborted or crashed after
identifying problems in your program, there's a good chance
that fixing those problems will prevent Valgrind aborting or
crashing, especially if it happened in m_mallocfree.c.

If that doesn't help, please report this bug to: www.valgrind.org

In the bug report, send all the above text, the valgrind
version, and what OS and version you are using.  Thanks.


Expected Results:  
Advanced Gtk+ Sequencer doing playback.

* debian GNU/Linux unstable
* WindowMaker
* /boot/vmlinuz-4.4.7-rt16 with initrd
* MacBook Pro 10,1 mid 2013 15' with retina
Comment 1 Joël Krähemann 2016-04-26 06:10:10 UTC
https://github.com/gsequencer/gsequencer/tree/0.7.0

commit 2be65f0caadcba4f0e9bee744dd5fe8c8242e15e
Author: Joël Krähemann <jkraehemann-guest@users.alioth.debian.org>
Date:   Tue Apr 26 08:08:05 2016 +0200

    valgrind crash
Comment 2 Joël Krähemann 2016-04-26 06:18:53 UTC
Created attachment 98602 [details]
linux kernel configuration

linux realtime configuration with firmware build enabled
Comment 3 Joël Krähemann 2016-04-26 06:21:59 UTC
Created attachment 98603 [details]
/etc/initramfs-tools/modules

This makes my system having nouveau drivers
Comment 4 Tom Hughes 2016-04-26 07:28:35 UTC
Were there any warnings from memcheck before valgrind crashed?

Although that crash appears as a valgrind internal error really it is most likely just a result of your malloc heap being corrupt given that it occurs in valgrind's malloc implementation.

So the first thing to do is to make sure that any issues valgrind has already reported before that are fixed.
Comment 5 Joël Krähemann 2016-04-26 09:40:26 UTC
Yes, there where many of them invalid read of size 2. This is probably since an mistake within a function causing buffer-overflow.

ags_recycling_create_audio_signal_with_frame_count() was affected but it is fixed for now in GSequencer. Valgrind doesn't crash anymore.

Thank you, you're doing a great job.