Gerard Patel gerard.patel@nerim.net writes:
At 04:43 PM 14/11/2001 +0100, you wrote:
<snip>
>fixme:winsock:_get_sock_fd handle -1 is not a socket (GLE 6)
>MSG .0 fatal: getsockopt(SO_OPENTYPE) failed - Invalid handle
This error message has already been posted several times
on the news group. It was linked to the previous Wine version (october)
Do you use last version (1108) or current Cvs ?
Current CVS. I just ran a cvs up -A to make sure. The only diff I have
from the main branch is the little hack that was appended to my
original message. It might be something like a missing /sbin/ldconfig
but I don't have a working X-tunnel to that computer at the
moment. Will check when I get home.
No, it's definitely the latest version from CVS.
The lines around this event from "wine -debugmsg
+winsock,+file,-relay=kernel32:x11drv:ntdll:gdi32 3dsmax.exe" followed by a
complete trace with only +winsock,+file is appended.
--
Peter Bortas
http://peter.bortas.org
---8<------relay trace-----------------
091d38d8:Ret PE DLL (proc=0x28085831,module=2807a000,type=2,res=(nil)) retval=1
091d38d8:Call PE DLL (proc=0x2809c85d,module=2808f000,type=2,res=(nil))
091d38d8:Ret PE DLL (proc=0x2809c85d,module=2808f000,type=2,res=(nil)) retval=1
091d38d8:Call ws2_32.WSAStartup(00000101,45e96d58) ret=00de3e9e
trace:winsock:WSAStartup verReq=101
trace:winsock:WSAStartup succeeded
091d38d8:Ret ws2_32.WSAStartup() retval=00000000 ret=00de3e9e
0806cc88:Ret comctl32.ImageList_Create() retval=45630728 ret=0048b687
091d38d8:Call ws2_32.getsockopt(ffffffff,0000ffff,00007008,00f1ca84,45e96d54) ret=00de3f47
fixme:winsock:_get_sock_fd handle -1 is not a socket (GLE 6)
trace:winsock:WSOCK32_getsockopt socket: ffffffff, opt 0xffff, ptr f1ca84, len 4
091d38d8:Ret ws2_32.getsockopt() retval=ffffffff ret=00de3f47
091d38d8:Call ws2_32.setsockopt(00000004,00000006,00000001,45e9475c,00000004) ret=00ded9d8
trace:winsock:WSOCK32_setsockopt socket 0004, lev 6, opt 0x1, ptr 45e9475c, len 4
FIXME:pthread_rwlock_rdlock
FIXME:pthread_rwlock_unlock
warn:winsock:wsaErrno errno 88, (Socket operation on non-socket).
091d38d8:Ret ws2_32.setsockopt() retval=ffffffff ret=00ded9d8
trace:file:WriteFile 12 0xefd958 14 0x45e94770 (nil)
MSG .0 fataltrace:file:WriteFile 12 0xeeb06c 2 0x45e94770 (nil)
: trace:file:WriteFile 12 0xefd978 47 0x45e94770 (nil)
getsockopt(SO_OPENTYPE) failed - Invalid handletrace:file:WriteFile 12 0xee9e48 1 0x45e94770 (nil)
trace:file:CreateFileA Z:\TEMP\raylib.log GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE OPEN_ALWAYS
trace:file:CreateFileA C:\Program Files\3dsmax4\UI\Icons\MeditImages_i.bmp GENERIC_READ FILE_SHARE_READ FILE_SHARE_WRITE OPEN_EXISTING
trace:file:SetFileAttributesA (Z:\TEMP\raylib.log,20)
trace:file:SetFilePointer handle 452 offset 0 high 0 origin 2
trace:file:SetFilePointer handle 452 offset 0 high 0 origin 2
trace:file:WriteFile 452 0x45e94310 79 0x45e94718 (nil)
trace:file:ReadFile 456 0x452e1cc8 4096 0x40616c04 (nil)
091d38d8:Call PE DLL (proc=0x2809c85d,module=2808f000,type=0,res=0x1)
---8<------end relay trace-----------------
---8<------complete winsock/file trace------------------
Line 193: Unrecognized input 'read=0x378-0x37a'
Line 194: Unrecognized input 'write=0x378-0x37a'
trace:file:CreateFileA C:\Program Files\3dsmax4\3dsmax.exe GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\splash.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\windows\system\msvcrt.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
fixme:win32:PE_CreateModule Security directory ignored
trace:file:CreateFileA C:\windows\system\avifil32.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\windows\system\ole32.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\windows\system\imagehlp.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\adlmbase.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\windows\system\oleaut32.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\windows\system\msvcp60.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\windows\system\wininet.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\windows\system\tapi32.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\windows\system\rpcrt4.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\bmm.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\cfgmgr.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\core.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\acge15.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\windows\system\urlmon.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\expr.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\geom.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\maxutil.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\windows\system\msvcirt.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\gfx.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\mesh.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\particle.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\resmgr.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\undomgr.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\RenderUtil.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\MNMath.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\helpsys.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\client.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\maxnet.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\windows\system\netapi32.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\windows\system\netbios.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\gcomm2.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\zlibdll.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\windows\system\mfc42.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\flt.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\Maxscrpt.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\Paramblk2.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\ManipSys.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\unzip32.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\Poly.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\viewfile.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\gup.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\edmodel.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\gmi.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\spline51.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\kern51.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\amml51.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\ammlaux.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\crt151.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\crt251.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\ga51.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\skin51.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\covr51.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\bool51.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\eulr51.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\intr51.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\ct51.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\cstr51.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\oper51.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\blnd51.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\ofst51.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\swp51.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\Rm.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\tessint.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\menus.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\MenuMan.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\imageViewers.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\CustDlg.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\splash.BMP GENERIC_READ FILE_SHARE_READ FILE_SHARE_WRITE OPEN_EXISTING
warn:file:CreateFileA Unable to get full filename from 'C:\Program Files\3dsmax4\splash.BMP' (GLE 2)
trace:file:CreateFileA C:\WINDOWS\SYSTEM\wineoss.drv GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
warn:file:CreateFileA Unable to get full filename from 'C:\WINDOWS\SYSTEM\wineoss.drv' (GLE 2)
fixme:reg:RegSetValueExA (188,"NullFile" ...) data is null pointer (3ds4 hack)
trace:file:CreateFileA C:\Program Files\3dsmax4\res1.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\res2.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\res3.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\res4.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\res5.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\res6.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\res8.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:file:CreateFileA C:\Program Files\3dsmax4\res7.dll GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
trace:winsock:WSOCK32_LibMain 0x40aa5000 0x1 0x1
trace:winsock:WSAStartup verReq=101
trace:winsock:WSAStartup succeeded
trace:file:CreateFileA C:\WINDOWS\SYSTEM\MFC42LOC.DLL GENERIC_READ FILE_SHARE_READ OPEN_EXISTING
warn:file:CreateFileA Unable to get full filename from 'C:\WINDOWS\SYSTEM\MFC42LOC.DLL' (GLE 2)
FIXME:pthread_rwlock_rdlock
FIXME:pthread_rwlock_unlock
FIXME:pthread_rwlock_rdlock
FIXME:pthread_rwlock_unlock
FIXME:pthread_rwlock_rdlock
FIXME:pthread_rwlock_unlock
FIXME:pthread_rwlock_rdlock
FIXME:pthread_rwlock_unlock
trace:winsock:WSOCK32_LibMain 0x40aa5000 0x2 (nil)
trace:winsock:WSOCK32_LibMain 0x40aa5000 0x2 (nil)
trace:winsock:WSAStartup verReq=101
trace:winsock:WSAStartup succeeded
fixme:winsock:_get_sock_fd handle -1 is not a socket (GLE 6)
trace:winsock:WSOCK32_getsockopt socket: ffffffff, opt 0xffff, ptr f1ca84, len 4
trace:winsock:WSOCK32_setsockopt socket 0004, lev 6, opt 0x1, ptr 45e9475c, len 4
FIXME:pthread_rwlock_rdlock
FIXME:pthread_rwlock_unlock
warn:winsock:wsaErrno errno 88, (Socket operation on non-socket).
trace:file:WriteFile 12 0xefd958 14 0x45e94770 (nil)
MSG .0 fataltrace:file:WriteFile 12 0xeeb06c 2 0x45e94770 (nil)
: trace:file:WriteFile 12 0xefd978 47 0x45e94770 (nil)
getsockopt(SO_OPENTYPE) failed - Invalid handletrace:file:WriteFile 12 0xee9e48 1 0x45e94770 (nil)
trace:file:CreateFileA Z:\TEMP\raylib.log GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE OPEN_ALWAYS
trace:file:SetFileAttributesA (Z:\TEMP\raylib.log,20)
trace:file:SetFilePointer handle 444 offset 0 high 0 origin 2
trace:file:SetFilePointer handle 444 offset 0 high 0 origin 2
trace:file:WriteFile 444 0x45e94310 79 0x45e94718 (nil)
trace:file:CreateFileA C:\Program Files\3dsmax4\UI\Icons\MeditImages_i.bmp GENERIC_READ FILE_SHARE_READ FILE_SHARE_WRITE OPEN_EXISTING
trace:file:ReadFile 448 0x452e1cc8 4096 0x40616c04 (nil)
trace:file:ReadFile 448 0x452e3cc6 4096 0x40616c10 (nil)
trace:file:ReadFile 448 0x452e1cc8 4096 0x40616c04 (nil)
trace:file:CreateFileA C:\Program Files\3dsmax4\UI\Icons\MeditImages_a.bmp GENERIC_READ FILE_SHARE_READ FILE_SHARE_WRITE OPEN_EXISTING
trace:file:ReadFile 448 0x452dfae4 4096 0x40616c04 (nil)
trace:winsock:WSOCK32_LibMain 0x40aa5000 0x0 0x1
---8<------end winsock/file trace--------------------