Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, August 15, 2008 9:46 AM
Hi All,
I am ripping my hair out trying to find out what it is I am doing wrong here. I created a windows service which does batchjobs of visiting web sites, crawling them, indexing them in a Lucene index and extracting pdfs with the Foxit iFilter and it is multi threaded. I have been loggin errors and it seems to crash after a UriFormatException, because in the database the url was misspelled. Now I do catch the exception and after receiving 15 or so in a row, the program just crashes and I get a Faulting application myApp bla bla bla faulting module ntdll.dll error. And for the life of me I can't seem to figure out why it does this. The program runs on a AMD 64 laptop with Windows Vista 32, don't ask.
Could this be and iFilter problem, a lucene problem or something along those lines. I checked and rechecked, and funny enough on my Desktop Machine it runs fine and I don't get that error.
Cheers
All replies (2)
Friday, August 15, 2008 7:18 PM âś…Answered
So guess what happened?
The machine had automatic updates switched off, I ran it and it found I don't know how many updates and after installing all of them my program runs fine...
Friday, August 15, 2008 1:39 PM | 1 vote
If you are getting a crash in ntdll.dll then it has nothing to do with the .NET code. It is an error in the native code. It could be any unmanaged code you are calling. You need to get a crash dump of the code and run it through WinDbg or VS to get a callstack to figure out where things are going wrong. The forums aren't going to be able to help you here since we know nothing about your code and, even if you posted it, we wouldn't be able to diagnose a random crash. I'm also going to recommend that you get the symbols for the OS so you can figure out which native function is failing. MSDN contains all the details on how to set up a symbol server with VS so you can grab them. Once you've gathered your information you can post back with the details and someone might be able to help you figure out what is going on.
Michael Taylor - 8/15/08
http://p3net.mvps.org