Jump to content
Eternal Lands Official Forums
Cabman

1.9.4 client crash

Recommended Posts

Client downloaded on May 7, 2015 from EL website.

 

With music and/or sound turned on, pressing F2 to launch the browser causes a hard crash. This does not happen when the sound & music is disabled.


:~/eternallands$ ./eternallands.sh
Assertion 'pa_atomic_load(&(->_ref) > 0' failed at pulsecore/memblock.c:597, function pa_memblock_unref(). Aborting.

(process:19037): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
./eternallands.sh: line 39: 19021 Aborted                 (core dumped) $(which padsp) ./el.*.linux.bin $server


Linux 3.16.0-37-generic #51-Ubuntu SMP Tue May 5 13:45:59 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

:~/eternallands$ lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 14.10
Release:    14.10
Codename:    utopic


Edited by Cabman

Share this post


Link to post
Share on other sites

Runnung with padsp -d, before the crash:

utils/padsp.c: dsp_open()
utils/padsp.c: fd_info_new()
utils/padsp.c: dsp_open() succeeded, fd=28
utils/padsp.c: SNDCTL_DSP_SETFRAGMENT: 0x0008000a
open /dev/[sound/]mixer: No such file or directory
utils/padsp.c: dsp_open()
utils/padsp.c: fd_info_new()
utils/padsp.c: dsp_open() succeeded, fd=34
utils/padsp.c: SNDCTL_DSP_SETFRAGMENT: 0x0008000a
open /dev/[sound/]mixer: No such file or directory
utils/padsp.c: SNDCTL_DSP_RESET
utils/padsp.c: SNDCTL_DSP_SETFMT: 16
utils/padsp.c: SNDCTL_DSP_CHANNELS: 2
utils/padsp.c: SNDCTL_DSP_SPEED: 44100
utils/padsp.c: ss: s16le 2ch 44100Hz
utils/padsp.c: SNDCTL_DSP_GETOSPACE
utils/padsp.c: fragsize=1024, fragstotal=8, bytes=8192, fragments=8
utils/padsp.c: stream established.

and on the crash,

utils/padsp.c: atfork_prepare() enter
utils/padsp.c: atfork_prepare() exit
utils/padsp.c: atfork_parent() enter
utils/padsp.c: atfork_parent() exit
utils/padsp.c: atfork_child() enter
Assertion 'pa_atomic_load(&(->_ref) > 0' failed at pulsecore/memblock.c:597, function pa_memblock_unref(). Aborting.
utils/padsp.c: atfork_child() exit

Share this post


Link to post
Share on other sites

Update: This does not appear to happen with the client from bluaps ppa, but it was recreated on another computer with the website download running Xubuntu 14.04.4 LTS

Share this post


Link to post
Share on other sites

Yep, I've also confirmed it myself now. I built the static linux binary as well as the Ubuntu ppa. I'll look into it.

Share this post


Link to post
Share on other sites

Interestingly, I've just tried the 1.9.3 static binary and it crashes in the same way. Weird it was never reported before. At least that means that its nothing in the vast set of changes since the 1.9.3 release which included a major set of bug fixes for sound. The problem now is how to find a fix.

Share this post


Link to post
Share on other sites

So far it looks like this is not a client issue but a pulseaudio problem. The static binaries are build on an older version of Ubuntu so there could be some mismatch between the old libraries included in the static build and the daemon running on our machines. There are similar issues reported with other statically linked applications. I have a work around that turns off audio before starting the browser, then turns it back on afterwards. This works buts obviously causes a short break in playback, restarting most active effects and restarting any playing music track. I'll continue looking....

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×