Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Firefox Seg Faulting
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ThePsychoHobbit
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2004
Posts: 86

PostPosted: Wed Oct 20, 2004 5:26 am    Post subject: Firefox Seg Faulting Reply with quote

I know there've been a lot of other posts about this, but none seemed to help at all.

Basically, I'll be browsing, and Firefox just closes The problem is irregular and does not happen often--maybe once a day, today it happened twice. It seems to have nothing to do with viewing certain pages, as it sometimes happens simply from clicking on a link that I've clicked on dozens of times that day already.

I have tried recompiling Firefox, deleting compreg.dat, moving the entire ~/.mozilla directory, recompiling Xorg (well, this wasn't for Firefox, Xorg 6.8 caused all sorts of problems for me, so in downgrading, it was recompiled...). I have NOT tried loosening the CFLGAS (which I will be trying eventually), recompiling Fluxbox.or downgrading Firefox to 0.9.

Any help would be welcome...

The output to the terminal upon crash.
Code:

/usr/bin/firefox: line 392: 19167 Segmentation fault      $mozbin "$@"


Installed Packages:
Code:

gentoo-dev-sources-2.6.8-r3
[ebuild   R   ] net-www/mozilla-firefox-1.0_pre-r2  -debug -gnome +gtk2 -ipv6 +java -ldap -mozdevelop +moznoxft -mozxmlterm +truetype -xinerama +xprint 0 kB
[ebuild   R   ] x11-base/xorg-x11-6.7.0-r2  -3dfx -3dnow -cjk -debug -dlloader -doc -ipv6 +mmx +nls +pam -sdk +sse -static 0 kB
[ebuild   R   ] sys-devel/gcc-3.3.4-r1  +X -bootstrap -build -debug +f77 -gcj -hardened -multilib +nls -objc +pic -static (-uclibc) 0 kB
[ebuild   R   ] x11-wm/fluxbox-0.9.10-r3  -gnome -kde +nls +truetype -xinerama 0 kB
Using NVIDIA-Linux-x86-1.0-6106-pkg1.run from nvidia's web site


egrep "^[A-Z]+FLAGS" /etc/make.conf
Code:

CFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer -fforce-addr"
LDFLAGS="-Wl,-O1"
CXXFLAGS="${CFLAGS}"


USE-Flags:
Code:

USE="X Xaw3d aalib alsa apm avi berkdb bitmap-fonts cdr chroot crypt cups divx4linux dvd dvdread encode esd f77 foomaticdb gdbm ggi gif gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif moznoxft mpeg nas ncurses nls nptl oggvorbis opengl oss pam pdflib perl pic png ppds python qt quicktime readline sdl slang spell sse sse2 ssl svga tcltk tcpd truetype usb x86 xml2 xmms xprint xv xvid zlib"
Back to top
View user's profile Send private message
pianosaurus
l33t
l33t


Joined: 19 Apr 2004
Posts: 944
Location: Bash$

PostPosted: Wed Oct 20, 2004 1:04 pm    Post subject: Reply with quote

Some people have reported problems with firefox segfaulting on certian pages. You say that's not it, but it could be related. Luckily, it's a prerelease. Hopefully these things will be fixed in the final version.

I also use the same apps you do, and it works perfectly here. What compile flags are you using?
_________________
PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post
Back to top
View user's profile Send private message
ThePsychoHobbit
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2004
Posts: 86

PostPosted: Wed Oct 20, 2004 6:27 pm    Post subject: Reply with quote

I'm guess it is related. I was having the same problems (someone on here posted a specific page that always freezes when you click the Login button--some bank page, I think it was. It froze like a charm, every time, until I recompiled and etc, which made it work fine.) But now, it's entirely random, or so it seems. Sometimes it's a link, sometimes a form, sometimes simply clicking inside of a text box or clicking on the page will do it. I haven't noticed a pattern between the sites, yet, except that http://bootleggers.us has had it happen numerous times.

Use flags were +gtk2, +java, +moznoxft, +truetype, +xprint. Compile flags are below:

egrep "^[A-Z]+FLAGS" /etc/make.conf
Code:

CFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer -fforce-addr"
LDFLAGS="-Wl,-O1"
CXXFLAGS="${CFLAGS}"
Back to top
View user's profile Send private message
ASpott
n00b
n00b


Joined: 23 Sep 2004
Posts: 33
Location: California

PostPosted: Thu Oct 21, 2004 6:49 am    Post subject: Reply with quote

I had the same problem, so I reverted to regular mozilla for a while. I had previously emerged mozilla-firefox-bin then I emerged the compiling version mozilla-firefox over it. When I went to start using firefox instead of regular mozilla again, I get that segfault error and it won't open at all. So any help to this would be great.
_________________
"Amidst the numerous processors and network cards I have sacrificed for their sake, why is that the computer gods still continue to hate me?"
Back to top
View user's profile Send private message
pianosaurus
l33t
l33t


Joined: 19 Apr 2004
Posts: 944
Location: Bash$

PostPosted: Thu Oct 21, 2004 8:07 am    Post subject: Reply with quote

Ok. My USE flags:
Code:
+gnome +gtk2 +java +truetype +xprint
And my compile flags:
Code:
-O3 -march=athlon-xp -mcpu=athlon-xp -funroll-loops -pipe -fomit-frame-pointer
As I said, it works here.
_________________
PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post
Back to top
View user's profile Send private message
warpedshadow
n00b
n00b


Joined: 24 Oct 2004
Posts: 1

PostPosted: Sun Oct 24, 2004 3:21 pm    Post subject: Reply with quote

Bugzilla Bug #255372 - FF10PR1 Crash with any javascript popup window (window.open) [@ 0x00000000 - nsCOMPtr_base::assign_with_AddRef ] might be what you are experinceing. This has been fixed in the 2004-10-23 Branch builds.
Back to top
View user's profile Send private message
aminal
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 170
Location: Baltimore, MD

PostPosted: Sun Oct 24, 2004 4:23 pm    Post subject: Reply with quote

Check the locations and version of your plug-ins. I kept getting that segfault when I would view a flash page, or a page with a midi file, etc. Turned out that firefox would take a dump when loading these pages because I had the plugins both in /opt/netscape/plugins and ~/.mozilla/plugins. So, I simply renamed the folder in ~/.mozilla/ to plugins1 (I didn't want to delete it, just keep it from being read) and the problem went away.

Also, in your xorg.conf file, if you have
Code:

Option     "Composite"     "Enable"

you need to comment that out.
Back to top
View user's profile Send private message
ASpott
n00b
n00b


Joined: 23 Sep 2004
Posts: 33
Location: California

PostPosted: Tue Oct 26, 2004 6:59 am    Post subject: Reply with quote

Well although there appeared to be no conflicts with plugin folders, I renamed the folder in /opt/netscape/plugins to plugins1 and firefox actually loaded. Still though, it doesn't work perfectly -- when I tried to update the "critical update" with their built in update system it failed, and when I try to load it with the flag --g-fatal-warnings it fails, so obviously theres some errors when it loads up. But it does still WORK.
_________________
"Amidst the numerous processors and network cards I have sacrificed for their sake, why is that the computer gods still continue to hate me?"
Back to top
View user's profile Send private message
cbradney
Apprentice
Apprentice


Joined: 08 May 2003
Posts: 245
Location: Luxembourg

PostPosted: Tue Oct 26, 2004 10:18 am    Post subject: Reply with quote

I enabled Composite yesterday and then I had problems today. Removed it, all good.
Back to top
View user's profile Send private message
Xamindar
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1155
Location: California

PostPosted: Sun Oct 31, 2004 11:56 pm    Post subject: Reply with quote

strange, firefox crashes on me now too. I disabled composite support and now so far it seems to be working fine.

What could have changed? All I did was update glibc, firefox, and some bison package. Does the latest firefox try to use the composite extentions and just fail miserably?
Back to top
View user's profile Send private message
Jesu
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2003
Posts: 98
Location: London, UK

PostPosted: Tue Nov 02, 2004 8:15 pm    Post subject: Reply with quote

Been having this problem the last two days (my mac broke down, so i'm back on the linux box...) with firefox-bin and firefox. I just did a fresh compile, and came back with this after a random length of time:
Code:

oneself@jesus music $ firefox
No running windows found
Removing /home/oneself/.mozilla/firefox/default.kfx/compreg.dat leftover from older firefox
*** loading the extensions datasource
*** ExtensionManager:_updateManifests: no access privileges to application directory, skipping.
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 95 error_code 8 request_code 72 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


So I try
Code:
firefox --sync

and it crashes instantly
Code:
oneself@jesus music $ firefox --sync
/usr/bin/firefox: line 392: 15618 Segmentation fault      $mozbin "$@"


I hope the Moz team haven't knackered firefox this close to release...

t
Back to top
View user's profile Send private message
KristyX
Apprentice
Apprentice


Joined: 18 Dec 2003
Posts: 206
Location: Malaysia

PostPosted: Thu Nov 04, 2004 2:03 am    Post subject: Reply with quote

Firefox used to randomly crash (silently though.. no errors are shown unless you run it from a terminal) but it was only once in awhile. And this was from the time I was running XFree86.

After switching over and also adding the composite extension in Xorg, it crashed twice in a row. I didn't wait for a 3rd time before disabling the composite extension.. and everything is working fine now (I'm still executing it from a terminal to see if there are any errors if it does crash).

~Kristy
_________________
Knowledge is a process of piling up facts; wisdom lies in their simplification. [Martin Fischer]
Back to top
View user's profile Send private message
KristyX
Apprentice
Apprentice


Joined: 18 Dec 2003
Posts: 206
Location: Malaysia

PostPosted: Thu Nov 04, 2004 2:27 am    Post subject: Reply with quote

Alright, Firefox just crashed again. The earlier error (caused by Xorg's Composite Extension) was the same as Jesu's.

This time, it's:

Code:

No running windows found
*** loading the extensions datasource
(Gecko:5434): libgnomevfs-CRITICAL **: file gnome-vfs-mime-info.c: line 916 (get_value_real): assertion `!does_string_contain_caps (mime_type)` failed

(Gecko:5434): libgnomevfs-CRITICAL **: file gnome-vfs-mime-info.c: line 916 (get_value_real): assertion `!does_string_contain_caps (mime_type)` failed

(Gecko:5434): libgnomevfs-CRITICAL **: file gnome-vfs-mime-info.c: line 916 (get_value_real): assertion `!does_string_contain_caps (mime_type)` failed

(Gecko:5434): libgnomevfs-CRITICAL **: file gnome-vfs-mime-info.c: line 916 (get_value_real): assertion `!does_string_contain_caps (mime_type)` failed

(Gecko:5434): libgnomevfs-CRITICAL **: file gnome-vfs-mime-info.c: line 916 (get_value_real): assertion `!does_string_contain_caps (mime_type)` failed

(Gecko:5434): libgnomevfs-CRITICAL **: file gnome-vfs-mime-info.c: line 916 (get_value_real): assertion `!does_string_contain_caps (mime_type)` failed

(Gecko:5434): libgnomevfs-CRITICAL **: file gnome-vfs-mime-info.c: line 916 (get_value_real): assertion `!does_string_contain_caps (mime_type)` failed

(Gecko:5434): libgnomevfs-CRITICAL **: file gnome-vfs-mime-info.c: line 916 (get_value_real): assertion `!does_string_contain_caps (mime_type)` failed

(Gecko:5434): libgnomevfs-CRITICAL **: file gnome-vfs-mime-info.c: line 916 (get_value_real): assertion `!does_string_contain_caps (mime_type)` failed

(Gecko:5434): libgnomevfs-CRITICAL **: file gnome-vfs-mime-info.c: line 916 (get_value_real): assertion `!does_string_contain_caps (mime_type)` failed

(Gecko:5434): libgnomevfs-CRITICAL **: file gnome-vfs-mime-info.c: line 916 (get_value_real): assertion `!does_string_contain_caps (mime_type)` failed

(Gecko:5434): libgnomevfs-CRITICAL **: file gnome-vfs-mime-info.c: line 916 (get_value_real): assertion `!does_string_contain_caps (mime_type)` failed
/usr/bin/firefox: line 392: 5434 Segmentation Fault $mozbin "$@"

_________________
Knowledge is a process of piling up facts; wisdom lies in their simplification. [Martin Fischer]
Back to top
View user's profile Send private message
younker
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 280
Location: China

PostPosted: Thu Nov 04, 2004 3:04 am    Post subject: Reply with quote

when I try to do an drag and drop operation in firefox, mozilla or thunderbird, they quit without a message

eg. browser a website, and I want to add it to the bookmark, so I select the website icon from the address bar and try to drag it to the bookmark sidebar. then firefox crashed.

In thunderbird, select a mail from inbox and then try to drag it to trash box, crashed.

I tried to use the default CFLAGS to rebuild all these apps, the problem still there.
Back to top
View user's profile Send private message
younker
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 280
Location: China

PostPosted: Tue Nov 09, 2004 10:38 am    Post subject: Reply with quote

I just solved my problem, gtk+ can't be compiled with -mmmx -msse2 , after I removed the two flags from CFLAGS and recompile gtk+, the problem disappeared
Back to top
View user's profile Send private message
bin-doph
Guru
Guru


Joined: 23 May 2003
Posts: 302

PostPosted: Wed Dec 22, 2004 8:14 pm    Post subject: Reply with quote

hmm, I have enabled the composite extensions 'cause I like the real transparency and with that enabled I can reproduce the crash. everytime I visit a site with flash on it firefox crash's (like http://www.macromedia.com)

Code:
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 78 error_code 8 request_code 72 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
No running windows found


I tried different xorg's, firefox (no bin's) and netscape-flash's... I'd love to stay with the extensions but without firefox+flash it's pretty lame :(
_________________
perl -e '$_=q;4a75737420616e6f74686572205065726c204861636b65720as;;for(s;s;s;s;s;s;s;s;s;s;s;s){s;(..)s?;qq qprint chr 0x$1 and \161 ssq;excess;}'
Back to top
View user's profile Send private message
HAL_9000
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2004
Posts: 114
Location: Netherlands

PostPosted: Wed Feb 16, 2005 2:48 pm    Post subject: firefox> solved for me Reply with quote

As I read in another topic (which I cannot find at the moment due to all the threads about this very problem :P)
a
Code:
 chmod -R 755 /usr/share/fonts
did the trick for me.

Apparently, something changed this when running updates or something...

Good luck :)
_________________
We are the keepers of the sacred words: Ni peng and Nee wom!
Back to top
View user's profile Send private message
funeagle
Tux's lil' helper
Tux's lil' helper


Joined: 05 Aug 2003
Posts: 102
Location: London

PostPosted: Mon Feb 28, 2005 8:41 am    Post subject: Reply with quote

The program 'Gecko' received an X Window System error.

This is an Xorg problem XLIB_SKIP_ARGB_VISUALS=1 firefox solves the problem, try adding
Code:
export XLIB_SKIP_ARGB_VISUALS=1 firefox
into /usr/bin/firefox after the 12th line :)
Back to top
View user's profile Send private message
viperlin
Veteran
Veteran


Joined: 15 Apr 2003
Posts: 1319
Location: UK

PostPosted: Tue Mar 01, 2005 4:20 pm    Post subject: Reply with quote

hey i just compiled firefox stable version, sync'ed yesterday (feb 28th), and today being march 1st

Code:

$ emerge mozilla-firefox -vp

These are the packages that I would merge, in order:

PORTAGE_GPG_DIR is invalid. Removing gpg from FEATURES.
Calculating dependencies  ...done!
[ebuild   R   ] net-www/mozilla-firefox-1.0.1  -debug +gnome +java +ldap -mozdevelop -moznoxft -mozsvg -mozxmlterm +xinerama -xprint 0 kB


and when i click on the top link of this google search: http://www.google.co.uk/search?hl=en&q=geotrace&btnG=Google+Search&meta=
(the link being http://www.geotrace.com/ ) i get the
Code:
/usr/bin/firefox: line 88: 22333 Segmentation fault      $mozbin "$@"
error

i guess this hasnt been fixed, unless i missed something...

i use Arial as my font on all webpages (my eyes like it)
Back to top
View user's profile Send private message
funeagle
Tux's lil' helper
Tux's lil' helper


Joined: 05 Aug 2003
Posts: 102
Location: London

PostPosted: Wed Mar 02, 2005 1:44 pm    Post subject: Reply with quote

did you set XLIB_SKIP_ARGB_VISUALS ?

I've clicked on both of the links and it showed them all right.

I have net-www/mozilla-firefox-1.0.1 as well
Back to top
View user's profile Send private message
viperlin
Veteran
Veteran


Joined: 15 Apr 2003
Posts: 1319
Location: UK

PostPosted: Wed Mar 02, 2005 5:11 pm    Post subject: Reply with quote

i have been using 1.0 and just tried XLIB_SKIP_ARGB_VISUALS (call me a noob for not see'ing your last post at your will)

still crashes though. going to upgrade to 1.0.1 again and see.
Back to top
View user's profile Send private message
kidgenius
n00b
n00b


Joined: 06 Sep 2004
Posts: 36

PostPosted: Wed Mar 02, 2005 5:50 pm    Post subject: Reply with quote

I have had a similar problem for quite sometime. It only happens as a regular user, not as root. If I have a page open as a regular user, then open another instance of FF as root and load an offending page, I get a crash. If I load as root first, I can navigate without a crash. I have also tried firefox-bin, a compiled version of FF and neither one makes a difference. I have been able to get a few pages that I know do it every single time. www.apple.com is a major one that causes the segfault. www.beaglewiki.org is another. www.rade8.net is another. I figure there is some common thread between all of these pages that causes the segfault. I have removed my plugins directory, deleted all of my gnome preferences, but to no avail. The only thing I haven't tried is changing the font permissions. I wil have to give that a shot. Is this something that could be X related and has to do with which "display" FF is running on? I say this just because of the weird root/user issues that do or don't crash. (I've had this problem with xfree 4.3, xorg 6, 6.1, & 6.2 as well)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum