2009/11/3 Tom "spot" Callaway <tcallawa@redhat.com>
On 11/03/2009 02:16 PM, Jerry James wrote:

> This seems to happen only when portaudio is installed.  Uninstall
> portaudio and alienarena starts up.  I'm not sure exactly what is
> going on here, but it seems that alienarena is both trying to dlopen
> libopenal, and is linked against it.  Check it:
>
> ldd /usr/libexec/alienarena | grep -F openal
>
> My guess (and it is just a guess) is that this is triggering multiple
> initializations of portaudio.  Try this patch:

This gets me past the initial segfault, thanks!

Of course, now the game won't actually start in single-player mode:

======== CRX Initialized ========

Received signal 11, exiting...
Received signal 11, exiting...
Received signal 11, exiting...
Received signal 11, exiting...
XIO:  fatal IO error 0 (Success) on X server "�o�"
     after 2628 requests (2619 known processed) with 0 events remaining.
AL lib: ALc.c:1641: exit(): closing 1 Device
AL lib: ALc.c:1570: alcCloseDevice(): destroying 1 Context
AL lib: ALc.c:1259: alcDestroyContext(): deleting 129 Source(s)
------- Loading game.so -------
AL lib: ALc.c:1579: alcCloseDevice(): deleting 256 Buffer(s)

Running it again, I get:

======== CRX Initialized ========

Received signal 11, exiting...
Received signal 11, exiting...
XIO:  fatal IO error 0 (Success) on X server "P�%"
     after 657 requests (654 known processed) with 0 events remaining.
AL lib: ALc.c:1641: exit(): closing 1 Device
AL lib: ALc.c:1570: alcCloseDevice(): destroying 1 Context
Received signal 11, exiting...
Received signal 11, exiting...
*** glibc detected *** ./crx: free(): invalid pointer:
0x0000000007263c00 ***
Received signal 11, exiting...
*** glibc detected *** ./crx: free(): invalid pointer:
0x0000000007263c00 ***
Segmentation fault

Valgrind isn't much more help:

==22231== Process terminating with default action of signal 11 (SIGSEGV)
==22231==  Bad permissions for mapped region at address 0xFA9CB20
==22231==    at 0xA1663E0: pthread_cond_wait@@GLIBC_2.3.2
(pthread_cond_wait.S:170)
==22231==    by 0xF88B3BA: ??? (in /usr/lib64/libportaudio.so.2.0.0)

The latest patched build is here:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1786476

It does work in multi-player mode, just not single player.

Any more ideas? :)

~spot

_______________________________________________
Fedora-games-list mailing list
Fedora-games-list@redhat.com
http://www.redhat.com/mailman/listinfo/fedora-games-list

Enjoy it playing whit a friend