CRASH opcodes sample running url_unittests
Running without --single-process-tests seems to crash about 1 in every 5 runs:
# bin32/drrun -c api/bin/libopcodes.so -- ~/chromium/out_arm/Release/url_unittests
Client opcodes is running
IMPORTANT DEBUGGING NOTE: batches of tests are run inside their
own process. For debugging a test inside a debugger, use the
--gtest_filter=<your_test_name> flag along with
--single-process-tests.
Using sharding settings from environment. This is shard 0/1
Using 8 parallel jobs.
<Application /home/derek/chromium/out_arm/Release/url_unittests (30235).
DynamoRIO Sample Client 'opcodes' internal crash at PC 0x49af3000. Please
report this at http://dynamorio.org/issues. Program aborted.
Received SIGSEGV at pc 0x49af3000 in thread 30235
Base: 0xb0000000
Registers: r0 =0x480086b0 r1 =0x0000761b r2 =0x00800000 r3 =0x00000001
r4 =0xb6141460 r5 =0xb5941460 r6 =0xb59414c0 r7 =0xb6140338
r8 =
version 5.0.16576, custom build
-no_dynamic_options -client_lib
'/home/derek/dr/git/build_local_rel/api/bin/libopcodes.so;0;' -code_api
-stack_size 56K -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
0xb59414c0 0xb6bf6174
0xb61414c0 0xb59414c0
0xb69414c0 0xb61414c0
0xb6bf6174 0xb69414c0
0xb59414c0 0xb6bf6174
0xb61414c0 0xb59414c0
0xb69414c0 0xb61414c0
0xb6bf6174 0xb69414c0
0xb59414c0 0xb6bf6174
0xb61414c0 0xb59414c0
0xb69414c0 0xb61414c0
0xb6bf6174 0xb69414c0
0xb59414c0 0xb6bf6174
0xb61414c0 0xb59414c0
0xb69414c0 0xb61414c0>
Failed to get out-of-band test success data, dumping full stdio below:
[1/76] GURLTest.Resolve (UNKNOWN)
But I can't reproduce it easily, have to run in a loop:
<Application /home/derek/chromium/out_arm/Release/url_unittests (8418). DynamoRIO Sample Client 'opcodes' internal crash at PC 0x55e0f000. Please report this at http://dynamorio.org/issues. Program aborted.
Received SIGSEGV at pc 0x55e0f000 in thread 8418
Base: 0xb0000000
Registers: r0 =0x00000000 r1 =0x0000000c r2 =0x00000000 r3 =0xb6bed6a8
r4 =0x00000000 r5 =0xb6153328 r6 =0x00000000 r7 =0xb6153338
r8 =0
(gdb) x/10i 0x55e0f000
0x55e0f000: andeq r0, r0, r0
0x55e0f004: andeq r0, r0, r0
Debug build hit "failed to translate" once but can't repro a crash:
Using sharding settings from environment. This is shard 0/1
Using 8 parallel jobs.
<-- parent 11155 forked child 11179 -->
<-- parent 11155 forked child 11181 -->
<-- parent 11155 forked child 11184 -->
<(1+x) Handling our fault in a TRY at 0x711fc8f4>
<failed to translate>
<Application /home/derek/chromium/out_arm/Release/url_unittests (11184). Application exception at PC 0x00000000.
Signal 11 delivered to application as default action.
Callstack:
0xb6c69000
0x0b02f04f
>
<-- parent 11155 forked child 11212 -->