Closed
Bug 820713
Opened 13 years ago
Closed 13 years ago
Assertion failure: cx->runtime->requestDepth || cx->runtime->isHeapBusy(), at js/src/jscntxt.cpp:1492
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
People
(Reporter: cjones, Assigned: gwagner)
References
Details
Attachments
(1 file)
561 bytes,
patch
|
billm
:
review+
|
Details | Diff | Splinter Review |
Testing with gecko[1], gaia[2].
What does this assertion failure signify? It seems very bad.
STR
(1) Flash a B2G_DEBUG=1 build (or |make reset-gaia| on an existing one)
(2) Wait for FTU app start to load
F/MOZ_Assert( 890): Assertion failure: cx->runtime->requestDepth || cx->runtime->isHeapBusy(), at /home/cjones/mozilla/new-b2g/gecko/js/src/jscntxt.cpp:1492
F/libc ( 890): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
I/DEBUG ( 107): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 107): Build fingerprint: 'toro/full_otoro/otoro:4.0.4.0.4.0.4/OPENMASTER/eng.cjones.20121210.223821:user/test-keys'
I/DEBUG ( 107): pid: 890, tid: 890 >>> /system/b2g/plugin-container <<<
I/DEBUG ( 107): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
I/DEBUG ( 107): r0 00000096 r1 beff1d10 r2 f5f43f6d r3 0000007b
I/DEBUG ( 107): r4 00000000 r5 beff218c r6 43025140 r7 beff2168
I/DEBUG ( 107): r8 beff22d8 r9 beff3904 10 beff2e07 fp 42407278
I/DEBUG ( 107): ip 4009b108 sp beff2160 lr 414ac069 pc 414ac06a cpsr 20000030
I/DEBUG ( 107): d0 6e63736a2f637231 d1 6e2f616c6c697a34
I/DEBUG ( 107): d2 672f6732622d7739 d3 2f736a2f6f6b6332
I/DEBUG ( 107): d4 006f006600200064 d5 0061003c00200072
I/DEBUG ( 107): d6 002f003a00700070 d7 000000000063002f
I/DEBUG ( 107): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 107): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 107): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 107): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 107): d16 ffffff8200000000 d17 7ff8000000000000
I/DEBUG ( 107): d18 002e0073006e006f d19 0061006900610067
I/DEBUG ( 107): d20 00690062006f006d d21 006f002e0065006c
I/DEBUG ( 107): d22 0020003e00670072 d23 00670020006f0074
I/DEBUG ( 107): d24 4071200000000000 d25 4073100000000000
I/DEBUG ( 107): d26 4074f00000000000 d27 fffafffafffafffa
I/DEBUG ( 107): d28 ce79ce79ce79ce79 d29 ce79ce79ce79ce79
I/DEBUG ( 107): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 107): scr 30000013
I/DEBUG ( 107):
I/DEBUG ( 107): #00 pc 0103306a /system/b2g/libxul.so
I/DEBUG ( 107): #01 lr 414ac069 /system/b2g/libxul.so
I/DEBUG ( 107):
I/DEBUG ( 107): code around pc:
I/DEBUG ( 107): 414ac048 4910b994 4b114a10 48114479 447b447a ...I.J.KyD.HzD{D
I/DEBUG ( 107): 414ac058 90004478 50d4f240 20079001 ec3af380 xD..@..P... ..:.
I/DEBUG ( 107): 414ac068 6023237b fab2f380 fb2cf7c0 46286833 {##`......,.3h(F
I/DEBUG ( 107): 414ac078 20a4f8d3 f8c33201 f10720a4 46bd0704 ... .2... .....F
I/DEBUG ( 107): 414ac088 bf00bdf0 007f4500 007f4508 007f471a .....E...E...G..
I/DEBUG ( 107):
I/DEBUG ( 107): code around lr:
I/DEBUG ( 107): 414ac048 4910b994 4b114a10 48114479 447b447a ...I.J.KyD.HzD{D
I/DEBUG ( 107): 414ac058 90004478 50d4f240 20079001 ec3af380 xD..@..P... ..:.
I/DEBUG ( 107): 414ac068 6023237b fab2f380 fb2cf7c0 46286833 {##`......,.3h(F
I/DEBUG ( 107): 414ac078 20a4f8d3 f8c33201 f10720a4 46bd0704 ... .2... .....F
I/DEBUG ( 107): 414ac088 bf00bdf0 007f4500 007f4508 007f471a .....E...E...G..
I/DEBUG ( 107):
I/DEBUG ( 107): stack:
I/DEBUG ( 107): beff2120 beff2140 [stack]
I/DEBUG ( 107): beff2124 00000001
I/DEBUG ( 107): beff2128 419d0f9c /system/b2g/libxul.so
I/DEBUG ( 107): beff212c 43025140
I/DEBUG ( 107): beff2130 beff21ac [stack]
I/DEBUG ( 107): beff2134 41c03f78 /system/b2g/libxul.so
I/DEBUG ( 107): beff2138 00000000
I/DEBUG ( 107): beff213c f5f43f6d
I/DEBUG ( 107): beff2140 00000022
I/DEBUG ( 107): beff2144 00000000
I/DEBUG ( 107): beff2148 beff218c [stack]
I/DEBUG ( 107): beff214c 43025140
I/DEBUG ( 107): beff2150 beff2168 [stack]
I/DEBUG ( 107): beff2154 414ac069 /system/b2g/libxul.so
I/DEBUG ( 107): beff2158 df0027ad
I/DEBUG ( 107): beff215c 00000000
I/DEBUG ( 107): #00 beff2160 41ca05a8 /system/b2g/libxul.so
I/DEBUG ( 107): beff2164 000005d4
I/DEBUG ( 107): beff2168 beff3904 [stack]
I/DEBUG ( 107): beff216c beff218c [stack]
I/DEBUG ( 107): beff2170 42409270
I/DEBUG ( 107): beff2174 00000001
I/DEBUG ( 107): beff2178 beff2188 [stack]
I/DEBUG ( 107): beff217c 41470649 /system/b2g/libxul.so
I/DEBUG ( 107): beff2180 00000001
I/DEBUG ( 107): beff2184 beff2198 [stack]
I/DEBUG ( 107): beff2188 beff22d8 [stack]
I/DEBUG ( 107): beff218c 43025140
I/DEBUG ( 107): beff2190 beff2e07 [stack]
I/DEBUG ( 107): beff2194 43025140
I/DEBUG ( 107): beff2198 beff21a8 [stack]
I/DEBUG ( 107): beff219c 40b1f561 /system/b2g/libxul.so
I/DEBUG ( 107): beff21a0 beff242c [stack]
I/DEBUG ( 107): beff21a4 beff2c6c [stack]
I don't see this happening when I launch the FTU app after startup.
[1] http://git.mozilla.org/?p=releases/gecko.git;a=commit;h=8e66dde61aec02ba5a4a4e44583679aedc609a73
[2] http://git.mozilla.org/?p=releases/gaia.git;a=commit;h=460ba0c43e1a0c942aedf272ec0f3cbe20905ed5
Updated•13 years ago
|
blocking-basecamp: ? → +
It probably means you're calling a JSAPI function and you're not in a request. A stack trace would probably point directly at the offender. Can you get one?
Assignee | ||
Comment 3•13 years ago
|
||
I got another one on otoro startup in debug mode:
I/Gecko ( 105): [Parent 105] ###!!! ASSERTION: Uh, inner window set as event target!: '!win || !win->IsInnerWindow()', file /Volumes/2mac/otoro/2/B2G/gecko/content/events/src/nsDOMEvent.cpp, line 821
F/MOZ_Assert( 376): Assertion failure: cx->runtime->requestDepth || cx->runtime->isHeapBusy(), at /Volumes/2mac/otoro/2/B2G/gecko/js/src/jscntxt.cpp:1400
F/libc ( 376): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
I/DEBUG ( 108): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 108): Build fingerprint: 'toro/full_otoro/otoro:4.0.4.0.4.0.4/OPENMASTER/eng.idefix.20121213.113522:eng/test-keys'
I/DEBUG ( 108): pid: 376, tid: 376 >>> /system/b2g/plugin-container <<<
I/DEBUG ( 108): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
I/DEBUG ( 108): r0 00000093 r1 bed17e70 r2 0000007b r3 00000000
I/DEBUG ( 108): r4 00000001 r5 00000001 r6 00000000 r7 bed182e0
I/DEBUG ( 108): r8 43907240 r9 00000000 10 00000000 fp 00000000
I/DEBUG ( 108): ip 400d9108 sp bed182e0 lr 4208e92b pc 42091af4 cpsr 60000030
I/DEBUG ( 108): d0 7478746e63736a31 d1 2f322f6f726f7434
I/DEBUG ( 108): d2 6b6365672f473230 d3 6372732f736a2f30
I/DEBUG ( 108): d4 0000001900000000 d5 0065005300000000
I/DEBUG ( 108): d6 006e006900740074 d7 0043003a00730067
I/DEBUG ( 108): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 108): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 108): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 108): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 108): d16 0000000000000000 d17 00650052003a0065
I/DEBUG ( 108): d18 006e007200750074 d19 0000004b004f003a
I/DEBUG ( 108): d20 0000000000000088 d21 ffff000800000000
I/DEBUG ( 108): d22 ffff000400000003 d23 000000790065006b
I/DEBUG ( 108): d24 fffafffafffafffa d25 fffafffafffafffa
I/DEBUG ( 108): d26 fffafffafffafffa d27 fffafffafffafffa
I/DEBUG ( 108): d28 ce79ce79ce79ce79 d29 ce79ce79ce79ce79
I/DEBUG ( 108): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 108): scr 20000013
I/DEBUG ( 108):
I/DEBUG ( 108): #00 pc 01edbaf4 /system/b2g/libxul.so (_ZN2JS21AutoCheckRequestDepthC2EP9JSContext)
I/DEBUG ( 108): #01 pc 01ead4d2 /system/b2g/libxul.so (_Z18JS_ClearDateCachesP9JSContext)
I/DEBUG ( 108): #02 pc 00d73b16 /system/b2g/libxul.so
I/DEBUG ( 108): #03 pc 01735ae4 /system/b2g/libxul.so
I/DEBUG ( 108): #04 pc 01734eae /system/b2g/libxul.so
I/DEBUG ( 108): #05 pc 01733268 /system/b2g/libxul.so
I/DEBUG ( 108): #06 pc 017391f8 /system/b2g/libxul.so
I/DEBUG ( 108): #07 pc 016e3862 /system/b2g/libxul.so
I/DEBUG ( 108): #08 pc 016b6b18 /system/b2g/libxul.so
I/DEBUG ( 108): #09 pc 01578ec8 /system/b2g/libxul.so
I/DEBUG ( 108): #10 pc 01583b52 /system/b2g/libxul.so
I/DEBUG ( 108): #11 pc 015450a0 /system/b2g/libxul.so
I/DEBUG ( 108): #12 pc 01544f10 /system/b2g/libxul.so
I/DEBUG ( 108): #13 pc 0158269a /system/b2g/libxul.so
I/DEBUG ( 108): #14 pc 01582778 /system/b2g/libxul.so
I/DEBUG ( 108): #15 pc 018c632e /system/b2g/libxul.so
I/DEBUG ( 108): #16 pc 018c6388 /system/b2g/libxul.so
I/DEBUG ( 108): #17 pc 018c66f2 /system/b2g/libxul.so
I/DEBUG ( 108): #18 pc 01580f5a /system/b2g/libxul.so
I/DEBUG ( 108): #19 pc 0186d04e /system/b2g/libxul.so
I/DEBUG ( 108): #20 pc 0180d324 /system/b2g/libxul.so
I/DEBUG ( 108): #21 pc 01581172 /system/b2g/libxul.so
I/DEBUG ( 108): #22 pc 01581604 /system/b2g/libxul.so
I/DEBUG ( 108): #23 pc 018c5eea /system/b2g/libxul.so
I/DEBUG ( 108): #24 pc 018c5e82 /system/b2g/libxul.so
I/DEBUG ( 108): #25 pc 018c5e2a /system/b2g/libxul.so
I/DEBUG ( 108): #26 pc 0144dc96 /system/b2g/libxul.so
I/DEBUG ( 108): #27 pc 002a3030 /system/b2g/libxul.so (XRE_RunAppShell)
I/DEBUG ( 108): #28 pc 0158151a /system/b2g/libxul.so
I/DEBUG ( 108): #29 pc 018c5eea /system/b2g/libxul.so
I/DEBUG ( 108): #30 pc 018c5e82 /system/b2g/libxul.so
I/DEBUG ( 108): #31 pc 018c5e2a /system/b2g/libxul.so
I/DEBUG ( 108):
I/DEBUG ( 108): code around pc:
I/DEBUG ( 108): 42091ad4 d0102b00 447b4b11 4b114618 4619447b .+...K{D.F.K{D.F
I/DEBUG ( 108): 42091ae4 62aff44f ff0af7fc 0300f04f 027bf04f O..b....O...O.{.
I/DEBUG ( 108): 42091af4 f3be601a 683bff4b 4618681b fe3af7aa .`..K.;h.h.F..:.
I/DEBUG ( 108): 42091b04 681b683b 20e0f8d3 0201f102 20e0f8c3 ;h.h... .......
I/DEBUG ( 108): 42091b14 4618687b 0708f107 bd8046bd 00ac8c1a {h.F.....F......
I/DEBUG ( 108):
I/DEBUG ( 108): code around lr:
I/DEBUG ( 108): 4208e908 607a60b9 930068bb 9301687b 0007f04f .`z`.h..{h..O...
I/DEBUG ( 108): 4208e918 447b4b06 4b064619 461a447b f3a068fb .K{D.F.K{D.F.h..
I/DEBUG ( 108): 4208e928 f107ecf6 46bd0710 bf00bd80 00ac820e .......F........
I/DEBUG ( 108): 4208e938 00ac8214 b082b580 6078af00 2b00687b ..........x`{h.+
I/DEBUG ( 108): 4208e948 4b0dd110 4618447b 447b4b0c f2404619 ...K{D.F.K{D.F@.
I/DEBUG ( 108):
I/DEBUG ( 108): stack:
I/DEBUG ( 108): bed182a0 426ec5a8 /system/b2g/libxul.so
I/DEBUG ( 108): bed182a4 00000001
I/DEBUG ( 108): bed182a8 00000001
I/DEBUG ( 108): bed182ac 00000000
I/DEBUG ( 108): bed182b0 bed182c8 [stack]
I/DEBUG ( 108): bed182b4 4208e92b /system/b2g/libxul.so
I/DEBUG ( 108): bed182b8 42b56b38 /system/b2g/libxul.so
I/DEBUG ( 108): bed182bc 42b5a6f8 /system/b2g/libxul.so
I/DEBUG ( 108): bed182c0 42b573ac /system/b2g/libxul.so
I/DEBUG ( 108): bed182c4 00000578
I/DEBUG ( 108): bed182c8 bed182d0 [stack]
I/DEBUG ( 108): bed182cc 00000578
I/DEBUG ( 108): bed182d0 42b573ac /system/b2g/libxul.so
I/DEBUG ( 108): bed182d4 42b5a6f8 /system/b2g/libxul.so
I/DEBUG ( 108): bed182d8 df0027ad
I/DEBUG ( 108): bed182dc 00000000
I/DEBUG ( 108): #00 bed182e0 4397a370
I/DEBUG ( 108): bed182e4 bed182fc [stack]
I/DEBUG ( 108): bed182e8 bed182f0 [stack]
I/DEBUG ( 108): bed182ec 420634d7 /system/b2g/libxul.so
I/DEBUG ( 108): #01 bed182f0 bed182f8 [stack]
I/DEBUG ( 108): bed182f4 4397a370
I/DEBUG ( 108): bed182f8 427c8d94 /system/b2g/libxul.so
I/DEBUG ( 108): bed182fc 4397a370
I/DEBUG ( 108): bed18300 bed18310 [stack]
I/DEBUG ( 108): bed18304 40f29b19 /system/b2g/libxul.so
I/Gecko ( 105): [Parent 105] WARNING: Unable to use pre-allocated app process: file /Volumes/2mac/otoro/2/B2G/gecko/dom/ipc/ContentParent.cpp, line 359
Assignee | ||
Comment 4•13 years ago
|
||
Maybe
I/DEBUG ( 108): #00 pc 01edbaf4 /system/b2g/libxul.so (_ZN2JS21AutoCheckRequestDepthC2EP9JSContext)
I/DEBUG ( 108): #01 pc 01ead4d2 /system/b2g/libxul.so (_Z18JS_ClearDateCachesP9JSContext)
That looks right. This code seems like a good candidate:
http://mxr.mozilla.org/mozilla-central/source/dom/time/DateCacheCleaner.cpp#42
It looks like you need a |JSAutoRequest ar(cx);| there.
Assignee | ||
Comment 6•13 years ago
|
||
Testing
Assignee | ||
Comment 7•13 years ago
|
||
Comment on attachment 691990 [details] [diff] [review]
patch
parallel debugging :)
Attachment #691990 -
Flags: review?(wmccloskey)
Attachment #691990 -
Flags: review?(wmccloskey) → review+
Assignee | ||
Comment 8•13 years ago
|
||
Comment 9•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Comment 10•13 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•