Segmentation Fault
#1
Hello guys,


today I was editing a script that i found. AC was working fine.
I go try again to open AC to run the script, and then the startscreen loads for 2 secs, and suddenly crashes.

Here's the terminal transcript.
herp@derp $ ./assaultcube.sh
Using home directory: /home/****/.assaultcube_v1.1
Adding package directory: mods/protox_mod
current locale: en_US.UTF-8
init: sdl
init: net
init: world
init: video: sdl
init: video: mode
init: video: misc
init: gl
Renderer: Gallium 0.4 on AMD RS880 (X.Org)
Driver: 2.1 Mesa 7.11
init: console
init: sound
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
Audio devices: PulseAudio Default, ALSA Default, PortAudio Default
Sound: PulseAudio Default / OpenAL Soft (OpenAL Community)
Driver: 1.1 ALSOFT 1.13
init: cfg
unknown command: persistidents
unknown command: const
could not read "config/"tools"
unknown command: initialize
unknown command: addlistonquit
unknown command: add2list
unknown command: add2list
Segmentation fault

The segmentation fault bothers me the most. I read a thread about other ones having to do with audio problems, but I don't believe that is my problem because audio was working well (Assault Your Ears FTW) about a minute ago before the crash.

Help!
Thanks given by:
#2
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
This normally doesn't happen on startup. Try updating your drivers.

What is your sound set up like?

Also try changing your username from herp. I've heard problems with that username.
Thanks given by:
#3
bleh - it's fixed.
There was a CubeScript line in my developing script that caused the segmentation error - Line to Line debugging lol

herp and derp were just nick and hostname nulls - even though my username's name on ubuntu is "Herp Derp" ;)
Thanks given by:
#4
Cubescript or C++? If it is Cubescript it might be worth knowing how it failed.
Thanks given by: