Page 1 of 1

VLC 1.0.5 32-bit with skin crashes on close from taskbar.

Posted: 07 Feb 2010 08:13
by chatbox
I'm running Windows Server 2003 Enterprise Edition 32bit with SP2.
Display driver nVidia 196.21
VLC 1.0.5
Skins: subX.vlt and Win_VLC_11.vlt

Without skin (i.e. native look), VLC doesn't crash on "Close" from the windows taskbar VLC app popup menu.

With skin, VLC would crash when I close it from the taskbar VLC app popup menu.

Is this happening to anyone else?

Re: VLC 1.0.5 32-bit with skin crashes on close from taskbar.

Posted: 08 Feb 2010 13:49
by Jo2003
I don't know if this is related, but maybe ...

I'm writing an Qt app which does rudimentary control the VLC player. The app doesn't that much with the player. It only starts it and closes it after some time. To close the player in Qt I use the command "QProcess::terminate" which sends on Windows a WM_CLOSE message to VLC-Player. In version 1.03 of the VLC-Player all works well. The Player closes as needed. With version 1.05 of the player, it crashes and doesn't close as needed. In stderr I see following output:
QEventDispatcherWin32::registerTimer: Failed to create a timer (Ungültiges Fensterhandle)
Since I have a german Windows, the log also tries german ... but it should look like this in english versions of Windows:
Ungültiges Fensterhandle = invalid window handle!

This log repeats ~100 times ... as long as I don't kill VLC-Player from the Task Manager.

This appears in WinXP 32 as well as in Windows Vista 64!

Best regards,
Jo2003

Re: VLC 1.0.5 32-bit with skin crashes on close from taskbar.

Posted: 09 Feb 2010 13:41
by VLC_help
Jo2003: it helps if you launch VLC without QT4 interface?

Re: VLC 1.0.5 32-bit with skin crashes on close from taskbar.

Posted: 09 Feb 2010 16:59
by Jo2003
If I start with interface option "vlc -I rc", I can close vlc with WM_CLOSE message. If I use no option (default Qt?) or skins2 option, vlc doesn't close on WM_CLOSE.

Re: VLC 1.0.5 32-bit with skin crashes on close from taskbar.

Posted: 14 Feb 2010 03:31
by Jean-Baptiste Kempf
Do you have the same in VLC 1.1 ?

Re: VLC 1.0.5 32-bit with skin crashes on close from taskbar.

Posted: 14 Feb 2010 13:08
by Jo2003
Sorry for the dump question: Where to get VLC 1.1? :oops:

Best regards,
Jo2003

Re: VLC 1.0.5 32-bit with skin crashes on close from taskbar.

Posted: 14 Feb 2010 19:32
by VLC_help
Where to get VLC 1.1?
http://nightlies.videolan.org/build/win32/?C=M;O=D trunk folders are 1.1.0

Re: VLC 1.0.5 32-bit with skin crashes on close from taskbar.

Posted: 14 Feb 2010 21:10
by Jo2003
It's the same for the 1.1 nightly builds (I tried with this build: vlc-1.1.0-git-20100129-1616-win32.exe). As soon as my program sends the WM_CLOSE message, VLC minimizes to tray ... and after that nothing works as expected. I can't close VLC anymore. Using Ctrl+Q or the close button from the title (system) menu - nothing works. Here you can download my tool. Using it will simply reproduce the behaviour. If you need more info how to use it, I'll tell you ;)

Best regards,
Jo2003

Re: VLC 1.0.5 32-bit with skin crashes on close from taskbar.

Posted: 15 Feb 2010 17:41
by VLC_help
Thanks. Ticket opened
trac.videolan.org/vlc/ticket/3300