[ros-bugs] [Bug 821] vlc crash ros
ReactOS.Bugzilla at www.reactos.org
ReactOS.Bugzilla at www.reactos.org
Sun Sep 2 18:11:01 CEST 2007
http://www.reactos.org/bugzilla/show_bug.cgi?id=821
--- Comment #9 from j_anderw <johannes.anderwald at student.tugraz.at> 2007-09-02 18:11:00 CET ---
Created an attachment (id=1870)
--> (http://www.reactos.org/bugzilla/attachment.cgi?id=1870)
fixes the msvcrt exception (lib/sdk/crt/misc/getargs.c)
Hi!
vlc crashes on ReactOS because it first calls _getmainargs. This function sets
the __argc to 1. Afterwards vlc calls again __wgetmainargs where __argc is now
one. When entering the function _wadd, it doesnot allocate the __wargv because
__argc is 1. Therefore it crashes. The above patch fixes this problem. We need
to audit the file (lib/sdk/crt/misc/getargs.c) before we can apply this patch.
After applying this patch, vlc crashes in ntoskrnl.exe with:
-----------------------------------------------------------------------------
(ntoskrnl\ob\obhandle.c:2043) Leaking 1 handles!
(dll\win32\user32\windows\bitmap.c:775) FIXME: CopyImage doesn't support
IMAGE_ICON correctly!
(dll\ntdll\ldr\utils.c:2092) Relocating (6a940000 -> 00F05000) C:\Program
Files\VideoLAN\VLC\plugins\libaccess_mms_plugin.dll
(dll\ntdll\ldr\utils.c:2092) Relocating (65d80000 -> 00421000) C:\Program
Files\VideoLAN\VLC\plugins\libaccess_smb_plugin.dll
(dll\ntdll\ldr\utils.c:2092) Relocating (62400000 -> 00431000) C:\Program
Files\VideoLAN\VLC\plugins\libbandlimited_resampler_plugin.dll
Assertion '(NewValue & FREE_HANDLE_MASK) < HandleTable->NextHandleNeedingPool'
failed at ntoskrnl\ex\handle.c line 760
*** Fatal System Error: 0x0000001e
(0x80000003,0x808949F2,0xA2E16AD0,0x00000000)
--------------------------------------------------------------------------------
--
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Ros-bugs
mailing list