Hey!
I am having some success on darwin. I am able to run small winelib exe like expand.exe.so... I am still having trouble with comctl32 which won't loads (this is symbols lookup related). I have also trouble with the x11drv, and I would like someone helps on the errors I get. With every exe I get: err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report MyComment : allocating DOS mem to 0xb20000 fixme:reg:GetSystemInfo not yet supported on this system err:heap:HEAP_CreateSystemHeap system heap base address 0x65430000 not available
Are those errors deranging or could exes run with them without trouble? expand at least is ok with those. But when I try to launch winemine, the x11drv fails when it launch, here is the backtrace on gdb (it gives a Bad access signal):
#0 GetProcessHeap () at ../../memory/heap.c:229 #1 0x016c37cc in X11DRV_PALETTE_BuildSharedMap (sys_pal_template=0xbfffda30) at ../../graphics/x11drv/palette.c:563 #2 0x016c2c04 in X11DRV_PALETTE_Init () at ../../graphics/x11drv/palette.c:227 #3 0x016c10c8 in X11DRV_GDI_Initialize (display=0x1) at ../../graphics/x11drv/init.c:60 #4 0x016e145c in process_attach () at x11drv_main.c:359 #5 0x016e17a4 in DllMain (hinst=0x1, reason=24099216, reserved=0x0) at x11drv_main.c:485 #6 0x006c03a4 in MODULE_InitDLL (wm=0x301690, reason=1, lpReserved=0x0) at loader.c:574 #7 0x006c05b8 in MODULE_DllProcessAttach (wm=0x301690, lpReserved=0x0) at loader.c:660 #8 0x006c1484 in LdrLoadDll (path_name=0x1, flags=0, libname=0x0, hModule=0xbfffdde0) at loader.c:1170 #9 0x00692108 in LoadLibraryExA (libname=0x1 <Address 0x1 out of bounds>, hfile=0x16fb990, flags=0) at ../../loader/module.c:699 #10 0x00df2e20 in load_driver () at user_main.c:72 #11 0x00df3568 in process_attach () at user_main.c:231 #12 0x00df36c8 in UserClientDllInitialize (inst=0x1, reason=24099216, reserved=0x0) at user_main.c:302 #13 0x006c03a4 in MODULE_InitDLL (wm=0x2d08a8, reason=1, lpReserved=0x1) at loader.c:574 #14 0x006c05b8 in MODULE_DllProcessAttach (wm=0x2d08a8, lpReserved=0x1) at loader.c:660 #15 0x006c056c in MODULE_DllProcessAttach (wm=0x2d0658, lpReserved=0x1) at loader.c:652 #16 0x006adeb4 in start_process (arg=0x1) at ../../scheduler/process.c:455 #17 0x006cf4cc in SYSDEPS_SwitchToThreadStack (func=0x5b58c <interlocked_xchg_add>, arg=0x16fb990) at sysdeps.c:246 #18 0x006ae470 in __wine_process_init (argc=1, argv=0xbffffc4c) at ../../scheduler/process.c:591 #19 0x0005b1fc in wine_init (argc=2, argv=0xbffffc48, error=0xbffff790 "", error_size=1024) at loader.c:439 #20 0x00001d4c in main (argc=1, argv=0x16fb990) at main.c:33 #21 0x00001ad4 in _start (argc=2, argv=0xbffffc48, envp=0xbffffc54) at /SourceCache/Csu/Csu-45/crt.c:267 #22 0x00001954 in start ()
I think it is related with the HEAP_CreateSystemHeap which fails. What is the system Heap, how is it allocated and how is it important?
Thanks,
Pierre.
Pierre d'Herbemont wrote:
#9 0x00692108 in LoadLibraryExA (libname=0x1 <Address 0x1 out of bounds>, hfile=0x16fb990, flags=0) at ../../loader/module.c:699
the libname value is strange (especially, if called in load_driver, with a buffer from the stack as libname)... so either the debugger reports bad values (which can be the case :-(, or this shall be the first thing to look after A+
On mardi, juil 15, 2003, at 21:34 Europe/Paris, Eric Pouech wrote:
Pierre d'Herbemont wrote:
#9 0x00692108 in LoadLibraryExA (libname=0x1 <Address 0x1 out of bounds>, hfile=0x16fb990, flags=0) at ../../loader/module.c:699
the libname value is strange (especially, if called in load_driver, with a buffer from the stack as libname)... so either the debugger reports bad values (which can be the case :-(, or this shall be the first thing to look after
Maybe it is because it is now out of context. Thanks for the pointing. I'll try to see on this way if something goes wrong, next. After a lot of debugging, The TEB was missed up simply because I forgot to tell gcc not to use the r13 for his own things (The TEB is on the r13).
Thanks again for the advice ;)
Pierre