wine error with 'wine client error:d: write: Bad file descriptor'

Oliver Mössinger olivwork at
Wed Aug 24 06:48:53 CDT 2005

Hi wine-devel,

i have a windows program whitch generates the attached 'wine.txt' wine output.
Followed is a part of the output:

process  tid      prio (all id:s are in hex)
00000042 (D) C:\MGC\LeoSpec\LS2005a_82\bin\win32\leonardo.exe
        00000017    0
        0000000d    0 <==
        00000016    0
        00000013    0
        00000012    0
        00000011    0
        00000010    0
        0000000f    0
WineDbg terminated on pid 0x42
wine client error:d: write: Bad file descriptor

The program works with windows! Can someone help me to run
the program?


Oliver Mössinger
-------------- next part --------------
fixme:wtsapi:WTSEnumerateSessionsA Stub (nil) 0x00000000 0x00000001 0x406d822c 0x406d8238
fixme:wtsapi:WTSFreeMemory Stub (nil)
fixme:wtsapi:WTSEnumerateSessionsA Stub (nil) 0x00000000 0x00000001 0x406d823c 0x406d8248
fixme:wtsapi:WTSFreeMemory Stub (nil)
fixme:wtsapi:WTSEnumerateSessionsA Stub (nil) 0x00000000 0x00000001 0x406da310 0x406da31c
fixme:wtsapi:WTSFreeMemory Stub (nil)
fixme:win:LockWindowUpdate (0x70476), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
fixme:ole:CoRegisterMessageFilter stub
wine: Unhandled exception (thread 000d), starting debugger...
WineDbg starting on pid 0x42
Unhandled exception: page fault on read access to 0xe360159d in 32-bit code (0x105c8eda).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
 EIP:105c8eda ESP:406dfc78 EBP:107dfc5c EFLAGS:00210286(   - 00      -RISP1)
 EAX:e360158b EBX:ffffff00 ECX:00000000 EDX:107e0c58
 ESI:00000000 EDI:00620000
Stack dump:
0x406dfc78:  105ca71f 107dfc5c 107d0000 406dfcf4
0x406dfc88:  006285d0 107dfc5c ffffff00 107dfc70
0x406dfc98:  107dfc8c 105c8f9f 107dfc5c 107dfc5c
0x406dfca8:  105c7d2a 107dfc5c 105c77ca 107dfc5c
0x406dfcb8:  105c6e3f 107dfc5c 105c6eb1 107dfc5c
0x406dfcc8:  107dfc5c 105cc38a 105cc3a3 107dfc5c
=>1 0x105c8eda in libelsyn_s (+0x5c8eda) (0x107dfc5c)
  2 0x1c0b0004 (0x10007242)
0x105c8eda: cmpw        %cx,0x12(%eax)
Module  Address                 Debug info      Name (88 modules)
PE      0x00400000-00784000     Deferred        leonardo
PE      0x0a930000-0a951000     Deferred        sh33w32
PE      0x10000000-10871000     Export          libelsyn_s
ELF     0x40000000-40018000     Deferred
ELF     0x4003e000-40056000     Deferred
ELF     0x40069000-40182000     Deferred
ELF     0x40182000-40186000     Deferred
ELF     0x40187000-401fc000     Deferred        ntdll<elf>
  \-PE  0x401a0000-401fc000     \               ntdll
ELF     0x40222000-40317000     Deferred
ELF     0x40317000-4033a000     Deferred
ELF     0x40480000-40581000     Deferred        kernel32<elf>
  \-PE  0x404b0000-40581000     \               kernel32
ELF     0x406e0000-407f6000     Deferred        user32<elf>
  \-PE  0x40700000-407f6000     \               user32
ELF     0x407f6000-411df000     Deferred        gdi32<elf>
  \-PE  0x40810000-411df000     \               gdi32
ELF     0x412c3000-412cb000     Deferred
ELF     0x412cb000-41308000     Deferred        advapi32<elf>
  \-PE  0x412e0000-41308000     \               advapi32
ELF     0x41308000-41369000     Deferred        msvcrt<elf>
  \-PE  0x41320000-41369000     \               msvcrt
PE      0x41370000-413b3000     Deferred        xmplrtcl
ELF     0x413b3000-413e6000     Deferred        msvcrt40<elf>
  \-PE  0x413c0000-413e6000     \               msvcrt40
ELF     0x413e6000-4140d000     Deferred        netapi32<elf>
  \-PE  0x413f0000-4140d000     \               netapi32
ELF     0x4140d000-4142b000     Deferred        iphlpapi<elf>
  \-PE  0x41420000-4142b000     \               iphlpapi
ELF     0x4142b000-41453000     Deferred        ws2_32<elf>
  \-PE  0x41430000-41453000     \               ws2_32
ELF     0x41470000-414f8000     Deferred        comdlg32<elf>
  \-PE  0x41480000-414f8000     \               comdlg32
ELF     0x414f8000-415b3000     Deferred        shell32<elf>
  \-PE  0x41510000-415b3000     \               shell32
ELF     0x415b3000-41609000     Deferred        shlwapi<elf>
  \-PE  0x415d0000-41609000     \               shlwapi
ELF     0x41609000-41688000     Deferred        ole32<elf>
  \-PE  0x41620000-41688000     \               ole32
ELF     0x41688000-416cf000     Deferred        rpcrt4<elf>
  \-PE  0x416a0000-416cf000     \               rpcrt4
ELF     0x416cf000-41776000     Deferred        comctl32<elf>
  \-PE  0x416e0000-41776000     \               comctl32
ELF     0x41776000-4179d000     Deferred        winspool.drv<elf>
  \-PE  0x41780000-4179d000     \               winspool.drv
ELF     0x4179d000-417ba000     Deferred        imm32<elf>
  \-PE  0x417b0000-417ba000     \               imm32
PE      0x417c0000-41853000     Deferred        nlviewmd
ELF     0x41879000-418e6000     Deferred
ELF     0x418e6000-418f7000     Deferred
ELF     0x418f7000-41925000     Deferred
ELF     0x41925000-41944000     Deferred
ELF     0x41944000-419c0000     Deferred        winex11.drv<elf>
  \-PE  0x41960000-419c0000     \               winex11.drv
ELF     0x419c0000-419c2000     Deferred
ELF     0x419c2000-419e1000     Deferred
ELF     0x419e6000-419ee000     Deferred
ELF     0x419ee000-41a06000     Deferred
ELF     0x41a06000-41a0c000     Deferred
ELF     0x41a0c000-41a11000     Deferred
ELF     0x41a11000-41a1f000     Deferred
ELF     0x41a1f000-41b1b000     Deferred
ELF     0x41b1b000-41b23000     Deferred
ELF     0x41b23000-41b27000     Deferred
ELF     0x41b4d000-41b56000     Deferred
PE      0x42720000-427e2000     Deferred        mgls
ELF     0x427e2000-4285c000     Deferred        winmm<elf>
  \-PE  0x427f0000-4285c000     \               winmm
ELF     0x4285c000-4289c000     Deferred        wineoss.drv<elf>
  \-PE  0x42870000-4289c000     \               wineoss.drv
ELF     0x4289c000-428b4000     Deferred        msacm.drv<elf>
  \-PE  0x428a0000-428b4000     \               msacm.drv
ELF     0x428b4000-428d6000     Deferred        msacm32<elf>
  \-PE  0x428c0000-428d6000     \               msacm32
ELF     0x429f0000-42a05000     Deferred        midimap<elf>
  \-PE  0x42a00000-42a05000     \               midimap
ELF     0x42c20000-42c3c000     Deferred        wsock32<elf>
  \-PE  0x42c30000-42c3c000     \               wsock32
ELF     0x42c3c000-42c51000     Deferred        icmp<elf>
  \-PE  0x42c40000-42c51000     \               icmp
ELF     0x437ea000-43818000     Deferred        uxtheme<elf>
  \-PE  0x437f0000-43818000     \               uxtheme
ELF     0x43cc0000-43d1e000     Deferred        winedos<elf>
  \-PE  0x43cd0000-43d1e000     \               winedos
PE      0x6c230000-6c32b000     Deferred        mfc42
PE      0x780a0000-780b2000     Deferred        msvcirt
PE      0x780c0000-78121000     Deferred        msvcp60
ELF     0x7bf00000-7bf03000     Deferred        <wine-loader>
process  tid      prio (all id:s are in hex)
00000042 (D) C:\MGC\LeoSpec\LS2005a_82\bin\win32\leonardo.exe
        00000017    0
        0000000d    0 <==
        00000016    0
        00000013    0
        00000012    0
        00000011    0
        00000010    0
        0000000f    0
WineDbg terminated on pid 0x42
wine client error:d: write: Bad file descriptor

More information about the wine-devel mailing list