简体   繁体   English

Linux Debian 5上的SIGBUS导致JRE(Sun 1.6 21)崩溃

[英]JRE (sun 1.6 21) crash with SIGBUS on Linux Debian 5

I have problems with JRE on Linux Debian 5. JRE (sun 1.6 21) crash with SIGBUS on Debian 5 (kernel 2.6.26) during TEE-CLC java application execute. 我在Linux Debian 5上遇到JRE问题。在TEE-CLC Java应用程序执行期间,Debian 5(内核2.6.26)上的SIGBUS导致JRE(Sun 1.6 21)崩溃。

TEE-CLC-10.1.0 is a java client application for Microsoft Team Foundation Server (TFS). TEE-CLC-10.1.0是Microsoft Team Foundation Server(TFS)的Java客户端应用程序。

Here is the java virtul mashine command line: 这是java virtul mashine命令行:

exec java -Xmx512M -classpath "$CLC_CLASSPATH" "-Dcom.microsoft.tfs.jni.native.base-directory=$BASE_DIRECTORY/native" $RANDOM_DEVICE_PROPERTY com.microsoft.tfs.client.clc.vc.Main "$@" exec java -Xmx512M -classpath“ $ CLC_CLASSPATH”“ -Dcom.microsoft.tfs.jni.native.base-directory = $ BASE_DIRECTORY / native” $ RANDOM_DEVICE_PROPERTY com.microsoft.tfs.client.clc.vc.Main“ $ @”

When I try to execute the command (get files from server): tf get -r -force {branch_name} it start getting files and then minute or two later craches with the following error message: 当我尝试执行命令(从服务器获取文件)时: tf get -r -force {branch_name},它开始获取文件,然后在一分钟或两分钟后发出以下错误消息:

A fatal error has been detected by the Java Runtime Environment: Java运行时环境检测到致命错误:

SIGBUS (0x7) at pc=0xb77d3422, pid=29386, tid=3076802752 SIGBUS(0x7)at pc = 0xb77d3422,pid = 29386,tid = 3076802752

JRE version: 6.0_21-b06 Java VM: Java HotSpot(TM) Client VM (17.0-b16 mixed mode linux-x86 ) Problematic frame: C [+0x422] __kernel_vsyscall+0xe JRE版本:6.0_21-b06 Java VM:Java HotSpot(TM)客户端VM(17.0-b16混合模式linux-x86)问题框架:C [+ 0x422] __kernel_vsyscall + 0xe

An error report file with more information is saved as: /...../..../...../hs_err_pid29386.log Segmentation fault. 包含更多信息的错误报告文件另存为:/...../..../...../hs_err_pid29386.log分段错误。

I have about 900M free memory. 我有大约900M的可用内存。 I have checked limits: ulimit -a . 我已经检查了限制:ulimit -a。 I have three other Linux Debian 5 computers and they works fine with the same settings. 我还有另外三台Linux Debian 5计算机,它们在相同的设置下可以正常工作。 I have checked everything . 我已经检查了一切。 I don' t know why JRE don't work properly. 我不知道为什么JRE无法正常工作。

Does anybody have any idea how to handle it? 有人知道如何处理吗? What is wrong with JRE or with my Debian 5? JRE或我的Debian 5有什么问题?

In my experience it is rare to get a faulty program to fail with a SIGBUS : error checking by compilers makes it hard to generate an odd memory address. 以我的经验,很少有错误的程序使SIGBUS失败:编译器的错误检查使生成奇数内存地址变得很困难。 The few times I've seen them recently was (IIRC) because I was using an incompatible shared library or .o file. 我最近看到过几次(IIRC),因为我使用的是不兼容的共享库或.o文件。

Is the LD_LIBRARY_PATH environment variable set for the executing program? 是否为执行程序设置了LD_LIBRARY_PATH环境变量? If so, it might be causing the program to use an incorrect shared library. 如果是这样,则可能导致程序使用了不正确的共享库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM