Comment 3 for bug 1374965

Revision history for this message
Jay Foster (jayf0ster) wrote :

The bug appears to be a crash when unloading the vdpau library, either via a dl_close() or dl_fini() call. It also affects any application using the vdpau library, such as mplayer and mythfrontend.

A backtrace from mythfrontend follows:
mythfrontend crash details:
*** Error in `/usr/bin/mythfrontend.real': free(): invalid pointer: 0x00007ffe734bc623 ***

Program received signal SIGABRT, Aborted.
0x00007ffff3352bb9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff3352bb9 in __GI_raise (sig=sig@entry=6)
   at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff3355fc8 in __GI_abort () at abort.c:89
#2 0x00007ffff338fe14 in __libc_message (do_abort=do_abort@entry=1,
   fmt=fmt@entry=0x7ffff349e668 "*** Error in `%s': %s: 0x%s ***\n")
   at ../sysdeps/posix/libc_fatal.c:175
#3 0x00007ffff339c0ee in malloc_printerr (ptr=<optimized out>,
   str=0x7ffff349a759 "free(): invalid pointer", action=1) at malloc.c:4996
#4 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3840
#5 0x00007ffe73460fb2 in ?? () from /usr/lib/vdpau/libvdpau_nvidia.so.1
#6 0x00007ffe73433f3c in ?? () from /usr/lib/vdpau/libvdpau_nvidia.so.1
#7 0x00007ffff7dea758 in _dl_fini () at dl-fini.c:257
#8 0x00007ffff3358149 in __run_exit_handlers (status=0, listp=0x7ffff36db6c8 <__exit_funcs>,
   run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#9 0x00007ffff3358195 in __GI_exit (status=<optimized out>) at exit.c:104
#10 0x00007ffff333decc in __libc_start_main (main=0x451ca4 <main(int, char**)>, argc=1,
   argv=0x7fffffffe238, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
   stack_end=0x7fffffffe228) at libc-start.c:321
#11 0x0000000000448079 in _start ()
(gdb)

I have observed the same with mplayer. nvidia-settings crashes in a call to dl_close().