Hi,
If I start a simple OLE hello world app (shouldn't really matter what app
it is though) and run "b CoRegisterClassObject" winedbg crashes:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1075380896 (LWP 4932)]
0x408a2562 in symt_find_nearest (module=0x403e4248, addr=1081494000) at symbol.c:623
623 symt_get_info(&module->addr_sorttab[0]->symt, TI_GET_ADDRESS, &ref_addr);
(gdb) bt
#0 0x408a2562 in symt_find_nearest (module=0x403e4248, addr=1081494000) at symbol.c:623
#1 0x4089693b in elf_new_wine_thunks (module=0x403e4248, ht_symtab=0x4087dc70, num_areas=8, thunks=0x4087dc80) at elf_module.c:368
#2 0x40897071 in elf_load_debug_info (module=0x403e4248) at elf_module.c:598
#3 0x4089894d in module_get_debug (pcs=0x40330d80, module=0x403f44d0) at module.c:215
#4 0x408a2b3d in SymEnumSymbols (hProcess=0x30, BaseOfDll=0, Mask=0x4087de24 "*!CoRegisterClassObject",
EnumSymbolsCallback=0x4076585c <sgv_cb>, UserContext=0x4087e164) at symbol.c:807
#5 0x40765cfc in symbol_get_lvalue (name=0x415b0038 "CoRegisterClassObject", lineno=-1, rtn=0x4087eb4c, bp_disp=1) at symbol.c:231
#6 0x4075a58a in break_add_break_from_id (name=0x415b0038 "CoRegisterClassObject", lineno=-1) at break.c:244
#7 0x4076b25f in yyparse () at ./dbg.y:216
#8 0x4076c98b in parser (filename=0x0) at ./dbg.y:562
#9 0x40769f73 in dbg_main_loop () at winedbg.c:991
#10 0x4076a2c1 in main (argc=2, argv=0xbffff608) at winedbg.c:1229
#11 0x407592f1 in __wine_exe_main () from /opt/wine/lib/wine/winedbg.exe.so
#12 0x4049f953 in start_process (arg=0x0) at process.c:995
#13 0x400307a9 in wine_switch_to_stack () from /opt/wine/lib/libwine.so.1
(gdb) print module
$1 = (struct module *) 0x403e4248
(gdb) print module->addr_sorttab[0]
$2 = (struct symt_ht *) 0x0
Eric, any ideas? I don't understand what this code is doing.
thanks -mike