Segfault core dump over innocently missing GLX

*nix specific usage questions
DebianCoder
New Cone
New Cone
Posts: 3
Joined: 04 Aug 2007 11:01

Segfault core dump over innocently missing GLX

Postby DebianCoder » 04 Aug 2007 11:33

The recent and buggy 1.0.96xx nVidia driver only works with GLX disabled. See my report:
http://www.nvnews.net/vbulletin/showthr ... 332&page=8

Now while X.org works that way, without GLX, VLC and mplayer crash hunting for OpenGL viz plugin support. At least that is my impression.

I could remove OpenGL stuff from VLC by compiling it myself. But shouldn't there be a dynamic command line switch for that, too? Anyway, no reason to crash over missing OpenGL. Even if I needed that somehow for video, I should still be able to play audio files.

This is an extremely fresh Debian Etch++ system with GNOME just installed today, kernel 2.6.20.15 and 2.6.22.1 both producing the same result. VLC from Debian 'unstable' repos.

VLC version 0.8.6c Janus
Compiled by sam [snip]
Compiler: gcc version 4.1.3 20070429 (prerelease) (Debian 4.1.2-6)

Here is a stack trace.

(no debugging symbols found)
Core was generated by `vlc'.
Program terminated with signal 11, Segmentation fault.
#0 0x40d8a398 in ?? ()
(gdb) where
#0 0x40d8a398 in ?? ()
#1 0xb7c7158a in ?? () from /lib/libc.so.6
#2 0xb7d8fb60 in ?? () from /lib/libc.so.6
#3 0xb7cb2c7b in ?? () from /lib/libc.so.6
#4 0xb7d8eff4 in ?? () from /lib/libc.so.6
#5 0xb7d90120 in ?? () from /lib/libc.so.6
#6 0x000005d8 in ?? ()
#7 0xbfcc3f10 in ?? ()
#8 0xb7cb790e in malloc () from /lib/libc.so.6
#9 0xb7c70463 in dcgettext () from /lib/libc.so.6
#10 0xb5a0f577 in vlc_entry__0_8_6 () from /usr/lib/vlc/video_output/libopengl_plugin.so
#11 0xb5a119a6 in ?? () from /usr/lib/vlc/video_output/libopengl_plugin.so
#12 0x00000005 in ?? ()
#13 0xb7f31260 in _rtld_global () from /lib/ld-linux.so.2
#14 0x00000806 in ?? ()
#15 0x080ed418 in ?? ()
#16 0xb7f31260 in _rtld_global () from /lib/ld-linux.so.2
#17 0x080ead78 in ?? ()
#18 0xb7ef7218 in ?? () from /usr/lib/libvlc.so.0
#19 0xb7e9edca in ?? () from /usr/lib/libvlc.so.0
#20 0xb5a0f455 in vlc_entry__0_8_6 () from /usr/lib/vlc/video_output/libopengl_plugin.so
#21 0xb7ef7218 in ?? () from /usr/lib/libvlc.so.0
#22 0xb5a0f440 in ?? () from /usr/lib/vlc/video_output/libopengl_plugin.so
#23 0x080ec970 in ?? ()
#24 0xb7e9edd9 in ?? () from /usr/lib/libvlc.so.0
#25 0x080ec970 in ?? ()
#26 0xb7ef7218 in ?? () from /usr/lib/libvlc.so.0
#27 0x00000028 in ?? ()
#28 0x00000000 in ?? ()

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: Segfault core dump over innocently missing GLX

Postby funman » 06 Aug 2007 10:13

to avoid the crash, just don't use opengl output in vlc

you can use X11 if XVideo doesn't work with a compositing manager

DebianCoder
New Cone
New Cone
Posts: 3
Joined: 04 Aug 2007 11:01

Re: Segfault core dump over innocently missing GLX

Postby DebianCoder » 07 Aug 2007 10:41

to avoid the crash, just don't use opengl output in vlc
you can use X11 if XVideo doesn't work with a compositing manager
The crash happens at launch. I mean just opening the program without any file. This is VLC checking its plugins list, I think. Is there any option to tell VLC to ignore OpenGL or video in general? The only thing I found in the docs was to recompile with OpenGL disabled but that is a pain.

This is X11 by the way...

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: Segfault core dump over innocently missing GLX

Postby funman » 07 Aug 2007 18:26

you can delete the plugin, /usr/lib/vlc/video_output/libopengl_plugin.so

DebianCoder
New Cone
New Cone
Posts: 3
Joined: 04 Aug 2007 11:01

Re: Segfault core dump over innocently missing GLX

Postby DebianCoder » 08 Aug 2007 02:10

That did it. VLC works now. There were two libraries, one for glx and one for opengl. I moved them both out of VLC's folder into a holding area until nVidia fixes their driver and I can re-enable GLX.

So, thank you for prompt and kind help. I suggest error checking during plug-in loads.

Thank you!


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 9 guests