Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

mozilla apps segfault when changing GTK themes

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
mikegpitt
Advocate
Advocate
User avatar
Posts: 3224
Joined: Sat May 22, 2004 6:49 pm

mozilla apps segfault when changing GTK themes

  • Quote

Post by mikegpitt » Wed Feb 28, 2007 9:31 pm

When I change GTK themes on my system mozilla apps (ie. firefox and thiunderbird) crash. They spit out an error like this if it is run from the command line:

Code: Select all

/usr/libexec/mozilla-launcher: line 117: 20181 Segmentation fault      "$mozbin" "$@"
thunderbird-bin exited with non-zero status (139)
or

Code: Select all

/usr/libexec/mozilla-launcher: line 117: 20269 Segmentation fault      "$mozbin" "$@"
firefox-bin exited with non-zero status (139)
Does anyone else have this issue? I am still running the 1.5 firefox, and 1.5 thunderbird. I'm using the source ebuilds vs. the binary ones.
Top
Spetsnaz84
n00b
n00b
User avatar
Posts: 39
Joined: Sun Jun 25, 2006 7:37 pm
Location: Antwerp, Belgium

  • Quote

Post by Spetsnaz84 » Sat Mar 03, 2007 10:14 pm

I have the same problem, the binary works though...
Top
Assgier
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 127
Joined: Wed May 28, 2003 12:37 am
Location: Europe -> Netherlands -> Utrecht -> Amersfoort

  • Quote

Post by Assgier » Sat Mar 03, 2007 11:29 pm

Missing some information here..

Please post your output of 'emerge --info'.

Also, emerge gdb if isn't installed yet. Then, from a console, run 'gdb firefox'. You will get the gdb console, in there type 'run' and hit enter.
Firefox will start up, now try to change your GTK theme. Firefox will segfault but gdb will output some interesting information and go back to it's console. Then, type 'bt' in it and hit enter again.

Post the whole bunch of text here :)
8)
Top
mikegpitt
Advocate
Advocate
User avatar
Posts: 3224
Joined: Sat May 22, 2004 6:49 pm

  • Quote

Post by mikegpitt » Mon Mar 05, 2007 4:53 pm

Here is my current emerge --info. I was hoping to not go through a long process if this was a well known problem, but I guess it isn't. I'm recompiling it right now with -g and will post the debugging statements after it is complete.

Code: Select all

Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-susp                             end2 i686)
=================================================================
System uname: 2.6.18-suspend2 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.12.6
Last Sync: Mon, 19 Feb 2007 16:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /u                             sr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/s                             hare/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/r                             evdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distribu                             tions/gentoo"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force                              --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --excl                             ude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/gentopia /usr/portage/local/layman/gentopia"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl acpi alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_ca                             rds_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1                              alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_                             es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m al                             sa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_                             via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_pl                             ugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_                             plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file als                             a_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_lad                             spa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plug                             ins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_pl                             ugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_p                             lugins_softvol berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader dri d                             vd dvdr eds elibc_glibc emboss encode esd fam firefox gdbm gif gpm gstreamer gtk2 hal ic                             onv input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog jpeg kern                             el_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd                             _devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_nc                             urses lcd_devices_text ldap libg++ linguas_en mad madwifi midi mikmod mmx mp3 mpeg ncurs                             es nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime                              readline reflection samba sdl session spell spl sse sse2 ssl tcpd truetype truetype-fon                             ts type1-fonts unicode userland_GNU video_cards_fbdev video_cards_i810 video_cards_i830                              video_cards_i915 video_cards_vesa vorbis win32codecs xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC                             _EXTRA_OPTS
Last edited by mikegpitt on Wed Oct 31, 2007 3:01 pm, edited 1 time in total.
Top
mikegpitt
Advocate
Advocate
User avatar
Posts: 3224
Joined: Sat May 22, 2004 6:49 pm

  • Quote

Post by mikegpitt » Mon Mar 05, 2007 8:09 pm

Ok I ran it in gdb (btw to run firefox in gdb you must start it in this way, becuase /usr/bin/firefox is actually just a shell script, which runs another shell script:

Code: Select all

 firefox -g -d gdb
Unfortunatly the debugging info is less than helpful... It seems to just say that the crash is occuring in one of firefox's the shared objects that relates to GTK.

Code: Select all

No running windows found
              MOZILLA_FIVE_HOME=/usr/lib/mozilla-firefox
                LD_LIBRARY_PATH=/usr/lib/mozilla-firefox:/usr/lib/mozilla-firefox/plugins
                        DISPLAY=:0.0
                       debugger=gdb

GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/usr/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/lib/mozilla-firefox/firefox-bin 
Failed to read a valid object file image from memory.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1220966208 (LWP 26532)]
[New Thread -1222100064 (LWP 26538)]
[New Thread -1240155232 (LWP 26539)]
[New Thread -1254397024 (LWP 26542)]
[New Thread -1262969952 (LWP 26543)]
[New Thread -1271362656 (LWP 26544)]
[Thread -1262969952 (LWP 26543) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1220966208 (LWP 26532)]
0xb68e952b in NSGetModule () from /usr/lib/mozilla-firefox/components/libwidget_gtk2.so
(gdb) bt
#0  0xb68e952b in NSGetModule () from /usr/lib/mozilla-firefox/components/libwidget_gtk2.so
#1  0xb68e9e30 in NSGetModule () from /usr/lib/mozilla-firefox/components/libwidget_gtk2.so
#2  0xb6340fb8 in NSGetModule () from /usr/lib/mozilla-firefox/components/libgklayout.so
#3  0xb634d008 in NSGetModule () from /usr/lib/mozilla-firefox/components/libgklayout.so
#4  0xb6609186 in NSGetModule () from /usr/lib/mozilla-firefox/components/libgklayout.so
#5  0xb660b03d in NSGetModule () from /usr/lib/mozilla-firefox/components/libgklayout.so
#6  0xb65ffab6 in NSGetModule () from /usr/lib/mozilla-firefox/components/libgklayout.so
#7  0xb68e878e in NSGetModule () from /usr/lib/mozilla-firefox/components/libwidget_gtk2.so
#8  0xb68dfc47 in ?? () from /usr/lib/mozilla-firefox/components/libwidget_gtk2.so
#9  0x08321240 in ?? ()
#10 0xbf95c738 in ?? ()
#11 0xbf95c768 in ?? ()
#12 0xb7da0a4b in __pthread_mutex_unlock_usercnt () from /usr/lib/libpthread.so.0
#13 0xb78c76c4 in ?? () from /usr/lib/libglib-2.0.so.0
#14 0xb7da0bb0 in __pthread_mutex_unlock_usercnt () from /usr/lib/libpthread.so.0
#15 0xbf95c738 in ?? ()
#16 0xb7da0bc0 in pthread_mutex_unlock () from /usr/lib/libpthread.so.0
Previous frame inner to this frame (corrupt stack?)
(gdb) up
#1  0xb68e9e30 in NSGetModule () from /usr/lib/mozilla-firefox/components/libwidget_gtk2.so
(gdb) up
#2  0xb6340fb8 in NSGetModule () from /usr/lib/mozilla-firefox/components/libgklayout.so
(gdb) up
#3  0xb634d008 in NSGetModule () from /usr/lib/mozilla-firefox/components/libgklayout.so
(gdb) up
#4  0xb6609186 in NSGetModule () from /usr/lib/mozilla-firefox/components/libgklayout.so
(gdb) up
#5  0xb660b03d in NSGetModule () from /usr/lib/mozilla-firefox/components/libgklayout.so
(gdb) quit
The program is running.  Exit anyway? (y or n) y
Top
chichibabin
Tux's lil' helper
Tux's lil' helper
Posts: 133
Joined: Sat Jul 24, 2004 9:11 am

  • Quote

Post by chichibabin » Tue Mar 13, 2007 12:15 pm

Hi,
Was this issue resolved?
I still get crashes with the binary version.
Cheers,
Sat
Top
mikegpitt
Advocate
Advocate
User avatar
Posts: 3224
Joined: Sat May 22, 2004 6:49 pm

  • Quote

Post by mikegpitt » Tue Mar 13, 2007 2:33 pm

chichibabin wrote:Hi,
Was this issue resolved?
I still get crashes with the binary version.
Cheers,
Sat
Nope... I'm really not sure what to do to fix it either. This is likely an upstream problem, but I'm not 100% sure.
Top
skizofreeniac
n00b
n00b
Posts: 4
Joined: Tue Mar 13, 2007 5:07 pm
Location: Nurzec/PL

  • Quote

Post by skizofreeniac » Tue Mar 13, 2007 5:18 pm

I've experienced this problem using ff 1.5.x, but, as I can see, it's fixed in 2.0.0.x.
Stay free, say NO to DRM!
Top
Post Reply

8 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic