Closed Bug 1138671 Opened 10 years ago Closed 10 years ago

crash in pthread_kill [Camera] Device encounters a crash when scrubbing a video in preview mode.

Categories

(Firefox OS Graveyard :: Performance, defect)

ARM
Gonk (Firefox OS)
defect
Not set
critical

Tracking

(b2g-v2.1 affected, b2g-v2.2 affected, b2g-master affected)

RESOLVED FIXED
Tracking Status
b2g-v2.1 --- affected
b2g-v2.2 --- affected
b2g-master --- affected

People

(Reporter: jmitchell, Unassigned)

References

()

Details

(Keywords: crash, stackwanted, Whiteboard: [3.0-Daily-Testing], POVB)

Crash Data

Attachments

(1 file)

This bug was filed from the Socorro interface and is report bp-901aff6a-ecae-445e-bf86-0adbc2150302. ============================================================= This bug was requested here: https://bugzilla.mozilla.org/show_bug.cgi?id=1077642#c39 Description: Camera app will crash when scrubbing (moving the timeline selector back and forth) the video in preview mode. Repro Steps: 1) Update a Flame to 20150302010223 2) Launch camera App 3) Record a video and click on the preview 4) Play the video, scrub the timeline back and forth Actual: Camera app will crash Expected: No crash Environmental Variables: Device: Flame Master (Flame, KK, Full-flash, nightly, 319mem) Build ID: 20150302010223 Gaia: f34ce82a840ad3c0aed3bfff18517b3f6a0eb37f Gecko: eea6188b9b05 Gonk: e7c90613521145db090dd24147afd5ceb5703190 Version: 39.0a1 (Master) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:39.0) Gecko/39.0 Firefox/39.0 Repro frequency: 8/10 See attached: logcat, video: http://youtu.be/AMTHkrMUyf4
This issue also reproduces in 2.2 and 2.1 Device: Flame 2.2 (KK - Nightly - Full Flash - 319mem) Build ID: 20150302002504 Gaia: 77609916ca5ab721150fab2b7bc5c37f43ee3a5a Gecko: 27ab8aa34201 Gonk: e7c90613521145db090dd24147afd5ceb5703190 Version: 37.0 Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0 Device: Flame 2.1 (KK - Nightly - Full Flash - 319mem) Build ID: 20150302001220 Gaia: 5d3479fdd438412adee4452720856b6b771fe5cd Gecko: 9bf4c663241f Gonk: e7c90613521145db090dd24147afd5ceb5703190 Version: 34.0 (2.1) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(pbylenga)
NI on component owner for nomination and assignment.
Flags: needinfo?(npark)
blocking-b2g: --- → 2.2?
Do we have a stack? Cervantes, do you think this could be related to our other Nuwa stuff?
Flags: needinfo?(cyu)
Keywords: stackwanted
The only place I can think of is that the cleaner thread uses pthread_kill() to check whether the exiting thread is really dead, but the memory pthread_t points to is free()'d and munmap()'d. We need the stack to tell.
Flags: needinfo?(cyu)
This bug looks quite similar to bug 1099356 (probably a dup of this), which was caused by bug 1101826 (qc bug). This used to be a low-frequency bug, but changed since the new seek mechanism was implemented. see: https://bugzilla.mozilla.org/show_bug.cgi?id=1099356#c11 https://bugzilla.mozilla.org/show_bug.cgi?id=1101826 Last week I was trying to get the ball rolling on this bug, but because it is qc dependent, sotaro says we might need to come up with our own fix.
Flags: needinfo?(npark)
We are following up in the CAF bug and may end up DUP'ing.
See Also: → 1099356
Eric, can Taipei QA give this a shot to see if this is reproducible on a nexus 5 L device and re-nom if so?
blocking-b2g: 2.2? → ---
Flags: needinfo?(echang)
Hi Hermes, Could you check this please.
Flags: needinfo?(echang) → needinfo?(hcheng)
(In reply to bhavana bajaj [:bajaj] from comment #7) > Eric, can Taipei QA give this a shot to see if this is reproducible on a > nexus 5 L device and re-nom if so? For N5, it cannot be reproduced because of bug 1120780.
Flags: needinfo?(hcheng)
I cannot reproduce this issue on N5 with below master build. * Env info: Build ID 20150322160204 Gaia Revision 9b6f3024e4d0e62dd057231f4b14abe1782932ab Gaia Date 2015-03-22 10:09:18 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/e730012260a4 Gecko Version 39.0a1 Device Name hammerhead Firmware(Release) 5.0 Firmware(Incremental) eng.cltbld.20150322.191717 Firmware Date Sun Mar 22 19:17:33 EDT 2015 Bootloader HHZ12d
Whiteboard: [3.0-Daily-Testing] → [3.0-Daily-Testing], POVB
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: