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 626049 - [vdpau] crashes in states.check unit test
[vdpau] crashes in states.check unit test
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal blocker
: 0.10.20
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-08-04 18:07 UTC by Tim-Philipp Müller
Modified: 2010-08-06 10:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim-Philipp Müller 2010-08-04 18:07:22 UTC
tpm@zingle:~/gst/git/gst-plugins-bad/tests/check $ make generic/states.check
Xlib:  extension "NV-GLX" missing on display ":0.0".
0%: Checks: 3, Failures: 0, Errors: 3
generic/states.c:114:E:general:test_state_changes_up_and_down_seq:0: (after this point) Received signal 11 (Segmentation fault)
generic/states.c:151:E:general:test_state_changes_up_seq:0: (after this point) Received signal 11 (Segmentation fault)
generic/states.c:186:E:general:test_state_changes_down_seq:0: (after this point) Received signal 11 (Segmentation fault)
make: *** [generic/states.check] Error 3

tpm@zingle:~/gst/git/gst-plugins-bad/tests/check$ make generic/states.gdb
(gdb) run
Xlib:  extension "NV-GLX" missing on display ":0.0".
Program received signal SIGSEGV, Segmentation fault.
0x00002aaacb7c7ad1 in xcb_disconnect () from /usr/lib/libxcb.so.1
(gdb) bt
  • #0 xcb_disconnect
    from /usr/lib/libxcb.so.1
  • #1 XCloseDisplay
    from /usr/lib/libX11.so.6
  • #2 gst_vdp_device_finalize
    at gstvdpdevice.c line 191
  • #3 IA__g_object_unref
    at /tmp/buildd/glib2.0-2.24.1/gobject/gobject.c line 2484
  • #4 gst_vdp_device_new
    at gstvdpdevice.c line 166
  • #5 gst_vdp_get_device
    at gstvdpdevice.c line 308
  • #6 gst_vdp_sink_open_device
    at gstvdpsink.c line 589
  • #7 gst_vdp_sink_start
    at gstvdpsink.c line 631
  • #8 gst_base_sink_change_state
    at gstbasesink.c line 4797
  • #9 gst_element_change_state
    at gstelement.c line 2546
  • #10 gst_element_set_state_func
    at gstelement.c line 2502
  • #11 test_state_changes_up_and_down_seq
    at generic/states.c line 120
  • #12 tcase_run_tfun_nofork
    at check_run.c line 314
  • #13 srunner_iterate_tcase_tfuns
    at check_run.c line 181
  • #14 srunner_run_tcase
    at check_run.c line 302
  • #15 srunner_iterate_suites
    at check_run.c line 150
  • #16 srunner_run_all
    at check_run.c line 561
  • #17 gst_check_run_suite
    at gstcheck.c line 582
  • #18 main
    at generic/states.c line 238

Comment 1 Tim-Philipp Müller 2010-08-06 10:27:09 UTC
commit b6f22c519dc018943ed924e1fdbd7405206479cc
Author: Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com>
Date:   Fri Aug 6 12:14:04 2010 +0200

    vdpau: fix destruction of GstVdpDevice when it failed to open
    
    only close display in finalize and check if vdp_decoder_destroy is available
    before we use it

commit 8996b80d62dd380990f284a0a73db5c7f280185a
Author: Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com>
Date:   Thu Aug 5 23:55:00 2010 +0200

    vdpausink: use separate mutex for device locking
    
    we can't use GST_OBJECT_LOCK since that cause problems when we try to post
    errors, due to gst_element_post_message also taking the GST_OBJECT_LOCK