http://bugs.winehq.org/show_bug.cgi?id=11211
Summary: Typeinfodump.exe crashes Product: Wine Version: CVS/GIT Platform: Other URL: http://www.debuginfo.com/tools/typeinfodump.html OS/Version: other Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: dbghelp AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Running typeinfodump.exe, even on a bogus file, crashes with a null pointer read. Here's part of the backtrace:
=>1 0xf7ddf2a3 (0x0033f3bc) 2 0x7e5b2e2d symt_new_function+0x6d(module=0x12614c0, compiland=0x34de9e4, name=0x0, addr=0x7b884050, size=0x28, sig_type=0x3559cd8) [/data/dkegel/wine-git/dlls/dbghelp/symbol.c:233] in dbghelp (0x0033f3fc) 3 0x7e59a122 dwarf2_parse_subprogram+0x3c2(ctx=0x33f5b4, di=0x3457ccc, compiland=<register EDI not in topmost frame>) [/data/dkegel/wine-git/dlls/dbghelp/dwarf.c:1564] in dbghelp (0x0033f4bc) ...
I've seen something like this in several other apps, but this is probably a nice bare-naked way of showing the problem.
http://bugs.winehq.org/show_bug.cgi?id=11211
--- Comment #1 from Dan Kegel dank@kegel.com 2008-01-16 20:08:54 --- Uh-oh. I'm seeing this on random invocations of winedbg now:
==17621== by 0x4709BCB: raise_segv_exception (signal_i386.c:1162) ==17621== by 0xDEADBABD: ??? ==17621== by 0x4961274: pool_strdup (storage.c:111) ==17621== by 0x496246C: symt_new_function (symbol.c:233) ==17621== by 0x4949761: dwarf2_parse_subprogram (dwarf.c:1564) ==17621== by 0x4949AE6: dwarf2_load_one_entry (dwarf.c:1721) ==17621== by 0x494A765: dwarf2_parse_compilation_unit (dwarf.c:2014) ==17621== by 0x494AE81: dwarf2_parse (dwarf.c:2217) ==17621== by 0x494CF0B: elf_load_debug_info_from_map (elf_module.c:241) ==17621== by 0x494D3E6: elf_load_debug_info (elf_module.c:1143) ==17621== by 0x4950FCA: module_get_debug (module.c:303) ==17621== by 0x4964617: SymFromAddr (symbol.c:1043) ==17621== by 0x48F9E61: stack_print_addr_and_args (stack.c:250) ==17621== by 0x48FA0B2: backtrace (stack.c:293)
This is valgrind showing a backtrace from our own backtrace crashing?!
Invoked like this: cd dlls/comctl32 WINEDEBUG=+seh,+process ../../../tools/runtest -P wine -M comctl32.dll -T ../../.. -p comctl32_test.exe.so imagelist.c I'll attach the full log.
http://bugs.winehq.org/show_bug.cgi?id=11211
--- Comment #2 from Dan Kegel dank@kegel.com 2008-01-16 20:11:04 --- Created an attachment (id=10317) --> (http://bugs.winehq.org/attachment.cgi?id=10317) RUNTEST_USE_VALGRIND=1 WINEDEBUG=+seh,+process ../../../tools/runtest -P wine -M comctl32.dll -T ../../.. -p comctl32_test.exe.so imagelist.c
Assumes you have my patch to runtest to turn on valgrind.
http://bugs.winehq.org/show_bug.cgi?id=11211
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Typeinfodump.exe crashes |winedbg crashes?
--- Comment #3 from Dan Kegel dank@kegel.com 2008-01-16 20:14:38 --- This is now blocking my daily valgrind runs.
http://bugs.winehq.org/show_bug.cgi?id=11211
Eric Pouech eric.pouech@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@orange.fr
--- Comment #4 from Eric Pouech eric.pouech@orange.fr 2008-01-19 03:19:48 --- could you try whether this also happens without valgrind ? and in any case post the +dbghelp,+sbghelp_symt trace (actually, it doesn't look like an issue with typeinfo, I successfully run it here, but rather something wrong with the dwarf info reading, or an oom condition)
TIA
http://bugs.winehq.org/show_bug.cgi?id=11211
--- Comment #5 from Eric Pouech eric.pouech@orange.fr 2008-03-23 03:41:26 --- any news on this one ?
http://bugs.winehq.org/show_bug.cgi?id=11211
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #6 from Dan Kegel dank@kegel.com 2008-03-23 04:48:09 --- The app no longer crashes for me on a bogus file. I think it was fixed some time ago, I just forgot to update bugzilla. Thanks...
http://bugs.winehq.org/show_bug.cgi?id=11211
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2008-04-04 10:06:35 --- Closing bugs fixed in 0.9.59.
http://bugs.winehq.org/show_bug.cgi?id=11211
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified