Last Comment Bug 671916 - crash @ mozalloc_abort | NS_DebugBreak_P | X11Error during windowless Flash Player painting
: crash @ mozalloc_abort | NS_DebugBreak_P | X11Error during windowless Flash P...
: crash, regression
Product: Core
Classification: Components
Component: Plug-ins (show other bugs)
: Trunk
: All Linux
-- critical (vote)
: mozilla8
Assigned To: Benoit Girard (:BenWa)
: Benjamin Smedberg [:bsmedberg]
Depends on: 639725
Blocks: 663259
  Show dependency treegraph
Reported: 2011-07-15 10:58 PDT by Logan Rosen [:Logan]
Modified: 2011-08-26 04:43 PDT (History)
13 users (show)
mounir: in‑testsuite?
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

patch v1 (1.28 KB, patch)
2011-08-10 07:14 PDT, Benoit Girard (:BenWa)
cjones.bugs: review+
Details | Diff | Splinter Review

Description User image Logan Rosen [:Logan] 2011-07-15 10:58:09 PDT
This bug was filed from the Socorro interface and is 
report bp-3ac6f8ab-dd9e-44f7-90d7-7a2382110715 .
I've now received this crash twice (see also  The Flash plugin is now intermittently crashing on the latest trunk updates under Ubuntu 11.04.
Comment 1 User image Tanner Filip [:tanner] 2011-07-18 18:11:29 PDT
I've noticed this a lot, as well. It seems to crash for no obvious reason, even when flash isn't running. Started on July 13, maybe a regression? I'll look into a range.
Comment 2 User image Marcia Knous [:marcia - use ni] 2011-07-19 10:58:58 PDT

Frame 	Module 	Signature [Expand] 	Source
0 	mozalloc_abort 	memory/mozalloc/mozalloc_abort.cpp:66
1 	NS_DebugBreak_P 	xpcom/base/nsDebugImpl.cpp:388
2 	X11Error 	toolkit/xre/nsX11ErrorHandler.cpp:199
7 	mozilla::plugins::PluginInstanceChild::ShowPluginFrame 	dom/plugins/ipc/PluginInstanceChild.cpp:3174
8 	mozilla::plugins::PluginInstanceChild::InvalidateRectDelayed 	dom/plugins/ipc/PluginInstanceChild.cpp:3271
9 	RunnableMethod<mozilla::plugins::PluginInstanceChild, void , Tuple0>::Run 	ipc/chromium/src/base/tuple.h:383
10 	MessageLoop::DeferOrRunPendingTask 	ipc/chromium/src/base/
11 	MessageLoop::DoWork 	ipc/chromium/src/base/
12 	base::MessagePumpForUI::RunWithDispatcher 	ipc/chromium/src/base/
13 	base::MessagePumpForUI::Run 	ipc/chromium/src/base/message_pump_glib.h:59
14 	MessageLoop::Run 	ipc/chromium/src/base/
15 	XRE_InitChildProcess 	toolkit/xre/nsEmbedFunctions.cpp:510
16 	plugin-container 	main 	ipc/app/MozillaRuntimeMain.cpp:81
18 	plugin-container 	plugin-container@0xe40 	
19 	plugin-container 	plugin-container@0xeff 	
Comment 3 User image Robert Kaiser 2011-07-19 11:59:39 PDT
This seems to happen with a whole range of Linux (kernel) versions, so it's also not a single person or distro, must be more generic.
Also, it's 8.0a1-trunk-only and first started happening on 2011-07-13 versions. Who is a Linux dev guy we could get into the loop here? Any Linux-specific checkins on the 12th or perhaps 13th that could have triggered that?
Comment 4 User image Marcia Knous [:marcia - use ni] 2011-07-19 16:33:00 PDT
Possible pushlog regression range:

There was a merge from mozilla inbound that day.
Comment 5 User image Sheila Mooney 2011-07-19 16:41:14 PDT
Karl, bsmedberg, I wasn't sure who could help with this bug but dbaron suggested I cc you both. This crash started showing up on 7/13. Any ideas?
Comment 6 User image Robert Kaiser 2011-07-20 04:50:43 PDT
(In reply to comment #4)
> Possible pushlog regression range:
> pushloghtml?fromchange=8753de11b181&tochange=931f06b80727.

Marcia, it could also be in the next "slot" of nightly, as it's possible that those very few reports from 13th build IDs were on "hourly" builds. A looking at I see some very X11/GTK-specific changesets at the top of the list.

Ginn, could one of your changes be related?
Comment 7 User image Takanori MATSUURA 2011-07-26 06:31:09 PDT
It's a day when beta version of flash 11 has been released. :-)
Comment 8 User image Robert Kaiser 2011-07-26 06:40:31 PDT
(In reply to comment #7)
> It's a day when beta version of flash 11 has been released. :-)

That's an interesting data point, but unfortunately doesn't explain why this happens on 8.0a1 only and not on any other versions.
Comment 9 User image Karl Tomlinson (:karlt) 2011-07-31 18:56:13 PDT
Bug 644707 is the reason why we see this as a SIGSEGV only on 8.
Comment 10 User image Sheila Mooney 2011-08-04 11:32:45 PDT
We aren't getting any data about Flash versions for this one so we can't correlate it specifically to Flash 11. It's the top plugin crash on the trunk right now.
Comment 11 User image Logan Rosen [:Logan] 2011-08-04 13:46:20 PDT
I'm still getting this crash with Flash, so it's definitely not Flash Player 11-specific (if at all).
Comment 12 User image Karl Tomlinson (:karlt) 2011-08-04 15:17:17 PDT
Are there any console messages to indicate the X Error?
Do you have steps to reproduce.(In reply to comment #10)

> We aren't getting any data about Flash versions

FWIW we can map the debug identifier for to versions.
Comment 13 User image Thomas Ahlblom 2011-08-09 16:53:04 PDT
When I try to track this down using Linux I end up in a Mac OS X bug. Anyway, this is what I've found using FlashPlayer

[@ mozalloc_abort | NS_DebugBreak_P | X11Error ] 

Last good nightly: 2011-07-13
First bad nightly: 2011-07-14


The first bad revision is:
changeset:   72713:5cea57e451dd
user:        Benoit Girard <>
date:        Tue Jul 12 10:31:18 2011 -0400
summary:     Bug 663259 - Enable Mac Async plugin by default. r=cjones,mattwoodrow



1. Visit with a new, clean profile
2. Shake the right scroll bar fast for 20 seconds

Actual Results:
FlashPlayer crash

Expected Results:
No FlashPlayer crash
Comment 14 User image Karl Tomlinson (:karlt) 2011-08-09 23:01:09 PDT
Thanks very much, Thomas!
Comment 15 User image Benoit Girard (:BenWa) 2011-08-09 23:13:22 PDT
Thanks for finding the regression range! The problem is here:

I will post a patch first thing in the morning and will spin off a try build.
Comment 16 User image Benoit Girard (:BenWa) 2011-08-10 07:14:36 PDT
Created attachment 552071 [details] [diff] [review]
patch v1

This line was not meant to be changed for non osx platforms.
Comment 17 User image Benoit Girard (:BenWa) 2011-08-10 07:17:27 PDT
Try run:
Comment 18 User image Benoit Girard (:BenWa) 2011-08-10 11:50:27 PDT
Can someone confirm that the problem is fixed before we land this?

Try builds:
Comment 19 User image Thomas Ahlblom 2011-08-10 12:04:56 PDT
I've tested together with the STR from comment 13 and have NOT been able to reproduce the bug. Thus, it looks fixed to me.
Comment 21 User image Mounir Lamouri (:mounir) 2011-08-11 04:37:22 PDT
Comment 22 User image Sheila Mooney 2011-08-25 14:48:47 PDT
So technically we still see this crash in recent builds but the volume is way down. I don't see a reason to track this.

+ 9.0a1 - 7 crashes in the past 2 weeks.
+ 8.0a2 - 3 crashes in the past 2 weeks.
Comment 23 User image Robert Kaiser 2011-08-26 04:43:11 PDT
(In reply to Sheila Mooney from comment #22)
> So technically we still see this crash in recent builds but the volume is
> way down. I don't see a reason to track this.

Yes, the fix landed for 8, so we should be OK. The remaining ones are probably not this regression at least (or it's old builds).

Note You need to log in before you can comment on or make changes to this bug.