crash in privload_call_lib_func i386 , when use client with drrun.
Created by: hac425xxx
platform
i386 ubuntu 18
version
https://github.com/DynamoRIO/dynamorio/releases/download/cronbuild-7.91.18319/DynamoRIO-Linux-7.91.18319.tar.gz
master also has this bug.
when run drrun with client , it could crash.
drrun -c samples/bin32/libinscount.so -- ./filefuzz
<Application /xxx/filefuzz (101859). DynamoRIO internal crash at PC 0x00000035. Please report this at http://dynamorio.org/issues/. Program aborted.
Received SIGSEGV at unknown pc 0x00000035 in thread 101859
Base: 0xf7d27000
Registers:eax=0x00000000 ebx=0xff8c8e20 ecx=0x00000035 edx=0xf7a82a40
esi=0xf7f260dc edi=0xff8c8e14 esp=0xff8c8dfc ebp=0xff8c8e1a
eflags=0x00010282
version 7.91.18319, custom build
-no_dynamic_options -client_lib '/xxxx/samples/bin32/libinscount.so;0;' -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_indcall2d
this is the backtrace of this bug
(gdb) bt
#0 0x00000035 in ?? ()
#1 0xf7f07e59 in privload_call_lib_func (func=0x35) at /home/travis/build/DynamoRIO/dynamorio/core/unix/loader.c:990
#2 privload_call_entry (dcontext=0xf7fb6000, privmod=0xffffcd54, reason=4159886336) at /home/travis/build/DynamoRIO/dynamorio/core/unix/loader.c:619
#3 0x00000000 in ?? ()
(gdb) quit