After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 760729 - Iceweasel crashes, loading a video
Iceweasel crashes, loading a video
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
unspecified
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-01-16 21:38 UTC by anon21073
Modified: 2017-12-19 18:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
backtrace (8.27 KB, text/plain)
2016-01-18 16:52 UTC, anon21073
Details
Backtrace 2 (1.83 KB, text/plain)
2016-01-18 18:49 UTC, anon21073
Details
Debug log (30.04 KB, text/plain)
2016-01-18 18:50 UTC, anon21073
Details

Description anon21073 2016-01-16 21:38:34 UTC
Bug
----
Playing a video with Iceweasel, causes Iceweasel to crash.


Setup
-----
System: Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u2 (2016-01-02) x86_64 GNU/Linux

Browser: Iceweasel 38.5.0

Graphics card: Advanced Micro Devices, Inc. [AMD/ATI] Cypress PRO [Radeon HD 5850]

Description
------------
Installing Debian and trying to run a video for example on YouTube with Iceweasel, causes Iceweasel to crash.
The cause of this, is the "gstreamer1.0-vaapi" package. Removing it, solves it.
So something is broken in that package.


Best regards.
Comment 1 Tim-Philipp Müller 2016-01-16 21:45:22 UTC
Thanks for the bug report.

Do you also get crashes with Totem media player, for example?

Could you provide a stack trace of the crash made with gdb? (thread apply all bt)

Since Firefox/Iceweasel have removed their GStreamer backend, there's probably limited interest to debug this further unless it also happens in other applications.
Comment 2 anon21073 2016-01-16 22:32:35 UTC
Totem media player is also not able to play a video. Totem won't crash, but is not able to play the video.

Trying to play a video with totem:
-----------------------------------
libva info: VA-API version 0.36.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0

** (totem:5499): CRITICAL **: gst_vaapi_mini_object_unref: assertion 'object != NULL' failed

** (totem:5499): CRITICAL **: gst_vaapi_mini_object_unref: assertion 'object != NULL' failed

** (totem:5499): CRITICAL **: gst_vaapi_mini_object_unref: assertion 'object != NULL' failed

** (totem:5499): CRITICAL **: gst_vaapi_mini_object_unref: assertion 'object != NULL' failed

** (totem:5499): CRITICAL **: gst_vaapi_mini_object_unref: assertion 'object != NULL' failed


Trying to play a video with Iceweasel:
---------------------------------------
(process:5534): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed


Those error messages, are just out of the terminal.
Comment 3 Sebastian Dröge (slomo) 2016-01-17 19:21:30 UTC
As you say the problem disappears when removing the vaapi plugin, this is most likely a bug in there (or in the fglrx backend of vaapi). Reassigning it to gstreamer-vaapi. We already heard of more reports like this together with Firefox/iceweasel in the past.

To help debugging this, can you set G_DEBUG=fatal_warnings in the environment and get a backtrace with gdb of the first assertion? A debug log with GST_DEBUG=2,*vaapi*:6 might also help.
Comment 4 Víctor Manuel Jáquez Leal 2016-01-18 16:07:03 UTC
Yes, as slomo said, please attach a debug log and a backtrace, if it is possible.
Comment 5 anon21073 2016-01-18 16:52:07 UTC
Created attachment 319278 [details]
backtrace

I dont know what "A debug log with GST_DEBUG=2,*vaapi*:6 might also help." means, but I attached the backtrace.

As you can see in the file I set G_DEBUG=fatal_warnings and started debugging it with: LC_ALL=C MOZILLA_DISABLE_PLUGINS=1 G_DEBUG=fatal_warnings gdb --args iceweasel -safe-mode

I hope it helps. If I can do more for you, just tell me.


Best regards.
Comment 6 Víctor Manuel Jáquez Leal 2016-01-18 17:10:27 UTC
The backtrace should be with 

$ MOZILLA_DISABLE_PLUGINS=1 G_DEBUG=fatal-warnings gdb --args iceweasel -safe-mode

Notice that it ought be fatal-warnings, not fatal_warnings.

For the the debug log is more or less the same:

$ MOZILLA_DISABLE_PLUGINS=1 GST_DEBUG="2,*vaapi*:6" iceweasel -safe-mode
Comment 7 anon21073 2016-01-18 18:49:39 UTC
Created attachment 319289 [details]
Backtrace 2

Would have expected a more detailed (longer) output - but okay, hehe.
Hope I did it the right way!

- Am I not able to attach two files in one submit?
Comment 8 anon21073 2016-01-18 18:50:07 UTC
Created attachment 319290 [details]
Debug log
Comment 9 Tim-Philipp Müller 2016-01-18 19:06:47 UTC
Comment on attachment 319289 [details]
Backtrace 2

>(process:8612): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

Don't think this one is related to GStreamer (or the problem with gst-vaapi).
Comment 10 Víctor Manuel Jáquez Leal 2016-01-19 11:36:08 UTC
Two thinks:

1\ as Tim said, the crash seems to be unrelated with gstreamer or gstreamer-vaapi.

2\ the fglrx backend looks to be unable to generate RGBA buffers. gstreamer-vaapi should deal this issue nicer (without gst_vaapi_mini_object_unref messages).
Comment 11 sreerenj 2016-03-24 16:55:42 UTC
Moving to Product:GStreamer, Component:gstreamer-vaapi
Comment 12 André Klapper 2016-09-14 14:27:13 UTC
(In reply to anon21073 from comment #0)
> The cause of this, is the "gstreamer1.0-vaapi" package. Removing it, solves
> it.

Does / did this happen under X11 or under Wayland?
Comment 13 André Klapper 2017-12-19 18:22:03 UTC
(In reply to André Klapper from comment #12)
> Does / did this happen under X11 or under Wayland?
Comment 14 André Klapper 2017-12-19 18:22:10 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!