I'm using the app Powersim (a Win 3.1 app). It loads fine but when I open an app it crashes. Mike Hearn said it may have got something to do with the OLE 16/32 split. Here's the full output:
[hongli@izumi Pslite]$ wine POWERSIM.EXE fixme:reg:_nt_dump_lf unknown Win XP node id 0x686c: do we need to add support for it ? fixme:reg:_nt_dump_lf unknown Win XP node id 0x686c: do we need to add support for it ? fixme:reg:_nt_dump_lf unknown Win XP node id 0x686c: do we need to add support for it ? fixme:ole:CoRegisterClassObject16 ({30774246-086C-101B-9E18-04021C007002},0x41377e88,0x00000004,0x00000001,0x412a3ef0),stub fixme:ole:CoRegisterMessageFilter16 (0x412ee128,(nil)),stub! fixme:ole:CoLockObjectExternal16 (0x9570024,1,0),stub! fixme:ole:CoLockObjectExternal16 (0x9570024,1,0),stub! fixme:mdi:MDIRefreshMenu partially function stub fixme:ole:CoLockObjectExternal16 (0x9570030,1,0),stub!
here's when I open a project!
fixme:seh:EXC_RtlRaiseException call to unimplemented function storage.dll.IStream16_Stat wine: Unhandled exception, starting debugger... WineDbg starting on pid 8 Loaded debug information from ELF 'wine' ((nil)) Breakpoint 1 at 0x4000d61c (_end+0x400bef0) Loaded debug information from ELF '/usr/local/wine/lib/libntdll.dll.so' (0x40017000) Loaded debug information from ELF '/usr/local/wine/lib/libwine.so.1' (0x40118000) Loaded debug information from ELF '/usr/local/wine/lib/libwine_unicode.so.1' (0x40130000) Loaded debug information from ELF '/lib/libc.so.6' (0x4022b000) Loaded debug information from ELF '/lib/libm.so.6' (0x40362000) Loaded debug information from ELF '/lib/libdl.so.2' (0x40384000) Loaded debug information from ELF '/lib/ld-linux.so.2' (0x40000000) Loaded debug information from ELF '/lib/libnss_files.so.2' (0x40388000) Loaded debug information from ELF '/usr/local/wine/lib/wine/winevdm.exe.so' (0x40211000) Loaded debug information from ELF '/usr/local/wine/lib/wine/winedos.dll.so' (0x406d3000) Loaded debug information from ELF '/usr/local/wine/lib/wine/user32.dll.so' (0x40714000) Loaded debug information from ELF '/usr/local/wine/lib/wine/gdi32.dll.so' (0x4085a000) Loaded debug information from ELF '/usr/local/wine/lib/wine/advapi32.dll.so' (0x408df000) Loaded debug information from ELF '/usr/local/wine/lib/wine/kernel32.dll.so' (0x4090e000) No debug information in ELF '/usr/lib/libfreetype.so.6' (0x409ec000) No debug information in ELF '/usr/lib/libz.so.1' (0x40a42000) Loaded debug information from ELF '/usr/local/wine/lib/wine/x11drv.dll.so' (0x40a50000) No debug information in ELF '/usr/X11R6/lib/libSM.so.6' (0x40393000) No debug information in ELF '/usr/X11R6/lib/libICE.so.6' (0x40ac3000) No debug information in ELF '/usr/X11R6/lib/libXext.so.6' (0x40ada000) No debug information in ELF '/usr/X11R6/lib/libX11.so.6' (0x40ae8000) No debug information in ELF '/usr/lib/libGL.so.1' (0x40bde000) No debug information in ELF '/usr/X11R6/lib/libXmu.so.6' (0x40db2000) No debug information in ELF '/usr/X11R6/lib/libXi.so.6' (0x40dc8000) No debug information in ELF '/usr/X11R6/lib/libXt.so.6' (0x40dd0000) No debug information in ELF '/usr/X11R6/lib/libXrender.so.1' (0x40e1c000) Loaded debug information from ELF '/lib/libgcc_s.so.1' (0x40e24000) Loaded debug information from ELF '/usr/local/wine/lib/wine/mmsystem.dll.so' (0x40e40000) Loaded debug information from ELF '/usr/local/wine/lib/wine/wineoss.drv.so' (0x40eae000) Loaded debug information from ELF '/usr/local/wine/lib/wine/msacm.drv.so' (0x409d2000) Loaded debug information from ELF '/usr/local/wine/lib/wine/msacm32.dll.so' (0x40ef1000) Loaded debug information from ELF '/usr/local/wine/lib/wine/midimap.drv.so' (0x41030000) Loaded debug information from ELF '/usr/local/wine/lib/wine/commdlg.dll.so' (0x413a0000) Loaded debug information from ELF '/usr/local/wine/lib/wine/shell32.dll.so' (0x4141f000) Loaded debug information from ELF '/usr/local/wine/lib/wine/ole32.dll.so' (0x414ab000) Loaded debug information from ELF '/usr/local/wine/lib/wine/rpcrt4.dll.so' (0x41528000) Loaded debug information from ELF '/usr/local/wine/lib/wine/shlwapi.dll.so' (0x41573000) Loaded debug information from ELF '/usr/local/wine/lib/wine/comctl32.dll.so' (0x415c6000) Loaded debug information from ELF '/usr/local/wine/lib/wine/winspool.drv.so' (0x4167a000) Loaded debug information from ELF '/usr/local/wine/lib/wine/ver.dll.so' (0x417b0000) Loaded debug information from ELF '/usr/local/wine/lib/wine/lz32.dll.so' (0x417cb000) No debug information in 32bit DLL 'C:\Program Files\Pslite\POWERSIM.EXE' (0x40220000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\NTDLL.DLL' (0x40040000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\KERNEL32.DLL' (0x40930000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\ADVAPI32.DLL' (0x408f0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\GDI32.DLL' (0x40870000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\USER32.DLL' (0x40740000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINEDOS.DLL' (0x406e0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\X11DRV.DLL' (0x40a60000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINMM.DLL' (0x40e50000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINEOSS.DRV' (0x40ec0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSACM32.DLL' (0x40f00000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSACM.DRV' (0x409e0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MIDIMAP.DRV' (0x41040000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\RPCRT4.DLL' (0x41540000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\OLE32.DLL' (0x414c0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHLWAPI.DLL' (0x41590000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\COMCTL32.DLL' (0x415d0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHELL32.DLL' (0x41440000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINSPOOL.DRV' (0x41680000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\COMDLG32.DLL' (0x413b0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\LZ32.DLL' (0x417d0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\VERSION.DLL' (0x417c0000) Unhandled exception: unimplemented function storage.dll.IStream16_Stat called in 32-bit code (0x414d53b8). In 32-bit mode. Symbol __strtol_internal (0000:40384000) is invalid 0x414d53b8 (__wine_unimplemented+0x58 [storage.spec.c] in ole32.dll.so): subl $4,%esp Unable to open file storage.spec.c Wine-dbg>Wine-dbg>Wine-dbg>Wine-dbg>Wine-dbg>Wine-dbg>Wine-dbg>Wine-dbg> Wine-dbg>quit WineDbg terminated on pid 8 [hongli@izumi Pslite]$
"Hongli" == Hongli Lai h.lai@chello.nl writes:
...
here's when I open a project! fixme:seh:EXC_RtlRaiseException call to
Hongli> unimplemented function storage.dll.IStream16_Stat wine:
Try with native storage (--dll storage=n). Mor native dlls in the ole context may be needed. Otherwise implement this function or get somebody to implement it. There is still a lot to do in the Ole context...
Bye
FWIW --dll storage,ole32=n seems to work OK for me, except using the about box causes a crash (dde related, maybe the latest patches from dimitry will solve this).
On Sun, 2003-05-25 at 22:33, Uwe Bonnes wrote:
"Hongli" == Hongli Lai h.lai@chello.nl writes:
...
here's when I open a project! fixme:seh:EXC_RtlRaiseException call to
Hongli> unimplemented function storage.dll.IStream16_Stat wine:
Try with native storage (--dll storage=n). Mor native dlls in the ole context may be needed. Otherwise implement this function or get somebody to implement it. There is still a lot to do in the Ole context...
Bye
"Mike Hearn" mike@theoretic.com wrote:
FWIW --dll storage,ole32=n seems to work OK for me, except using the about box causes a crash (dde related, maybe the latest patches from dimitry will solve this).
What does make you think that a crash is DDE related? Any chance for a trace?
What does make you think that a crash is DDE related? Any chance for a trace?
sorry, how thoughtless of me, it was a simple unprotected function. This patch fixes it.
ChangeLog: Protect WDML_GetConv against null handles
Index: dlls/user/dde/misc.c =================================================================== RCS file: /home/wine/wine/dlls/user/dde/misc.c,v retrieving revision 1.18 diff -u -r1.18 misc.c --- dlls/user/dde/misc.c 19 May 2003 23:27:16 -0000 1.18 +++ dlls/user/dde/misc.c 25 May 2003 23:42:37 -0000 @@ -1902,7 +1902,8 @@ WDML_CONV* pConv = (WDML_CONV*)hConv;
/* FIXME: should do better checking */ - + if (pConv == NULL) return NULL; + if (checkConnected && !(pConv->wStatus & ST_CONNECTED)) { FIXME("found conv but ain't connected\n");
This is the trace I get:
Unhandled exception: unimplemented function storage.dll.IStream16_Stat called in 32-bit code (0x4126eb7a). In 32-bit mode. 0x4126eb7a (__wine_unimplemented+0x52 [storage.spec.c] in ole32.dll.so): jmp 0x4126eb74 (__wine_unimplemented+0x4c [storage.spec.c] in ole32.dll.so) 45 static void __wine_stub_StgCreateDocFileOnILockBytes(void) { __wine_unimplemented("StgCreateDocFileOnILockBytes"); } Wine-dbg>bt Backtrace: =>0 0x4126eb7a (__wine_unimplemented+0x52 [storage.spec.c] in ole32.dll.so) (ebp=41092118) 1 0x4126edc8 (__wine_stub_IStream16_Clone [storage.spec.c:66] in ole32.dll.so) (ebp=41092128)
So we have 3 possibilities for the stub:
* IStream16_Stat * StgCreateDocFileOnILockBytes * IStream16_Clone
Time to play guess the stub - wholesome fun for all the family! :)
My initial thought about the ole split was wrong of course, I was put off by the fact that Hongli had just upgraded his wine version from about a year ago, and that was the last thing I could remember happening to ole 16 bit. It's not in CVS yet though I think......
thanks -mike
On Sun, May 25, 2003 at 10:37:55PM +0100, Mike Hearn wrote:
This is the trace I get:
Unhandled exception: unimplemented function storage.dll.IStream16_Stat called in 32-bit code (0x4126eb7a). In 32-bit mode. 0x4126eb7a (__wine_unimplemented+0x52 [storage.spec.c] in ole32.dll.so): jmp 0x4126eb74 (__wine_unimplemented+0x4c [storage.spec.c] in ole32.dll.so) 45 static void __wine_stub_StgCreateDocFileOnILockBytes(void) { __wine_unimplemented("StgCreateDocFileOnILockBytes"); } Wine-dbg>bt Backtrace: =>0 0x4126eb7a (__wine_unimplemented+0x52 [storage.spec.c] in ole32.dll.so) (ebp=41092118) 1 0x4126edc8 (__wine_stub_IStream16_Clone [storage.spec.c:66] in ole32.dll.so) (ebp=41092128)
So we have 3 possibilities for the stub:
- IStream16_Stat
- StgCreateDocFileOnILockBytes
- IStream16_Clone
Time to play guess the stub - wholesome fun for all the family! :)
No, it is definitely said what is missing:
Unhandled exception: unimplemented function storage.dll.IStream16_Stat called in 32-bit code (0x4126eb7a).
Chances are pretty good that StgCreateDocFileOnILockBytes is called just some lines later though.
Ciao, Marcus
No, it is definitely said what is missing:
Unhandled exception: unimplemented function storage.dll.IStream16_Stat called in 32-bit code (0x4126eb7a).
Chances are pretty good that StgCreateDocFileOnILockBytes is called just some lines later though.
Why does the backtrace show a different function altogether?
thanks -mike
On Tue, May 27, 2003 at 07:40:07PM +0100, Mike Hearn wrote:
No, it is definitely said what is missing:
Unhandled exception: unimplemented function storage.dll.IStream16_Stat called in 32-bit code (0x4126eb7a).
Chances are pretty good that StgCreateDocFileOnILockBytes is called just some lines later though.
Why does the backtrace show a different function altogether?
Because the debuginfo is not complete in the generated files I think.
Ciao, Marcus