You are not logged in.

#1 2005-07-22 03:31:12

nesta
Member
From: Albuquerque
Registered: 2003-11-21
Posts: 30
Website

Firefox Crashing - GDK / Flashplugin Issue???

Firefox has started to randomly crash after installing Macromedia's flash plugin 7.

I get:

-------

(firefox-bin:2156): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?)

[nesta@Bronson ~]$ /opt/mozilla/lib/firefox-1.0.4/run-mozilla.sh: line 159:  2156 Segmentation fault      "$prog" ${1+"$@"}


-------

  I've tried using Arch's flashplugin package and the downloaded one from Firefox's missing plugin feature.  Both cause the crash.

   Is this an Arch bug?? Should I file a report?

kernel = 2.6.12.3 ,  8k stack sizes

Offline

#2 2005-07-22 04:12:59

nesta
Member
From: Albuquerque
Registered: 2003-11-21
Posts: 30
Website

Re: Firefox Crashing - GDK / Flashplugin Issue???

** UPDATE **

  While I originally thought this was related to Macromedia Flash Plugin.. it's not. After removing the plugin.. and ALL plugins.. Removing firefox (including ~/.mozilla)  Re-installing GTK2 (currently 2.6.8-1)  ... I get the SAME error ... and same Segfaults when browsing multiple pages @  linux.com /  newsforge.com / itmj.com   ((which can't be hapenning  wink ))

  I noticed a bug report was filed out @ debian.org  but not much has happened.

Is the latest GTK broken?

REPEAT --
If you get the the (firefox-bin:3847): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?) error message when running firefox from a *TERMINAL*  -->

go to http://www.itmj.com/

  and open 6 or so stories in a new tab.  Do you get a segfault ??


Brice

Offline

#3 2005-07-22 05:45:40

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Firefox Crashing - GDK / Flashplugin Issue???

flash has problem with composite extension. Try:

$ export XLIB_SKIP_ARGB_VISUALS=1
$ firefox

and see if it still segfaults. It works for me. If it solved your problem, put

export XLIB_SKIP_ARGB_VISUALS=1

in /etc/profile

Offline

#4 2005-07-22 07:12:49

nesta
Member
From: Albuquerque
Registered: 2003-11-21
Posts: 30
Website

Re: Firefox Crashing - GDK / Flashplugin Issue???

Snowman wrote:

flash has problem with composite extension. Try:

$ export XLIB_SKIP_ARGB_VISUALS=1
$ firefox

and see if it still segfaults. It works for me. If it solved your problem, put

export XLIB_SKIP_ARGB_VISUALS=1

in /etc/profile

I don't have composite extension built in. I'm also running nvidia 7729 drivers.. but have tried w/ XOrg's nv graphic module too. It's still a segfault. I wonder if anyone else is experiencing this?

Offline

#5 2005-07-22 07:33:30

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Firefox Crashing - GDK / Flashplugin Issue???

then, I don't know. Firefox gives me the Gdk-WARNING (as well as other apps), but it doesn't seg fault.

Offline

#6 2005-07-22 08:28:18

nesta
Member
From: Albuquerque
Registered: 2003-11-21
Posts: 30
Website

Re: Firefox Crashing - GDK / Flashplugin Issue???

Snowman wrote:

then, I don't know. Firefox gives me the Gdk-WARNING (as well as other apps), but it doesn't seg fault.

Thanks for the help. I realize these things are hard to diagnose.. I tried running

 strace -o "debug" /path/to/firefox 

& the output of that was compared using diff to a firefox session which segfaults vs. one which cleanly terminated. They both were very similar minus an exit code.

I also tried installing 1.0.6 to no avail. suazo on IRC also gets the GDK warning, but *no* segfault.  '

I wonder where I should take it from here? smile 

Again, thanks for the time!

Brice

Offline

#7 2005-07-22 10:20:16

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Firefox Crashing - GDK / Flashplugin Issue???

Have you tried it with that environment variable?

I dont use composite, and it is quite obviously disabled in my xorg.conf, however I still get flash crashes unless I have that environment variable set.

Offline

#8 2005-07-22 11:24:34

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Firefox Crashing - GDK / Flashplugin Issue???

I've been having this problem. Keeps happening just after I login to AL forums, so I lose my 'new posts' info, huh.

I'll try that environment variable, ta.

Offline

#9 2005-07-22 11:25:25

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Firefox Crashing - GDK / Flashplugin Issue???

Ah...

It's already there....

There's definitely something wrong with FF tho.

Offline

#10 2005-07-22 17:31:08

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Firefox Crashing - GDK / Flashplugin Issue???

Try to disable/uninstall flash to see if it's still crashing. Try another browser with flash.

Or, you could wait for the new firefox 1.06 packages.  They are supposed to be available in [testing] this week-end. (see JGC post)
http://bbs.archlinux.org/viewtopic.php? … c&start=15

Offline

#11 2005-07-22 17:41:41

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Firefox Crashing - GDK / Flashplugin Issue???

I get that error message (but no segfault) on starting Firefox.

Edit: I also segfault on ITMJ:

/opt/mozilla/lib/firefox-1.0.4/run-mozilla.sh: line 159:  4411 Segmentation fault      "$prog" ${1+"$@"}

The evironment variable mentioned earlier makes no difference at all.

Offline

#12 2005-07-22 18:13:02

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Firefox Crashing - GDK / Flashplugin Issue???

This isn't a flash issue - it happens to me often as well - for no apparent reason firefox just drops like a brick...

I "fixed" it by installing session saver, lol

Offline

#13 2005-07-22 18:38:07

nesta
Member
From: Albuquerque
Registered: 2003-11-21
Posts: 30
Website

Re: Firefox Crashing - GDK / Flashplugin Issue???

iphitus wrote:

Have you tried it with that environment variable?

I dont use composite, and it is quite obviously disabled in my xorg.conf, however I still get flash crashes unless I have that environment variable set.

  Tried the environment varialbe. It seems to extend the time it takes to crash, but it still crashes.

Brice

Offline

#14 2005-07-22 18:41:15

nesta
Member
From: Albuquerque
Registered: 2003-11-21
Posts: 30
Website

Re: Firefox Crashing - GDK / Flashplugin Issue???

Snowman wrote:

Try to disable/uninstall flash to see if it's still crashing. Try another browser with flash.

Or, you could wait for the new firefox 1.06 packages.  They are supposed to be available in [testing] this week-end. (see JGC post)
http://bbs.archlinux.org/viewtopic.php? … c&start=15


Already one step ahead. Did both A) disable/uninstall flash ... and B) installed a new localized version of FF 1.0.6 & removed the system wide one -- including removing my ~/.mozilla  folder.

Nada.

Offline

#15 2005-07-22 19:07:51

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Firefox Crashing - GDK / Flashplugin Issue???

Have you check the firefox bugtracker?  Maybe there is more info or a fix.

A while ago, firefox was crashing on me.  At the end, I gave up and started to use opera instead.  Now, I'm back with firefox even though sometime it freezes.

Offline

#16 2005-07-23 15:38:48

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Firefox Crashing - GDK / Flashplugin Issue???

Hmm, I can reproduce the crashes with 1.0.6, I have epiphany crashing very frequently here. Seems the gtk 2.6.8 update fucked up firefox a bit, as I'm also seeing this issue with 2.7.4

Offline

#17 2005-07-24 11:12:28

robot5x
Member
Registered: 2004-01-26
Posts: 266

Re: Firefox Crashing - GDK / Flashplugin Issue???

I was having awful trouble with this - Snowman's tip at the top of the thread appears to have fixed it for me (at least, I've been using firefox for 15 minutes with no crash). Thanks.

Offline

#18 2005-07-24 19:26:28

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Firefox Crashing - GDK / Flashplugin Issue???

What GTK version are you using? The warnings are gone in firefox 1.0.6 due to a nice patch, the crashes I could reproduce were mainly triggered by GTK 2.7.x on my desktop. I patched firefox for that issue also.

Offline

#19 2005-07-25 19:35:15

nesta
Member
From: Albuquerque
Registered: 2003-11-21
Posts: 30
Website

Re: Firefox Crashing - GDK / Flashplugin Issue???

JGC wrote:

What GTK version are you using? The warnings are gone in firefox 1.0.6 due to a nice patch, the crashes I could reproduce were mainly triggered by GTK 2.7.x on my desktop. I patched firefox for that issue also.

  Using version 2.6.8-1 -- Does FF need to be recompiled against this??

Brice

Offline

#20 2005-07-25 22:04:29

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Firefox Crashing - GDK / Flashplugin Issue???

The firefox in testing has been compiled with gcc4, binutils 2.16.1 and glibc 2.3.5-something, all from testing. For the rest, it has been compiled with libraries already in testing which are compiled for gcc4.

Firefox is patched to run with gtk 2.7, but has been compiled against 2.6.8. No recompile is required, as firefox doesn't use new 2.7 features. The patch I used was only applied to make firefox more stable on my bleeding edge gnome 2.11 desktop.

Offline

#21 2005-07-26 18:48:42

nesta
Member
From: Albuquerque
Registered: 2003-11-21
Posts: 30
Website

Re: Firefox Crashing - GDK / Flashplugin Issue???

JGC wrote:

The firefox in testing has been compiled with gcc4, binutils 2.16.1 and glibc 2.3.5-something, all from testing. For the rest, it has been compiled with libraries already in testing which are compiled for gcc4.

Firefox is patched to run with gtk 2.7, but has been compiled against 2.6.8. No recompile is required, as firefox doesn't use new 2.7 features. The patch I used was only applied to make firefox more stable on my bleeding edge gnome 2.11 desktop.


  Sounds tasty! Looks like the admins of the OSTG sites have tracked down the culprit (which is leading to FF segfaults). They're sending me details. I'll keep you posted.

Brice

Offline

Board footer

Powered by FluxBB