Compile firefox with debug symbols

Martin Laabs martin.laabs at mailbox.tu-dresden.de
Fri Aug 1 08:45:49 UTC 2008


Hi,

On Thu, 31 Jul 2008 23:00:11 +0200, Roland Smith <rsmith at xs4all.nl> wrote:
> On Thu, Jul 31, 2008 at 09:00:53PM +0200, Martin Laabs wrote:

>> I have some problems with firefox (it just don't
>> start

> Try starting firefox from a terminal. It will print a message if it  
> cannot find a library.

My previous message is misleading in this point. There are
all libraries firefox needs. But I think there is a bug somwhere
in some library since firefox (and regxpcom which is also belongs
to firefox) just do not start. (With no error or debug message)
GDB says, that it hangs in _umtx_op() which has something to do
with the pthreads. Here is a part of the backtrace:

#0  0x28362329 in _umtx_op () from /lib/libc.so.7
#1  0x29201381 in pthread_cleanup_push ()
     from /usr/local/lib/firefox/components/libstoragecomps.so
#2  0x291fd848 in pthread_mutex_getprioceiling ()
     from /usr/local/lib/firefox/components/libstoragecomps.so
#3  0x283f24b4 in pthread_mutex_lock () from /lib/libc.so.7
#4  0x2809c2f2 in PR_Lock () from /usr/local/lib/libplds4.so.1
#5  0x2809c472 in PR_EnterMonitor () from /usr/local/lib/libplds4.so.1
#6  0x280ac265 in PR_FindSymbol () from /usr/local/lib/libplds4.so.1
#7  0x2849ba92 in nsServiceManager::UnregisterService ()
     from /usr/local/lib/firefox/libxpcom_core.so
[...]


However - since there are no debugging symbols in the binary itself
I can't trace it back to a specific function, library or bug.

Thank you,
   Martin L.


More information about the freebsd-questions mailing list