Firefox and uClibc

jean-marie.verdun at splitted-desktop.org jean-marie.verdun at splitted-desktop.org
Wed May 3 07:44:35 UTC 2006


Hi,

For sure... I am using firefox 1.5.0.2

#0  0xb75af51f in __libc_nanosleep (req=0xbf90475c, rem=0xbf90475c) at 
nanosleep.c:14
#1  0xb7c6ddc7 in nanosleep (requested_time=0xbf90475c, 
remaining=0xbf90475c)
     at wrapsyscall.c:105
#2  0xb75b3130 in sleep (seconds=300) at sleep.c:99
#3  0x0806cd25 in ah_crap_handler (signum=11) at nsSigHandlers.cpp:132
#4  0x0806d823 in nsProfileLock::FatalSignalHandler (signo=11) at 
nsProfileLock.cpp:210
#5  0xb7c6c9d5 in pthread_sighandler (signo=11, ctx=
       {gs = 0, __gsh = 0, fs = 0, __fsh = 0, es = 123, __esh = 0, ds = 
123, __dsh = 0, edi = 30655                           08148, esi = 
136333400, ebp = 3213904824, esp = 3213904800, ebx = 3065502340, edx = 0, 
ecx = 30832                           86464, eax = 0, trapno = 14, err = 
4, eip = 3065176491, cs = 115, __csh = 0, eflags = 66054, esp_a 
t_signal = 3213904800, ss = 123, __ssh = 0, fpstate = 0xbf904920, oldmask 
= 2147483648, cr2 = 4})
     at signals.c:104
#6  <signal handler called>
#7  0xb6b2e1ab in nsWebShell::Create (this=0x8204858)
     at /root/mozilla/docshell/base/nsWebShell.cpp:1140
#8  0xb6cbc6b2 in nsWebShellWindow::Initialize (this=0x822a218, 
aParent=0x0, aShell=0x8125ac0,
     aUrl=0x822a108, aInitialWidth=100, aInitialHeight=100, 
aIsHiddenWindow=1,
     widgetInitData=@0xbf904e20) at 
/root/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp:244
#9  0xb6cb7d31 in nsAppShellService::JustCreateTopWindow (this=0x822e708, 
aParent=0x0,
     aUrl=0x822a108, aChromeMask=4094, aInitialWidth=100, 
aInitialHeight=100, aIsHiddenWindow=1,
     aAppShell=0x8125ac0, aResult=0xbf904ea0)
     at /root/mozilla/xpfe/appshell/src/nsAppShellService.cpp:359
#10 0xb6cb78e3 in nsAppShellService::CreateHiddenWindow (this=0x822e708, 
aAppShell=0x8125ac0)
     at /root/mozilla/xpfe/appshell/src/nsAppShellService.cpp:175
#11 0xb6e8ccac in nsAppStartup::CreateHiddenWindow (this=0x8125a78)
     at /root/mozilla/toolkit/components/startup/src/nsAppStartup.cpp:140

I got a SegFault into the nsWebShell::Create call.
Firefox is quite complex to recompile ... Here is my mozconfig

mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-application=browser
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-static
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-x11
ac_add_options --disable-tests
ac_add_options --enable-debug
ac_add_options --disable-optimize

Jean-Marie
On Tue, 2 May 2006, Garrett Kajmowicz wrote:

> On Tuesday 02 May 2006 10:14 pm, jean-marie.verdun at splitted-desktop.org wrote:
>> Hi,
>>
>> I don't know if this is the right place to ask the question, but I am
>> trying to re compile firefox on top of a uClibc toolchain and got bad
>> things up to now (seems to be related to threading issue). I was
>> wondering if somebody had some experience to share with me on this ?
>> I am not really a C++ specialist (I really do prefer C) and I am a little
>> bit stuck with the call trace provided by gdb ...
>>
>> May accept my apologies if I am not into the right Mailing list.
>
> Can you please provide either a traceback of either the compilation or
> execution under GDB?   It's a little hard to help you when I'm not sure where
> the error is occurring.
>
>
> -     Garrett
>



More information about the uClibc mailing list