Bug#599329: Somewhat useful backtrace

Anthony DeRobertis anthony at derobert.net
Tue Mar 29 19:42:55 UTC 2011


Package: libva-x11-1
Version: 1.0.8-3
Severity: normal

I rebuilt vdpau-video-0.7.2 with noopt,nostrip to get a more useful
backtrace. It ignored noopt, but did manage to not strip.

Will try and fix that problem and followup again.

anthony at Zia:~$ gdb vainfo
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/vainfo...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/vainfo 
[Thread debugging using libthread_db enabled]
libva: libva version 0.31.1
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/nvidia_drv_video.so

Program received signal SIGSEGV, Segmentation fault.
XDisplayString (dpy=0x0) at ../../src/Macros.c:118
118     ../../src/Macros.c: No such file or directory.
        in ../../src/Macros.c
(gdb) bt
#0  XDisplayString (dpy=0x0) at ../../src/Macros.c:118
#1  0x00007ffff5e92e62 in vdpau_common_Initialize (driver_data=0x611b90) at vdpau_driver.c:181
#2  0x00007ffff5e937c3 in vdpau_Initialize_0_31_1 (ctx=0x60eb40) at vdpau_driver_template.h:534
#3  __vaDriverInit_0_31 (ctx=0x60eb40) at vdpau_driver.c:291
#4  0x00007ffff7bba242 in vaInitialize () from /usr/lib/libva.so.1
#5  0x0000000000400a92 in ?? ()
#6  0x00007ffff7330c4d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, 
    ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fffffffe0d8) at libc-start.c:228
#7  0x0000000000400959 in ?? ()
#8  0x00007fffffffe0d8 in ?? ()
#9  0x000000000000001c in ?? ()
#10 0x0000000000000001 in ?? ()
#11 0x00007fffffffe435 in ?? ()
#12 0x0000000000000000 in ?? ()

(gdb) up
#1  0x00007ffff5e92e62 in vdpau_common_Initialize (driver_data=0x611b90) at vdpau_driver.c:181
181         const char * const x11_dpy_name = XDisplayString(driver_data->x11_dpy);
(gdb) info locals
x11_dpy_name = <value optimized out>
vdp_status = <value optimized out>
__PRETTY_FUNCTION__ = "vdpau_common_Initialize"
api_version = <value optimized out>
impl_string = <value optimized out>
(gdb) l
176     // vaInitialize
177     static VAStatus
178     vdpau_common_Initialize(vdpau_driver_data_t *driver_data)
179     {
180         /* Create a dedicated X11 display for VDPAU purposes */
181         const char * const x11_dpy_name = XDisplayString(driver_data->x11_dpy);
182         driver_data->vdp_dpy = XOpenDisplay(x11_dpy_name);
183         if (!driver_data->vdp_dpy)
184             return VA_STATUS_ERROR_UNKNOWN;
185
(gdb) info args
driver_data = 0x611b90
(gdb) p driver_data
$1 = (vdpau_driver_data_t *) 0x611b90
(gdb) p *driver_data
$2 = {va_context = 0x0, va_display_type = 0, config_heap = {object_size = 0, id_offset = 0, heap_index = 0x0, 
    next_free = 0, heap_size = 0, heap_increment = 0}, context_heap = {object_size = 0, id_offset = 0, 
    heap_index = 0x0, next_free = 0, heap_size = 0, heap_increment = 0}, surface_heap = {object_size = 0, 
    id_offset = 0, heap_index = 0x0, next_free = 0, heap_size = 0, heap_increment = 0}, glx_surface_heap = {
    object_size = 0, id_offset = 0, heap_index = 0x0, next_free = 0, heap_size = 0, heap_increment = 0}, 
  buffer_heap = {object_size = 0, id_offset = 0, heap_index = 0x0, next_free = 0, heap_size = 0, heap_increment = 0}, 
  output_heap = {object_size = 0, id_offset = 0, heap_index = 0x0, next_free = 0, heap_size = 0, heap_increment = 0}, 
  image_heap = {object_size = 0, id_offset = 0, heap_index = 0x0, next_free = 0, heap_size = 0, heap_increment = 0}, 
  subpicture_heap = {object_size = 0, id_offset = 0, heap_index = 0x0, next_free = 0, heap_size = 0, 
    heap_increment = 0}, mixer_heap = {object_size = 0, id_offset = 0, heap_index = 0x0, next_free = 0, heap_size = 0, 
    heap_increment = 0}, x11_dpy = 0x0, x11_screen = 6299664, vdp_dpy = 0x0, vdp_device = 0, vdp_get_proc_address = 0, 
  vdp_vtable = {vdp_device_destroy = 0, vdp_generate_csc_matrix = 0, vdp_video_surface_create = 0, 
    vdp_video_surface_destroy = 0, vdp_video_surface_get_bits_ycbcr = 0, vdp_video_surface_put_bits_ycbcr = 0, 
    vdp_output_surface_create = 0, vdp_output_surface_destroy = 0, vdp_output_surface_get_bits_native = 0, 
    vdp_output_surface_put_bits_native = 0, vdp_output_surface_render_bitmap_surface = 0, 
    vdp_output_surface_render_output_surface = 0, vdp_output_surface_query_put_bits_indexed_capabilities = 0, 
    vdp_output_surface_put_bits_indexed = 0, vdp_bitmap_surface_query_capabilities = 0, vdp_bitmap_surface_create = 0, 
    vdp_bitmap_surface_destroy = 0, vdp_bitmap_surface_put_bits_native = 0, vdp_video_mixer_create = 0, 
    vdp_video_mixer_destroy = 0, vdp_video_mixer_render = 0, vdp_video_mixer_query_feature_support = 0, 
    vdp_video_mixer_get_feature_enables = 0, vdp_video_mixer_set_feature_enables = 0, 
    vdp_video_mixer_query_attribute_support = 0, vdp_video_mixer_get_attribute_values = 0, 
    vdp_video_mixer_set_attribute_values = 0, vdp_presentation_queue_create = 0, vdp_presentation_queue_destroy = 0, 
    vdp_presentation_queue_set_background_color = 0, vdp_presentation_queue_get_background_color = 0, 
    vdp_presentation_queue_display = 0, vdp_presentation_queue_block_until_surface_idle = 0, 
    vdp_presentation_queue_query_surface_status = 0, vdp_presentation_queue_target_create_x11 = 0, 
    vdp_presentation_queue_target_destroy = 0, vdp_decoder_create = 0, vdp_decoder_destroy = 0, 
    vdp_decoder_render = 0, vdp_decoder_query_capabilities = 0, vdp_video_surface_query_ycbcr_caps = 0, 
    vdp_output_surface_query_rgba_caps = 0, vdp_get_api_version = 0, vdp_get_information_string = 0, 
    vdp_get_error_string = 0}, vdp_impl_type = 0, vdp_impl_version = 0, va_display_attrs = {{
      type = VADisplayAttribBrightness, min_value = 0, max_value = 0, value = 0, flags = 0}, {
      type = VADisplayAttribBrightness, min_value = 0, max_value = 0, value = 0, flags = 0}, {
      type = VADisplayAttribBrightness, min_value = 0, max_value = 0, value = 0, flags = 0}, {
      type = VADisplayAttribBrightness, min_value = 0, max_value = 0, value = 0, flags = 0}, {
      type = VADisplayAttribBrightness, min_value = 0, max_value = 0, value = 0, flags = 0}, {
      type = VADisplayAttribBrightness, min_value = 0, max_value = 0, value = 0, flags = 0}}, 
  va_display_attrs_mtime = {0, 0, 0, 0, 0, 0}, va_display_attrs_count = 0, va_vendor = '\000' <repeats 255 times

(gdb) p driver_data->x11_dpy
$3 = (Display *) 0x0




-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable'), (200, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libva-x11-1 depends on:
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib
ii  libdrm2                       2.4.23-0.0 Userspace interface to kernel DRM 
ii  libx11-6                      2:1.3.3-4  X11 client-side library
ii  libxext6                      2:1.1.2-1  X11 miscellaneous extension librar
ii  libxfixes3                    1:4.0.5-1  X11 miscellaneous 'fixes' extensio

libva-x11-1 recommends no packages.

libva-x11-1 suggests no packages.

-- no debconf information






More information about the pkg-multimedia-maintainers mailing list