User avatar
Toad King
Posts: 157
Joined: Sun Dec 18, 2011 8:03 pm

"failed to add service - already in use?" error

Postby Toad King » Fri Jul 27, 2012 7:03 am

After the latest firmware update, any time I try to run a program with GLES/OpenVG, I get an error like this:

Code: Select all

3422136784: * failed to add service - already in use?


where the number changes each time. Does anyone know what could be causing this?
dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5087
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: "failed to add service - already in use?" error

Postby dom » Fri Jul 27, 2012 9:54 am

What memory split are you using?
pwinwood
Posts: 69
Joined: Mon Jul 02, 2012 2:21 am
Location: Oxford, England

Re: "failed to add service - already in use?" error

Postby pwinwood » Fri Jul 27, 2012 4:47 pm

It happens to me too using 128/128 and 192/64.

uname -a

Linux raspberrypi 3.1.9+ #202 PREMPT Wed Jul 25 22:11:06 BST 2012 armv6l GNU/Linux.

I will try reflashing the sdcard.
pwinwood
Posts: 69
Joined: Mon Jul 02, 2012 2:21 am
Location: Oxford, England

Re: "failed to add service - already in use?" error

Postby pwinwood » Fri Jul 27, 2012 6:21 pm

I reflashed the sdcard, installed and ran the rpi-update and the same error occurred again running hello_triangle.
User avatar
Aloshi
Posts: 359
Joined: Sat Jun 23, 2012 6:42 pm
Contact:

Re: "failed to add service - already in use?" error

Postby Aloshi » Fri Jul 27, 2012 8:16 pm

Same thing here, also started happening after I updated the firmware yesterday.
Oraclemaster
Posts: 3
Joined: Sat Jul 28, 2012 7:53 am

Re: "failed to add service - already in use?" error

Postby Oraclemaster » Sat Jul 28, 2012 7:57 am

I have the same problem with Quake 3 and some people get this error running XBMC.

Mauro
fordexplorer
Posts: 12
Joined: Mon Jul 23, 2012 9:23 pm

Re: "failed to add service - already in use?" error

Postby fordexplorer » Sat Jul 28, 2012 9:19 am

I can confirm Mauro's statement regarding XBMC.

Ford
dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5087
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: "failed to add service - already in use?" error

Postby dom » Sat Jul 28, 2012 9:34 am

@all
Have you tried updating today? I think I fixed this late last night.
Oraclemaster
Posts: 3
Joined: Sat Jul 28, 2012 7:53 am

Re: "failed to add service - already in use?" error

Postby Oraclemaster » Sun Jul 29, 2012 7:12 am

Hi dom, after a

sudo apt-get update
sudo apt-get dist-upgrade
sudo rpi-update 192

Reboot

It works.

Thank you.

Mauro
jlauha
Posts: 3
Joined: Wed Sep 19, 2012 11:14 am

Re: "failed to add service - already in use?" error

Postby jlauha » Thu Sep 20, 2012 10:16 am

I started getting this error when I just switched to the new "2012-09-18-wheezy-raspbian" image. I get it e.g. when I compile and try to run the hello_triangle example.
dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5087
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: "failed to add service - already in use?" error

Postby dom » Thu Sep 20, 2012 5:27 pm

jlauha wrote:I started getting this error when I just switched to the new "2012-09-18-wheezy-raspbian" image. I get it e.g. when I compile and try to run the hello_triangle example.

What memory split are you using?
jlauha
Posts: 3
Joined: Wed Sep 19, 2012 11:14 am

Re: "failed to add service - already in use?" error

Postby jlauha » Thu Sep 20, 2012 5:53 pm

I had it on 240/16 as the previous image worked with that. Also I had tried the rpi-update 192 command instructed in a message above, thinking I had tried it with that as well with no luck. I guess I somehow missed an error message since there is no rpi-update command. :D

Now that I checked & tried again, it works again with the 192 memory split. 224 doesn't work either, although it gives a different, app dependent error message (context creation fails).
thogue
Posts: 131
Joined: Wed Sep 19, 2012 2:16 am

Re: "failed to add service - already in use?" error

Postby thogue » Wed Sep 26, 2012 1:32 am

Xbian 0.6.3

xbmc would error.

Tried 192, xbmc started but still would not finish loading. Set to 128 seems to be working now.