Closed Bug 693983 Opened 13 years ago Closed 13 years ago

X_ShmPutImage: BadMatch crash on pandora with Flash Player in browser process

Categories

(Core Graveyard :: Plug-ins, defect)

x86_64
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: catlee, Unassigned)

References

()

Details

(Keywords: crash)

Crash Data

Firefox nightlies crashes a few seconds after going to pandora.com. I see this on the console:

###!!! ABORT: X_ShmPutImage: BadMatch (invalid parameter attributes); 72 requests ago: file /builds/slave/m-cen-lnx64-ntly/build/toolkit/xre/nsX11ErrorHandler.cpp, line 190
###!!! ABORT: X_ShmPutImage: BadMatch (invalid parameter attributes); 72 requests ago: file /builds/slave/m-cen-lnx64-ntly/build/toolkit/xre/nsX11ErrorHandler.cpp, line 190

And a few crashes:
http://crash-stats.mozilla.com/report/index/bp-c2b94588-3ba5-49d3-b17b-5a8bd2111012
http://crash-stats.mozilla.com/report/index/bp-94c8e4a1-8f2a-4b5a-a07d-432b82111011
http://crash-stats.mozilla.com/report/index/bp-05022b7b-90ca-4e3a-9ef7-2c7242111011
Could be ad related. I just installed adblock in this profile, and the crashes have stopped.
Severity: normal → critical
Crash Signature: [@ mozalloc_abort | NS_DebugBreak_P | X11Error ] [@ nsObjectFrame::CallSetWindow ]
Keywords: crash
Looks like libflashplayer.so is loaded in the browser process.
Have you disabled out of process plugins?
(In reply to Chris AtLee [:catlee] from comment #1)
> Could be ad related. I just installed adblock in this profile, and the
> crashes have stopped.

I've just had a string like
http://crash-stats.mozilla.com/report/index/bp-e2848c90-3e4f-42ab-9ecb-4d0aa2111209
and ran across this as related.
Tried Adblock and the crashes have stopped.

Should I click Report Bug to get a number?
I'm deprived using this system but it seemed to help me.
That looks like a similar crash report to this one, but I don't see any libflashplayer.so threads in that report.

libmurrine.so is the GTK theme engine in the new report, but the original report used libsmooth.so.

A crash report submitted from a browser run with MOZ_X_SYNC=1 in the environment may be helpful.
(In reply to Karl Tomlinson (:karlt) from comment #4)
> That looks like a similar crash report to this one, but I don't see any
> libflashplayer.so threads in that report.
> 
> libmurrine.so is the GTK theme engine in the new report, but the original
> report used libsmooth.so.
> 
> A crash report submitted from a browser run with MOZ_X_SYNC=1 in the
> environment may be helpful.
I am not a bug reporter by nature - are you saying I should disable Adblock, tag on MOZ_X_SYNC=1 to the command, and create another crash?
Yes, please.  The command "MOZ_X_SYNC=1 path/to/firefox -no-remote" should start the browser in the right way.
(In reply to Karl Tomlinson (:karlt) from comment #6)
> Yes, please.  The command "MOZ_X_SYNC=1 path/to/firefox -no-remote" should
> start the browser in the right way.

http://crash-stats.mozilla.com/report/index/bp-fc696f9e-6005-4a3c-9c5d-7ad4c2111212

still in que
(In reply to Karl Tomlinson (:karlt) from comment #6)
> Yes, please.  The command "MOZ_X_SYNC=1 path/to/firefox -no-remote" should
> start the browser in the right way.
term output:
jeff@jeff-desktop:~$ MOZ_X_SYNC=1 /home/jeff/.mozilla/firefox/firefox -no-remote 
###!!! ABORT: X_ShmPutImage: BadMatch (invalid parameter attributes); sync: file /builds/slave/rel-m-rel-lnx-bld/build/toolkit/xre/nsX11ErrorHandler.cpp, line 199
###!!! ABORT: X_ShmPutImage: BadMatch (invalid parameter attributes); sync: file /builds/slave/rel-m-rel-lnx-bld/build/toolkit/xre/nsX11ErrorHandler.cpp, line 199
jeff@jeff-desktop:~$
(In reply to Chris AtLee [:catlee] from comment #1)
> Could be ad related. I just installed adblock in this profile, and the
> crashes have stopped.
It means it's caused by an ad in Flash. Try to find it to put it in the URL field.
bp-fc696f9e-6005-4a3c-9c5d-7ad4c2111212 also has libflashplayer.so on the stack of the browser process.

Check in about:config that all dom.ipc.plugins.* preferences are at their defaults.
We don't make any effort to support running Flash Player in the browser process.
Component: Widget: Gtk → Plug-ins
QA Contact: gtk → plugins
Summary: Firefox crashes on pandora → X_ShmPutImage: BadMatch crash on pandora with Flash Player in browser process
dom.ipc.plugins.enabled was set to false - set to true - added dom.ipc.plugins.enabled.libflashplayer.so;true to config (it was not there) - disabled Adblock - went to offending site - no crash.
So I'm guessing https://crash-stats.mozilla.com/report/index/fc696f9e-6005-4a3c-9c5d-7ad4c2111212 is not generated by a bug.
This generated a total of 15 crashes - does one delete them somehow to lighten load or is that handled machanically?

Thanks for the education.
Thanks for testing.  I'll mark this worksforme.
No need to delete the crash reports - I don't know whether that's even possible.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
I had the same bug for a while (months) and wasn't able to fix it until I found this bug.

Shouldn't firefox warn people if it crashes with dom.ipc.plugins.enabled set to false?

Here is my crash report if it can help : bp-0e20e884-7eff-4606-9d2e-db51c2120406

Thanks for the explanation btw.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.