Segfault when play vlc on Ubuntu 9.04 without GNOME desktop

*nix specific usage questions
maytime
New Cone
New Cone
Posts: 2
Joined: 23 Jan 2009 08:46

Segfault when play vlc on Ubuntu 9.04 without GNOME desktop

Postby maytime » 19 Oct 2009 13:52

Dear all,

I am a newbie to VLC and I really need your help.
My OS is Ubuntu 9.04 Jaunty. For some reason I have to play VLC(version 0.99a with Jaunty) only with X (without GNOME Desktop). That means I start VLC in console as follows:

#export DISPLAY=:0.0
#X&
#metacity&
#vlc


Then VLC starts as normal and it can play videos. But when I click the "close" button on the VLC video window, VLC will quit abnoramally and I can see "Segmentation fault" on the console output.

This will not happen when playing VLC with GNOME Desktop.

My questions is that how it happens? I did not have problems when start other players without GNOME Desktop.
Do I forget some important procedures to play vlc sucessfully with X?

It would be much appreciated if anybody can give me some clues or suggestions. Thanks for your patient.

Rémi Denis-Courmont
Developer
Developer
Posts: 15229
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Segfault when play vlc on Ubuntu 9.04 without GNOME desktop

Postby Rémi Denis-Courmont » 19 Oct 2009 17:54

The old VLC X11 plugins are slightly buggy. This was fixed in version 1.1.0.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

maytime
New Cone
New Cone
Posts: 2
Joined: 23 Jan 2009 08:46

Re: Segfault when play vlc on Ubuntu 9.04 without GNOME desktop

Postby maytime » 20 Oct 2009 10:32

The old VLC X11 plugins are slightly buggy. This was fixed in version 1.1.0.
Thanks for your suggestion!

I haven't try vlc 1.1.0 till now (I haven't download the sources yet for my network lag). But I thought I have spotted how the issue happened. That was caused by ALSA audio output. When VLC quits, the alsa audio output thread can't quit for some reason, cause errors when other related threads quit. If I change the audio output to oss, the segfault will never happened.

So the temporary method is to disable alsa and use another audio output driver. Though I still do not know 1) why alsa thread fails to quit 2)why it would never happen with GNOME desktop.

I will try vlc 1.1.0 later. Thanks again!

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: Segfault when play vlc on Ubuntu 9.04 without GNOME desktop

Postby xtophe » 20 Oct 2009 14:11

Before compiling 1.1.0, you might want to try a vlc 1.0.2 package from a PPA (c-korn, motumedia) or from karmic
Xtophe

ramstar
New Cone
New Cone
Posts: 2
Joined: 12 Nov 2009 08:31

Re: Segfault when play vlc on Ubuntu 9.04 without GNOME desktop

Postby ramstar » 12 Nov 2009 08:35

My vlc crashed suddenly and doesn't work at all. Everytime i invoke vlc in my ubuntu(9.10) it says segmentation fault and doesnt open. How do i get vlc running again.

ramstar
New Cone
New Cone
Posts: 2
Joined: 12 Nov 2009 08:31

Re: Segfault when play vlc on Ubuntu 9.04 without GNOME desktop

Postby ramstar » 12 Nov 2009 08:35

By the way i am using vlc1.0.02 from ubuntu repositories

Rémi Denis-Courmont
Developer
Developer
Posts: 15229
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Segfault when play vlc on Ubuntu 9.04 without GNOME desktop

Postby Rémi Denis-Courmont » 13 Nov 2009 17:44

The most common reason for immediate crashes are corrupt plugins in the plugins directory. Deinstall VLC, verify that /usr/lib/vlc does not exist anymore, reinstall VLC, and run:

Code: Select all

vlc --reset-config --reset-plugins-cache
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


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

Who is online

Users browsing this forum: No registered users and 13 guests