treadoracle end of file-of-file i...

java.net.SocketInputStream.socketRead0(Ljava/io/FileD[BIII)I - 学习笔记 - ITeye技术网站
博客分类:
Vtest/Vmark fail after 6 hrs run on windows2003 AMD 64bits with C2 flag
java:runtime
Reported Against
tiger-beta2
Release Fixed
1.5(tiger-b57)
remove filtering state: show bug status/substatus
&font face="" color="#ff0000"&Verified&/font&
10-Fix Delivered,
show area regardless of statusDetail
1-Very High
Related Bugs
Submit Date
29-APR-2004
Description
JDK/VM version
=============
vm_info: Java HotSpot(TM) 64-Bit Server VM (1.5.0-beta2-b49) for windows-amd64,
built on Apr 28 :31 by "java_re" with unknown MS VC++:1400
=============
Windows_NT JTG-AMD2 5
Error message
=============
# An unexpected error has been detected by HotSpot Virtual Machine:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0xfa0c46, pid=2572, t
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0-beta2-b49 mixed mode)
# Problematic frame:
# C Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
java.net.SocketInputStream.socketRead0(Ljava/io/FileD[BIII)I
java.net.SocketInputStream.read([BII)I
java.io.BufferedInputStream.read()I
COM.volano.e.run()V
java.lang.Thread.run()V
~I2CAdapter
~StubRoutines::call_stub
[ntdll.dll+0xa0c46]
Please telnet with root/admin and change to d:\tmp directory to check it.
Work Around
Evaluation
I have not been able to reproduce it yet. Volano mark is a total resource hog
and when I run it, it fails due to various things like running out of port
Looking at the stack trace, it appears to be failing in ntdll.dll rather
than winsock, so it might be as a result of a problem with the malloc()
in the socketRead0 routine.
This code has not changed in a long time, so I doubt there is a bug
in it. I will continue trying to reproduce it.
xxxxx@xxxxx
Ok. A Windb stack trace shows it is definitely crashing
in malloc. Also, interestingly, it is not the server which
crashes, rather the client which is run repeatedly as a
standalone application, and which runs successfully several
hundred times before the crash happens. I am pretty confident
that this is not a JDK bug, but is an OS bug. malloc should
never crash regardless of what parameters it is given.
xxxxx@xxxxx
Stack trace shown below:
ntdll!NtRaiseHardError+0xa
USER32!MB_GetString+0x5f7
USER32!SoftModalMessageBox+0xefc
USER32!MessageBoxTimeoutA+0x17d
USER32!MessageBoxA+0x50
jvm!os::message_box+0x15
jvm!VMError::show_message_box+0x89
jvm!VMError::report_and_die+0x137
jvm!topLevelExceptionFilter+0x40a
ntdll!RtlQueryProcessDebugInformation+0xcbe
ntdll!RtlLookupFunctionEntry+0x69
ntdll!KiUserExceptionDispatcher+0x2d
ntdll!RtlQueryProcessBackTraceInformation+0xc7b9
ntdll!RtlAllocateHeap+0xe5
MSVCRT!malloc+0x3a
net!Java_java_net_SocketInputStream_socketRead0+0xb6
0x7ff`bf0bc9ad
0x7ff`bf0a0904
0x7ff`b39df3a8
xxxxx@xxxxx
I have run several experiments attempting to isolate the cause of this
I have reproduced this failure on three different builds of Windows Server2003
This bug reproduces in interpreted mode -Xint.
This bug fails on B48 in addition to B49 where it was originally reported.
I've attempted to use the Microsoft Debugging Utilities to performance a
heap verification on each malloc / free call but since this slows down
the test, it does not fail.
I've also run the test on the Microsoft
Checked build and it did not fail.
When it does crash, I get the same stack dump in the failing thread
as Michael reports.
One interesting note is that the Volano client
appears to be in the process of terminating its connection threads
because there are only 52 threads left at the time of the crash and
normally there are over 400.
I've scanned the VM sources involved in
thread termination and I don't see any race conditions involved in
freeing memory when a GC could occur, etc.
This may be a coincidence, but I've done a successful overnight run
on two different systems using the switch -XX:+UseDefaultStackSize.
This causes the memory for the thread stacks to be reserved and not
committed.
I don't understand why this would fix this problem but
might be a clue for determining what is going on.
I don't agree with the statement that the OS should never get a segv
from within malloc.
If a program corrupts the C Heap by writing
garbage to heap header data structures, this would cause the crash
that we are seeing.
xxxxx@xxxxx
I have been able to reproduce the exact crash reported here
with a small C++ test case.
This is a bug in Windows.
Compile the small test case with "cl /MD mallocbasher.cpp" and
run the test case on a multi-cpu Windows Server 2003 AMD64 box
and it will crash in a few minutes.
I submitted a bug on microsoft's beta web site at .
The bug number is .
xxxxx@xxxxx
It turns out that Microsoft expects these Access Violations.
are using structured exception handling (try/except blocks) in
the malloc library and need to get control on AV's caused by their
Since we are using Vectored Exception Handing rather than SEH,
we see this AV first and report it as a fatal error.
The full and correct fix for this problem is to stop using Vectored
Exceptions and support SEH in compiled code.
This will require
significant effort/testing/risk.
We must register all dynamically
generated code in the VM using RtlInstallFunctionCallback or
RtlAddFunctionTable APIs.
Since it is late in the 1.5 release, I will put a short term fix
into 1.5 which will pass AV's on from our exception handling code
if the AV is generated from NTDLL.DLL.
I will open up a new bug to keep track of this issue.
xxxxx@xxxxx
Include a link with my name & email
Submitted On 08-FEB-2007
We encounter this with jdk 1.6. I don't see why this is marked as "fixed"?
Content of hs..pid:
# An unexpected error has been detected by Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c928fea, pid=3456,
# Java VM: Java HotSpot(TM) Server VM (1.6.0-b105 mixed mode)
# Problematic frame:
[ntdll.dll+0x18fea]
# If you would like to submit a bug report, please visit:
/webapps/bugreport/crash.jsp
---------------
T H R E A D
---------------
Current thread (0x):
JavaThread "Thread-24" daemon
[_thread_in_native, id=4008]
siginfo: ExceptionCode=0xc0000005, writing address 0x
Registers:
EAX=0x, EBX=0x, ECX=0x, EDX=0x0fd8682c
ESP=0x12a1f034, EBP=0x12a1f0a8, ESI=0x0fd8681c, EDI=0x
EIP=0x7c928fea, EFLAGS=0x
Top of Stack: (sp=0x12a1f034)
0x12a1f034:
0x12a1f044:
ffffffff 000c2a58 00000
0x12a1f054:
12a1f0cc 719b57c9 001338
0x12a1f064:
b44b0 12a1f158 12a1f164
0x12a1f074:
a1f140 00000
0x12a1f084:
a1f14c 12a1f150
0x12a1f094:
0x12a1f0a4:
a1f140 7c91c
Instructions: (pc=0x7c928fea)
0x7c928fda:
8b 46 10 3b c3 89 45 fc 0f 84 9e 00 00 00 8b 06
0x7c928fea:
ff 40 10 8b 45 fc 83 e0 01 89 45 e8 8b 06 ff 40
Stack: [0x129da20000),
sp=0x12a1f034,
free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
C=native code)
[ntdll.dll+0x18fea]
[ntdll.dll+0x104b]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
java.net.SocketInputStream.socketRead0(Ljava/io/FileD[BIII)I+0
java.net.SocketInputStream.read([BII)I+84
java.io.BufferedInputStream.fill()V+175
java.io.BufferedInputStream.read1([BII)I+44
java.io.BufferedInputStream.read([BII)I+49
com.sun.jndi.ldap.Connection.run()V+30
java.lang.Thread.run()V+11
~StubRoutines::call_stub
Submitted On 27-FEB-2007
We are encountering this problem with jdk 1.6, too. Our application uses many sockets and actually, it is not operational with jdk 1.6
# An unexpected error has been detected by Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c8396d0, pid=8032, tid=2076
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode)
# Problematic frame:
[ntdll.dll+0x396d0]
# If you would like to submit a bug report, please visit:
/webapps/bugreport/crash.jsp
---------------
T H R E A D
---------------
Current thread (0x26fa7400):
JavaThread "(JSK) mux reader" daemon [_thread_in_native, id=2076]
siginfo: ExceptionCode=0xc0000005, reading address 0x
Registers:
EAX=0x, EBX=0x, ECX=0xfffffffc, EDX=0x
ESP=0x287cef20, EBP=0x287cef48, ESI=0x273476bc, EDI=0x
EIP=0x7c8396d0, EFLAGS=0x
Top of Stack: (sp=0x287cef20)
0x287cef20:
476c0 00000
0x287cef30:
287ceff8 7ff00
0x287cef40:
cef68 7c839620
0x287cef50:
00 273a15f0
0x287cef60:
ceff8 272c446e
0x287cef70:
273476bc 287cf010 ceff8
0x287cef80:
b2199f ffffffff
0x287cef90:
273a15f0 cdeb0
Instructions: (pc=0x7c8396d0)
0x7c8396c0:
8b c2 f0 0f b1 0b 3b c2 0f 85 ea 6c 00 00 8b 06
0x7c8396d0:
8b 50 14 8b 7d f8 8b 5d 08 42 89 50 14 8b c7 83
Stack: [0xx287d0000),
sp=0x287cef20,
free space=315k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
[ntdll.dll+0x396d0]
[ntdll.dll+0x39620]
[imon.dll+0x446e]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
java.net.SocketInputStream.socketRead0(Ljava/io/FileD[BIII)I
java.net.SocketInputStream.read([BII)I
com.sun.jini.jeri.internal.mux.StreamConnectionIO$1.read(Ljava/nio/ByteB)I
com.sun.jini.jeri.internal.mux.StreamConnectionIO$Reader.run()V
com.sun.jini.thread.ThreadPool$Worker.run()V
java.lang.Thread.run()V+11
~StubRoutines::call_stub
Jasmina Boitcheva
jasmina@sirma.bg
Submitted On 07-JAN-2008
rhastings1
We are seeing this as well. What is the new bug number for tracking this?
# An unexpected error has been detected by Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c82be3e, pid=3884, tid=4008
# Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode)
# Problematic frame:
[ntdll.dll+0x2be3e]
# If you would like to submit a bug report, please visit:
/webapps/bugreport/crash.jsp
---------------
T H R E A D
---------------
Current thread (0x):
JavaThread "http-8080-Processor22" daemon [_thread_in_native, id=4008]
siginfo: ExceptionCode=0xc0000005, reading address 0x2054453f
Registers:
EAX=0x, EBX=0x, ECX=0x0000037f, EDX=0x
ESP=0x285decb0, EBP=0x285decbc, ESI=0x005d0178, EDI=0x272f0000
EIP=0x7c82be3e, EFLAGS=0x
Top of Stack: (sp=0x285decb0)
0x285decb0:
005d2 26dcdece0
0x285decc0:
7c82b561 005d2 26dc1000
0x285decd0:
005d00 26be0
0x285dece0:
285ded28 7c82ba81 dc1000
0x285decf0:
0x285ded00:
dcded24 26be0000
0x285ded10:
0x285ded20:
dee0c 7c82b646
Instructions: (pc=0x7c82be3e)
0x7c82be2e:
57 64 8b 14 8a 83 c2 08 3b f2 0f 84 d5 fe ff ff
0x7c82be3e:
0f b7 5a f8 3b 5d 0c 73 0b 8b 12 3b f2 75 f1 e9
Stack: [0x285ae0000),
sp=0x285decb0,
free space=251k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
[ntdll.dll+0x2be3e]
[ntdll.dll+0x2b561]
[ntdll.dll+0x2ba81]
[ntdll.dll+0x2b646]
[MSVCR71.dll+0x218a]
[net.dll+0x7129]
java.net.SocketInputStream.socketRead0(Ljava/io/FileD[BIII)I
java.net.SocketInputStream.read([BII)I
org.apache.coyote.http11.InternalInputBuffer.fill()Z
org.apache.coyote.http11.InternalInputBuffer.parseRequestLine()V
org.apache.coyote.http11.Http11Processor.process(Ljava/io/InputSLjava/io/OutputS)V
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Lorg/apache/tomcat/util/net/TcpC[Ljava/lang/O)V+113
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Ljava/net/SLorg/apache/tomcat/util/net/TcpC[Ljava/lang/O)V+45
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt([Ljava/lang/O)V+102
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()V+167
java.lang.Thread.run()V+11
~StubRoutines::call_stub
VM Arguments:
jvm_args: -Dcatalina.home=d:\Program Files\Apache Software Foundation\Tomcat 5.5 -Dcatalina.base=d:\Program Files\Apache Software Foundation\Tomcat 5.5 -Djava.endorsed.dirs=d:\Program Files\Apache Software Foundation\Tomcat 5.5\common\endorsed -Djava.io.tmpdir=d:\Program Files\Apache Software Foundation\Tomcat 5.5\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=d:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\logging.properties vfprintf -Xmx512m
java_command: &unknown&
Launcher Type: generic
Environment Variables:
CLASSPATH=.;D:\Program Files\Java\jre1.6.0_03\lib\ext\QTJava.zip
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\WC:\Program Files\Intel\DMIX;D:\Program Files\QuickTime\QTSystem\
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 6, GenuineIntel
---------------
S Y S T E M
---------------
OS: Windows Server 2003 family Build 3790 Service Pack 2
CPU:total 4 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
Memory: 4k page, physical 97151k free), swap 94303k free)
vm_info: Java HotSpot(TM) Client VM (1.6.0_03-b05) for windows-x86, built on Sep 24 :33 by "java_re" with unknown MS VC++:1310
Submitted On 01-FEB-2008
i encountered it and really want to know what to do to avoid it because my work is stopped as i was using Matlab Distributed Computing Engine but this error comes up and stops MDCE automatically :(
Submitted On 09-APR-2008
We are also seeing this using 1.6.
Here is a dump from our case:
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0_01-b06 mixed mode)
siginfo: ExceptionCode=0xc0000005, reading address 0xffffffffffffffff
Registers:
EAX=0x047f, EBX=0x0000, ECX=0x6c37, EDX=0x6c47
ESP=0xf0e9c0, EBP=0x2000, ESI=0xac02c8, EDI=0x9000
EIP=0xefd689, EFLAGS=0x0202
Top of Stack: (sp=0xf0e9c0)
ac077ef540f
dd645 0000
f0eaa8 1bdf6f
020d d631a2
ff771b1c56
6d90 f4550
f0eb60 2017
Instructions: (pc=0xefd689)
10 48 8b 7c 24 48 48 8b 5c 24 40 48 83 c4 28 c3
0f b7 41 08 41 3b c3 0f 85 8c 77 ff ff 4b 89 0c
Stack: [0xe00),
sp=0xf0e9c0,
free space=1018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
[ntdll.dll+0x3d689]
[error occurred during error reporting, step 120, id 0xc0000005]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
java.net.SocketInputStream.socketRead0(Ljava/io/FileD[BIII)I
java.net.SocketInputStream.read([BII)I+84
org.apache.coyote.http11.InternalInputBuffer.parseRequestLine()V
org.apache.coyote.http11.Http11Processor.process(Ljava/io/InputSLjava/io/OutputS)V+327
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Lorg/apache/tomcat/util/net/TcpC[Ljava/lang/O)V+113
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Ljava/net/SLorg/apache/tomcat/util/net/TcpC[Ljava/lang/O)V+45
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run()V+32
java.lang.Thread.run()V+11
~StubRoutines::call_stub
PLEASE NOTE: JDK6 is formerly known as Project Mustang
浏览: 105686 次
来自: 北京
你用adt跑的吧,android里面是不能直接运行main方法 ...
不错。学习了啊
还有可能是第3个问号没给值
今天遇到这个问题,正好可以解决ansys警告和错误_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
评价文档:
2页1下载券3页免费3页免费10页免费23页4下载券 17页1下载券2页1下载券10页1下载券10页1下载券
喜欢此文档的还喜欢10页免费47页免费191页免费55页1下载券17页1下载券
ansys警告和错误|
把文档贴到Blog、BBS或个人站等:
普通尺寸(450*500pix)
较大尺寸(630*500pix)
你可能喜欢Darling,Baby-,- I believe ‘I love you’ to the end of the world...&br/&是什么意思
Darling,Baby-,- I believe ‘I love you’ to the end of the world...是什么意思
亲爱的,宝贝———我认为&我爱你&直到世界的末了…
亲爱的宝贝,我相信我爱你到世界的末日
其他回答 (1)
亲爱的,宝贝,我相信我爱你到世界末日
等待您来回答
外语领域专家扫扫二维码,随身浏览文档
手机或平板扫扫即可继续访问
ansys警告信息汇编
举报该文档含有违规或不良信息。
反馈该文档无法正常浏览。
举报该文档为重复文档。
推荐理由:
将文档分享至:
分享完整地址
文档地址:
粘贴到BBS或博客
flash地址:
支持嵌入FLASH地址的网站使用
html代码:
&embed src='/DocinViewer-4.swf' width='100%' height='600' type=application/x-shockwave-flash ALLOWFULLSCREEN='true' ALLOWSCRIPTACCESS='always'&&/embed&
450px*300px480px*400px650px*490px
支持嵌入HTML代码的网站使用
您的内容已经提交成功
您所提交的内容需要审核后才能发布,请您等待!
3秒自动关闭窗口ansys软件问答合集(二)_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
文档贡献者贡献于
评价文档:
11页免费9页免费35页免费35页免费18页免费 35页免费7页免费16页免费5页免费14页免费
喜欢此文档的还喜欢11页免费15页免费10页免费64页免费136页免费
ansys软件问答合集(二)|a​n​s​y​s​软​件​问​答​合​集​(​二​)
把文档贴到Blog、BBS或个人站等:
普通尺寸(450*500pix)
较大尺寸(630*500pix)
大小:1.39MB
登录百度文库,专享文档复制特权,财富值每天免费拿!
你可能喜欢

我要回帖

更多关于 tread 的文章

 

随机推荐