>From the strace:

write(2, "The program \'firefox-bin\' receiv"..., 571The program 'firefox-bin' 
received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 118 error_code 8 request_code 147 minor_code 3)
  (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.)
) = 571

It would probably help the developers if you could get a stacktrace breaking on 
gdk_x_error.  Unfortunately, I'm away from my Ubuntu install at the moment, so 
I can't confirm the bug / get a stacktrace.  The steps involved are something 
like (from memory!):
*1. From a terminal run 'firefox --sync &' (without quotes)
**2. once firefox has started up, run: gdb firefox-bin -p `pidof firefox-bin`
3. In gdb, add the command: break gdk_x_error
4. In firefox, visit the site that causes problems (reproduce the crash)
5. In the gdb window, it should have broken.  You can then run 'thread apply 
all bt' to get a stacktrace

When doing so, you should have the firefox-dbg package installed.
Thanks.

* The firefox script may pass the --sync parameter to the firefox-bin program, 
I'm not sure.  I think it does.
** You may need to locate the firefox-bin program on you're system and run the 
command: <gdb /path/to/firefox-bin `pidof firefox-bin`> instead.

-- 
Firefox crashes on some pages
https://launchpad.net/bugs/68586

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to