https://bugs.kde.org/show_bug.cgi?id=385386
Bug ID: 385386 Summary: Assertion failed "szB >= CACHE_ENTRY_SIZE" on m_debuginfo/image.c:517 Product: valgrind Version: 3.13.0 Platform: Gentoo Packages OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: memcheck Assignee: jsew...@acm.org Reporter: arkang...@gmail.com Target Milestone: --- While attempting to run "kwrite" (from KDE), valgrind crashes with the message: valgrind: m_debuginfo/image.c:517 (realloc_CEnt): Assertion 'szB >= CACHE_ENTRY_SIZE' failed. host stacktrace: ==15349== at 0x58087103: show_sched_status_wrk (m_libcassert.c:355) ==15349== by 0x58087204: report_and_quit (m_libcassert.c:426) ==15349== by 0x58087399: vgPlain_assert_fail (m_libcassert.c:492) ==15349== by 0x58128C0A: realloc_CEnt (image.c:517) ==15349== by 0x58128C0A: get_slowcase (image.c:773) ==15349== by 0x58128DD7: get (image.c:816) ==15349== by 0x58128DD7: vgModuleLocal_img_get (image.c:1088) ==15349== by 0x58128EC8: vgModuleLocal_img_get_ULong (image.c:1188) ==15349== by 0x581303B3: get_ULong (readdwarf3.c:285) ==15349== by 0x581307D2: get_UWord (readdwarf3.c:352) ==15349== by 0x581307D2: make_general_GX (readdwarf3.c:691) ==15349== by 0x58136212: parse_var_DIE (readdwarf3.c:2296) ==15349== by 0x58136CF6: read_DIE (readdwarf3.c:4219) ==15349== by 0x58136E96: read_DIE (readdwarf3.c:4280) ==15349== by 0x58136E96: read_DIE (readdwarf3.c:4280) ==15349== by 0x5813781D: new_dwarf3_reader_wrk.constprop.31 (readdwarf3.c:4757) ==15349== by 0x5813993F: vgModuleLocal_new_dwarf3_reader (readdwarf3.c:5200) ==15349== by 0x580C5D6B: vgModuleLocal_read_elf_debug_info (readelf.c:3111) ==15349== by 0x580B91BA: di_notify_ACHIEVE_ACCEPT_STATE (debuginfo.c:748) ==15349== by 0x580B91BA: vgPlain_di_notify_mmap (debuginfo.c:1063) ==15349== by 0x580E2FBD: vgModuleLocal_generic_PRE_sys_mmap (syswrap-generic.c:2388) ==15349== by 0x58117BF1: vgSysWrap_amd64_linux_sys_mmap_before (syswrap-amd64-linux.c:400) ==15349== by 0x580DFA5A: vgPlain_client_syscall (syswrap-main.c:1857) ==15349== by 0x580DC61A: handle_syscall (scheduler.c:1126) ==15349== by 0x580DDB2E: vgPlain_scheduler (scheduler.c:1443) ==15349== by 0x580ED146: thread_wrapper (syswrap-linux.c:103) ==15349== by 0x580ED146: run_a_thread_NORETURN (syswrap-linux.c:156) Kwrite (and a couple other components) were built with -O0 through Gentoo's emerge (I was looking for a separate bug). I'm using Gentoo "Valgrind-3.13.0 and LibVEX" on x86_64. -- You are receiving this mail because: You are watching all bug changes.