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

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 0.0.0.0, faulting module ntdll.dll, version 5.2.3790.0, fault address 0x00003847.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp"

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,
Sachin.
sachindeshpandeAsked:
Who is Participating?
 
cpc2004Commented:
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
0
 
kosmoraiosCommented:
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:

http://support.microsoft.com/default.aspx?scid=kb;en-us;837088

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

GL
0
 
sachindeshpandeAuthor Commented:

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

Site address : http://www.timbrecom.com/Customer
username : guest01
password : timbre01

Thanks,
Sachin.
0
 
cpc2004Commented:
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
DEFAULT_BUCKET_ID:  APPLICATION_FAULT
PROCESS_NAME:  java.exe
ERROR_CODE: (NTSTATUS) 0x80000007 - {STATUS_WAKE_SYSTEM_DEBUGGER
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
mscorwks!Thread::ReturnToContext+0x2d:
79248a40 8b80ec010000     mov     eax,[eax+0x1ec]   ds:0023:000001ec=????????
Resetting default scope
0
 
sachindeshpandeAuthor Commented:
Thanks for the analysis.

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

Thanks,
Sachin.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.