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

            Bug ID: 445941
           Summary: valgrind 3.18.1 crashes on RHEL 6.7 debuginfo
                    Assertion 'in_rx' failed in libmagic.so
           Product: valgrind
           Version: 3.18.1
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: memcheck
          Assignee: jsew...@acm.org
          Reporter: bug.reporte...@gmail.com
  Target Milestone: ---

Created attachment 143848
  --> https://bugs.kde.org/attachment.cgi?id=143848&action=edit
Valgrind 3.18.1 crash trachback in debug info on RHEL 6.7

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. login to RHEL 6.7 box.
2.   export VALGRIND_OPTS=-v --trace-symtab=yes --trace-symtab-patt=*libmagic*
3. valgrind <binary>

OBSERVED RESULT
valgrind crashes with the following error:
valgrind: ../../coregrind/m_debuginfo/readelf.c:717 (get_elf_symbol_info):
Assertion 'in_rx' failed.

EXPECTED RESULT
valgrind does not crash

SOFTWARE/OS VERSIONS
RHEL 6.7 - running valgrind in an xterm window

ADDITIONAL INFORMATION
Valgrind 3.18.1 was compiled on RHEL 6.7.
Valgrind 3.17.0 does NOT exhibit this problem, nor do earlier versions of
valgrind. It seems specific to 3.18.1 on RHEL6.
The same valgrind 3.18.1 binary and same profiled binary run on RHEL7 and RHEL8
does NOT crash. The problem only occurs when running on RHEL6 with no other
changes.

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

Reply via email to