https://bugs.kde.org/show_bug.cgi?id=422601

--- Comment #1 from Paul Floyd <[email protected]> ---
On FreeBSD I had to change the paths to /lib/libm.so.5 in the example. No
problem running the test case.

On Linux, I also had to change the path. I still get

valgrind: m_debuginfo/readelf.c:1998 (vgModuleLocal_read_elf_object): Assertion
'di->fsm.rw_map_count == 0 || has_nonempty_rw' failed.

host stacktrace:
==1756812==    at 0x580446CA: show_sched_status_wrk (m_libcassert.c:426)
==1756812==    by 0x580447F7: report_and_quit (m_libcassert.c:497)
==1756812==    by 0x5804498C: vgPlain_assert_fail (m_libcassert.c:564)
==1756812==    by 0x58079F78: vgModuleLocal_read_elf_object (readelf.c:1998)
==1756812==    by 0x580721FB: di_notify_ACHIEVE_ACCEPT_STATE (debuginfo.c:970)
==1756812==    by 0x580721FB: vgPlain_di_notify_mmap (debuginfo.c:1434)
==1756812==    by 0x580A1F09: vgModuleLocal_generic_PRE_sys_mmap
(syswrap-generic.c:2863)
==1756812==    by 0x580AE13F: vgSysWrap_amd64_linux_sys_mmap_before
(syswrap-amd64-linux.c:413)
==1756812==    by 0x5809DB99: vgPlain_client_syscall (syswrap-main.c:2410)
==1756812==    by 0x5809968A: handle_syscall (scheduler.c:1214)
==1756812==    by 0x5809B656: vgPlain_scheduler (scheduler.c:1588)
==1756812==    by 0x58105BE9: thread_wrapper (syswrap-linux.c:102)
==1756812==    by 0x58105BE9: run_a_thread_NORETURN (syswrap-linux.c:154)

which looks like the same callstack with slightly different line numbers.

It's unusual to load a library more than once. Need to look at why a duplicate
load fails.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to