Closed Bug 265426 Opened 20 years ago Closed 19 years ago

Websites with pop-ups will crash the browser always with x.org 6.8.1 (Any Gecko-based webbrowser including Epiphany does the same thing)

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 304370

People

(Reporter: t7gt7g, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1

Immediately after a popup ad appears in the html body of a page, any Gecko
browser (Firefox-current, Epiphany) will crash, giving this error.

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 117 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.)

I also have an strace of the program right before it crashed..

lseek(20, 28672, SEEK_SET)              = 28672
write(20, "GIF89a\221\0\24\0\242\0\0\0\0\0\377\377\377\33\26f\375"..., 256) = 25 6
gettimeofday({1098358573, 849582}, NULL) = 0
lseek(20, 28928, SEEK_SET)              = 28928
write(20, "\0\1\0\5\0\0\0\0\0\0\0\1Aw\237+Aw\237-A\233\217\367\0\0"..., 512) = 5 12
gettimeofday({1098358573, 850126}, NULL) = 0
gettimeofday({1098358573, 850238}, NULL) = 0
gettimeofday({1098358573, 850381}, NULL) = 0
gettimeofday({1098358573, 850764}, NULL) = 0
gettimeofday({1098358573, 851262}, NULL) = 0
gettimeofday({1098358573, 851727}, NULL) = 0
gettimeofday({1098358573, 851839}, NULL) = 0
lseek(20, 29440, SEEK_SET)              = 29440
write(20, "GIF89a\221\0\24\0\242\0\0\0\0\0\377\377\377\33\26f\375"..., 256) = 25 6
gettimeofday({1098358573, 852336}, NULL) = 0
lseek(20, 29696, SEEK_SET)              = 29696
write(20, "\0\1\0\5\0\0\0\0\0\0\0\1Aw\237+Aw\237-A\233\220A\0\0\0"..., 512) = 51 2
write(5, "\372", 1)                     = 1
gettimeofday({1098358573, 853014}, NULL) = 0
poll([{fd=3, events=POLLIN}, {fd=8, events=POLLIN}, {fd=12, events=POLLIN|POLLPR
I}, {fd=14, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN|POLLPRI}, {fd=16, even
ts=POLLIN|POLLPRI}, {fd=17, events=POLLIN}], 7, 0) = 0
write(34, "\223\3\n\0\1\0\240\3\32\0\240\3\324\1<\0\0\0\0\0\324\1"..., 56) = 56
read(34, "\23\3t\0\264\3`\3\264\3`\3\0\234\v\10\360\306\340\t\264"..., 32) = 32
read(34, "\17\277t\0\264\3`\3\0\0\0\0\0\0\0\0\0\0\354\1\0\0\32\1"..., 32) = 32
read(34, "\f\237t\0\264\3`\3\0\0\0\0\324\1<\0\0\0;\n\260=\257\th"..., 32) = 32
read(34, 0xfeffed6c, 32)                = -1 EAGAIN (Resource temporarily unavai
lable)
select(35, [34], NULL, NULL, NULL)      = 1 (in [34])
read(34, "\0\10u\0\1\0\240\3\3\0\223\376i\24\f\10X\2356\n\0\0\0\0"..., 32) = 32
open("/usr/X11R6/lib/X11/XErrorDB", O_RDONLY) = 35
fstat64(35, {st_mode=S_IFREG|0444, st_size=36378, ...}) = 0
read(35, "! $Xorg: XErrorDB,v 1.3 2000/08/"..., 36378) = 36378
close(35)                               = 0
write(2, "The program \'Gecko\' received an "..., 565) = 565
writev(16, [{"GIOP\1\2\1\5\0\0\0\0", 12}], 1) = 12
close(16)                               = 0
writev(14, [{"GIOP\1\2\1\5\0\0\0\0", 12}], 1) = 12
close(14)                               = 0
close(13)                               = 0
close(12)                               = 0
unlink("/tmp/orbit-t7g/linc-6c6d-0-74f59ec2c97ac") = 0
close(15)                               = 0
rt_sigprocmask(SIG_SETMASK, ~[ILL BUS FPE SEGV RTMIN], [], 8) = 0
times({tms_utime=461, tms_stime=44, tms_cutime=0, tms_cstime=0}) = 540273606
munmap(0x554f6000, 1056768)             = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
unlink("/home/t7g/.mozilla/firefox/default.hrl/lock") = 0
munmap(0x58930000, 4096)                = 0
exit_group(1)                           = ?


This has started happening since I began testing x.org 6.8.1. These crashes
happen regardless if xcompmgr has been run or not. I can reproduce it every
time. Although I'm not sure how to get more usable debug output to help.

Reproducible: Always
Steps to Reproduce:
1. Go to a website that has popups
2. ....wait....
3. -the browser goes down in flames-

Actual Results:  
I get a hard crash that outputs this message to the console:


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 117 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.)


Expected Results:  
It should've opened the webpage and blocked the popups.

One thing I noticed in a crash - I think it was the one I was stracing. The
pop-up window was visible on screen behind the firefox browser that was going to
the site. It disappeared quickly thereafter.
reporter: don't post an strace unless prompted.

note that the error clearly indicates to use --sync

personally, i'd probably use:
./mozilla -g -d gdb --sync
b gdk_x_error
run
where

we want the stack trace that comes from |where|
(the -d gdb is to avoid encountering ddd and other random debuggers)

please read http://www.mozilla.org/unix/debugging-faq.html
popups on packetnews.com crashes the popup blocker, the window indicating the
capabilities of the popup blocker wont close allowing many instances.
If flash is still crashing for you read bug 304370 Comment 5.

*** This bug has been marked as a duplicate of 304370 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.