latest load_dll changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



seems to have fixed visual-mingw when compiled as
a Winelib app (I've posted sometime ago that the
LoadLibrary() call was failing). However, it now
dies with another weird init problem. Keep in
mind that this is a C++ app, which uses a wrapper
as generated by winegcc. Here is the backtrace:

Unhandled exception: page fault on read access to 0x000004d0 in 32-bit code (0x40db7de7).
In 32-bit mode.
0x40db7de7 (_end+0x444bb in libX11.so.6): movl  0x4d0(%edx),%eax
Wine-dbg>bt
Backtrace:
=>0 0x40db7de7 (_end+0x444bb in libX11.so.6) (ebp=40881ab8)
  1 0x40d3a4b1 (X11DRV_CreateDC+0xc5(dc=0x40555128, pdev=0x4055513c, driver=0x40881b0c, device=0x0, output=0x0, initData=0x0) [init.c:124] in x11drv.dll.so) (ebp=40881adc)
  2 0x40b84d5c (CreateDCW+0xdc(driver=0x40554f20, device=0x0, output=0x0, initData=0x0) [dc.c:607] in gdi32.dll.so) (ebp=40881d78)
  3 0x40b84f2a (CreateDCA+0x82(driver=0x40adee04, device=0x0, output=0x0, initData=0x0) [dc.c:653] in gdi32.dll.so) (ebp=40881dc0)
  4 0x40aa2473 (SYSMETRICS_Init+0x27 [sysmetrics.c:123] in user32.dll.so) (ebp=40881df8)
  5 0x40acaa89 (process_attach+0x55 [user_main.c:235] in user32.dll.so) (ebp=40881e08)
  6 0x40acabb9 (USER32.DLL.UserClientDllInitialize+0x2d in user32.dll.so) (ebp=40881e14)
  7 0x40062662 (MODULE_InitDLL+0xde(wm=0x40531158, reason=0x1, lpReserved=0x0) [loader.c:682] in libntdll.dll.so) (ebp=40881e80)
  8 0x40062838 (process_attach+0xf8(wm=0x40531158, lpReserved=0x0) [loader.c:755] in libntdll.dll.so) (ebp=40881ea4)
  9 0x40062867 (process_attach+0x127(wm=0x40532098, lpReserved=0x0) [loader.c:747] in libntdll.dll.so) (ebp=40881ec4)
  10 0x40063f3c (LdrLoadDll+0x84(path_name=0x40531f78, flags=0x0, libname=0x40881f28, hModule=0x40881f08) [loader.c:1473] in libntdll.dll.so) (ebp=40881ee8)
  11 0x4022a05b (load_library+0x4b(libname=0x40881f28, flags=0x0) [module.c:700] in kernel32.dll.so) (ebp=40881f18)
  12 0x4022a0e7 (LoadLibraryExA+0x2f(libname=0x40881f6c, hfile=0x0, flags=0x0) [module.c:742] in kernel32.dll.so) (ebp=40881f3c)
  13 0x4022a170 (LoadLibraryA+0x1c(libname=0x40881f6c) [module.c:783] in kernel32.dll.so) (ebp=40881f54)
  14 0x40b989df (load_display_driver+0x73 [driver.c:226] in gdi32.dll.so) (ebp=40882088)
  15 0x40b98a94 (DRIVER_load_driver+0x3c(name=0x408820bc) [driver.c:258] in gdi32.dll.so) (ebp=408820a0)
  16 0x40b84cf8 (CreateDCW+0x78(driver=0x40531e98, device=0x0, output=0x0, initData=0x0) [dc.c:591] in gdi32.dll.so) (ebp=40882328)
  17 0x40b84f2a (CreateDCA+0x82(driver=0x40adee04, device=0x0, output=0x0, initData=0x0) [dc.c:653] in gdi32.dll.so) (ebp=40882370)
  18 0x40a8892f (CURSORICON_CreateFromResource+0x5f3(hModule=0x0, hObj=0x0, bits=0x40acce80, cbSize=0x134, bIcon=0x0, dwVersion=0x30000, width=0x20, height=0x20, loadflags=0x8040) [cursoricon.c:557] in user32.dll.so) (ebp=40882400)
  19 0x40a88b17 (CURSORICON_Load+0x12f(hInstance=0x0, name=0x7f00, width=0x0, height=0x0, colors=0x1, fCursor=0x1, loadflags=0x8040) [cursoricon.c:808] in user32.dll.so) (ebp=40882450)
  20 0x40a8ac9b (LoadImageW+0x8b(hinst=0x0, name=0x7f00, type=0x2, desiredx=0x0, desiredy=0x0, loadflags=0x8040) [cursoricon.c:2081] in user32.dll.so) (ebp=40882484)
  21 0x40a8ac08 (LoadImageA+0x120(hinst=0x0, name=0x7f00, type=0x2, desiredx=0x0, desiredy=0x0, loadflags=0x8040) [cursoricon.c:2010] in user32.dll.so) (ebp=40882564)
  22 0x40a89f4a (LoadCursorA+0x26(hInstance=0x0, name=0x7f00) [cursoricon.c:1581] in user32.dll.so) (ebp=40882588)
  23 0x408ab862 (VISUAL-MINGW-WRAP.DLL..data+0x9862 in visual-mingw-wrap.dll.so) (ebp=408825a0)
  24 0x408b13ba (VISUAL-MINGW-WRAP.DLL..data+0xf3ba in visual-mingw-wrap.dll.so) (ebp=408825d8)
  25 0x408b5178 (VISUAL-MINGW-WRAP.DLL..data+0x13178 in visual-mingw-wrap.dll.so) (ebp=408825f0)
  26 0x408b53d7 (VISUAL-MINGW-WRAP.DLL..data+0x133d7 in visual-mingw-wrap.dll.so) (ebp=40882600)
  27 0x408c963d (VISUAL-MINGW-WRAP.DLL.WinMain+0x6723 in visual-mingw-wrap.dll.so) (ebp=40882610)
  28 0x40894b02 (_end+0x225ec2 in visual-mingw-wrap.dll.so) (ebp=40882620)
  29 0x4000ca61 (_end+0x400b315 in ld-linux.so.2) (ebp=40882670)
  30 0x4210f382 (NTDLL.DLL.memcpy+0x92f42) (ebp=408826f0)
  31 0x4000c816 (_end+0x400b0ca in ld-linux.so.2) (ebp=408827f0)
  32 0x4210ee19 (NTDLL.DLL.memcpy+0x929d9) (ebp=40882850)
  33 0x401d200b (NTDLL.DLL.sqrt+0x1940b in libdl.so.2) (ebp=40882870)
  34 0x4000c816 (_end+0x400b0ca in ld-linux.so.2) (ebp=40882970)
  35 0x401d2416 (NTDLL.DLL.sqrt+0x19816 in libdl.so.2) (ebp=408829a0)
  36 0x401d1fb4 (NTDLL.DLL.sqrt+0x193b4 in libdl.so.2) (ebp=408829c0)
  37 0x4009a8b6 (wine_dlopen+0x2a(filename=0x3c005467, flag=0x2, error=0x40882b80, errorsize=0x100) [loader.c:450] in libwine.so.1) (ebp=408829dc)
  38 0x4009a275 (dlopen_dll+0xd1(name=0x40882a70, error=0x40882b80, errorsize=0x100, test_only=0x0, exists=0x40882a5c) [loader.c:148] in libwine.so.1) (ebp=40882a10)
  39 0x4009a76d (wine_dll_load+0x69(filename=0x40882a70, error=0x40882b80, errorsize=0x100, file_exists=0x40882a5c) [loader.c:383] in libwine.so.1) (ebp=40882a3c)
  40 0x4006353b (load_builtin_dll+0x127(load_path=0x40530e48, path=0x40882cc8, flags=0x0, pwm=0x40882d40) [loader.c:1238] in libntdll.dll.so) (ebp=40882c8c)
  41 0x40063dda (load_dll+0x322(load_path=0x40530e48, libname=0x40530e10, flags=0x0, pwm=0x40882d40) [loader.c:1426] in libntdll.dll.so) (ebp=40882d24)
  42 0x40063efa (LdrLoadDll+0x42(path_name=0x40530e48, flags=0x0, libname=0x40882d90, hModule=0x40882d70) [loader.c:1471] in libntdll.dll.so) (ebp=40882d50)
  43 0x4022a05b (load_library+0x4b(libname=0x40882d90, flags=0x0) [module.c:700] in kernel32.dll.so) (ebp=40882d80)
  44 0x4022a0e7 (LoadLibraryExA+0x2f(libname=0x40643400, hfile=0x0, flags=0x0) [module.c:742] in kernel32.dll.so) (ebp=40882da4)
  45 0x4022a170 (LoadLibraryA+0x1c(libname=0x40643400) [module.c:783] in kernel32.dll.so) (ebp=40882dbc)
  46 0x40643245 (visual-mingw.exe.so.EntryPoint+0x245 in visual-mingw.exe.so) (ebp=40882dec)
  47 0x40643108 (visual-mingw.exe.so.EntryPoint+0x108 in visual-mingw.exe.so) (ebp=40882e7c)
  48 0x40064858 (LdrInitializeThunk+0x20c(main_file=0x0, unknown2=0x0, unknown3=0x0, unknown4=0x0) [loader.c:1805] in libntdll.dll.so) (ebp=40882f20)
  49 0x4025907b (start_process+0x8f(arg=0x0) [process.c:171] in kernel32.dll.so) (ebp=40882ff4)
  50 0x4009a9d1 (wine_switch_to_stack+0x11 in libwine.so.1) (ebp=00000000)


-- 
Dimi.



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux