Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Issues
  • #5807
Closed
Open
Issue created Jan 03, 2023 by prasun3@prasun3Contributor

failure to translate while tracing ptsig with trace_after_instrs

Describe the bug

$ build/bin64/drrun -t drcachesim -trace_after_instrs 2000M --offline -- build/suite/tests/bin/pthreads.ptsig
<Starting application /home/prasun/dynamorio-latest/build/suite/tests/bin/pthreads.ptsig (246857)>
<Initial options = -no_dynamic_options -client_lib '/home/prasun/dynamorio-latest/build/bin64/../clients/lib64/debug/libdrmemtrace.so;0;-trace_after_instrs 2000M --offline' -client_lib64 '/home/prasun/dynamorio-latest/build/bin64/../clients/lib64/debug/libdrmemtrace.so;0;-trace_after_instrs 2000M --offline' -code_api -stack_size 56K -signal_stack_size 32K -max_elide_jmp 0 -max_elide_call 0 -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
<Paste into GDB to debug DynamoRIO clients:
set confirm off
add-symbol-file '/home/prasun/dynamorio-latest/build/bin64/../clients/lib64/debug/libdrmemtrace.so' 0x00007fdd4ee8c3c0
add-symbol-file '/home/prasun/dynamorio-latest/build/lib64/debug/libdynamorio.so' 0x00007fdd930c27b8
add-symbol-file '/home/prasun/dynamorio-latest/build/ext/lib64/debug/libdrsyms.so' 0x00007fdd4f11a260
add-symbol-file '/lib/x86_64-linux-gnu/libc.so.6' 0x00007fdd92a79360
add-symbol-file '/lib64/ld-linux-x86-64.so.2' 0x00007fdd9282bf10
add-symbol-file '/home/prasun/dynamorio-latest/build/ext/lib64/debug/libdrwrap.so' 0x00007fdd4f3626d0
add-symbol-file '/home/prasun/dynamorio-latest/build/ext/lib64/debug/libdrmgr.so' 0x00007fdd4f573090
add-symbol-file '/home/prasun/dynamorio-latest/build/ext/lib64/debug/libdrutil.so' 0x00007fdd4f782850
add-symbol-file '/home/prasun/dynamorio-latest/build/ext/lib64/debug/libdrstatecmp.so' 0x00007fdd4f9887b0
add-symbol-file '/home/prasun/dynamorio-latest/build/ext/lib64/debug/libdrcovlib.so' 0x00007fdd4fb8ee60
add-symbol-file '/home/prasun/dynamorio-latest/build/ext/lib64/debug/libdrx.so' 0x00007fdd4fd9b350
add-symbol-file '/home/prasun/dynamorio-latest/build/ext/lib64/debug/libdrreg.so' 0x00007fdd4ffae010
add-symbol-file '/home/prasun/dynamorio-latest/build/ext/lib64/debug/libdrbbdup.so' 0x00007fdd501bd330
add-symbol-file '/home/prasun/dynamorio-latest/build/ext/lib64/debug/libdrpttracer.so' 0x00007fdd503ca130
add-symbol-file '/usr/lib/x86_64-linux-gnu/libsnappy.so.1' 0x00007fdd926241b0
add-symbol-file '/usr/lib/x86_64-linux-gnu/libstdc++.so.6' 0x00007fdd922b09c0
add-symbol-file '/lib/x86_64-linux-gnu/libm.so.6' 0x00007fdd91e80a80
add-symbol-file '/lib/libgcc_s.so.1' 0x00007fdd91c5eb50
add-symbol-file '/lib/x86_64-linux-gnu/libz.so.1' 0x00007fdd91a3ff90
>
<curiosity: rex.w on OPSZ_6_irex10_short4!>
<(1+x) Handling our fault in a TRY at 0x00007fdd93329228>
<failed to translate>
<Application /home/prasun/dynamorio-latest/build/suite/tests/bin/pthreads.ptsig (246857).  Internal Error: DynamoRIO debug check failure: /home/prasun/dynamorio-latest/dynamorio/core/unix/signal.c:3118 false
(Error occurred @2310 frags in tid 246857)
version 9.0.19345, custom build
-no_dynamic_options -client_lib '/home/prasun/dynamorio-latest/build/bin64/../clients/lib64/debug/libdrmemtrace.so;0;-trace_after_instrs 2000M --offline' -client_lib64 '/home/prasun/dynamorio-latest/build/bin64/../clients/lib64/debug/libdrmemtrace.so;0;-trace_after_instrs 2000M --offline' -code_api -stack_size 56K -signa
0x00007fdb4ef3ec40 0x00007fdd9315d5fc
0x00007fdb4ef3ee90 0x00007fdd933641aa
0x00007fdb4ef3f7d0 0x00007fdd9336a958
0x00007fdb4ef3fa10 0x00007fdd9336de31
0x00007fdb4ef3fab0 0x00007fdd93328d49
0x00007ffce2340bf0 0x00007fdd91420c87
0x00007fdd8ee73710 0x158e258d4c544155
/home/prasun/dynamorio-latest/build/lib64/debug/libdynamorio.so=0x00007fdd93077000
/home/prasun/dynamorio-latest/build/bin64/../clients/lib64/debug/libdrmemtrace.so=0x00007fdd4ee79000
/lib/x86_64-linux-gnu/libz.so.1=0x00007fdd91a3e000
/usr/lib/x86_64-linux-gnu/libsnappy.so.1=0x00007fdd92622000
/usr/lib/x86_64-linux-gnu/libstdc++.so.6=0x00007fdd92214000
/lib/libgcc_s.so.1=0x00007fdd91c5c000
/lib/x86_64-linux-gnu/libm.so.6=0x00007fdd91e75000
/home>

See https://groups.google.com/g/DynamoRIO-Users/c/uldfnkSW-sc

To Reproduce See cmd line above

Expected behavior No assert failure.

Screenshots or Pasted Text

Versions

  • What version of DynamoRIO are you using?
    • b114a32e
  • Does the latest build from https://github.com/DynamoRIO/dynamorio/releases solve the problem?
    • No
  • What operating system version are you running on? ("Windows 10" is not sufficient: give the release number.)
    • Ubuntu 18.04.6 LTS
  • Is your application 32-bit or 64-bit?
    • 64-bit

Additional context Add any other context about the problem here.

Assignee
Assign to
Time tracking