FS#25678 - [firefox] dies with undefined symbol in libcanberra-pulse

Attached to Project: Arch Linux
Opened by Nicolas Houdoin (binuts) - Friday, 19 August 2011, 20:38 GMT
Last edited by Ionut Biru (wonder) - Saturday, 01 October 2011, 23:37 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Architecture x86_64
Severity High
Priority High
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


Firefox crash with this message :

/usr/lib/firefox-6.0/firefox-bin: symbol lookup error: /usr/lib/libcanberra-0.28/libcanberra-pulse.so: undefined symbol: ca_mutex_new

Additional info:
* package version "extra/firefox 6.0-1"

For bypass launch with "LD_PRELOAD=/usr/lib/libcanberra.so.0 firefox"
This task depends upon

Closed by  Ionut Biru (wonder)
Saturday, 01 October 2011, 23:37 GMT
Reason for closing:  Works for me
Comment by Ionut Biru (wonder) - Friday, 19 August 2011, 20:58 GMT
it seems that there is a race condition or a threading synchronization issue in gecko 6. I don't get it why is not loading /usr/lib/libcanberra.so.0. That's why it cannot find the symbol.

Care to report this to mozilla? Same thing happens on thunderbird
Comment by Marcos Alves Pintar (mapintar) - Friday, 02 September 2011, 15:14 GMT
I have the same problem in other gtk application like thunderbird, smplayer, etc.

This solve:

export LD_PRELOAD=/usr/lib/libgtk-x11-2.0.so

What is wrong? Some adittions config is necessari for gtk2 in gnome3?
Comment by Pavel (Alsvartr) - Friday, 02 September 2011, 17:25 GMT
The problem seems to be with the gnutls package - https://bbs.archlinux.org/viewtopic.php?pid=979112
Comment by Ionut Biru (wonder) - Friday, 02 September 2011, 17:28 GMT
that workaround is totally stupid.
Comment by Marcos Alves Pintar (mapintar) - Friday, 02 September 2011, 18:00 GMT
Solution propost in https://bbs.archlinux.org/viewtopic.php?pid=979112 not work for me.

I guess the problem is caused by the simultaneous use of gtk2 and gtk3. For some reason the gtk2-based programs can not properly load the gtk2 libraries.

Comment by Marcos Alves Pintar (mapintar) - Friday, 02 September 2011, 23:20 GMT
Guys, no bug in kde session.
Comment by mattia (nTia89) - Sunday, 04 September 2011, 22:47 GMT
by firefox don't crash.... i'm on x86_64 and gnome3, with libcanberra-pulse and its lib32 brother

no output
Comment by Marcos Alves Pintar (mapintar) - Monday, 05 September 2011, 15:45 GMT
My install is very old (2007). Pheraps, some old config cause the bug.
Comment by Pavel (Alsvartr) - Monday, 05 September 2011, 20:45 GMT
I've downgraded gnutls and that helps. Don't know how is this connected to this bug though.
Comment by Marcos Alves Pintar (mapintar) - Saturday, 01 October 2011, 22:54 GMT
I deleted all the gnome configuration files, since the session did not start in the new version, and the problem was finally resolved.
Comment by Nicolas Houdoin (binuts) - Saturday, 01 October 2011, 22:57 GMT
Good but i have format the system.
I think you can close this bug.