[Wine] Direct Sound problem makes application crash

Wermut wermut42 at gmail.com
Wed Dec 28 10:25:02 CST 2005

I installed Baldur's Gate 2 using the Loki installer (www.lifl.org). When
I disable sound in winecfg it runs fine, else it crashes when I attempt to
start a game. I already tried using different drivers / settings, without
success. Wine version: 0.9.3
Distribution: Ubuntu Breezy
Sound card: INTEL ICH6
Wine output using ALSA and Full Hardware Acceleration:

ALSA lib seq_hw.c:455:(snd_seq_hw_open) open /dev/snd/seq failed: Datei oder Verzeichnis nicht gefunden
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fe05090)->(0x10022,00000011)
fixme:ddraw:DIB_DirectDrawSurface_Blt Can't handle DDBLT_WAIT flag right now.
err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 11045, block size = 4
err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 11470, block size = 4
err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 11470, block size = 4
wine: Unhandled page fault on read access to 0x00000008 at address 0x7ea5bb03 (thread 000f), star ting debugger...
WineDbg starting on pid 0x8
Unhandled exception: page fault on read access to 0x00000008 in 32-bit code (0x7ea5bb03).
In 32 bit mode.
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:118f GS:0033
 EIP:7ea5bb03 ESP:64685f58 EBP:64685f64 EFLAGS:00010246(   - 00      -RIZP1)
 EAX:00000000 EBX:7ea6e7a0 ECX:7fdf3f98 EDX:00000001
 ESI:7fdf3f98 EDI:00000000
Stack dump:
0x64685f58:  7fd2d860 798db730 64688f10 64685f84
0x64685f68:  009879b7 7fdf3f98 798dcd90 7fae904a
0x64685f78:  798dcd90 798dcd90 009ddd8f 64685fc0
0x64685f88:  00986a2f 79873090 7fae904a 00000016
0x64685f98:  79873090 79873090 7fae9056 00000000
0x64685fa8:  00000000 79873090 00000016 646866e0
0231: sel=118f base=64688000 limit=00001fff 32-bit rw-
=>1 0x7ea5bb03 in dsound (+0x1bb03) (0x7ea5bb03)
fixme:dbghelp:sffip_cb NIY on 'D:\dev\baldur\Ship\BGMain.pdb'
  2 0x009879b7 in bgmain (+0x5879b7) (0x009879b7)
  3 0x00986a2f in bgmain (+0x586a2f) (0x00986a2f)
  4 0x0094e111 in bgmain (+0x54e111) (0x0094e111)
  5 0x00463c1f in bgmain (+0x63c1f) (0x00463c1f)
  6 0x00437d72 in bgmain (+0x37d72) (0x00437d72)
  7 0x0065f74e in bgmain (+0x25f74e) (0x0065f74e)
  8 0x00723dde in bgmain (+0x323dde) (0x00723dde)
  9 0x00723ced in bgmain (+0x323ced) (0x00723ced)
  10 0x00727392 in bgmain (+0x327392) (0x00727392)
  11 0x0056cbfc in bgmain (+0x16cbfc) (0x0056cbfc)
  12 0x0056b5fb in bgmain (+0x16b5fb) (0x0056b5fb)
  13 0x0072368d in bgmain (+0x32368d) (0x0072368d)
  14 0x0094ab77 in bgmain (+0x54ab77) (0x0094ab77)
  15 0x0043517c in bgmain (+0x3517c) (0x0043517c)
  16 0x004362a5 in bgmain (+0x362a5) (0x004362a5)
  17 0x0094fb08 in bgmain (+0x54fb08) (0x0094fb08)
  18 0x009dffec in bgmain (+0x5dffec) (0x009dffec)
  19 0x7fd14767 in kernel32 (+0x64767) (0x7fd14767)
  20 0x7bedc34f in ntdll (+0x3c34f) (0x7bedc34f)
  21 0xb7f20361 start_thread+0x81 in libpthread.so.0 (0xb7f20361)
  22 0xb7eb4bde __clone+0x5e in libc.so.6 (0xb7eb4bde)
0x7ea5bb03: movl        0x8(%eax),%eax
Module  Address                 Debug info      Name (95 modules)
PE      0x00400000-00b7f000     Export          bgmain
ELF     0x7997a000-79982000     Deferred        libxrender.so.1
ELF     0x7be8d000-7bf00000     Export          ntdll<elf>
  \-PE  0x7bea0000-7bf00000     \               ntdll
ELF     0x7bf00000-7bf03000     Deferred        <wine-loader>
ELF     0x7c74b000-7c760000     Deferred        midimap<elf>
  \-PE  0x7c750000-7c760000     \               midimap
ELF     0x7c878000-7c899000     Deferred        msacm32<elf>
  \-PE  0x7c880000-7c899000     \               msacm32
ELF     0x7c899000-7c8b0000     Deferred        msacm.drv<elf>
  \-PE  0x7c8a0000-7c8b0000     \               msacm.drv
ELF     0x7c8cf000-7c982000     Deferred        libasound.so.2
ELF     0x7c982000-7c9aa000     Deferred        winealsa.drv<elf>
  \-PE  0x7c990000-7c9aa000     \               winealsa.drv
ELF     0x7c9aa000-7c9f6000     Deferred        libgcrypt.so.11
ELF     0x7c9f6000-7ca58000     Deferred        libgnutls.so.11
ELF     0x7ca58000-7ca75000     Deferred        libcups.so.2
ELF     0x7cac0000-7cad0000     Deferred        libtasn1.so.2
ELF     0x7cb70000-7cba1000     Deferred        uxtheme<elf>
  \-PE  0x7cb80000-7cba1000     \               uxtheme
ELF     0x7cbe5000-7cbee000     Deferred        libxcursor.so.1
ELF     0x7cbf5000-7cbf9000     Deferred        libgpg-error.so.0
ELF     0x7cbf9000-7cc15000     Deferred        ximcp.so.2
ELF     0x7e4cb000-7e6ce000     Deferred        i915_dri.so
ELF     0x7e6ce000-7e6d5000     Deferred        libdrm.so.1
ELF     0x7e6d5000-7e73b000     Deferred        libgl.so.1
ELF     0x7e73b000-7e7b7000     Deferred        winex11.drv<elf>
  \-PE  0x7e750000-7e7b7000     \               winex11.drv
ELF     0x7e7b7000-7e7d6000     Deferred        libexpat.so.1
ELF     0x7e7d6000-7e804000     Deferred        libfontconfig.so.1
ELF     0x7e804000-7e818000     Deferred        libz.so.1
ELF     0x7e818000-7e882000     Deferred        libfreetype.so.6
ELF     0x7e882000-7e89e000     Deferred        imm32<elf>
  \-PE  0x7e890000-7e89e000     \               imm32
ELF     0x7e89e000-7e8b2000     Deferred        lz32<elf>
  \-PE  0x7e8a0000-7e8b2000     \               lz32
ELF     0x7e8b2000-7e8ca000     Deferred        version<elf>
  \-PE  0x7e8c0000-7e8ca000     \               version
ELF     0x7e8ca000-7e98a000     Deferred        libx11.so.6
ELF     0x7e98a000-7e997000     Deferred        libxext.so.6
ELF     0x7e997000-7e9b0000     Deferred        libice.so.6
ELF     0x7e9b0000-7ea28000     Deferred        ddraw<elf>
  \-PE  0x7e9d0000-7ea28000     \               ddraw
ELF     0x7ea28000-7ea73000     Export          dsound<elf>
  \-PE  0x7ea40000-7ea73000     \               dsound
ELF     0x7ea73000-7eaf3000     Deferred        winmm<elf>
  \-PE  0x7ea80000-7eaf3000     \               winmm
ELF     0x7eaf3000-7eb2b000     Deferred        dplayx<elf>
  \-PE  0x7eb00000-7eb2b000     \               dplayx
ELF     0x7eb2b000-7eb53000     Deferred        winspool.drv<elf>
  \-PE  0x7eb30000-7eb53000     \               winspool.drv
ELF     0x7eb53000-7ec01000     Deferred        comctl32<elf>
  \-PE  0x7eb60000-7ec01000     \               comctl32
ELF     0x7ec01000-7ec45000     Deferred        rpcrt4<elf>
  \-PE  0x7ec10000-7ec45000     \               rpcrt4
ELF     0x7ec45000-7eccb000     Deferred        ole32<elf>
  \-PE  0x7ec60000-7eccb000     \               ole32
ELF     0x7eccb000-7ed21000     Deferred        shlwapi<elf>
  \-PE  0x7ece0000-7ed21000     \               shlwapi
ELF     0x7ed21000-7ede0000     Deferred        shell32<elf>
  \-PE  0x7ed40000-7ede0000     \               shell32
ELF     0x7ede0000-7ee72000     Deferred        comdlg32<elf>
  \-PE  0x7edf0000-7ee72000     \               comdlg32
ELF     0x7ef58000-7f858000     Deferred        gdi32<elf>
  \-PE  0x7efa0000-7f858000     \               gdi32
ELF     0x7f858000-7f96e000     Deferred        user32<elf>
  \-PE  0x7f870000-7f96e000     \               user32
ELF     0x7f96e000-7f9a8000     Deferred        advapi32<elf>
  \-PE  0x7f980000-7f9a8000     \               advapi32
ELF     0x7f9a8000-7f9c6000     Deferred        iphlpapi<elf>
  \-PE  0x7f9b0000-7f9c6000     \               iphlpapi
ELF     0x7f9c6000-7f9f0000     Deferred        ws2_32<elf>
  \-PE  0x7f9d0000-7f9f0000     \               ws2_32
ELF     0x7faf2000-7faf6000     Deferred        libxdmcp.so.6
ELF     0x7faf6000-7fafb000     Deferred        libxxf86vm.so.1
ELF     0x7fafb000-7fb00000     Deferred        libxxf86dga.so.1
ELF     0x7fb02000-7fb0d000     Deferred        libgcc_s.so.1
ELF     0x7fc94000-7fd90000     Export          kernel32<elf>
  \-PE  0x7fcb0000-7fd90000     \               kernel32
ELF     0x7fea1000-7fea8000     Deferred        libsm.so.6
ELF     0x7fea8000-7feb2000     Deferred        libnss_files.so.2
ELF     0x7feb2000-7febb000     Deferred        libnss_nis.so.2
ELF     0x7febb000-7fed0000     Deferred        libnsl.so.1
ELF     0x7fed0000-7fed9000     Deferred        libnss_compat.so.2
ELF     0x7fedb000-7fedf000     Deferred        libxfixes.so.3
ELF     0x7fedf000-7fee1000     Deferred        xlcutf8load.so.2
ELF     0x7fee1000-7fee4000     Deferred        libxrandr.so.2
ELF     0x7fee7000-7ff09000     Deferred        libm.so.6
ELF     0x7ff09000-80000000     Deferred        libwine_unicode.so.1
ELF     0xb7de9000-b7dec000     Deferred        libdl.so.2
ELF     0xb7dec000-b7f1a000     Export          libc.so.6
ELF     0xb7f1b000-b7f2d000     Export          libpthread.so.0
ELF     0xb7f2d000-b7f47000     Deferred        libwine.so.1
ELF     0xb7f47000-b7f4a000     Deferred        libxau.so.6
ELF     0xb7f55000-b7f6b000     Deferred        ld-linux.so.2
process  tid      prio (all id:s are in hex)
00000008 (D) H:\.bg2\BGMain.exe
        0000000f   15 <==
        0000000e    0
        0000000d    0
        0000000c    0
        0000000b   15
        0000000a    0
        00000009    0
WineDbg terminated on pid 0x8

More information about the wine-users mailing list