crash @ mozalloc_abort | NS_DebugBreak_P | X11Error during windowless Flash Player painting

RESOLVED FIXED in mozilla8



6 years ago
6 years ago


(Reporter: Logan, Assigned: BenWa)


(Depends on: 1 bug, {crash, regression})

crash, regression
Dependency tree / graph
Bug Flags:
in-testsuite ?

Firefox Tracking Flags

(Not tracked)


(crash signature)


(1 attachment)



6 years ago
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.
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.
Hardware: x86 → All

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

6 years ago
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?
Summary: crash mozalloc_abort → crash @ mozalloc_abort | NS_DebugBreak_P | X11Error
Possible pushlog regression range:

There was a merge from mozilla inbound that day.
Keywords: crash, regression

Comment 5

6 years ago
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

6 years ago
(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

6 years ago
It's a day when beta version of flash 11 has been released. :-)

Comment 8

6 years ago
(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.
Component: General → General
Product: Firefox → Core
QA Contact: general → general
Bug 644707 is the reason why we see this as a SIGSEGV only on 8.
Component: General → Plug-ins
Depends on: 639725
QA Contact: general → plugins
Summary: crash @ mozalloc_abort | NS_DebugBreak_P | X11Error → crash @ mozalloc_abort | NS_DebugBreak_P | X11Error during windowless Flash Player painting

Comment 10

6 years ago
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

6 years ago
I'm still getting this crash with Flash, so it's definitely not Flash Player 11-specific (if at all).
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

6 years ago
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
Thanks very much, Thomas!
Blocks: 663259
tracking-firefox8: --- → ?

Comment 15

6 years ago
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

6 years ago
Created attachment 552071 [details] [diff] [review]
patch v1

This line was not meant to be changed for non osx platforms.
Attachment #552071 - Flags: review?(jones.chris.g)

Comment 17

6 years ago
Try run:
Attachment #552071 - Flags: review?(jones.chris.g) → review+

Comment 18

6 years ago
Can someone confirm that the problem is fixed before we land this?

Try builds:

Comment 19

6 years ago
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 20

6 years ago
Whiteboard: [inbound]
Assignee: nobody → bgirard
Last Resolved: 6 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla8

Comment 22

6 years ago
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.
tracking-firefox8: ? → ---

Comment 23

6 years ago
(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).
You need to log in before you can comment on or make changes to this bug.