Page 1 of 1

VLC 2.1.0-rc1 errors then desktop freezes

Posted: 07 Sep 2013 00:48
by artbio
I am getting an error from VLC (2.1.0-rc1) every time I press the stop button while playing a video file. Right after this my desktop freezes for several seconds.

This is the output:
[0x901c88] main playlist debug: incoming request - stopping current input
[0x7f0d0c003b68] main input debug: control: stopping input
[0x901c88] main playlist debug: incoming request - stopping current input
[0x901c88] main playlist debug: finished input
[0x7f0d04d49c38] main decoder debug: removing module "avcodec"
[0x7f0d04d49c38] avcodec decoder debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
[0x7f0d04d49c38] main decoder debug: killing decoder fourcc `h264', 0 PES in FIFO
[0x901c88] main playlist debug: saving a free vout
[0x901c88] main playlist debug: reusing provided vout
[0x7f0d04c5ca78] main decoder debug: removing module "dts"
[0x7f0d04c5ca78] main decoder debug: killing decoder fourcc `dts ', 0 PES in FIFO
[0x7f0d04c01658] main demux debug: removing module "mkv"
[0x7f0d0c003b68] main input debug: Program doesn't contain anymore ES
[0x7f0d04c01658] mkv demux debug: Stopping the UI Hook
[0x7f0d04001258] main access debug: removing module "filesystem"
[0x901c88] main playlist debug: incoming request - stopping current input
[0x901c88] main playlist debug: dead input
[0x7f0cf83f3198] main video output debug: destroying useless vout
[0x7f0ce0011bf8] main blend debug: removing module "blend"
[0x7f0ce0001248] main vout display debug: removing module "xcb_xv"
[0x7f0ce0004318] dbus_screensaver inhibit debug: got cookie 772774605
[0x7f0ce0004318] main inhibit debug: removing module "dbus_screensaver"
[0x7f0ce00040a8] qt4 window debug: releasing video...
[0x9bb638] qt4 interface debug: IM: Deleting the input
[0x9bb638] qt4 interface debug: Video is not needed anymore
[0x7f0cf83f3e48] main spu text debug: removing module "freetype"
[0x7f0cf841e0f8] main scale debug: removing module "yuvp"
[0x7f0cf8400e98] main scale debug: removing module "swscale"

(vlc:5958): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
The error always comes after 'removing module "swscale"'!

Is this related to ffmpeg? I am using ffmpeg 2.0.1.

Re: VLC 2.1.0-rc1 errors then desktop freezes

Posted: 07 Sep 2013 03:24
by artbio
Tried to compile VLC 2.1.0-rc1 against ffmpeg 1.2.3 and got this result:
[0x180cc88] main playlist debug: incoming request - stopping current input
[0x7f7d14000f68] main input debug: control: stopping input
[0x7f7cf4001248] main vout display debug: auto hiding mouse cursor
[0x180cc88] main playlist debug: incoming request - stopping current input
[0x180cc88] main playlist debug: finished input
[0x7f7d0cd22268] main decoder debug: removing module "avcodec"
[0x7f7d0cd22268] avcodec decoder debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
[0x7f7d0cd22268] main decoder debug: killing decoder fourcc `h264', 0 PES in FIFO
[0x180cc88] main playlist debug: saving a free vout
[0x180cc88] main playlist debug: reusing provided vout
[0x7f7d0cd0cfd8] main decoder debug: removing module "dts"
[0x7f7d0cd0cfd8] main decoder debug: killing decoder fourcc `dts ', 0 PES in FIFO
[0x7f7d0cd0dc88] main decoder debug: removing module "subsdec"
[0x7f7d0cd0dc88] main decoder debug: killing decoder fourcc `subt', 0 PES in FIFO
[0x7f7d0cc01828] main demux debug: removing module "mkv"
[0x7f7d14000f68] main input debug: Program doesn't contain anymore ES
[0x7f7d0cc01828] mkv demux debug: Stopping the UI Hook
[0x7f7d0c001158] main access debug: removing module "filesystem"
[0x180cc88] main playlist debug: incoming request - stopping current input
[0x180cc88] main playlist debug: dead input
[0x7f7d006012a8] main video output debug: destroying useless vout
[0x7f7cf4011208] main blend debug: removing module "blend"
[0x7f7cf4001248] main vout display debug: removing module "xcb_xv"
[0x18c66c8] qt4 interface debug: IM: Deleting the input
[0x7f7cf4004318] dbus_screensaver inhibit debug: got cookie 1783811032
[0x7f7cf4004318] main inhibit debug: removing module "dbus_screensaver"
[0x7f7cf40040a8] qt4 window debug: releasing video...
[0x18c66c8] qt4 interface debug: Video is not needed anymore
[0x7f7d00602698] main spu text debug: removing module "freetype"
[0x7f7d0062ccc8] main scale debug: removing module "yuvp"
[0x7f7d0060fde8] main scale debug: removing module "swscale"
[0x18cf8a8] pulse audio output debug: changing sink 2: alsa_output.pci-0000_00_1b.0.iec958-dts-surround-51 (Built-in Audio Digital Surround 5.1 (IEC958/DTS))

(vlc:11704): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

Re: VLC 2.1.0-rc1 errors then desktop freezes

Posted: 07 Sep 2013 08:23
by Rémi Denis-Courmont
I'd rather guess something is wrong with some component in your desktop environment. It's impossible to say what the problem is just the VLC logs.

Re: VLC 2.1.0-rc1 errors then desktop freezes

Posted: 07 Sep 2013 19:25
by artbio
I remember not having this issue with VLC 2.1.0-rc1! Then I applied the patch mentioned on this ticket https://trac.videolan.org/vlc/ticket/9118 I also updated NVIDIA graphics drivers. So one of these is to blame.
The patch makes VLC interact with the desktop. So as I see, it is the main suspect! BTW VLC 2.0.8 is working fine.

Re: VLC 2.1.0-rc1 errors then desktop freezes

Posted: 09 Sep 2013 00:26
by artbio
Tried removing the patch from here https://trac.videolan.org/vlc/ticket/9118 Then recompiled and reinstaled VLC. This problem doesn't happen anymore! So I guess VLC is doing something wrong to the GNOME screensaver (when removing the module) that makes this happen.

Re: VLC 2.1.0-rc1 errors then desktop freezes

Posted: 13 Sep 2013 18:06
by Rémi Denis-Courmont
No, that is a bug in the GNOME screensaver.

Re: VLC 2.1.0-rc1 errors then desktop freezes

Posted: 13 Sep 2013 20:39
by artbio
Then I will try Ubuntu 13.10 when it is released in about a month. Since GNOME will be upgraded to version 3.8 from version 3.6 (the version in Ubuntu 13.04). This might work with the newer release. If it doens't then I will report this issue to Ubuntu's launchpad.

BTW thanks for all the work you have been doing with VLC. And for paying attention to our questions here on the forum. I also should thank all the other members of the community involved in the project.