Re: FILESYS exception with hive registry in 4.2

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



It appears that urlmon is passing -1 to RegCloseKey. Inside the hive
registry code in filesys.exe, bad parameters (other than NULL) are caught
using exception handling. So, this exception is handled inside filesys.exe
and RegCloseKey returns failure. Technically, ulrmon should not be
passing -1 to RegCloseKey, but the failure is completely benign.

--
Andrew Rogers
Microsoft Windows CE Core OS

___________________________________________________________
To reply directly, remove "online" from my email address.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Joseph Garibaldi" <jsph_garibaldi@xxxxxxxxx> wrote in message
news:OasYnGRbFHA.3328@xxxxxxxxxxxxxxxxxxxxxxx
> hi all,
>
> i am currently trying out hive based registry (in WinCE 4.2) and i am
> facing a peculiar problem now (on bootups with hive). System bootup
> happens fine.
>
> when i try to open IE (am just taking a very consistent example..happens
> with other applications like ceplayer as well), i get one exception (only
> one .. after which the system/application works fine) from filesys as
> follows :
>
> 0x87d24b38: Exception 004 Thread=87d24b38 Proc=a7fb526a
> 0x87d24b38: AKY=00000043 PC=00031470 RA=00035160 BVA=ffffffff
> 0x87d24b38: Process 'filesys.exe'
>
> and the call stack is:
>
> Call Stack: iesample.exe: 0x47CFF982 22:07:10 06/09/2005 India Standard
> Time
> FILESYS!HivesFromHKEY(HKEY__ * 0xffffffff, long * 0x0e0ace98) line 131
> + 16 bytes
> FILESYS!prgRegFlushKey(HKEY__ * 0xffffffff) line 1277 + 16 bytes
> FILESYS!prgRegCloseKey(HKEY__ * 0xffffffff) line 2130 + 12 bytes
> NK!NKRegCloseKey(HKEY__ * 0xffffffff) line 3287 + 24 bytes
> COREDLL!xxx_RegCloseKey(HKEY__ * 0xffffffff) line 21 + 88 bytes
> URLMON!GetUserAgentString(void) line 2835
> URLMON!CINet::GetUserAgentString(void) line 3291 + 8 bytes
> URLMON!CINet::INetAsyncOpen(void) line 1236 + 12 bytes
> URLMON!CINet::INetAsyncStart(void) line 1132 + 24 bytes
> URLMON!CINet::Start(unsigned short const *,struct IInternetProtocolSink
> *,struct IInternetBindInfo *,unsigned long,unsigned long) line 659 + 12
> bytes
> URLMON!COInetProt::Start(const unsigned short * 0x000463e0,
> IInternetProtocolSink * 0x00046530, IInternetBindInfo * 0x00046538,
> unsigned
> long 0x00000000, unsigned long 0x00000000, long 0x00000000) line 104 + 60
> bytes
> URLMON!CTransaction::Start(const unsigned short * 0x000463e0,
> IInternetProtocolSink * 0x00046298, IInternetBindInfo * 0x0004629c,
> unsigned
> long 0x02000330, unsigned long 0x00000000, unsigned long 0x00000003) line
> 2026 + 116 bytes
> URLMON!CBinding::StartBinding(const unsigned short * 0x0e0ad4c0,
> IBindCtx * 0x00045f30, const _GUID & {...}, int 0x00000001, unsigned short
> *
> * 0x0e0ae52c, void * * 0x0e0ae5cc, long 0x00000000) line 1022 + 136 bytes
> URLMON!CUrlMon::StartBinding(int 0x00000000, IBindCtx * 0x00000000,
> IMoniker * 0x00000000, const _GUID & {...}, void * * 0x00000000, CBSC *
> 0x00770077) line 291 + 96 bytes
> End Call Stack: iesample.exe: 0x47CFF982 22:07:10 06/09/2005 India
> Standard
> Time
>
> i am using a MIPS based platform. and the system is in full kernel mode.
> I
> have applied all QFEs (except the last on 6/6/2005). Anybody has any
> experience/idea with this?
>
>
> --
> cheers,
>
> Joseph Garibaldi.
> B'lore, India.
>
>


.



Relevant Pages

  • RE: Getting "Unhandled exception" error when running in IDE
    ... compare zero characters and see if the exception still occurs. ... away on the first or second character then make sure you are passing in the ... Like I said I have never used this string class so you know more than I do. ... > unhandled exception is occurring in a system header file associated with STL ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Socket.Send crashes phone
    ... Sorry, but the socket doesn't know what type of file you are sending, so ... binary files (images, video). ... - Catching the exception is impossible since the exception crashes the ... - I'm indeed passing a byteto Socket.Send ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: python 2.5 scripting in vim on windows: subprocess problem
    ... guess is that the handles that you are passing are not valid. ... try creating explicit handles that are valid (such as for ... Popen object, or when you try to read stdout? ... It throws exception on subprocess.Popen object instantiation. ...
    (comp.lang.python)
  • Re: C-style File Operations, C++ Streams, Exception Safety
    ... On windows you would probably get an exception from any function that can ... > 'char's before passing them to one of the ctype functions. ... > - You cannot register your own formatting routines with stdio. ... > often a good reason to abandon IOStreams. ...
    (comp.lang.cpp)