Page 1 of 1

SIGSEGV at do_lookup_x

Posted: 13 Feb 2020 12:16
by Necktwi
I have iGPU intel UHD Graphics 630 and a dGPU Nvidia rtx 2060. I've merged vlc-3.0.8 on Gentoo. On running VLC, it segfaults. gdb reports the following

Code: Select all

$ gdb --args `which vlc` GNU gdb (Gentoo 8.3.1 vanilla) 8.3.1 Copyright (C) 2019 Free Software Foundation, Inc. ... Registered pretty printers for UE4 classes Reading symbols from /usr/bin/vlc... Reading symbols from /usr/lib/debug//usr/bin/vlc.debug... (gdb) run Starting program: /usr/bin/vlc [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7) Program received signal SIGSEGV, Segmentation fault. do_lookup_x ( undef_name=undef_name@entry=0x7ffff6ca18f8 "_ITM_deregisterTMCloneTable", new_hash=new_hash@entry=2247416213, old_hash=old_hash@entry=0x7fffffffc080, ref=0x7ffff6ca13d8, result=result@entry=0x7fffffffc090, scope=<optimized out>, i=0, version=0x0, flags=1, skip=0x0, type_class=4, undef_map=0x5555555ebfb0) at dl-lookup.c:350 350 const struct link_map *map = list[i]->l_real;
I have nvidia drivers merged, but I'm pci-passthrouging it to Windows Qemu. I believe I have to someway let know the VLC to use intel GPU and the monitor connected to the onboard HDMI port. If so, how can I do that?

Re: SIGSEGV at do_lookup_x

Posted: 13 Feb 2020 21:59
by Rémi Denis-Courmont
There's nothing special about VLC w.r.t. GPU selection. It just uses X11 and OpenGL like any other app.

Re: SIGSEGV at do_lookup_x

Posted: 14 Feb 2020 08:39
by Necktwi
why the segmentation fault? should I've to file a bug?

Re: SIGSEGV at do_lookup_x

Posted: 14 Feb 2020 14:44
by InTheWings
thread all apply bt

Re: SIGSEGV at do_lookup_x

Posted: 15 Feb 2020 09:59
by Necktwi
there is no build log other than

Code: Select all

$ vlc VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7) Segmentation fault
compiling vlc-9999 fails with following error

Code: Select all

hw/nvdec/nvdec_gl.c:190:24: error: ‘CudaFunctions’ {aka ‘struct CudaFunctions’} has no member named ‘cuCtxGetDevice’
complete build log:

Code: Select all

$ split -b 23k /var/tmp/portage/media-video/vlc-9999/temp/build.log build.log;fs=(build.log*);tot=${#fs[@]};i=0;for f in ${fs[@]}; do if [ $i -lt 3 ] || [ $i -gt $(( $tot - 3 )) ]; then wgetpaste -s dpaste $f; echo ""; fi; i=$(( $i + 1 )); done;rm -f build.log* Your paste can be seen here: http://dpaste.com/3QMM0JG Your paste can be seen here: http://dpaste.com/0FS156W Your paste can be seen here: http://dpaste.com/2J1A8KK Your paste can be seen here: http://dpaste.com/39VB83Z Your paste can be seen here: http://dpaste.com/0G699GE