Application Error - erl.exe
Has any one encountered the following error or know the reason of this error? (Taken from EventViewer)
Log Name: Application
Source: Application Error
Date: 6/12/2012 7:45:23 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: CACHE
Description:
Faulting application name: erl.exe, version: 0.0.0.0, time stamp: 0x4d7e769d
Faulting module name: beam.smp.dll, version: 0.0.0.0, time stamp: 0x4d7e7588
Exception code: 0x40000015
Fault offset: 0x00010e3f
Faulting process id: 0x468
Faulting application start time: 0x01cd4630aadde6fa
Faulting application path: D:\Couchbase\Server\bin\erlang\erts-5.8.3\bin\erl.exe
Faulting module path: D:\COUCHB~1\Server\bin\erlang\ERTS-5~1.3\bin\beam.smp.dll
Report Id: 17e4fe8d-b484-11e1-8eb9-005056ab0069
Event Xml:
1000
2
100
0x80000000000000
1199
Application
CACHE
erl.exe
0.0.0.0
4d7e769d
beam.smp.dll
0.0.0.0
4d7e7588
40000015
00010e3f
468
01cd4630aadde6fa
D:\Couchbase\Server\bin\erlang\erts-5.8.3\bin\erl.exe
D:\COUCHB~1\Server\bin\erlang\ERTS-5~1.3\bin\beam.smp.dll
17e4fe8d-b484-11e1-8eb9-005056ab0069
----------
I also have one for memcached.exe
Log Name: Application
Source: Application Error
Date: 6/12/2012 7:58:14 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: CACHE
Description:
Faulting application name: memcached.exe, version: 0.0.0.0, time stamp: 0x4efc900b
Faulting module name: ep.so, version: 0.0.0.0, time stamp: 0x4efc909f
Exception code: 0x40000015
Fault offset: 0x00000000000fe17a
Faulting process id: 0x5f8
Faulting application start time: 0x01cd48928ec27c39
Faulting application path: d:\Couchbase\Server\bin\memcached.exe
Faulting module path: d:\Couchbase\Server\lib\memcached\ep.so
Report Id: e317fa79-b485-11e1-983d-005056ab0068
Event Xml:
1000
2
100
0x80000000000000
1119
Application
CACHE
memcached.exe
0.0.0.0
4efc900b
ep.so
0.0.0.0
4efc909f
40000015
00000000000fe17a
5f8
01cd48928ec27c39
d:\Couchbase\Server\bin\memcached.exe
d:\Couchbase\Server\lib\memcached\ep.so
e317fa79-b485-11e1-983d-005056ab0068
Any ideas?
Thanks
This basically means that your memcached.exe and erl.exe crashed with a fatal error. It is very hard / near to impossible to say what caused this error. As you may know, wimilar to a coredump on Unix/Linux, Windows offers the ability to create a memory dump of the offending process for troubleshooting / investigation. This dump file will provide details into the process' call stack at the time of the exception and various other information allowing one to recreate a timeline leading to the failure.
Here's some info on how to enable the crash dump on the Windows environment
Capturing a Windows process dump at the time of this crash would help us narrow this down further. In order to do this, you'll need Windows Debugging Tools for Windows installed. See http://msdn.microsoft.com/en-us/windows/hardware/gg463009.aspx
There are multiple download options in the toolkit, you may want to choose just the Standalone component
http://msdn.microsoft.com/en-US/windows/hardware/hh852363
Once you get this installed, you should be able to find a directory named c:\program files(x86)\windows kits\8.0\debuggers\x64 and under that ADPLUS.EXE. Please note if you are using a 32bit version of the software, you'd need to use the debugger under \x86. This is a runtime Windows debugger that can detect Application crashes and create a dump file upon an abnormal application exit such as the crashes you've been seeing with ERL and MEMCACHED
In order to attach this ADPLUS debugger to the live process, you'd need the process name or process ID. Here's the command you'd run
ADPLUS.EXE -p pid -crash -o c:\cbcrashdir
where c:\cbcrashdir is the location it'd write the log and crash dump files to
and pid is the process ID for ERL.EXE. Kindly keep in mind, the debugger wont be launched until the exception happens.
Same set of steps for MEMCACHED.EXE
Once an exception is hit, it'd write out the ADPLUS Log and a FULL DUMP file for the process to the output directory specified by -o.
The above assumes that you are able to leave the ADPLUS debugger attached and that you'll hit the same exception with ERL.EXE or MEMCACHED.EXE.
Can you post back
- the version of COUCHBASE and WINDOWS
- how often do you see this?
- also if you are seeing other events in the system log at the time(s) of this failure(s)
- the Adplus log + dump files
And lastly, the diags (..\couchbase\server\bin\cbcollect_info.exe) would help see what's going on from the Application side (i.e. Couchbase) right around the time of the crash. Hope this helps.