Jump to content
Eternal Lands Official Forums
Florian

NULL mutex debug output

Recommended Posts

before login screen:

 

Lock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3909

Unlock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3957

Lock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3909

Unlock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3957

Lock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3909

Unlock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3957

Lock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3909

Unlock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3957

Lock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3909

Unlock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3957

Lock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3909

Unlock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3957

Lock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3909

Unlock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3957

Lock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3909

Unlock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3957

Lock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3909

Unlock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3957

Lock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3909

Unlock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3957

Lock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3909

Unlock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3957

Lock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3909

Unlock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3957

 

nothing while walking around IP and going into the tavern

 

logout:

Lock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3909

Unlock error 'Passed a NULL mutex' at file 'sound.c' in funcion 'update_sound' line 3957

Share this post


Link to post
Share on other sites

Try turning sound and music off from the config menu, the messages occur all the time then.

Edited by bluap

Share this post


Link to post
Share on other sites

Try turning sound and music off from the config menu, the messages occur all the time then.

The mutex is used regardless of whether sound is on or off. Currently, it is created when sound/music is switched on and deleted when it's switched off. The use of the unprotected sound_list is limited but will be from different threads. It's difficult to tell if this would actually cause a problem but its best fixed. I have an initial simple fix ready; create the mutex when the client starts and delete it at exit.

 

Florian, I'll raise a mantis report on this tomorrow unless you have already done so.

Share this post


Link to post
Share on other sites

Isn't this the report?

OK, yes it is. As that was a console message I thought it might me a different problem but after a little more research it looks to be the same cause. Hopefully fixed now in CVS.

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×