https://bugs.kde.org/show_bug.cgi?id=452387
Bug ID: 452387
Summary: valgrind: m_debuginfo/readelf.c:717
(get_elf_symbol_info): Assertion 'in_rx' failed.
Product: valgrind
Version: 3.18.1
Platform: unspecified
OS: Linux
Status: REPORTED
Severity: critical
Priority: NOR
Component: memcheck
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
STEPS TO REPRODUCE
1. Build Valgrind from source on target (armv7 gcc-10.3.0 libc6-dbg_2.33-r0)
2. Run valgrind ls
OBSERVED RESULT
valgrind: m_debuginfo/readelf.c:717 (get_elf_symbol_info): Assertion 'in_rx'
failed.
EXPECTED RESULT
Valgrind does not fail in this manner
SOFTWARE/OS VERSIONS
Linux yocto build
uname -a =
Linux rct 5.10.106-rct+ #1 Thu Mar 17 17:30:08 UTC 2022 armv7l armv7l armv7l
GNU/Linux
ADDITIONAL INFORMATION
rct@rct:~$ valgrind ls
==8979== Memcheck, a memory error detector
==8979== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8979== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==8979== Command: ls
==8979==
valgrind: m_debuginfo/readelf.c:717 (get_elf_symbol_info): Assertion 'in_rx'
failed.
host stacktrace:
==8979== at 0x58045928: show_sched_status_wrk (m_libcassert.c:406)
==8979== by 0x58045ADB: report_and_quit (m_libcassert.c:477)
==8979== by 0x58045BF3: vgPlain_assert_fail (m_libcassert.c:543)
==8979== by 0x580841A7: get_elf_symbol_info (readelf.c:717)
==8979== by 0x580841A7: read_elf_symtab__normal.isra.0 (readelf.c:841)
==8979== by 0x58088D2F: vgModuleLocal_read_elf_debug_info (readelf.c:3439)
==8979== by 0x5807B9C7: di_notify_ACHIEVE_ACCEPT_STATE (debuginfo.c:969)
==8979== by 0x5807B9C7: vgPlain_di_notify_mmap (debuginfo.c:1326)
==8979== by 0x580B6B2F: vgModuleLocal_generic_PRE_sys_mmap
(syswrap-generic.c:2466)
==8979== by 0x580C5523: vgSysWrap_arm_linux_sys_mmap2_before
(syswrap-arm-linux.c:243)
==8979== by 0x580B2107: vgPlain_client_syscall (syswrap-main.c:2234)
==8979== by 0x580AC893: handle_syscall (scheduler.c:1211)
==8979== by 0x580AF60B: vgPlain_scheduler (scheduler.c:1529)
==8979== by 0x58103F87: thread_wrapper (syswrap-linux.c:101)
==8979== by 0x58103F87: run_a_thread_NORETURN (syswrap-linux.c:154)
==8979== by 0xFFFFFFFF: ???
sched status:
running_tid=1
Thread 1: status = VgTs_Runnable syscall 192 (lwpid 8979)
==8979== at 0x4101E014: __mmap (mmap.c:42)
==8979== by 0x4101E014: mmap (mmap.c:34)
==8979== by 0x41008353: _dl_map_segments (dl-map-segments.h:94)
==8979== by 0x41008353: _dl_map_object_from_fd (dl-load.c:1258)
==8979== by 0x4100966F: _dl_map_object (dl-load.c:2321)
==8979== by 0x4100EEC7: openaux (dl-deps.c:64)
==8979== by 0x4101A7F7: _dl_catch_exception (dl-error-skeleton.c:208)
==8979== by 0x4100F1AB: _dl_map_object_deps (dl-deps.c:254)
==8979== by 0x41003A57: dl_main (rtld.c:1953)
==8979== by 0x410194FF: _dl_sysdep_start (dl-sysdep.c:250)
==8979== by 0x410017FF: _dl_start_final (rtld.c:489)
==8979== by 0x410017FF: _dl_start (rtld.c:582)
==8979== by 0x41000A0F: ??? (in /lib/ld-2.33.so)
client stack range: [0xBDA58000 0xBDA59FFF] client SP: 0xBDA58ED4
valgrind stack range: [0x620DF000 0x621DEFFF] top usage: 25260 of 1048576
--
You are receiving this mail because:
You are watching all bug changes.