You are not logged in.

#1 2010-12-20 11:50:27

McFlow
Member
Registered: 2010-04-17
Posts: 58

Bus error for programs that require libpulse

Hi,
I'm having a Dell Studio 1558 with an ATI Mobility Radeon Graphics card.
Lately I am having a strange problem. When I want to launch OpenGL Applications (at least I think it's related to opengl) I will just receive a "Bus-Zugriffsfehler" in the terminal. Tranlsated it should be "Bus Error" or rather "Bus access error". Though glxgears and Games in wine are working fine
I switched through various catalyst versions. They all show the same issue. The error also appears with the open source driver. Appart from this everything else is working fine. Videos are fine, youtube in fullscreen is very fluent... So I suspect there is no hardware defect involved.
To be honest I don't know what I changed before this problem started to occur. I am sure I just did system updates and nothing else.
For example the output of widelands is

[florian@mydell PoPww]$ widelands 
Adding directory:/usr/share/widelands
Version file found with id "build-15" (real "build-15" )
No version file found
Adding directory:/usr/share/games/widelands
Adding directory:.
No version file found
Set home directory: /home/florian/.widelands
No version file found
LANG de_DE.utf8, LANGUAGE de_DE.utf8:de
textdomain widelands @ /usr/share/widelands/locale
using locale de_DE.utf8
SDL_VIDEODRIVER=&
Graphics: Trying Video driver: 4 dga SDL_VIDEODRIVER=dga
Graphics: Trying Video driver: 3 directfb SDL_VIDEODRIVER=directfb
Graphics: Trying Video driver: 2 fbcon SDL_VIDEODRIVER=fbcon
Graphics: Trying Video driver: 1 svga SDL_VIDEODRIVER=svga
Graphics: Trying Video driver: 0 x11 SDL_VIDEODRIVER=x11
Graphics: Trying HW_SURFACE
Graphics: Trying DOUBLE BUFFERING
**** GRAPHICS REPORT ****
 VIDEO DRIVER x11
 hw surface possible 0
 window manager available 1
 blitz_hw 0
 blitz_hw_CC 0
 blitz_hw_A 0
 blitz_sw 0
 blitz_sw_CC 0
 blitz_sw_A 0
 blitz_fill 0
 video_mem 0
 vfmt 0x1692180
 size 1024 600
**** END GRAPHICS REPORT ****

hw avail:0Graphics: flags: 0
Bus-Zugriffsfehler

Pingus returns:

[florian@mydell PoPww]$ pingus 
Welcome to Pingus 0.7.2!
========================
data path:               /usr/bin/../share/pingus/data/
language:                German (de)
font encoding:           iso-8859-1
sound support:           enabled
music support:           enabled
resolution:              800x600
fullscreen:              disabled

Bus-Zugriffsfehler

I am currently running the latest catalyst drivers. And everything except such games as pingus, supertux and widelands are not working. Those 3 seem to have SDL in common. I don't know if that is the problem. I also reinstalled SDL but it did not help. Do you maybe have ideas to verify that it is related to SDL?
TuxKart for example runs. I don't know what information could be useful so please ask and I will give them.
Thanks in advance.! smile

Last edited by McFlow (2010-12-23 21:35:26)

Offline

#2 2010-12-23 20:21:37

McFlow
Member
Registered: 2010-04-17
Posts: 58

Re: Bus error for programs that require libpulse

I installed several more games based on SDL. And they all show the behaviour with the bus error. Unfortunately I cannot find anything related on the internet.
So the problem is related to SDL!.
Edit:
The problem is not exaclty related to SDL!
With GDB I tracked the problem down to libpulse. When I -Rd it all the games mentioned above will work again. Unfortunately mumble won't run but I can live with that. By the way mumble exits with an bus error too when libpulse is installed.

Last edited by McFlow (2010-12-23 21:34:51)

Offline

#3 2010-12-24 09:49:52

goddesse
Member
Registered: 2009-08-03
Posts: 13

Re: Bus error for programs that require libpulse

Do you have consolekit installed and are you launching your window manager with exec ck-launch-session or using a DM that does all that for you? Those games work fine for me using the libpulse backend for sound.

Offline

#4 2010-12-24 10:20:57

McFlow
Member
Registered: 2010-04-17
Posts: 58

Re: Bus error for programs that require libpulse

Hi,
Yes consolekit is installed and the window manager is launched with

exec ck-launch-session startxfce4

in .xinitrc
I've done it the same way on my Desktop PC but the problem just occurs on my notebook but not since the beginning. I cannot remember what made the problem appear sad

Offline

#5 2010-12-24 11:25:18

goddesse
Member
Registered: 2009-08-03
Posts: 13

Re: Bus error for programs that require libpulse

Is there anything interesting sent to the logs (everything, user or messages) when this happens?

Offline

#6 2010-12-24 14:35:07

heftig
Developer
From: Germany
Registered: 2010-04-19
Posts: 159

Re: Bus error for programs that require libpulse

Is /dev/shm full? Look at "df".

Do you have information about where in libpulse the bus error is triggered?

Last edited by heftig (2010-12-24 14:36:26)

Offline

#7 2010-12-29 18:04:01

McFlow
Member
Registered: 2010-04-17
Posts: 58

Re: Bus error for programs that require libpulse

Yeah, /dev/shm was full or rather way too small. It just had "4" as available on df. I gave an explicit size in /etc/fstab and it's fine now. The problem occured in "pa_shm_cleanup () from /usr/lib/libpulsecore-0.9.22".
Thanks.

Offline

Board footer

Powered by FluxBB