Closed Bug 916490 Opened 11 years ago Closed 8 years ago

Xul.exe silent when closing ff

Categories

(External Software Affecting Firefox Graveyard :: Flash (Adobe), defect)

x86
Windows Vista
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: cumdacon, Unassigned)

References

Details

Attachments

(15 files)

User Agent: Mozilla/5.0 (Windows NT 6.0; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release)
Build ID: 20130814063812

Steps to reproduce:

Since one year, EVERY TIME I leave flashplugin processes active for A LOT hours, when closing FF I become xul.exe crash. about:crashes empty.
Reproducible since one year.
It is compulsory to leave a youtube video (or facebook, if it requires flash) for a lot hours open in ff. 
When closing the 2 flashprocesses disappear from Task manager, at this point the OS gives me a warning  FFstop working, xul.exe crash, I clic OK on the OS warning at this point firefox.exe closes. no problems reopening ff. therefore silent crash. only minidumps. 
If I open 20 youtube videos, but I close them all,no issues when closing FF.
the problem:
when the flashplugin remains a lot hours active (even if it disappears after a bit time of Non-usage!) and the flash sandbox is turned ON, I become every time xul.exe crash when closing the browser and minidumps.
Solution: open YT videos (or facebook profile, IF and WHEN requires flash, not this month!) watch them, and close the tab, dont leave the flashplugin process active more than 2 hours.
Question: ff timeout in handling flash process sandboxed?
Severity: normal → major
perhaps there are some "bad" way in the code regarding the closing of the sandbox process?
I cannot help you further, I can send you only a dxdiag.txt
Blocks: 769721
You say "when closing". But I'm not sure what you mean: are you closing just the tab with youtube/facebook? Or are you closing the entire browser?

Also you say "xul.exe crash" but there is no such thing as xul.exe. Do you mean firefox.exe?

You say you have minidumps? If you can either debug the minidump yourself and paste the stack trace of the crash, or send me the minidump and I can debug it (I'll need to know the Firefox version and buildid to find the matching build).
No longer blocks: 769721
Flags: needinfo?(cumdacon)
I mean: closing the entire browser after a lot hours.

yes firefox.exe in task manager, but with a warning of the OS that does quote "xul.exe" as the module that crashes.
about:crashes empty.

all Firefox version are affected (20,21,22, 19...), actually I have 23.0.1, build 20130814063812.

ops, I just deleted the minudumps files.
ok, I will wait for new minidumps files, then I attach them here. I warmly thank you in advance for debugging.

I will try for example this
https://www.youtube.com/watch?v=JRR2TsB5_ko
leaving it opened for 3 or even more hours, then I will close this TAB (the flash process in Task manager will disappear), then I will close the entire browser.
If I open a lot of flash videos but for a time less than 2 hours: no issues.
its important the time of flash usage, even if the tab has been closed in the meantime, firefox does "remember" the flash time usage.

I will re-write here when the minidumps files becomes available. thanks for your patience.
Flags: needinfo?(cumdacon)
Hi Benjamin Smedberg,
perhaps is something like this
https://bugzilla.mozilla.org/show_bug.cgi?id=747683  ?

please dont close this 3d, now I become minidumps = zero KB, 
I have to wait the "normal" behaviour i.e. minidumps 12KB, then I will attach them here for debugging.
its strange that since I wrote to you I become only minudump 0 KB (empty), but please wait. thanks a lot.
Hi Benjamin,

I guess that this evening I will obtain the desired minidumps, because starting from today the simply "subscription" page of youtube requires flash active (otherwise the thumbnails remain blank; until yesterday they are not blank even without flash). I leave my YT subcription page open the whole day.
please stay tuned :)
Hi!! DONE!!! (on 2 different pc's with same OS and plugin)

thanks in advance for debugging it and for investigating what is happening with flash processes (sandboxed) whenb I close Firefox.

I hope that the attached minidump file will help you/us.
Attached file again!
hey!! now I am able to reproduce this crash, very good.
after writing to you (and watching YT) I closed FF, here a second minidump attached for debugging.


the OS message is always the same, for both minidumps files:


Nome evento problema:	APPCRASH
  Nome applicazione:	firefox.exe
  Versione applicazione:	24.0.0.5001
  Timestamp applicazione:	522fd29f
  Nome modulo con errori:	xul.dll
  Versione modulo con errori:	24.0.0.5001
  Timestamp modulo con errori:	522fd1a4
  Codice eccezione:	c0000005
  Offset eccezione:	001b72a8
  Versione SO:	6.0.6002.2.2.0.768.3
  ID impostazioni locali:	1040
  Informazioni aggiuntive 1:	40d4
  Ulteriori informazioni 2:	4062ad41ec8067256aa4c5e2b56d3c79
  Ulteriori informazioni 3:	40d4
  Ulteriori informazioni 4:	4062ad41ec8067256aa4c5e2b56d3c79

please help / fix it this behaviour. thanks
help please!
another minidumps + bluscreen.

the issue is still occurring.
news:
after installing flash 11.9.900.117, by clicking on X to close firefox I got bluescreen. (minidum attached).

thanks for debugging.
the problem is > critical.
Severity: major → critical
I'll try to take a look at the dumps next week if no-one else can get to it before then.
Flags: needinfo?(georg.fritzsche)
I warmly thank you Georg.
here another crash. ee t new attach please.
minidumps minidumps + Vista warning
hi, some news?

I add another minidump 
after closing ff after watching this video flash
http://www.asitv.it/contenuti/nasa-live

thanks for investigating...
hi, some news?

I add another minidump 
after closing ff after watching this video flash  via ustream.com
http://www.asitv.it/contenuti/nasa-live

thanks for investigating...
FF25 (updated today) requires that flash have to be activated if you watch a simply facebook page (not only YT) !
therefore my problem become more serious.

Please have you some news?
or what should I do?
thanks.
(In reply to candaules from comment #18)
> hi, some news?
> 
> I add another minidump 
> after closing ff after watching this video flash  via ustream.com
> http://www.asitv.it/contenuti/nasa-live
> 
> thanks for investigating...
Cannot reproduce on FF 27.0a1 (2013-10-28) on Win 7 x64.
(In reply to candaules from comment #20)
> FF25 (updated today) requires that flash have to be activated if you watch a
> simply facebook page (not only YT) !
> therefore my problem become more serious.
> 
> Please have you some news?
> or what should I do?
> thanks.
Go in Tools/Addons Manager/Plugins and set Flash to "Always activate" instead of "Ask to activate"
it is and was alredy activate ;)

I hope that Georg may want to take a look at the dumps.
the other expert which told me that he will debug the minidumps did delete his post :(
sorry the post of Benjamin has not been deleted, sorry.

if you have any idea, otherwise I guess that issue will not be fixed. thanks.
here the ".....th minidump" of the crash when closing ff.
it begins to become very stressing this behaviour, very stressing, but I dont give up, perhaps it will be not hard to resolve, as you did with ff23 > to > 23.0.1 related to flash sandboxed!

I have a pc desktop with Vista, not Seven; I have the same problem on the laptop with Vista. I could not notice of these minidumps, but I become a crash message from Vista, see above. Therefore I notice this stressing behaviour.
Flags: needinfo?(georg.fritzsche)
I'll look for a Vista machine and try to reproduce this. Meanwhile, please check if the issue occurs using Firefox in safe mode (with your addons disabled):
http://support.mozilla.com/kb/Safe+Mode

Or on a new, empty profile:
http://support.mozilla.org/en-US/kb/Managing-profiles#w_starting-the-profile-manager
thanks.
ok, the same issue in safe mode, therefore its not due to noscript nor adbplus addons. I dont tried with new profile yet.
as Smedberg said, I guess that the only way to understand the problem is to debug the minidumps files ( I uploaded them but I am unable to debug), because until today nobody was able in reproducing the issue.
(but if I understood right, they did not try with vista).
I am currently unable to investigate these directly: loading minidumps into a debugger is rather time-consuming, especially when it's not clear which exact Firefox version the minidumps are from. If you can do that yourself using the Mozilla symbol server and just paste the stacks here, that would be a great help.
Noidea what to do.... :(

"which exact Firefox version the minidumps are from"
how can I establish the ff version? also no ff24, 25....perhaps there is a place where I can find the infos you need?
Attached image Screenshot
I reproduced something similar after closing Firefox 25, Win Vista x86 with http://www.asitv.it/contenuti/nasa-live
http://www.youtube.com/watch?v=D6etnDBV2gY
and facebook.com opened.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hi, thanks a lot, this is a very good news!

yes, after closing the browser after using flash sandboxed (facebook requires flash, no idea why it requires flash on a simply page without video, I dont have applications, no games).

in task manager the 2 processes flashplugin.exe disappear, but the firefox.exe process remains active (blocked)until you click OK in the windows warning message or "Close program" in your photo.

regarding your attached photo, I have the details available too (comment #9
https://bugzilla.mozilla.org/show_bug.cgi?id=916490#c9
)

when you become the Windows message and you click Close program, do you see the new minidump in the profile folder? perhaps the minudumps the same as mine.

thanks.
Attached file minidumps.zip
(In reply to candaules from comment #33)
> when you become the Windows message and you click Close program, do you see
> the new minidump in the profile folder? perhaps the minudumps the same as
> mine.
yes
The thing is this is not 100% reproducible, it's intermittent.
Georg it's on PTO now, perhaps he could take a look after his return. Let's wait for now.
Hi Paul, yes you are right, it's intermittent. It happens often, but not 100%, even if you open the same tabs with the same links. (No issues if you are using Silverlight plugin.)
Ok, we wait Georg's return. At the moment I warmy thank you.
Mine minidumps are bigger in size, perhaps because I have more tabs active than you.
latest file. you have enough files ;)
I can say that the issue is 100% reproducible, in the past it was intermittent.
!!!!
closing FF I become for the second time a BLUE SCREEN.
see the second dump file, related to blue screen.

it becomes a very hard situation...
Attached file Mini110513-01.dmp
bluescreen.
I didn't manage to get to this before i took off, i'll try to take a look this week at comment 32.
We don't need any additional dumps now until someone had a look.
Flags: needinfo?(georg.fritzsche)
please, a look at the bluescreen too. thanks.
I guess that the bluscreen is strongly related to comment #32.
sorry if I attach the file again, perhaps this is different, because it happened only after 10 seconds usage, not after many hours.
So, i checked the minidumps from: comment 26, comment 34, comment 37, comment 44.
All are crashes in Flashplayer of the form:
> Exception Code: 0xC0000005
> Exception Information: The thread tries to read from or write to a virtual address for which it does not have the appropriate access.

This ends up crashing at different addresses in Flashplayer, for two of the dumps i actually got frames above the crashing one that look the same:
> kernel32.dll!_WriteFile@20()  - 0x3983b bytes	
> kernel32.dll!_BaseSetLastNTError@4()  + 0x17 bytes	
> ntdll.dll!_ZwRemoveIoCompletion@20()  + 0xc bytes	
> kernel32.dll!_GetQueuedCompletionStatus@20()  - 0x4524 bytes	
> kernel32.dll!_HeapFree@12()  + 0x14 bytes	
> kernel32.dll!@BaseThreadInitThunk@12()  + 0x12 bytes	

I guess our crash reporter doesn't catch this because it's occuring on shutdown. It's a Flashplayer crash anyway, i don't think we can do more here.
Maybe the steps in comment 32 are helpful?
Component: Plug-ins → Flash (Adobe)
Flags: needinfo?(georg.fritzsche)
Product: Core → Plugins
Version: 23 Branch → 11.x
Worth noting that the Flash versions in the dumps i looked at were 11.9.900.117 & 11.9.900.152.
The blue screen might be an unrelated driver issue or a driver issue triggered by the Flash issue here:

> 2: kd> !analyze -v
[...]
> SYSTEM_THREAD_EXCEPTION_NOT_HANDLED_M
> This is a very common bugcheck.  Usually the exception address pinpoints
> the driver/function that caused the problem.
[...]
> EXCEPTION_RECORD:  8c068a08 -- (.exr 0xffffffff8c068a08)
> ExceptionAddress: 8f199766 (USBPORT!USBPORT_ClosePipe+0x00000010)
>   ExceptionCode: c0000005 (Access violation)
>  ExceptionFlags: 00000000
> NumberParameters: 2
>   Parameter[0]: 00000000
>   Parameter[1]: 00000000
> Attempt to read from address 00000000
Hi Georg, I warmly thank you for your analysis, I appreciate.
Maybe the second option ("a driver issue triggered by the Flash issue here"), because I never had drive issues since 5 years on this machine, the issue started after the "amelioraments" of flash sandboxed (the amelioraments resolved the issues for most users in the past, creating a bigger issue on my machine).
If you agree (and if you may want to suggest this purpose) I will write to Adobe (Campbell or Clarke I guess), linking this topic here, where the debug log shows that the issues are strongly related with Flash Player (regardless the build number), I hope that Adobe Dev could fix this big issue (minidumps and/or bluescreen!!) for Vista, with the help of your debug posted above and considering that this behaviour is well reprodubible as written here https://bugzilla.mozilla.org/show_bug.cgi?id=916490#c32
thanks a lot.
A different message related to flash
Firma problema:
Nome evento problema: APPCRASH
Nome applicazione: FlashPlayerPlugin_11_9_900_152.exe
Versione applicazione: 11.9.900.152
Timestamp applicazione: 526f0309
Nome modulo con errori: FlashPlayerPlugin_11_9_900_152.exe
Versione modulo con errori: 11.9.900.152
Timestamp modulo con errori: 526f0309
Codice eccezione: c0000005
Offset eccezione: 0002c637
Versione SO: 6.0.6002.2.2.0.768.3
ID impostazioni locali: 1040
Informazioni aggiuntive 1: 74a5
Ulteriori informazioni 2: fd6e8475b336133709d0a0f4273023ab
Ulteriori informazioni 3: 9338
Ulteriori informazioni 4: 0df884b48da932e37dc750654933c1af 

I hope that the bug that I filled for Adobe is the right choice.
A question:
generelly if you are able to reproduce the issue, the fix comes automatically.
the problems arise only if you are unable to reproduce.
is this not valid for this problem?
If an issue can be reproduced, fixing it is still work and can be complicated.
In this case the crash is in Flash, not in our code, so there isn't anything to fix - Adobe has to look into it.
ok, thank you Georg for your reply.
I filled a bug on Adobe site.
yes Adobe is investigating about the relationship flash-firefox regarding this silent crash when closing ff, they tell that isnt easy...
I re-opened the bug. the reasons:

1) its better to close this bug, because a silent crash is less serious than a bluescreen, do you agree?
with a bluescreen all my data go definitely away, with a silent crash I loose nothing (i.e. I notice this issue only if I watch the minudumps folder)
this bug is to be continued in adobe bugbase, and is continued.
you can close this bug.

but leave the new bug (bluescreen) open: a bluescreen in my opionion should have priority. thanks.
this is the bug "dead", that should be closed, not the bluescreen bug!
I reopen it for the third time.
what I try to say is that after upgrading to ff29 I dont notice xul.exe crash (this topic), but I am still have bluescreen (therefore the new and more important topic).
the bug is opend since september 2013...
I try to tell adobe that the bug is the same, as you say.
I'm closing a lot of bugs which are filed as Adobe Flash bugs which are either irrelevant, not actionable, or not serious enough to track in the Mozilla bug tracker. For the most part, Flash bugs should be filed in Adobe bugbase, and we'll only track a few highly-critical issues in the Mozilla tracker.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Version and milestone values are being reset to defaults as part of product refactoring.
Version: 11.x → unspecified
Product: External Software Affecting Firefox → External Software Affecting Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: