Ticket #1558 (new defect)

Opened 4 weeks ago

VLC 0.9.0-git-20080419-0003 shows C-runtime error message on exit

Reported by: martin.olsson Assigned to:
Priority: normal Milestone:
Component: LibVLC Version: master
Severity: normal Keywords:
Cc: Platform(s): all
Difficulty: unknown Work status: Not started

Description

Using "VLC 0.9.0-git-20080419-0003" running on a win2ksp4 box I get an error message every time I exit VLC, saying "Runtime Error! Program: C:\...\vlc.exe abnormal program termination". The error doesn't show up if I start VLC and quit before playing a movie, but it always shows up if I play a movie (any movie) in VLC.

If I break into windbg.exe at this point, the relevant thread has the following stacktrace:

0:006> ~0kb ChildEBP RetAddr? Args to Child 0022f750 77e33630 00000000 00000000 0000ffff USER32NtUserWaitMessage+0xb 0022f784 77e44327 005f02ba 00000000 00000001 USER32DialogBox2+0x216 0022f7a8 77e34139 77e10000 00253400 00000000 USER32InternalDialogBox+0xd1 0022fa60 77e344d5 00012010 0022fc00 ffffffff USER32SoftModalMessageBox+0x754 0022fba8 77e339cb 00000001 00000000 00000028 USER32MessageBoxWorker+0x247 0022fc00 77e34260 00000000 00240ad0 002353f0 USER32!MessageBoxExW+0x77 0022fc30 77e333fc 00000000 0022fdb0 78032e68 USER32!MessageBoxExA+0xa0 0022fc50 7800bec3 00000000 0022fdb0 78032e68 USER32!MessageBoxA+0x49 0022fc70 78007e22 0022fdb0 78032e68 00012010 msvcrt__crtMessageBoxA+0x81 0022fe50 78006955 0000000a 6a389497 6a4df060 msvcrt!_NMSG_WRITE+0x11f 0022fe58 6a389497 6a4df060 6a407cb0 00000161 msvcrt!abort+0x7 WARNING: Stack unwind information not available. Following frames may be wrong. 0022fe98 6a37a706 6a4df060 ffffffff 0022fed8 libvlc!_vlc_object_release+0x3f7 0022fea8 6a305893 6a4df060 0000043c 003fa5cc libvlc!_vlc_mutex_init+0xb6 0022fed8 6a302220 003f646c 00000000 01013fe0 libvlc!libvlc_InternalDestroy+0x193 0022fef8 004015a4 00000000 00000000 00000001 libvlc!VLC_Destroy+0x30 0022ff58 004010a7 004012f0 00401066 0022ff78 vlc+0x15a4 0022ffa0 00401123 00000002 00000000 00000000 vlc+0x10a7 0022ffc0 7c5989d5 00000000 00000000 7ffdf000 vlc+0x1123 0022fff0 00000000 00401110 00000000 000000c8 KERNEL32BaseProcessStart+0x3d