[ros-bugs] [Bug 3543] Cmd crashes in LibWine's debug function

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Mon Jul 21 19:29:15 CEST 2008


http://www.reactos.org/bugzilla/show_bug.cgi?id=3543





--- Comment #1 from Goplat <mrnobo1024 at yahoo.com>  2008-07-21 19:29:15 CET ---
When I run about 70 nested cmds, I start getting various bizarre errors,
including this:

  fixme:(lib\sdk\crt\stdio\file.c:1791) fd (0) mode (0x01c8eb58) unknown
  fixme:(lib\sdk\crt\stdio\file.c:1791) fd (1) mode (0x01c8eb58) unknown
  fixme:(lib\sdk\crt\stdio\file.c:1791) fd (2) mode (0x01c8eb58) unknown

This happens during the "_setmode (_fileno (stdin), _CRT_fmode);" calls in
wcrt1.c - but _CRT_fmode is zero and cmd never changes it. This shows that .bss
is somehow not being zero initialized, which could cause all sorts of problems.
It certainly could make libwine's realloc call fail (since the "static char
*list[32]" array wouldn't start out containing NULLs like it's supposed to),
and it would also explain that "block is not inside heap" message.


-- 
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.


More information about the Ros-bugs mailing list