Bug 68064

Summary: Firefox crashes with BadShmSeg
Product: Ports & Packages Reporter: Aniruddha Bohra <bohra>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Aniruddha Bohra 2004-06-18 01:50:23 UTC
Firefox 0.9 crashes and other browsers (Galeon) hang when accessing certain websites. 
	
	The error message with firefox is :
firefox-bin in free(): warning: chunk is already free
The program 'firefox-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadShmSeg (invalid shared segment parameter)'.
  (Details: serial 244 error_code 180 request_code 148 minor_code 2)
  (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.)


	However when trying firefox --sync I get a segmentation fault.

How-To-Repeat: 	
	
	Start Firefox, point to 
	http://www.cnn.com/si, click any tabs (NBA e.g.) 

	You will get a crash.

	For Galeon, it hangs in an infinite loop for the same.
Comment 1 Joe Marcus Clarke freebsd_committer freebsd_triage 2004-06-18 01:56:10 UTC
State Changed
From-To: open->closed

This site works for me in both Galeon and Firefox.  Since it makes heavy use 
of Flash, I suggest you unload all of your plug-ins, and try this site again.
Comment 2 stefan 2004-12-14 14:43:18 UTC
Hi

I'm getting the same error using firefox-1.0_4,1 from ports on FreeBSD 
4.10 using my IBM Thinkpad R40. Actually i've noticed that firefox is 
extremly unstable on freebsd as it crashes almost all the time when i 
try to use it for day to day browsing. It gives me no problems when i 
develop(thank god) but heavy sites like aftonbladet.se or other large 
news sites might make it crash. I can always crash it with a number of 
events and the most recent i've found is the following.

Go to http://mff-fans.com and try to "view image" on the Swebase logo to 
the right.
-- 



Med vänliga hälsningar

Stefan Midjich, Swebase AB
Tel: 042-20 15 00
Fax: 042-20 15 03
E-post: stefan@swebase.com
Webb: http://swebase.com