* [Bug 82517] [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player
2014-08-12 16:04 [Bug 82517] New: [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player bugzilla-daemon
@ 2014-08-12 17:09 ` bugzilla-daemon
2014-08-12 17:30 ` bugzilla-daemon
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-08-12 17:09 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 420 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82517
--- Comment #1 from Kai <kai@dev.carbon-project.org> ---
Oh, I just found another way to trigger this: open any past broadcast on Twitch
with a "t" URL parameter, ie. t=3h03m48s, appended. Apparently
vlVdpDecoderDestroy get's called from Flash before jumping to the target time
code as well.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1337 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 82517] [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player
2014-08-12 16:04 [Bug 82517] New: [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player bugzilla-daemon
2014-08-12 17:09 ` [Bug 82517] " bugzilla-daemon
@ 2014-08-12 17:30 ` bugzilla-daemon
2014-08-12 17:53 ` bugzilla-daemon
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-08-12 17:30 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 427 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82517
--- Comment #2 from Christian König <deathsimple@vodafone.de> ---
Can you try setting VDPAU_TRACE and VDPAU_TRACE_FILE and get me the order in
which flash calls those functions?
That just sounds like flash wants to use a decoder after destroying it and we
don't handle that correctly.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1364 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 82517] [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player
2014-08-12 16:04 [Bug 82517] New: [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player bugzilla-daemon
2014-08-12 17:09 ` [Bug 82517] " bugzilla-daemon
2014-08-12 17:30 ` bugzilla-daemon
@ 2014-08-12 17:53 ` bugzilla-daemon
2014-08-12 18:07 ` bugzilla-daemon
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-08-12 17:53 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 891 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82517
--- Comment #3 from Kai <kai@dev.carbon-project.org> ---
Created attachment 104514
--> https://bugs.freedesktop.org/attachment.cgi?id=104514&action=edit
VDPAU_TRACE of the crash.
(In reply to comment #2)
> Can you try setting VDPAU_TRACE and VDPAU_TRACE_FILE and get me the order in
> which flash calls those functions?
>
> That just sounds like flash wants to use a decoder after destroying it and
> we don't handle that correctly.
Sure, attached you find the log (I didn't find a way to just pass those
variables to plugin-container, so I passed it to the parent iceweasel process).
Steps to get that log:
1. Start Iceweasel (aka Firefox) with the environment variables
2. Open a Twitch broadcast at some point within
3. Observed crash
4. Closed Browser.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2023 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 82517] [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player
2014-08-12 16:04 [Bug 82517] New: [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player bugzilla-daemon
` (2 preceding siblings ...)
2014-08-12 17:53 ` bugzilla-daemon
@ 2014-08-12 18:07 ` bugzilla-daemon
2014-08-12 18:37 ` bugzilla-daemon
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-08-12 18:07 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 399 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82517
--- Comment #4 from Christian König <deathsimple@vodafone.de> ---
(In reply to comment #3)
> Created attachment 104514 [details]
> VDPAU_TRACE of the crash.
That log doesn't seems to be complete, it ends in the middle of tracing a
vdp_decoder_render call.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1614 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 82517] [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player
2014-08-12 16:04 [Bug 82517] New: [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player bugzilla-daemon
` (3 preceding siblings ...)
2014-08-12 18:07 ` bugzilla-daemon
@ 2014-08-12 18:37 ` bugzilla-daemon
2014-08-13 12:27 ` bugzilla-daemon
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-08-12 18:37 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1285 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82517
--- Comment #5 from Kai <kai@dev.carbon-project.org> ---
Created attachment 104518
--> https://bugs.freedesktop.org/attachment.cgi?id=104518&action=edit
Full VDPAU trace and no crash, when a YouTube video is running in the
background
(In reply to comment #4)
> (In reply to comment #3)
> > Created attachment 104514 [details]
> > VDPAU_TRACE of the crash.
>
> That log doesn't seems to be complete, it ends in the middle of tracing a
> vdp_decoder_render call.
I noticed that as well, though I forgot to mention it in my previous post, but
I tried it several times and the log always ends somewhere in the middle. If
you have any idea how I can capture the whole log, let me know. (Or maybe you
can reproduce it on your end? Just pick one recored broadcast from Twitch, e.g.
<http://www.twitch.tv/carbotanimations/b/557380266?t=1h01m> and it should
segfault)
Another observation I made: if you run a YouTube video in the backgrund in
parallel to e.g. opening
<http://www.twitch.tv/carbotanimations/b/557380266?t=1h01m>, then suddenly
Flash is not crashing. I traced VDPAU with a YT video running in the background
and attached the file to this post.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2936 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 82517] [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player
2014-08-12 16:04 [Bug 82517] New: [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player bugzilla-daemon
` (4 preceding siblings ...)
2014-08-12 18:37 ` bugzilla-daemon
@ 2014-08-13 12:27 ` bugzilla-daemon
2014-08-13 13:59 ` bugzilla-daemon
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-08-13 12:27 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1460 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82517
Christian König <deathsimple@vodafone.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #6 from Christian König <deathsimple@vodafone.de> ---
(In reply to comment #5)
> (Or maybe you can reproduce it on your end? Just pick one recored broadcast
> from Twitch, e.g.
> <http://www.twitch.tv/carbotanimations/b/557380266?t=1h01m> and it should
> segfault)
Took me a while, but I was able to reproduce the problem and take a complete
log.
> Another observation I made: if you run a YouTube video in the backgrund in
> parallel to e.g. opening
> <http://www.twitch.tv/carbotanimations/b/557380266?t=1h01m>, then suddenly
> Flash is not crashing. I traced VDPAU with a YT video running in the
> background and attached the file to this post.
No wonder that it crashes, what flash does here is destroying the device first
and then trying to destroy the decoder who depends on the device:
vdp_device_destroy(1)
vdp_decoder_destroy(2)
Sounds like a bug in flash to me, but on the other hand the VDPAU state tracker
shouldn't crash, but just return an error here.
Going to take a look into the code if we can't fix that somehow.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3311 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 82517] [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player
2014-08-12 16:04 [Bug 82517] New: [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player bugzilla-daemon
` (5 preceding siblings ...)
2014-08-13 12:27 ` bugzilla-daemon
@ 2014-08-13 13:59 ` bugzilla-daemon
2014-08-15 9:38 ` bugzilla-daemon
2014-08-15 9:40 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-08-13 13:59 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 367 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82517
--- Comment #7 from Christian König <deathsimple@vodafone.de> ---
Created attachment 104563
--> https://bugs.freedesktop.org/attachment.cgi?id=104563&action=edit
Possible fix.
That patch does the trick for me, please test.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1527 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 82517] [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player
2014-08-12 16:04 [Bug 82517] New: [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player bugzilla-daemon
` (6 preceding siblings ...)
2014-08-13 13:59 ` bugzilla-daemon
@ 2014-08-15 9:38 ` bugzilla-daemon
2014-08-15 9:40 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-08-15 9:38 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 855 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82517
Kai <kai@dev.carbon-project.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #8 from Kai <kai@dev.carbon-project.org> ---
(In reply to comment #7)
> Created attachment 104563 [details] [review]
> Possible fix.
>
> That patch does the trick for me, please test.
Yes, the patch works for me as well. Thank you!
Since you've already commited the patch
(<http://cgit.freedesktop.org/mesa/mesa/commit/?id=6fb42ee7a632e181160ac4be234b30e50a1b91d5>)
I don't think a Tested-by will be needed here anylonger.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2976 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 82517] [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player
2014-08-12 16:04 [Bug 82517] New: [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player bugzilla-daemon
` (7 preceding siblings ...)
2014-08-15 9:38 ` bugzilla-daemon
@ 2014-08-15 9:40 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-08-15 9:40 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 506 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82517
Christian König <deathsimple@vodafone.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #9 from Christian König <deathsimple@vodafone.de> ---
Thanks for testing, sounds like we can close this now.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2108 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread