Closed
Bug 1361657
Opened 8 years ago
Closed 8 years ago
Crash: Unplug headphone after clicking refresh button and plug the headphone immediately.
Categories
(Core :: Audio/Video: cubeb, defect, P1)
Tracking
()
RESOLVED
FIXED
People
(Reporter: chunmin, Assigned: achronop)
References
Details
(Keywords: stale-bug)
Attachments
(1 file)
1.25 MB,
text/x-log
|
Details |
Step to reproduce:
1. Plug the headphone
2. Open a youtube video
3. Refresh the page
4. Upon refreshing the page, unplug the headphone
5. Plug the headphone again
It doesn't happen every time, so I guess it's a timing issue happens on a device change.
Comment 1•8 years ago
|
||
Can you provide a crash report?
Assignee | ||
Comment 2•8 years ago
|
||
Can you also provide platform?
Reporter | ||
Comment 3•8 years ago
|
||
(In reply to Alex Chronopoulos [:achronop] from comment #2)
> Can you also provide platform?
Mac OS 10.12
OS: Unspecified → Mac OS X
Hardware: Unspecified → x86_64
Reporter | ||
Comment 4•8 years ago
|
||
(In reply to Jean-Yves Avenard [:jya] from comment #1)
> Can you provide a crash report?
It doesn't show on my about:crashes, so I have no report to submit. It just shows "Gah. Your tab just crashed." on my page.
It's more likely happens on a long video like: https://www.youtube.com/watch?v=jJMnOVWMFOo
Assignee | ||
Comment 6•8 years ago
|
||
Sure, I will try to repro tomorrow.
Assignee: nobody → achronop
Flags: needinfo?(achronop)
Comment 7•8 years ago
|
||
I hit a similar crash two days ago. But my crash report[1] looks weird and empty. I cannot see it is related to audio.
[1]https://crash-stats.mozilla.com/report/index/b53d4d11-c577-49b1-99f5-5b3040170502
Priority: -- → P1
Assignee | ||
Comment 8•8 years ago
|
||
I am not able to repro, it's sporadic though, I will try again after importing latest cubeb
Assignee | ||
Comment 9•8 years ago
|
||
Can you please provide logs (cubeb:4) of the error. If it takes many retries to repro, it would be nice to include them in the logs (I hope to see there the difference in timing)
Flags: needinfo?(cchang)
Reporter | ||
Comment 10•8 years ago
|
||
(In reply to Alex Chronopoulos [:achronop] from comment #9)
> Can you please provide logs (cubeb:4) of the error. If it takes many retries
> to repro, it would be nice to include them in the logs (I hope to see there
> the difference in timing)
Sure. I got one on my ASAN build. The attached log is from my terminal with cubeb log enabled.
Flags: needinfo?(cchang)
Assignee | ||
Comment 11•8 years ago
|
||
ASAN logs are excellent piece of information! It's clear that the crash occurs because the unplug event fired in thread T87 right after the stream is destroyed due to a normal AudioStream::Shutdown() in thread T46. Inside the handler of unplug event we attempt to use the destroyed stream.
Updated•8 years ago
|
Component: Audio/Video → Audio/Video: cubeb
Comment 12•8 years ago
|
||
This is an assigned P1 bug without activity in two weeks.
If you intend to continue working on this bug for the current release/iteration/sprint, remove the 'stale-bug' keyword.
Otherwise we'll reset the priority of the bug back to '--' on Monday, August 28th.
Keywords: stale-bug
Assignee | ||
Comment 13•8 years ago
|
||
Fixed by 1366707
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•