---
title: "jvm crash - jlong_disjoint_arraycopy"
author: "leibnitz"
date: "2014-05-21T15:56:35Z"
tags: []
categories: ["开源软件"]
slug: "jvm-crash-jlong-disjoint-arraycopy"
draft: false
lastmod: "2014-11-20T15:28:57Z"
id: 2069208
url: "https://leibnitz.iteye.com/blog/2069208"
---

when we are accessing some io resources,like writing to disk,there may be a java jvm crash by below:

 

```
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGBUS (0x7) at pc=0x00007f9a785c2690, pid=1150, tid=140300276668160
#
# JRE version: 6.0_31-b04
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.6-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# v  ~StubRoutines::jlong_disjoint_arraycopy
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
```

 

 

  in general this is eplicitly,its disk related fault.so u will have some ideas if having a check on it:

 

```
sudo hdparm -t /dev/sda
```

Timing buffered disk reads: 356 MB in  3.02 seconds = 117.85 MB/sec

  this result shows that the read speed of this device is slow,of course ,u can comparse it with other nodes for a confirm.for some more details ,u can go forward to \[1]

 

 

 

ref:

 

# \[1][Detecting (write) Failures When Using Memory Mapped Files in Java](http://java.dzone.com/articles/detecting-write-failures-when)

[What does intermittent “Input/output error” suggest?](http://askubuntu.com/questions/181972/what-does-intermittent-input-output-error-suggest)

[How do I find on which physical device a folder is located?](http://unix.stackexchange.com/questions/11311/how-do-i-find-on-which-physical-device-a-folder-is-located)