Application crashes (disappears) intermittently without leaving any trace/dump.

Posted on 2005-05-05
Last Modified: 2011-09-20
We have an application , which is primarily written in Java and C++. We sell 2 versions of our product one in Windows 2000 and the other in Windows 2003. We use JNI to talk to C++.  We also use SQL Server 2000.
Recently for our latest release we added a C# component and communicate with it within Java. We are using the .NET 1.1 framework.
Since we added the component we are seeing intermittent crashes of the product and there is no stack trace or dump left in most cases. The crashes even occur when the applicaiton is idle and in some cases when the application is started for the first time after reboot. Also in some cases the crashes occur in a few hours and in some cases in takes a week. (We have seen that it takes longer to crash on Windows 2000 than Windows 2003)

The some cases we see an error in the windows application log as follows :

"Faulting application java.exe, version, faulting module ntdll.dll, version 5.2.3790.0, fault address 0x00003847.
For more information, see Help and Support Center at"

And the worst thing about this is we rarely see this error in our testing machines here. Last week we were able to replicate it in some cases but we cannot find a well defined replication scenario. And this always occurs at all our customer sites.

This has become a very urgent issue for us as it is happening at the customer site. I would really appreciate if you could look inot this soon.

Best Regards,
Question by:sachindeshpande
    LVL 6

    Expert Comment

    I've actually run into this exact same problem, with the same type of application, but it's not java that crashes. It seems to have something to do with this:;en-us;837088

    The hotfix solved the issue for me, at least it hasn't happened again since.

    LVL 20

    Accepted Solution

    Attach the following files at any webspace. I will study your log and dumps.
    C:\Documents and Settings\All Users\Documents\DrWatson\user.dmp
    C:\Documents and Settings\All Users\Documents\DrWatson\drwtsn32.log

    Author Comment


    I have uploaded the log and dump files on our ftp site

    Site address :
    username : guest01
    password : timbre01

    LVL 20

    Expert Comment

    The java process encounter access violation (ie c0000005) at module mscorwks and the Java error handling encounter another abend STATUS_WAKE_SYSTEM_DEBUGGER (ie 80000007). In order to avoid recursive program loop within the recovery routine. Java process crashes immediately.

    EXCEPTION_RECORD:  1a41f750 -- (.exr 1a41f750)
    ExceptionAddress: 79248a40 (mscorwks!Thread::ReturnToContext+0x0000002d)
       ExceptionCode: c0000005 (Access violation)
      ExceptionFlags: 00000000
    NumberParameters: 2
       Parameter[0]: 00000000
       Parameter[1]: 000001ec
    Attempt to read from address 000001ec

    BUGCHECK_STR:  80000007
    PROCESS_NAME:  java.exe
    FAULTING_THREAD:  000008f4

    CONTEXT:  1a41f76c -- (.cxr 1a41f76c)
    eax=00000000 ebx=1a41fa68 ecx=1a41fa68 edx=00000004 esi=00166c50 edi=000bab38
    eip=79248a40 esp=1a41fa38 ebp=1a41fa4c iopl=0         nv up ei ng nz ac pe cy
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010293
    79248a40 8b80ec010000     mov     eax,[eax+0x1ec]   ds:0023:000001ec=????????
    Resetting default scope

    Author Comment

    Thanks for the analysis.

    What do you think is causing the error ? Also do you think there is a possible resolution ?


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Hello I read in a discussion about a person who configured a very simple mirror RAID with two hard drives; the system and data were on the same partition. He asked how to repair the system as it was not booting up anymore. In his case running …
    Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    This video discusses moving either the default database or any database to a new volume.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now