crash: can't start 3d app =((

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
z-ray
Newbie
Newbie
Posts: 2
Joined: Mon Apr 06, 2009 11:52 pm

crash: can't start 3d app =((

Post by z-ray »

CS is now launching.
This is an log from console:

Code: Select all

~$ wine c:\\CS16v26\\hl.exe -32bpp
fixme:win:EnumDisplayDevicesW ((null),0,0x32f524,0x00000000), stub!
fixme:gl_compat:add_gl_compat_wrappers GL implementation supports GL_ARB_fragment_program but not GL_EXT_fog_coord
fixme:gl_compat:add_gl_compat_wrappers The fog coord emulation will most likely fail
E: shm.c: mmap() failed: Cannot allocate memory
E: shm.c: mmap() failed: Cannot allocate memory
E: shm.c: mmap() failed: Cannot allocate memory
E: shm.c: mmap() failed: Cannot allocate memory
E: shm.c: mmap() failed: Cannot allocate memory
E: memblock.c: Assertion 'b' failed at pulsecore/memblock.c:438, function pa_memblock_acquire(). Aborting.
wine: Assertion failed at address 0xb7f68430 (thread 001e), starting debugger...
Unhandled exception: assertion failed in 32-bit code (0xb7f68430).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:b7f68430 ESP:06d1e688 EBP:06d1e6a0 EFLAGS:00000202(   - 00      - - I1)
 EAX:00000000 EBX:00003a92 ECX:00003aae EDX:00000006
 ESI:7c8a7b40 EDI:b7ddeff4
Stack dump:
0x06d1e688:  06d1e6a0 00000006 00003aae b7cab6d0
0x06d1e698:  b7ddeff4 06d1e7c0 06d1e7c8 b7cad098
0x06d1e6a8:  00000006 06d1e740 00000000 7c8a8a08
0x06d1e6b8:  b7cf0c74 00012601 00000004 7c8a8998
0x06d1e6c8:  00000005 00000001 00000000 06d1e718
0x06d1e6d8:  00000001 06d1e75f 00d1e718 626d656d
Backtrace:
=>0 0xb7f68430 (0x06d1e6a0)
  1 0xb7cad098 abort+0x188() in libc.so.6 (0x06d1e7c8)
  2 0x7e48b6e0 in libpulse.so.0 (+0x376e0) (0x06d1e7f8)
  3 0x7e4733f2 pa_stream_peek+0xe2() in libpulse.so.0 (0x06d1e838)
  4 0x7e595fd8 _init+0x9e0() in libasound_module_pcm_pulse.so (0x06d1e888)
  5 0x7e5527e1 in libasound.so.2 (+0x8f7e1) (0x06d1e8b8)
  6 0x7e50e410 in libasound.so.2 (+0x4b410) (0x06d1e8e8)
  7 0x7e552a45 in libasound.so.2 (+0x8fa45) (0x06d1e948)
  8 0x7e508894 snd_pcm_readi+0x54() in libasound.so.2 (0x06d1e978)
  9 0x7e5c2e28 in winealsa (+0x22e28) (0x06d1ea18)
  10 0x7bc72b4e call_thread_entry_point+0xe() in ntdll (0x06d1ea28)
  11 0x7bc748a2 in ntdll (+0x648a2) (0x06d1eac8)
  12 0x7bc74a70 in ntdll (+0x64a70) (0x06d1f3b8)
  13 0xb7dea4ff start_thread+0xbf() in libpthread.so.0 (0x06d1f4b8)
  14 0xb7d6449e __clone+0x5e() in libc.so.6 (0x00000000)
0xb7f68430: popl	%ebp
Modules:
Module	Address			Debug info	Name (123 modules)
PE	  550000-  566000	Deferred        dbg
PE	  8a0000-  8b5000	Deferred        particleman
PE	  8c0000-  953000	Deferred        trackerui
PE	  aa0000-  af8000	Deferred        vgui
PE	 1390000- 13d3000	Deferred        vgui2
PE	 1400000- 3516000	Deferred        hl
PE	 5f50000- 612a000	Deferred        gameui
PE	 6d20000- 6d2f000	Deferred        voice_miles
PE	 6f40000- 6f5e000	Deferred        demoplayer
PE	 7070000- 70b0000	Deferred        core
PE	10000000-1001f000	Deferred        filesystem_stdio
PE	20000000-20390000	Deferred        steam
PE	21100000-2115e000	Deferred        mss32
PE	26400000-2642c000	Deferred        mssv29.asi
PE	26600000-26627000	Deferred        mssv12.asi
PE	26f00000-26f2a000	Deferred        mp3dec.asi
ELF	7b800000-7b93e000	Deferred        kernel32<elf>
  \-PE	7b820000-7b93e000	\               kernel32
ELF	7bc00000-7bcb0000	Export          ntdll<elf>
  \-PE	7bc10000-7bcb0000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7cce5000-7ccf4000	Deferred        libgcc_s.so.1
ELF	7cd04000-7cd50000	Deferred        dsound<elf>
  \-PE	7cd10000-7cd50000	\               dsound
ELF	7d0ab000-7d140000	Deferred        opengl32<elf>
  \-PE	7d0c0000-7d140000	\               opengl32
ELF	7d341000-7d586000	Deferred        r300_dri.so
ELF	7d586000-7d590000	Deferred        libdrm.so.2
ELF	7d590000-7d5f3000	Deferred        libgl.so.1
ELF	7d603000-7d727000	Deferred        wined3d<elf>
  \-PE	7d610000-7d727000	\               wined3d
ELF	7d727000-7d80e000	Deferred        oleaut32<elf>
  \-PE	7d740000-7d80e000	\               oleaut32
ELF	7d80e000-7d831000	Deferred        mpr<elf>
  \-PE	7d810000-7d831000	\               mpr
ELF	7d831000-7d883000	Deferred        wininet<elf>
  \-PE	7d840000-7d883000	\               wininet
ELF	7d8cf000-7d902000	Deferred        uxtheme<elf>
  \-PE	7d8e0000-7d902000	\               uxtheme
ELF	7d902000-7d9ca000	Deferred        comctl32<elf>
  \-PE	7d910000-7d9ca000	\               comctl32
ELF	7d9ca000-7db57000	Deferred        shell32<elf>
  \-PE	7d9e0000-7db57000	\               shell32
ELF	7db57000-7dbb5000	Deferred        shlwapi<elf>
  \-PE	7db60000-7dbb5000	\               shlwapi
ELF	7dbb5000-7dbca000	Deferred        mswsock<elf>
  \-PE	7dbc0000-7dbca000	\               mswsock
ELF	7dbca000-7dbde000	Deferred        lz32<elf>
  \-PE	7dbd0000-7dbde000	\               lz32
ELF	7dbde000-7dbf9000	Deferred        version<elf>
  \-PE	7dbe0000-7dbf9000	\               version
ELF	7dbf9000-7dc0e000	Deferred        midimap<elf>
  \-PE	7dc00000-7dc0e000	\               midimap
ELF	7dc0e000-7dc34000	Deferred        msacm32<elf>
  \-PE	7dc10000-7dc34000	\               msacm32
ELF	7dc34000-7dc4d000	Deferred        msacm32<elf>
  \-PE	7dc40000-7dc4d000	\               msacm32
ELF	7e44e000-7e454000	Deferred        libattr.so.1
ELF	7e454000-7e4b3000	Export          libpulse.so.0
ELF	7e4b3000-7e4b6000	Deferred        libxdamage.so.1
ELF	7e4c3000-7e58b000	Export          libasound.so.2
ELF	7e58d000-7e594000	Deferred        libgdbm.so.3
ELF	7e594000-7e59b000	Export          libasound_module_pcm_pulse.so
ELF	7e59b000-7e5d2000	Export          winealsa<elf>
  \-PE	7e5a0000-7e5d2000	\               winealsa
ELF	7e5d2000-7e665000	Deferred        winmm<elf>
  \-PE	7e5e0000-7e665000	\               winmm
ELF	7e665000-7e6bd000	Deferred        ddraw<elf>
  \-PE	7e670000-7e6bd000	\               ddraw
ELF	7e6bd000-7e729000	Deferred        rpcrt4<elf>
  \-PE	7e6d0000-7e729000	\               rpcrt4
ELF	7e729000-7e821000	Deferred        ole32<elf>
  \-PE	7e740000-7e821000	\               ole32
ELF	7e821000-7e85b000	Deferred        dinput<elf>
  \-PE	7e830000-7e85b000	\               dinput
ELF	7e85b000-7e864000	Deferred        libxcursor.so.1
ELF	7e864000-7e869000	Deferred        libxfixes.so.3
ELF	7e869000-7e86d000	Deferred        libxcomposite.so.1
ELF	7e86d000-7e875000	Deferred        libxrandr.so.2
ELF	7e875000-7e87f000	Deferred        libxrender.so.1
ELF	7e87f000-7e885000	Deferred        libxxf86vm.so.1
ELF	7e885000-7e888000	Deferred        libxinerama.so.1
ELF	7e888000-7e8a9000	Deferred        imm32<elf>
  \-PE	7e890000-7e8a9000	\               imm32
ELF	7e8a9000-7e8ae000	Deferred        libxdmcp.so.6
ELF	7e8ae000-7e8c8000	Deferred        libxcb.so.1
ELF	7e8c8000-7e8cc000	Deferred        libxau.so.6
ELF	7e8cc000-7e8d1000	Deferred        libuuid.so.1
ELF	7e8d1000-7e9c0000	Deferred        libx11.so.6
ELF	7e9c0000-7e9d0000	Deferred        libxext.so.6
ELF	7e9d0000-7e9e8000	Deferred        libice.so.6
ELF	7e9e8000-7e9f1000	Deferred        libsm.so.6
ELF	7e9f1000-7e9f6000	Deferred        libcap.so.2
ELF	7e9f6000-7e9ff000	Deferred        librt.so.1
ELF	7ea01000-7ea9d000	Deferred        winex11<elf>
  \-PE	7ea10000-7ea9d000	\               winex11
ELF	7eaca000-7eaf1000	Deferred        libexpat.so.1
ELF	7eaf1000-7eb1e000	Deferred        libfontconfig.so.1
ELF	7eb1e000-7eb34000	Deferred        libz.so.1
ELF	7eb34000-7ebab000	Deferred        libfreetype.so.6
ELF	7ebab000-7ec4c000	Deferred        gdi32<elf>
  \-PE	7ebc0000-7ec4c000	\               gdi32
ELF	7ec4c000-7ed98000	Deferred        user32<elf>
  \-PE	7ec70000-7ed98000	\               user32
ELF	7ed98000-7edee000	Deferred        advapi32<elf>
  \-PE	7eda0000-7edee000	\               advapi32
ELF	7edee000-7ee04000	Deferred        libresolv.so.2
ELF	7ee14000-7ee33000	Deferred        iphlpapi<elf>
  \-PE	7ee20000-7ee33000	\               iphlpapi
ELF	7ee33000-7ee60000	Deferred        ws2_32<elf>
  \-PE	7ee40000-7ee60000	\               ws2_32
ELF	7ee60000-7ee7b000	Deferred        wsock32<elf>
  \-PE	7ee70000-7ee7b000	\               wsock32
ELF	7efa5000-7efb1000	Deferred        libnss_files.so.2
ELF	7efb1000-7efca000	Deferred        libnsl.so.1
ELF	7efca000-7eff0000	Deferred        libm.so.6
ELF	7eff5000-7f000000	Deferred        libnss_nis.so.2
ELF	b7c72000-b7c7b000	Deferred        libnss_compat.so.2
ELF	b7c7c000-b7c80000	Deferred        libdl.so.2
ELF	b7c80000-b7de3000	Export          libc.so.6
ELF	b7de4000-b7dfd000	Export          libpthread.so.0
ELF	b7e0d000-b7f48000	Deferred        libwine.so.1
ELF	b7f4a000-b7f68000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\CS16v26\hl.exe
	0000001f    0
	0000001e   15 <==
	0000001d    0
	0000001c   15
	0000001b   15
	0000001a   15
	00000009    0
0000000c 
	00000014    0
	00000013    0
	00000012    0
	0000000e    0
	0000000d    0
0000000f 
	00000016    0
	00000015    0
	00000011    0
	00000010    0
00000017 
	00000018    0
Backtrace:
=>0 0xb7f68430 (0x06d1e6a0)
  1 0xb7cad098 abort+0x188() in libc.so.6 (0x06d1e7c8)
  2 0x7e48b6e0 in libpulse.so.0 (+0x376e0) (0x06d1e7f8)
  3 0x7e4733f2 pa_stream_peek+0xe2() in libpulse.so.0 (0x06d1e838)
  4 0x7e595fd8 _init+0x9e0() in libasound_module_pcm_pulse.so (0x06d1e888)
  5 0x7e5527e1 in libasound.so.2 (+0x8f7e1) (0x06d1e8b8)
  6 0x7e50e410 in libasound.so.2 (+0x4b410) (0x06d1e8e8)
  7 0x7e552a45 in libasound.so.2 (+0x8fa45) (0x06d1e948)
  8 0x7e508894 snd_pcm_readi+0x54() in libasound.so.2 (0x06d1e978)
  9 0x7e5c2e28 in winealsa (+0x22e28) (0x06d1ea18)
  10 0x7bc72b4e call_thread_entry_point+0xe() in ntdll (0x06d1ea28)
  11 0x7bc748a2 in ntdll (+0x648a2) (0x06d1eac8)
  12 0x7bc74a70 in ntdll (+0x64a70) (0x06d1f3b8)
  13 0xb7dea4ff start_thread+0xbf() in libpthread.so.0 (0x06d1f4b8)
  14 0xb7d6449e __clone+0x5e() in libc.so.6 (0x00000000)
Aborted (core dumped)
Usurp
Level 4
Level 4
Posts: 161
Joined: Sat Apr 19, 2008 7:16 am

Re: crash: can't start 3d app =((

Post by Usurp »

z-ray wrote:CS is now launching.
This is an log from console:

Code: Select all

~$ wine c:\\CS16v26\\hl.exe -32bpp
fixme:win:EnumDisplayDevicesW ((null),0,0x32f524,0x00000000), stub!
fixme:gl_compat:add_gl_compat_wrappers GL implementation supports GL_ARB_fragment_program but not GL_EXT_fog_coord
fixme:gl_compat:add_gl_compat_wrappers The fog coord emulation will most likely fail
E: shm.c: mmap() failed: Cannot allocate memory
E: shm.c: mmap() failed: Cannot allocate memory
E: shm.c: mmap() failed: Cannot allocate memory
E: shm.c: mmap() failed: Cannot allocate memory
E: shm.c: mmap() failed: Cannot allocate memory
E: memblock.c: Assertion 'b' failed at pulsecore/memblock.c:438, function pa_memblock_acquire(). Aborting.
The crash happens in pulseaudio, try removing it.
z-ray
Newbie
Newbie
Posts: 2
Joined: Mon Apr 06, 2009 11:52 pm

Post by z-ray »

how??
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

crash: can't start 3d app =((

Post by austin987 »

On Tue, Apr 7, 2009 at 10:18 AM, z-ray <[email protected]> wrote:
how??
From your package manager, just like you would any other package.


--
-Austin
fcmartins
Level 4
Level 4
Posts: 114
Joined: Sat Nov 01, 2008 5:48 pm

Post by fcmartins »

z-ray wrote:how??
You can also just try to kill the pulseaudio process before running your app, e.g. in the terminal
sudo killall pulseaudio
James Mckenzie

crash: can't start 3d app =((

Post by James Mckenzie »

fcmartins <[email protected]> wrote on April 7th:
z-ray wrote:
how??
You can also just try to kill the pulseaudio process before running your app, e.g. in the terminal
sudo killall pulseaudio
It's too bad that Ubuntu decided not have this as a specific install and with 9.0x, it will almost be mandatory in order to have sound.

Maybe it is time to revive the request to build support into Wine for this ugly monster. (I know what vitamin's response will be, we don't need to revisit that conversation, this is just an idea, not a demand.)

James McKenzie
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

crash: can't start 3d app =((

Post by austin987 »

On Tue, Apr 7, 2009 at 1:34 PM, James Mckenzie
<[email protected]> wrote:
Maybe it is time to revive the request to build support into Wine for this ugly monster. (I know what vitamin's response will be, we don't need to revisit that conversation, this is just an idea, not a demand.)
The problem is that Pulseaudio should be backwards compatible with
Alsa/etc. Esound/Alsa/Jack/etc., which Wine has support for, were all
considered the 'perfect audio solution' at one time or another, but
now, they're considered archaic/inferior. Pulseaudio is likely to have
the same fate. AJ doesn't want to add _another_ driver, which will
require more maintenance in the years to come, have more bugs to fix,
etc. Wine works fine with Alsa, and if Pulseaudio supports Alsa, it
should work fine. If not, fix Pulseaudio.

--
-Austin
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: crash: can't start 3d app =((

Post by vitamin »

austin987 wrote:On Tue, Apr 7, 2009 at 1:34 PM, James Mckenzie
<[email protected]> wrote:
Maybe it is time to revive the request to build support into Wine for this ugly monster. (I know what vitamin's response will be, we don't need to revisit that conversation, this is just an idea, not a demand.)
The problem is that Pulseaudio should be backwards compatible with
Alsa/etc. Esound/Alsa/Jack/etc., which Wine has support for, were all
considered the 'perfect audio solution' at one time or another, but
now, they're considered archaic/inferior. Pulseaudio is likely to have
the same fate. AJ doesn't want to add _another_ driver, which will
require more maintenance in the years to come, have more bugs to fix,
etc. Wine works fine with Alsa, and if Pulseaudio supports Alsa, it
should work fine. If not, fix Pulseaudio.
Yup pretty much. And until this ... thing uses ALSA to talk to sound hardware, Wine (or any other program) should be able too.
Das Letzte Einhorn
Level 4
Level 4
Posts: 194
Joined: Thu Jun 12, 2008 12:40 pm

Post by Das Letzte Einhorn »

Until a consensus between Pulseaudio and Wine developers is agreed regarding the status of Pulseaudio with Wine, one of my pals has written a backend for Pulseaudio support with Wine.. Have a look here and have fun: http://art.ified.ca/?page_id=40
Locked