Ticket #1598 (closed defect: fixed)

Opened 3 months ago

Last modified 1 month ago

Windows never quits on exit when in 'one instance' mode

Reported by: Valery_Kondakoff Assigned to: courmisch
Priority: normal Milestone: 0.9.0-test4
Component: LibVLC Version: master
Severity: normal Keywords: moreinfo
Cc: courmisch Platform(s): Win32
Difficulty: unknown Work status: Not started

Description

I'm receiving the runtime error ('terminate it in unusual way') on VLC shutdown both on WinXP and Vista when 'Allow only one instance' checkbox is enabled in Preferences ( vlc-0.9.0-git-20080528-0436-win32.exe ). If this checkbox is not checked VLC quits without errors.

The latest ( vlc-0.9.0-git-20080529-0003-win32.exe ) nightly build does not fire runtime error when shutting down with 'Allow only one instance' enabled. When you try to close it, VLC disappears from the screen, but the process silently stays in a task manager list and the process usage loads to around 50%. If you disable 'Allow only one instance' checkbox VLC is shutting down without problems. (WinXP Pro SP2, Vista Home Premium).

Change History

05/30/08 20:39:21 changed by Valery_Kondakoff

The build vlc-0.9.0-git-20080530-0655-win32.exe does not crash on exit. It disappears from the screen but stays in an active processes list in task manager whether the 'Allow only one instance' checkbox is ticked or not. The CPU usage does not increase when exitting VLC.

05/30/08 21:10:07 changed by jb

This should be fixed tomorrow.

05/31/08 00:56:46 changed by Valery_Kondakoff

JFYI: the build vlc-0.9.0-git-20080531-0003-win32.exe exits without problem if 'Allow only one instance' checkbox is not ticked and fires the runtime error ('terminate it in unusual way') on VLC shutdown if 'Allow only one instance' is checked.

05/31/08 01:23:57 changed by jb

  • component changed from Interfaces to LibVLC.
  • summary changed from VLC nightly (0.9.0) crashes/hangs on exit when 'Allow only one instance' checkbox is enabled to Windows builds crashes on exit when in 'one instance' mode.
  • platform changed from all to Win32.
  • version set to master.
  • milestone set to 0.9.0 bugs.
  • owner deleted.

05/31/08 01:24:20 changed by jb

This behaviour was a bit more expected, yes.

08/02/08 02:11:26 changed by jb

  • cc set to courmisch.
  • summary changed from Windows builds crashes on exit when in 'one instance' mode to Windows never quits on exit when in 'one instance' mode.
  • milestone changed from 0.9.0 bugs to 0.9.0-test3.

08/02/08 12:41:57 changed by courmisch

The Win32-specific IPC helper thread is never joined. No wonder VLC gets stuck (I wonder how this avodied crashing in previous versions).

08/02/08 15:57:36 changed by courmisch

  • status changed from new to assigned.
  • owner set to courmisch.

08/02/08 16:03:42 changed by courmisch

  • status changed from assigned to closed.
  • resolution set to fixed.

08/03/08 21:57:31 changed by trax

  • status changed from closed to reopened.
  • resolution deleted.

I trac'd it as #1806 but reopened this one as this was the active ticket. It is still an issue with current trunk.

08/07/08 19:22:49 changed by courmisch

  • keywords set to moreinfo.

Which threads are dangling?

08/07/08 19:22:56 changed by courmisch

  • milestone changed from 0.9.0-test3 to 0.9.0-test4.

08/09/08 10:16:34 changed by courmisch

  • status changed from reopened to closed.
  • resolution set to fixed.