DynamoRIO / drmemory

Memory Debugger for Windows, Linux, Mac, and Android
Other
2.43k stars 262 forks source link

Platform exception at PC 0xb7658d25. #1566

Open derekbruening opened 9 years ago

derekbruening commented 9 years ago

From sergio.g...@gmail.com on June 16, 2014 18:40:15

What steps will reproduce the problem? 1. ./drmemory -show_reachable -- /usr/local/src/mcu/bin/debug/mcu What is the expected output? What do you see instead? <Application /usr/local/src/mcu/bin/debug/mcu (8979). Platform exception at PC 0xb7658d25. Please report this. Program aborted. Received SIGSEGV at pc 0xb7658d25 in thread 8983 Base: 0xb75f2000 Registers: eax=0x00000002 ebx=0xb7778000 ecx=0x00000000 edx=0x00000002 esi=0x00000002 edi=0xb0700010 esp=0x4bb325ac ebp=0x4bb32628 eflags=0x00210216 version 4.2.2635, custom build -no_dynamic_options -disasm_mask 8 -logdir '/root/DrMemory-Linux-1.7.0-5/drmemory/logs/dynamorio' -client_lib '/root/DrMemory-Linux-1.7.0-5/bin/release/libdrmemorylib.so;0;-show_reachable -logdir /root/DrMemory-Linux-1.7.0-5/drmemory/logs -symcache_dir /root/DrMemory-Linux-1.7.0-5/drmemory/logs/symcache -resfile 8979 ' -code_api -stack_size 56K -disable_traces -no_enable_tr 0x4bb32628 0x7385b4da> What version of the product are you using? On what operating system? root@ubuntu:~/DrMemory-Linux-1.7.0-5/bin# ./drmemory -version Dr. Memory version 1.7.0 -- build 5

Does the problem go away when running in light mode (pass "-light" to Dr. Memory)? What about when running with the options "-leaks_only -no_count_leaks -no_track_allocs"? -ligth same behaviour -leaks_only -no_count_leaks -no_track_allocs doesn't exit inmediatelly but after pressing ctrl-c got same behaviour Does the problem go away when using the most recent build from http://build.chromium.org/p/client.drmemory/builds/? no, version 1948 has same behaviour Try the debug version of Dr. Memory and of its underlying engine DynamoRIO by passing "-debug -dr_debug -pause_at_assert" to drmemory.exe. Are any messages reported? <CURIOSITY : (total_len <= ave_len_threshold * num || ((((0x00000020) & (table->table_flags)) != 0) && table->capacity <= 513)) && "hash table high average collision length" in file /work/drmemory_package/dynamorio/core/hashtablex.h line 1845 version 4.2.2635, custom build -no_dynamic_options -logdir '/root/DrMemory-Linux-1.7.0-5/drmemory/logs/dynamorio' -client_lib '/root/DrMemory-Linux-1.7.0-5/bin/debug/libdrmemorylib.so;0;-pause_at_assert -logdir /root/DrMemory-Linux-1.7.0-5/drmemory/logs -symcache_dir /root/DrMemory-Linux-1.7.0-5/drmemory/logs/symcache -resfile 9259 ' -code_api -stack_size 56K -disable_traces -no_enable_traces -maxelide 0x57cfec20 0xb7455bce 0x57cfecac 0xb745301b 0x57cfed28 0xb745261b 0x57cfedb0 0xb74687d8 0x57cfee0c 0xb7469454 0x57cfeeac 0xb74b9b58 0x57cfeef4 0xb74b9a63 0x57cfef68 0xb74b5a55 0x57cfeff4 0x55f29f87 /root/DrMemory-Linux-1.7.0-5/bin/debug/libdrmemorylib.so=0x73800000 /usr/lib/i386-linux-gnu/libstdc++.so.6=0xb48b1000 /lib/i386-linux-gnu/libgcc_s.so.1=0xb4697000 /lib/i386-linux-gnu/libm.so.6=0xb4884000 /lib/i386-linux-gnu/libc.so.6=0xb46b6000 /lib/ld-linux.so.2=0xb4861000> [0xb2e93b40][1402958077.040][LOG]>CreateConference [tag:100-5f2d47e0-7574-4d9b-8bf3-166661104d9e,queueId:1889009665] [0xb2e93b40][1402958077.490][LOG]-CreateEvenSource [source:100-5f2d47e0-7574-4d9b-8bf3-166661104d9e] <Application /usr/local/src/mcu/bin/debug/mcu (9259). Platform exception at PC 0xb74cf725. Please report this. Program aborted. Received SIGSEGV at pc 0xb74cf725 in thread 9264 Base: 0xb73da000 Registers: eax=0x00000002 ebx=0xb7764000 ecx=0x00000002 edx=0xb7776640 esi=0x0000003f edi=0x00000001 esp=0x57cfe374 ebp=0x57cfe380 eflags=0x00210296 version 4.2.2635, custom build -no_dynamic_options -logdir '/root/DrMemory-Linux-1.7.0-5/drmemory/logs/dynamorio' -client_lib '/root/DrMemory-Linux-1.7.0-5/bin/debug/libdrmemorylib.so;0;-pause_at_assert -logdir /root/DrMemory-Linux-1.7.0-5/drmemory/logs -symcache_dir /root/DrMemory-Linux-1.7.0-5/drmemory/logs/symcache -resfile 9259 ' -code_api -stack_size 56K -disable_traces -no_enable_traces -maxelide 0x57cfe380 0xb7654d2f 0x57cfe390 0x738c651f 0x57cfe3c4 0x738d3ded 0x57cfe430 0x738d4244 0x57cfe44c 0x738fb9fe 0x57cfe4b8 0x739154ee 0x57cfe52c 0x7391f07e 0x57cfe578 0x739181a2 0x57cfe5a4 0x73919051 0x57cfe668 0x739203d6 0x57cfe7e4 0x7383c972 0x57cfead0 0x7383e7e8 0x57cfeb2c 0x73830227 0x57cfed28 0x73830b68 0x57cfeeb0 0x55fd803a> Please provide any additional information below. Please also see the "Narrowing Down the Source of the Problem" section of https://code.google.com/p/drmemory/wiki/Debugging .

Original issue: http://code.google.com/p/drmemory/issues/detail?id=1566

derekbruening commented 9 years ago

From bruen...@google.com on June 23, 2014 08:35:30

Can you point us to where we can find this mcu program so we can try to reproduce?

Status: NeedInfo