[Bug 1774] New: wine client error:xx: read: Bad file descriptor

Wine Bugs wine-bugs at winehq.com
Tue Oct 14 14:13:07 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=1774

           Summary: wine client error:xx: read: Bad file descriptor
           Product: Wine
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-files
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: sebastian at sebastian-muesch.de


I tried to get Cinema 4D R8 working under wine. Well C4D works fine. But - what i aimed on - the 
Net Render (Client and Server) doesn't work. The debug-messages tells:

wine client error:xx: read: Bad file descriptor   (where xx is a "raw" hex-number)

I think it's not a problem of the file handling, so i did some more debug-message-reading:

The result working with the client:

==========================================
Client connects to server over http ... ok

==========================================
Client downloads the project-file over http ... ok

==========================================
Client saves the project to a local file ... ok
----------------------------------------------------------
trace:file:CreateFileW L"C:\\Program Files\\MAXON\\CINEMA_4D_R8\\scene\\client.c4d" 
GENERIC_READ FILE_SHARE_READ OPEN_EXISTING  attributes 0x80
trace:file:CreateFileW returning 0x334
trace:file:SetFilePointer handle 0x334 offset 0 high 0 origin 2
trace:file:SetFilePointer handle 0x334 offset 0 high 0 origin 1
trace:file:SetFilePointer handle 0x334 offset 0 high 0 origin 0
trace:file:SetFilePointer handle 0x334 offset 0 high 0 origin 1
trace:file:ReadFile 0x334 0x4d8f7c94 16384 0x5338b2e8 (nil)
trace:file:SetFilePointer handle 0x334 offset 0 high 0 origin 1
trace:file:ReadFile 0x334 0x4d8f7c94 16384 0x5338b074 (nil)
trace:file:ReadFile 0x334 0x4d8f9f5d 7478 0x5338b074 (nil)


==========================================
Client renders a frame ... ok

==========================================
Client saves the output to a local file ... ok
----------------------------------------------------------
trace:file:CreateFileW L"C:\\Program 
Files\\MAXON\\CINEMA_4D_R8\\results\\16410_4949560_0000.b3d" GENERIC_WRITE 
CREATE_ALWAYS  attributes 0x80
trace:file:CreateFileW returning 0x334
trace:file:WriteFile 0x334 0x4d8f7c94 16362 0x5338947c (nil)
trace:file:WriteFile 0x334 0x533894b0 1 0x53389460 (nil)
trace:file:WriteFile 0x334 0x4d8f7c94 16182 0x5338947c (nil)
trace:file:WriteFile 0x334 0x4d8f7c94 16240 0x5338947c (nil)
trace:file:WriteFile 0x334 0x4d8f7c94 16314 0x5338947c (nil)
trace:file:WriteFile 0x334 0x533894b0 1 0x53389460 (nil)
trace:file:WriteFile 0x334 0x4d8f7c94 16376 0x5338947c (nil)
trace:file:WriteFile 0x334 0x533894b0 1 0x53389460 (nil)
trace:file:WriteFile 0x334 0x4d8f7c94 16358 0x5338947c (nil)
trace:file:WriteFile 0x334 0x533894b0 1 0x53389460 (nil)
trace:file:WriteFile 0x334 0x4d8f7c94 16332 0x5338947c (nil)
trace:file:WriteFile 0x334 0x533894b0 1 0x53389460 (nil)
trace:file:WriteFile 0x334 0x4d8f7c94 16334 0x5338947c (nil)
trace:file:WriteFile 0x334 0x533894b0 1 0x53389460 (nil)
trace:file:WriteFile 0x334 0x4d8f7c94 16310 0x5338947c (nil)
trace:file:WriteFile 0x334 0x533894b0 1 0x53389460 (nil)
trace:file:WriteFile 0x334 0x4d8f7c94 16322 0x5338947c (nil)
trace:file:WriteFile 0x334 0x4d8f7c94 16108 0x53389578 (nil)


==========================================
Client uploads the file to the server ... (sometimes)
----------------------if it does-------------------------
trace:winsock:WS_accept socket 0298
trace:winsock:WS2_send fd 70, iovec 0x4db8d9e0, count 1 addr (nil), len 0, flags 0
trace:winsock:WSASendTo  -> 8192 bytes
trace:file:SetFilePointer handle 0x370 offset 0 high 0 origin 1
trace:file:ReadFile 0x370 0x4d8f7c94 16384 0x541f2150 (nil)
trace:winsock:WSASendTo socket 0350, wsabuf 0x541f21c4, nbufs 1, flags 0, to (nil), tolen 0, ovl 
(nil), func (nil)
trace:winsock:WSASendTo fd=70, type=2, flags=1
trace:winsock:WS2_send fd 70, iovec 0x4db8d9e0, count 1 addr (nil), len 0, flags 0
trace:winsock:WSASendTo  -> 8192 bytes
trace:winsock:WSASendTo socket 0350, wsabuf 0x541f21c4, nbufs 1, flags 0, to (nil), tolen 0, ovl 
(nil), func (nil)

----------------------if it does not-------------------------
trace:winsock:WS_ioctlsocket socket ffffffff, cmd 4004667f, ptr 5443e258
trace:winsock:WSARecvFrom socket ffffffff, wsabuf 0x5443e22c, nbufs 1, flags 0, from (nil), 
fromlen -1, ovl (nil), func (nil)
fixme:winsock:NtStatusToWSAError Status code c0000024 converted to DOS error code 6


==========================================
Client deletes the local file if uploaded ... ok
----------------------------------------------------------
trace:file:DeleteFileW L"C:\\Program 
Files\\MAXON\\CINEMA_4D_R8\\results\\16410_4949560_0000.b3d"


==========================================
Client renders the next frame and wants to save it 
(sometimes it works for more than one frame) 
while uploading this frame seems to fail 
(only --if it does not -- listed above)
----------------------------------------------------------
wine client error:27: read: Bad file descriptor
trace:file:CreateFileW L"C:\\Program 
Files\\MAXON\\CINEMA_4D_R8\\results\\16410_4949560_0001.b3d" GENERIC_WRITE 
CREATE_ALWAYS  attributes 0x80
==========================================

Hope that's enough info ;-) Any hints

Platform: SuSE 8.1 (2.4.19)  / 2 GB RAM

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list