Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDBC unexpectedly terminating in ntdll.dll

843854Nov 11 2004 — edited Mar 24 2005
Hi

I have a java app running as a service and have noticed that it has been unexpectedly terminating quite a bit over the last month or so. Yesterday it happened twice, citing an exception in native code outside the VM. I really have no idea where to start debugging this. Below is what is in the log file that is generated when it terminates. Does anybody know why something like this would be happening? Looking at the stack trace, it looks like a strange place to be terminating? Have you come accross anything like this?

/Thanks

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x77F4200B
Function=RtlEnterCriticalSection+0xB
Library=C:\WINDOWS\system32\ntdll.dll

Current Java thread:
at sun.jdbc.odbc.JdbcOdbc.allocConnect(Native Method)
at sun.jdbc.odbc.JdbcOdbc.SQLAllocConnect(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcDriver.allocConnection(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcConnection.initialize(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcDriver.connect(Unknown Source)
- locked <0x11418cf0> (a sun.jdbc.odbc.JdbcOdbcDriver)
at java.sql.DriverManager.getConnection(Unknown Source)
- locked <0x202a5668> (a java.lang.Class)
at java.sql.DriverManager.getConnection(Unknown Source)
- locked <0x202a5668> (a java.lang.Class)
at se.wol.db.Database.connect(Database.java:93)
- locked <0x100a2420> (a se.wol.db.Database)
at se.wol.db.DbConnect.connect(DbConnect.java:111)
at se.martinsson.xml.itemprice.RequestHandler.generateResponse(RequestHandler.java:108)
at se.martinsson.xml.itemprice.RequestHandler.handleRequest(RequestHandler.java:89)
at se.wol.infoengine.MessageDispatcher.doInbound(MessageDispatcher.java:129)
at se.wol.infoengine.MessageDispatcher.onEvent(MessageDispatcher.java:57)
at se.wol.infoengine.InfoEngine$5.manage(InfoEngine.java:429)
at se.wol.util.thread.Listener$Reactor.run(Listener.java:209)
at se.wol.util.thread.Server$Daemon.run(Server.java:142)

Dynamic libraries:
0x00400000 - 0x00406000 C:\WINDOWS\system32\java.exe
0x77F40000 - 0x77FFA000 C:\WINDOWS\system32\ntdll.dll
0x77E40000 - 0x77F34000 C:\WINDOWS\system32\kernel32.dll
0x77DA0000 - 0x77E30000 C:\WINDOWS\system32\ADVAPI32.dll
0x77C50000 - 0x77CF5000 C:\WINDOWS\system32\RPCRT4.dll
0x77BA0000 - 0x77BF4000 C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08138000 C:\Program Files\Java\j2re1.4.2_03\bin\client\jvm.dll
0x77D00000 - 0x77D8F000 C:\WINDOWS\system32\USER32.dll
0x77C00000 - 0x77C44000 C:\WINDOWS\system32\GDI32.dll
0x76AA0000 - 0x76ACC000 C:\WINDOWS\system32\WINMM.dll
0x10000000 - 0x10007000 C:\Program Files\Java\j2re1.4.2_03\bin\hpi.dll
0x76F50000 - 0x76F63000 C:\WINDOWS\system32\Secur32.dll
0x00380000 - 0x0038E000 C:\Program Files\Java\j2re1.4.2_03\bin\verify.dll
0x005A0000 - 0x005B9000 C:\Program Files\Java\j2re1.4.2_03\bin\java.dll
0x00390000 - 0x0039D000 C:\Program Files\Java\j2re1.4.2_03\bin\zip.dll
0x00670000 - 0x0067E000 D:\InfoEngine\lib\Wrapper.dll
0x02D00000 - 0x02D0F000 C:\Program Files\Java\j2re1.4.2_03\bin\net.dll
0x71C00000 - 0x71C18000 C:\WINDOWS\system32\WS2_32.dll
0x71BF0000 - 0x71BF8000 C:\WINDOWS\system32\WS2HELP.dll
0x71B20000 - 0x71B63000 C:\WINDOWS\system32\mswsock.dll
0x71AE0000 - 0x71AE8000 C:\WINDOWS\System32\wshtcpip.dll
0x057A0000 - 0x057AC000 C:\Program Files\Java\j2re1.4.2_03\bin\JdbcOdbc.dll
0x057B0000 - 0x057EA000 C:\WINDOWS\system32\ODBC32.dll
0x70BC0000 - 0x70C50000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.0.0_x-ww_8A69BA05\COMCTL32.dll
0x77380000 - 0x77B5F000 C:\WINDOWS\system32\SHELL32.dll
0x77290000 - 0x772D9000 C:\WINDOWS\system32\SHLWAPI.dll
0x762B0000 - 0x762F7000 C:\WINDOWS\system32\comdlg32.dll
0x70AD0000 - 0x70BB6000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.100.0_x-ww_8417450B\comctl32.dll
0x059E0000 - 0x059F7000 C:\WINDOWS\system32\odbcint.dll
0x77B90000 - 0x77B98000 C:\WINDOWS\system32\VERSION.dll
0x77160000 - 0x77285000 C:\WINDOWS\system32\ole32.dll
0x05BA0000 - 0x05BBA000 C:\WINDOWS\system32\odbccp32.dll
0x76C90000 - 0x76CB4000 C:\WINDOWS\system32\msv1_0.dll
0x76ED0000 - 0x76EF7000 C:\WINDOWS\system32\DNSAPI.dll
0x76F10000 - 0x76F3F000 C:\WINDOWS\system32\WLDAP32.dll
0x76F70000 - 0x76F77000 C:\WINDOWS\System32\winrnr.dll
0x76F80000 - 0x76F85000 C:\WINDOWS\system32\rasadhlp.dll
0x76C10000 - 0x76C38000 C:\WINDOWS\system32\imagehlp.dll
0x6D580000 - 0x6D621000 C:\WINDOWS\system32\dbghelp.dll
0x76B70000 - 0x76B7B000 C:\WINDOWS\system32\PSAPI.DLL

Heap at VM Abort:
Heap
def new generation total 1024K, used 667K [0x10010000, 0x10120000, 0x113c0000)
eden space 960K, 63% used [0x10010000, 0x100a8628, 0x10100000)
from space 64K, 91% used [0x10100000, 0x1010e998, 0x10110000)
to space 64K, 0% used [0x10110000, 0x10110000, 0x10120000)
tenured generation total 5424K, used 2417K [0x113c0000, 0x1190c000, 0x20010000)
the space 5424K, 44% used [0x113c0000, 0x1161c648, 0x1161c800, 0x1190c000)
compacting perm gen total 5120K, used 5016K [0x20010000, 0x20510000, 0x24010000)
the space 5120K, 97% used [0x20010000, 0x204f63c0, 0x204f6400, 0x20510000)

Local Time = Mon Oct 25 11:00:48 2004
Elapsed Time = 36019
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)
#
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 21 2005
Added on Nov 11 2004
11 comments
336 views