Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11713 - mozilla 1.2.1 (gtk2) crashing at startup
Summary: mozilla 1.2.1 (gtk2) crashing at startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
: 11752 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-12-07 04:05 UTC by Jos Dehaes
Modified: 2003-02-05 19:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jos Dehaes 2002-12-07 04:05:54 UTC
I built mozilla 1.2.1 with gtk2, but it crashes at startup. stacktrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 13232)]
0x4128924e in XftLockFace () from /usr/lib/libXft.so.2
(gdb) backtrace 
#0  0x4128924e in XftLockFace () from /usr/lib/libXft.so.2
#1  0x4125cfdb in nsFontMetricsXft::CacheFontMetrics ()
   from /usr/lib/mozilla/components/libgfx_gtk.so
#2  0x4125cf7b in nsFontMetricsXft::RealizeFont ()
   from /usr/lib/mozilla/components/libgfx_gtk.so
#3  0x4125c371 in nsFontMetricsXft::Init ()
   from /usr/lib/mozilla/components/libgfx_gtk.so
#4  0x40039491 in nsFontCache::GetMetricsFor ()
   from /usr/lib/mozilla/libgkgfx.so
#5  0x400384be in DeviceContextImpl::GetMetricsFor ()
   from /usr/lib/mozilla/libgkgfx.so
#6  0x41636ce3 in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
#7  0x41636e37 in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
#8  0x4161738e in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
#9  0x4160e4e8 in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
#10 0x4161dd55 in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
#11 0x41633018 in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
---Type <return> to continue, or q <return> to quit---
#12 0x4171a00d in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
#13 0x41719ad5 in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
#14 0x41716618 in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
#15 0x4170a21d in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
#16 0x41716618 in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
#17 0x4171c2c7 in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
#18 0x4162ef42 in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
#19 0x4162f267 in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
#20 0x4162ef91 in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
#21 0x41716618 in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
#22 0x4172ab6b in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
#23 0x4162e3bb in NSGetModule ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/mozilla/components/libgklayout.so
#24 0x4161dd55 in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
#25 0x41684cdc in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
#26 0x41662716 in NSGetModule ()
   from /usr/lib/mozilla/components/libgklayout.so
#27 0x4064ff67 in NSGetModule ()
   from /usr/lib/mozilla/components/libgkcontent.so
#28 0x4064dfb3 in NSGetModule ()
   from /usr/lib/mozilla/components/libgkcontent.so
#29 0x410c74c4 in NSGetModule ()
   from /usr/lib/mozilla/components/libhtmlpars.so
#30 0x410c79c8 in NSGetModule ()
   from /usr/lib/mozilla/components/libhtmlpars.so
#31 0x410c4288 in NSGetModule ()
   from /usr/lib/mozilla/components/libhtmlpars.so
#32 0x410c4ffa in NSGetModule ()
   from /usr/lib/mozilla/components/libhtmlpars.so
#33 0x410c386d in NSGetModule ()
   from /usr/lib/mozilla/components/libhtmlpars.so
#34 0x410c27d4 in NSGetModule ()
   from /usr/lib/mozilla/components/libhtmlpars.so
---Type <return> to continue, or q <return> to quit---
#35 0x410da868 in NSGetModule ()
   from /usr/lib/mozilla/components/libhtmlpars.so
#36 0x410da5c4 in NSGetModule ()
   from /usr/lib/mozilla/components/libhtmlpars.so
#37 0x410dc277 in NSGetModule ()
   from /usr/lib/mozilla/components/libhtmlpars.so
#38 0x411ecd79 in NSGetModule ()
   from /usr/lib/mozilla/components/liburiloader.so
#39 0x404733b6 in NSGetModule () from /usr/lib/mozilla/components/libnecko.so
#40 0x40492953 in NSGetModule () from /usr/lib/mozilla/components/libnecko.so
#41 0x4047c8a9 in NSGetModule () from /usr/lib/mozilla/components/libnecko.so
#42 0x401a4b28 in PL_HandleEvent () from /usr/lib/mozilla/libxpcom.so
#43 0x401a4a0f in PL_ProcessPendingEvents () from /usr/lib/mozilla/libxpcom.so
#44 0x401a5c74 in nsEventQueueImpl::ProcessPendingEvents ()
   from /usr/lib/mozilla/libxpcom.so
#45 0x409a3204 in nsScrollbar type_info function ()
   from /usr/lib/mozilla/components/libwidget_gtk2.so
#46 0x40e12a3e in g_io_unix_dispatch () from /usr/lib/libglib-2.0.so.0
#47 0x40df021b in g_main_dispatch () from /usr/lib/libglib-2.0.so.0
#48 0x40df139d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#49 0x40df18e0 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#50 0x40b56701 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#51 0x409a34b9 in nsAppShell::Run ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/mozilla/components/libwidget_gtk2.so
#52 0x40971b9f in NSGetModule ()
   from /usr/lib/mozilla/components/libnsappshell.so
#53 0x0804d095 in nsIServiceManager::GetIID ()
#54 0x0804bf40 in StringAllocator_char ()
#55 0x4029066d in __libc_start_main () from /lib/libc.so.6
(gdb) q
The program is running.  Exit anyway? (y or n) y


I'm running xfree-4.2.1-r1, with xft-2.0-r1, fontconfig-2.0-r4
gtk+-2.0.9

I am running linux 2.5.50 (though I suspect this has nothing to do with it -
haven't yet checked)
Comment 1 Jos Dehaes 2002-12-08 11:08:25 UTC
I merged gnome-2.0.3-r1 and that seems to have fixed it. Maybe this had
something to do with the gtk+ version (2.1.2 iso 2.0.9) or pango (1.1.3 iso
1.0.5) (pango isn't used in mozilla IIRC?)
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-08 13:17:14 UTC
If anybody still have it crashing, please do the following and paste
output:

  # ldd /usr/lib/mozilla/components/libgfx_gtk*

Thanks.
Comment 3 matt misener 2002-12-08 21:20:06 UTC
Mozilla didn't do anything after I emerged it.  I removed .mozilla in my home dir and tried running it again and then it segfaulted.  Here is my output of ldd /usr/lib/mozilla/components/libgfx_gtk*

 libgkgfx.so => /usr/lib/mozilla/libgkgfx.so (0x4006e000)
        libgtksuperwin.so => /usr/lib/mozilla/libgtksuperwin.so (0x40098000)
        libxpcom.so => /usr/lib/mozilla/libxpcom.so (0x4009f000)
        libplds4.so => /usr/lib/mozilla/libplds4.so (0x401b9000)
        libplc4.so => /usr/lib/mozilla/libplc4.so (0x401bc000)
        libnspr4.so => /usr/lib/mozilla/libnspr4.so (0x401c1000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x401f2000)
        libdl.so.2 => /lib/libdl.so.2 (0x40207000)
        libmozjs.so => /usr/lib/mozilla/libmozjs.so (0x4020a000)
        libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x40289000)
        libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x40407000)
        libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x40448000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x4044b000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40471000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40479000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40489000)
        libXft.so.2 => /usr/lib/mozilla/libXft.so.2 (0x40554000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4056b000)
        libXrender.so.1 => /usr/lib/mozilla/libXrender.so.1 (0x405ce000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x405d5000)
        libm.so.6 => /lib/libm.so.6 (0x40601000)
        libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/libstdc++.so.5 
(0x40624000)
libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/libgcc_s.so.1 (0
x406ee000)
        libc.so.6 => /lib/libc.so.6 (0x406f6000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40817000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-09 03:38:21 UTC
Ok, do:

  # ldd /usr/lib/mozilla/components/ | grep Xft

and paste.  I had this issue if it linked to both Xft1 and Xft2.

Another option, could be that its fontconfig ... try to run:

 # fc-cache -f

Make sure you get output for fc-list ... somethign like:

----------------
workshop xfree # fc-list 
Luxi Serif:style=Regular
Utopia:style=Bold Italic
....
----------------
Comment 5 matt misener 2002-12-09 11:22:53 UTC
Alright here it comes...

i threw in epm -qG xfree xft gtk+ as the bottom...

# ldd /usr/lib/mozilla/components/ | grep Xft
ldd: /usr/lib/mozilla/components/: No such file or directory

This is strange as the /usr.../components firectory does exist I tried to read man ldd and info ldd so I could be more helpful but there is no help.

# fc-cache -f
does nothing as root and as user yields:

Can't save cache in "/usr/share/fonts"
Can't save cache in "/usr/share/fonts/afms"
Can't save cache in "/usr/share/fonts/afms/adobe"

# fc-list

gives no output

# epm -qG xfree xft gtk+
package xft is not installed
x11-base/xfree-4.2.1
x11-libs/gtk+-2.0.9
x11-libs/gtk+-1.2.10-r9


matt
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-09 13:24:17 UTC
Err, sorry, that should be:

  # ldd /usr/lib/mozilla/components/* 2>/dev/null | grep Xft


Do you have any truetype fonts in /usr/X11R6/lib/X11/fonts/{truetype,TTF} ?

I notice that it build against libXft.so.2 .. but you do not have x11-libs/xft
installed ... did you install Xft2.0 manually ?
Comment 7 matt misener 2002-12-09 18:28:27 UTC
#ldd /usr/lib/mozilla/components/* 2>/dev/null | grep Xft
  
      libXft.so.2 => /usr/lib/mozilla/libXft.so.2 (0x40554000)

#ls truetype/ TTF/

TTF/:
encodings.dir  luximb.ttf   luximri.ttf  luxirr.ttf   luxisbi.ttf
fonts.dir      luximbi.ttf  luxirb.ttf   luxirri.ttf  luxisr.ttf
fonts.scale    luximr.ttf   luxirbi.ttf  luxisb.ttf   luxisri.ttf

truetype/:
andalemo.ttf  comicbd.ttf    fonts.scale   timesbd.ttf   verdana.ttf
arial.ttf     cour.ttf       georgia.ttf   timesbi.ttf   verdanab.ttf
arialbd.ttf   courbd.ttf     georgiab.ttf  timesi.ttf    verdanai.ttf
arialbi.ttf   courbi.ttf     georgiai.ttf  trebuc.ttf    verdanaz.ttf
ariali.ttf    couri.ttf      georgiaz.ttf  trebucbd.ttf  webdings.ttf
ariblk.ttf    encodings.dir  impact.ttf    trebucbi.ttf
comic.ttf     fonts.dir      times.ttf     trebucit.ttf

I haven't installed Xft2.0 manually...  

matt
Comment 8 oktay altunergil 2002-12-10 13:26:56 UTC
I'm having the same problems and the same exact outputs to the specified commands. Please let me know if there's any way I can help. 

PS: I'm running a 2.4 series kernel.

Comment 9 electrophant 2002-12-10 18:48:36 UTC
I think this bug has to do with /etc/font/fonts.conf
ensure this file has <dir>/usr/X11R6/lib/X11/fonts</dir>
in <fontconfig> .... then fc-list should give some output
and mozilla should work.


In fact I am using a mozilla which crashed and now works.
Comment 10 matt misener 2002-12-10 19:39:51 UTC
mozilla is still leaving me at the prompt with a segmentation fault after changing fonts.conf...  =(
Comment 11 Ian Brandt 2002-12-10 22:04:31 UTC
Matt: Did you re-run fc-cache -f as root after the changes to font.conf?

I did this, after which fc-list finally listed something, and mozilla now no 
longer segfaults on startup.

Thanks Martin!
Comment 12 Ian Brandt 2002-12-10 22:09:01 UTC
> Thanks Martin! 

Sorry, and thanks electrophant!
Comment 13 matt misener 2002-12-10 23:17:16 UTC
yeah thanks about the fc-cache thing.

i'm posting this from mozilla 1.2.1-r1   =p

thanks.
Comment 14 oktay altunergil 2002-12-11 11:45:24 UTC
works for me too.

thanks a lot.

oktay
Comment 15 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-11 12:45:47 UTC
Bleh, ill change the fontconfig dep in mozilla to grab the latest one where
fonts.conf is fixed ...
Comment 16 Alex Handy 2002-12-13 09:18:37 UTC
Hi Guys, I'm still having the Segfault when I try to start Moz.        
I checked my /etc/fonts/fonts.conf and '<dir>/usr/X11R6/lib/X11/fonts</dir>'        
was already there. I re-ran fc-cache -f, and fc-list prints 177 lines of      
fonts.  
 
I tried rm'ing my ~/.mozilla, and the same thing still happens.. 
     
ldd /usr/lib/mozilla/components/* 2>/dev/null | grep Xft       
shows:    
  libXft.so.2 => /usr/lib/libXft.so.2 (0x40561000)      
     
epm -qG xfree xft gtk+       
shows:       
  x11-base/xfree-4.2.1-r2    
  x11-libs/xft-2.0.1    
  x11-libs/gtk+-1.2.10-r9    
  x11-libs/gtk+-2.1.2    
   
I'm running 2.4.20.1-lolo_pre4 for a Kernel. Mozilla is the only app that I 
can find that doesn't work. 
   
If there is anything else I can try, let me know.. =) Thanks!   
Comment 17 Alex Handy 2002-12-13 18:25:37 UTC
From Reading some other bugs with similar problems, I tried running:  
/usr/lib/mozilla/mozilla-bin  
  
I get this line:  
Gtk-WARNING **: Unable to locate loadable module in module_path: "libxfce.so", 
about 9 times and Mozilla seems to start normally. 
 
Running mozilla Directly still causes a segfault. Just thought I would try to 
update the situation as best I could. 
Comment 18 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-14 14:43:29 UTC
Try 1.2.1-r2 please.
Comment 19 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-18 05:04:35 UTC
Hi, does, 1.2.1-r2 or -r3 fix it for you ?
Comment 20 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-18 05:05:32 UTC
*** Bug 11752 has been marked as a duplicate of this bug. ***
Comment 21 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-19 09:17:28 UTC
Reopen if you still have issues with -r3.
Comment 22 Dewet Diener 2003-02-05 19:24:29 UTC
I'm having mozilla segfault still.  Pertinent versions: 
 
mozilla-1.2.1-r5 
xft-2.0.1-r1 
xfree-4.2.99.4 
gtk+-2.2.0 
gtk+-1.2.10-r9 
 
$ ldd /usr/lib/mozilla/components/* 2>/dev/null | grep Xft 
        libXft_moz.so.2 => /usr/lib/mozilla/libXft_moz.so.2 (0x4016f000) 
 
I ran fc-cache -fr as root, and fc-list has 689 entries.  Running mozilla as well as 
/usr/lib/mozilla/mozilla-bin results in a segfault.  Backtrace is as follows: 
 
#0  0x413c6ca7 in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#1  0x413c6e31 in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#2  0x413c6ec0 in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#3  0x413a9af5 in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#4  0x413a05e4 in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#5  0x4149a97f in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#6  0x41499baf in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#7  0x4149a1b9 in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#8  0x4149f9fa in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#9  0x4149c76e in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#10 0x414ab4f4 in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#11 0x4149f9fa in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#12 0x4149c76e in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#13 0x414ab4f4 in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#14 0x4149f9fa in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#15 0x4149c76e in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#16 0x414ab4f4 in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#17 0x4149f9fa in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#18 0x4149c76e in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#19 0x414ab4f4 in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#20 0x4149db0f in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#21 0x4149c7eb in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#22 0x414ab825 in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#23 0x41496fd4 in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#24 0x414a0e39 in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#25 0x4149c7eb in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#26 0x414ab825 in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#27 0x41496fd4 in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#28 0x414ab226 in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#29 0x41494b73 in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#30 0x413af8f4 in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#31 0x4140c935 in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#32 0x413e9d3a in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#33 0x413f690b in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#34 0x413f448e in NSGetModule () from /usr/lib/mozilla/components/libgklayout.so 
#35 0x404e15d8 in NSGetModule () from 
/usr/lib/mozilla/components/libgkcontent.so 
#36 0x4053842f in NSGetModule () from 
/usr/lib/mozilla/components/libgkcontent.so 
#37 0x4036c513 in NSGetModule () from 
/usr/lib/mozilla/components/libgkcontent.so 
#38 0x40561091 in NSGetModule () from 
/usr/lib/mozilla/components/libgkcontent.so 
#39 0x404b89e3 in NSGetModule () from 
/usr/lib/mozilla/components/libgkcontent.so 
#40 0x404adf74 in NSGetModule () from 
/usr/lib/mozilla/components/libgkcontent.so 
#41 0x40caa8ec in NSGetModule () from /usr/lib/mozilla/components/libhtmlpars.so 
#42 0x40cc2bbb in NSGetModule () from /usr/lib/mozilla/components/libhtmlpars.so 
#43 0x40cc39ba in NSGetModule () from /usr/lib/mozilla/components/libhtmlpars.so 
#44 0x40cc58ce in NSGetModule () from /usr/lib/mozilla/components/libhtmlpars.so 
#45 0x40537c9a in NSGetModule () from 
/usr/lib/mozilla/components/libgkcontent.so 
#46 0x402f0500 in NSGetModule () from /usr/lib/mozilla/components/libnecko.so 
#47 0x40291cfe in NSGetModule () from /usr/lib/mozilla/components/libnecko.so 
#48 0x40291435 in NSGetModule () from /usr/lib/mozilla/components/libnecko.so 
#49 0x45f0584e in PL_HandleEvent () from /usr/lib/mozilla/libxpcom.so 
#50 0x45f05766 in PL_ProcessPendingEvents () from /usr/lib/mozilla/libxpcom.so 
#51 0x45f069a9 in nsEventQueueImpl::ProcessPendingEvents() () from 
/usr/lib/mozilla/libxpcom.so 
#52 0x406dcd31 in NSGetModule () from 
/usr/lib/mozilla/components/libwidget_gtk.so 
#53 0x406dc9cd in NSGetModule () from 
/usr/lib/mozilla/components/libwidget_gtk.so 
#54 0x432ef8e4 in g_io_unix_dispatch () from /usr/lib/libglib-1.2.so.0 
#55 0x432f242e in g_main_dispatch () from /usr/lib/libglib-1.2.so.0 
#56 0x432f21bb in g_main_iterate () from /usr/lib/libglib-1.2.so.0 
#57 0x432f114a in g_main_iteration () from /usr/lib/libglib-1.2.so.0 
#58 0x406dd1bc in NSGetModule () from 
/usr/lib/mozilla/components/libwidget_gtk.so 
#59 0x406b940d in NSGetModule () from 
/usr/lib/mozilla/components/libnsappshell.so 
#60 0x406c5c9f in NSGetModule () from 
/usr/lib/mozilla/components/libnsappshell.so 
#61 0x406b6d1d in NSGetModule () from 
/usr/lib/mozilla/components/libnsappshell.so 
#62 0x401ecef7 in NSGetModule () from 
/usr/lib/mozilla/components/libembedcomponents.so 
#63 0x401eb9b5 in NSGetModule () from 
/usr/lib/mozilla/components/libembedcomponents.so 
#64 0x401ea5ee in NSGetModule () from 
/usr/lib/mozilla/components/libembedcomponents.so 
#65 0x401e94d4 in NSGetModule () from 
/usr/lib/mozilla/components/libembedcomponents.so 
#66 0x4072ed5b in buf.0 () from /usr/lib/mozilla/components/libprofile.so 
#67 0x4072fe7f in buf.0 () from /usr/lib/mozilla/components/libprofile.so 
#68 0x4072c89a in buf.0 () from /usr/lib/mozilla/components/libprofile.so 
#69 0x406bf8b3 in NSGetModule () from 
/usr/lib/mozilla/components/libnsappshell.so 
#70 0x08051fec in getCountry(nsAString const&, nsAString&) () 
#71 0x08052e17 in getCountry(nsAString const&, nsAString&) () 
#72 0x0804e165 in main () 
#73 0x42d84a64 in __libc_start_main () from /lib/libc.so.6