Closed Bug 1032809 Opened 10 years ago Closed 10 years ago

Firefox freezes (and crashes) macosx

Categories

(Firefox :: Untriaged, defect)

33 Branch
x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: m+mozilla, Unassigned)

Details

(Keywords: hang, Whiteboard: flash)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:33.0) Gecko/20100101 Firefox/33.0 (Beta/Release)
Build ID: 20140701030202

Steps to reproduce:

Error log from macosx:

01/07/14 15:45:41,000 kernel[0]: firefox (map: 0xffffff8035fc31e0) triggered DYLD shared region unnest for map: 0xffffff8035fc31e0, region 0x7fff90c00000->0x7fff90e00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
01/07/14 15:45:49,000 kernel[0]: firefox (map: 0xffffff80381c31e0) triggered DYLD shared region unnest for map: 0xffffff80381c31e0, region 0x7fff90c00000->0x7fff90e00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.

This is the last logs before the crash.

It happens randomly and mostly when the page requires flash.

I have no idea if it's firefox itself or not, but as I need to find why it freezes all my macosx (and not only mine, also colleagues computers).

Thank you for your attention.


Actual results:

All my macosx is frozen, I have to reboot it.
Please check if the issue occurs using Firefox in safe mode (with your addons disabled):
http://support.mozilla.com/kb/Safe+Mode

And on a new, empty profile:
http://support.mozilla.org/en-US/kb/Managing-profiles#w_starting-the-profile-manager

Also, open 'about:crashes' in Firefox and copy/paste here the crash ids (if there are any).
Flags: needinfo?(m+bugzilla)
bp-hr-20140715-0286244d-163e-4f6c-bcf8-1abbac196d26
bp-hr-20140715-68b5dcb5-fdab-48c1-8df5-bbb42a74b07f
bp-hr-20140715-8af0419a-245a-4543-8158-aec0fe07deec
bp-hr-20140715-d79015b6-27f5-415b-b8fb-0ef7c2af68c7
Flags: needinfo?(m+bugzilla)
Severity: normal → critical
Keywords: hang
hang | libsystem_kernel.dylib@0x11b16
0	libsystem_kernel.dylib@0x11b16	:
1	libsystem_platform.dylib@0x2df5	:
2	arena_malloc	hg:hg.mozilla.org/mozilla-central:memory/mozjemalloc/jemalloc.c:9e8e3e903484:1687
3	je_calloc	hg:hg.mozilla.org/mozilla-central:memory/mozjemalloc/jemalloc.c:9e8e3e903484:4167
4	libsystem_malloc.dylib@0x10b60	:
5	libsystem_malloc.dylib@0x112c9	:
6	libobjc.A.dylib@0x687b	:
7	libdispatch.dylib@0xfdc	:
Here is a link to one of these reports: https://crash-analysis.mozilla.com/hang-reports/2014/07-15/hr-20140715-d79015b6-27f5-415b-b8fb-0ef7c2af68c7.html

More reports: https://crash-stats.mozilla.com/report/list?signature=hang+|+libsystem_kernel.dylib%400x11b16&range_value=7&range_unit=days&date=2014-08-22

This might be a duplicate of bug 804010. 

Erwan, do you still see this crash when you start Firefox with extensions off - in Safe mode ?
Flags: needinfo?(m+bugzilla)
Whiteboard: flash
Bug 804010 is completely unrelated.
For the moment It didn't crash anymore.
Flags: needinfo?(m+bugzilla)
Thanks
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
(In reply to Erwann Mest from comment #6)
> For the moment It didn't crash anymore.

I stopped using Firefox 31 (I reported the bug at https://bugzilla.mozilla.org/show_bug.cgi?id=804010) and returned to using Firefox 29.0.1.
(In reply to Steven Michaud from comment #5)
> Bug 804010 is completely unrelated.

This bug may lead to HFS+ file system errors:

Sep  1 17:18:50 kernel[0]: firefox (map: 0xffffff8013493658) triggered DYLD shared region unnest for map: 0xffffff8013493658, region 0x7fff88600000->0x7fff88800000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Sep  1 17:19:39 kernel[0]: firefox (map: 0xffffff8014ab8960) triggered DYLD shared region unnest for map: 0xffffff8014ab8960, region 0x7fff88600000->0x7fff88800000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Sep  1 17:20:33 kernel[0]: firefox (map: 0xffffff80134944d8) triggered DYLD shared region unnest for map: 0xffffff80134944d8, region 0x7fff88600000->0x7fff88800000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Sep  1 17:21:17 kernel[0]: firefox (map: 0xffffff8014ab8790) triggered DYLD shared region unnest for map: 0xffffff8014ab8790, region 0x7fff88600000->0x7fff88800000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Sep  1 17:30:30 kernel[0]: IOSurface: buffer allocation size is zero
Sep  1 17:38:55 kernel[0]: HFS: Very Low Disk: freeblks: 0, dangerlimit: 709

All of those lines are in succession.
FWIW, I started tracking this bug because I was experiencing crashes that sounded similar, although I could never get a crash report, because Firefox would hang, not crash, before the OS stopped responding.

But the OS only *mostly* stopped responding: it ignored keyboard input and mouse clicks, but the cursor would continue to track mouse movements; which suggests that the WindowServer had crashed, but the kernel was still running.)

I still haven't figured out the problem, but I did discover a workaround: uncheck "automatic graphics switching" in System Preferences > Energy Saver.  So the problem may be a bug in the WindowServer that occurs when an application triggers an OS switch from one processor to the other.
You need to log in before you can comment on or make changes to this bug.