VLC crash when he open a file on a FTP Server

Bug #1011274 reported by Valentin Crone
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vlc (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

On Ubuntu 12.04 LTS (64bits), with VLC 2.0.1:
I go to my FTP Server (proftpd on Ubuntu 12.04 LTS 64bits) with nautilus (file manager), and open a file (Music or Video) with VLC.
VLC start without the file, he display not error message but he crash. (freeze, and impossible to close or use it, same with the command "killall vlc")
The FTP Server is on my local network (12mo/s), so it's not a bug of speed. (It works with totem media player)
After this, it's not possible to use VLC, a session restart is requiered.
I have tested on GNOME3 and Unity and I have the same result.

Revision history for this message
Rémi Denis-Courmont (rdenis) wrote :

Please use the crash reporter to report crashes. This bug report is not exploitable as it lacks a stack trace of the claimed crash.

Changed in vlc (Ubuntu):
status: New → Incomplete
Revision history for this message
Valentin Crone (va-crone) wrote :

The crash reporter (aport) does not start.
Now, VLC hide his Window, but he his always on the system monitor, but it's impossible to kill it. (same as root)

Revision history for this message
Valentin Crone (va-crone) wrote :

He appears to be minimized (cf: attachement) but the icon is Freezed.
I have not a bug report because the crash reporter does not starts → VLC is always started, it is not considered as crashed by the system.
But it is not usable and not killable, it is freezed on the system tray.

Revision history for this message
Bryce Harrington (bryce) wrote :

It is required to provide a full stack trace when reporting crash bugs. If apport isn't collecting it for you, you'll need to collect it manually using gdb. Be sure to install debug versions of any dependencies in order to get complete symbol definitions in the trace.

Also, sometimes it helps to have an example file that causes the crash, if you are legally permitted to redistribute it.

Changed in vlc (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Valentin Crone (va-crone) wrote :
Download full text (4.2 KiB)

All file create a bug by FTP.
I open a FTP connexion with nautilus (GNOME3) and vlc crash to play a file.

I have now tested on KDE with ftp on Dolphin, il not crash, but, dosn't work, VLC not ask the FTP password to access to the server so the connexion is closed by the server.

Debug:
gdb vlc
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 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://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/vlc...Reading symbols from /usr/lib/debug/usr/bin/vlc...done.
done.
(gdb) start
Temporary breakpoint 1 at 0x401010: file vlc.c, line 97.
Starting program: /usr/bin/vlc
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Temporary breakpoint 1, main (i_argc=1, ppsz_argv=0x7fffffffe2c8) at vlc.c:97
97 vlc.c: Aucun fichier ou dossier de ce type.
(gdb) continue
Continuing.
VLC media player 2.0.1 Twoflower (revision 2.0.1-0-gf432547)
[0x6357d8] dbus interface: listening on dbus as: org.mpris.MediaPlayer2.vlc
[New Thread 0x7ffff7f40700 (LWP 5480)]
[New Thread 0x7fffec90d700 (LWP 5481)]
[0x605108] main libvlc: Lancement de vlc avec l'interface par défaut. Utilisez « cvlc » pour démarrer VLC sans interface.
[New Thread 0x7fffe96fa700 (LWP 5482)]
[New Thread 0x7fffd4483700 (LWP 5483)]
[New Thread 0x7fffd3c82700 (LWP 5484)]
[New Thread 0x7fffd2811700 (LWP 5485)]
"sni-qt/5475" WARN 14:40:30.308 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
[Thread 0x7fffd2811700 (LWP 5485) exited]
[New Thread 0x7fffd2811700 (LWP 5928)]
[New Thread 0x7fffc293a700 (LWP 5930)]
[New Thread 0x7fffc2839700 (LWP 5931)]
[New Thread 0x7fffc2738700 (LWP 5932)]
[Thread 0x7fffc293a700 (LWP 5930) exited]
[Thread 0x7fffc2738700 (LWP 5932) exited]
[0x7fffb4001588] access_ftp access error: password rejected
[0x7fffe0000b78] main input error: open of `ftp://valentin@servername/Elements3/Musique/Musique/file.mp3' failed
[Thread 0x7fffc2839700 (LWP 5931) exited]
[New Thread 0x7fffc2839700 (LWP 5937)]
[New Thread 0x7fffc2738700 (LWP 5938)]
[0x7fffb8004e38] filesystem access error: failed to read (Operation not supported)
[New Thread 0x7fffc293a700 (LWP 5943)]
[Thread 0x7fffc2839700 (LWP 5937) exited]
[0x7fffb80050d8] es demux error: cannot peek
[0x7fffb80050d8] es demux error: cannot peek
[0x7fffb80050d8] es demux error: cannot peek
[0x7fffb80050d8] es demux error: cannot peek
[Thread 0x7fffc293a700 (LWP 5943) exited]
[0x7fffb80050d8] ps demux error: cannot peek
[0x7fffb80050d8] mpgv demux error: cannot peek
[0x7fffb80050d8] mjpeg demux error: cannot peek
[0x7fffb80050d8] ps demux error: cannot peek
[0x7fffe00062d8] main input error: no suitable demux module for `file/:///home/valentin/.gvfs/FTP%20sur%20servername%20en%20tant%20que%20valentin/Elements3/Musique/Musique/file.mp3'
[T...

Read more...

Revision history for this message
Rémi Denis-Courmont (rdenis) wrote :

Without stacktrace and very incomplete logs, I can only guess what happens:
GNOME does not tell VLC to open a FTP URL, but a regular file. The file is actually inside a FUSE mount point with a GVFS backend. Then somehow, reading the file blocks. Since reading from a regular file is a non-blocking operation, VLC goes to uninterruptible sleep (a.k.a. "D" state) and cannot be killed.

The thing is though, that VLC filesystem plugin is probably working fine. It is most certainly the GVFS backend that fails to deliver data and causes VLC to freeze.

Changed in vlc (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Valentin Crone (va-crone) wrote :

But totem or dragon-player works correctly with GVFS, only VLC have a problem.

On debug bt = "No Stack."
But VLC is unusable after this bug.
→ On debug the program have not the same reaction of the release.

Have you trying to open a file by FTP with VLC? With nautilus?
If you try, you can see the problem.
You can try with totem and you can see it works.

VLC have the fonction "FTP" but how to use it? With the adress it's not possible (Who know the exact adress?) and my password doesn"t work.
With nautilus, the easy method: VLC crashe....

My Password containt special chars, I test with an other user, with a simple password (Test1234).
The result is the same..

How to get the détail log/debug?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.