Hi, everyone!
I'm having an issue trying to use valgrind drd in the simplest musl-linked program (just return 0).
drd refuses to even run main, and give me this error:
==24== drd, a thread error detector
==24== Copyright (C) 2006-2015, and GNU GPL'd, by Bart Van Assche.
==24== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info
==24== Command: ./f2k
==24==
drd: drd_malloc_wrappers.c:115 (handle_free): Assertion 'success' failed.
host stacktrace:
==24== at 0x3805EF1D: show_sched_status_wrk (m_libcassert.c:343)
==24== by 0x3805F208: report_and_quit (m_libcassert.c:419)
==24== by 0x3805F3E9: vgPlain_assert_fail (m_libcassert.c:485)
==24== by 0x38057635: handle_free (drd_malloc_wrappers.c:115)
==24== by 0x380A51B9: do_client_request (scheduler.c:1861)
==24== by 0x380A51B9: vgPlain_scheduler (scheduler.c:1425)
==24== by 0x380B25DA: thread_wrapper (syswrap-linux.c:103)
==24== by 0x380B25DA: run_a_thread_NORETURN (syswrap-linux.c:156)
sched status:
running_tid=1
Thread 1: status = VgTs_Runnable (lwpid 24)
==24== at 0x4C96951: free (vg_replace_malloc.c:530)
==24== by 0x4057A19: ??? (in /lib/ld-musl-x86_64.so.1)