The default on EC2 seems to be Java 1.6_07. apt-get seems to have relatively old JVMs (how does one update the repo?).
Here's the "cat /etc/lsb-release": DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.04 DISTRIB_CODENAME=hardy DISTRIB_DESCRIPTION="Ubuntu 8.04.1" We downgraded to JDK 1.5, and SEGV still occurred. So we tried on a 3rd machine which worked, and deployed the potentially errant code in production, and it has not crashed. I'm guessing it is/was a hardware issue specific to two instances (which I am unsure how to resolve with Amazon). On Fri, Aug 28, 2009 at 4:36 PM, Ted Dunning<ted.dunn...@gmail.com> wrote: > > That looks like a slightly musty JVM. The current stable is 1.6_16, I > think. > > That said, we use 1.6u12 with good results on EC2. > > What OS/version are you running? (we used alestic hardy heron ubuntu > distros since they provide very simple configuration without building a new > AMI) > > On Fri, Aug 28, 2009 at 3:34 PM, Jason Rutherglen (JIRA) <j...@apache.org> > wrote: >> >> [ >> https://issues.apache.org/jira/browse/LUCENE-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel >> ] >> >> Jason Rutherglen updated LUCENE-1342: >> ------------------------------------- >> >> Attachment: jvmerror.log >> >> Here's the JVM error I'm seeing on Amazon EC2: >> >> java version "1.6.0_07" >> Java(TM) SE Runtime Environment (build 1.6.0_07-b06) >> Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode) >> >> # >> # An unexpected error has been detected by Java Runtime Environment: >> # >> # SIGSEGV (0xb) at pc=0x00002aaaab852a01, pid=2747, tid=1077070160 >> # >> # Java VM: Java HotSpot(TM) 64-Bit Server VM (10.0-b23 mixed mode >> linux-amd64) >> # Problematic frame: >> # V [libjvm.so+0x2faa01] >> # >> # An error report file with more information is saved as: >> # /mnt/solr/conf/hs_err_pid2747.log >> # >> # If you would like to submit a bug report, please visit: >> # http://java.sun.com/webapps/bugreport/crash.jsp >> # >> >> > 64bit JVM crashes on Linux >> > -------------------------- >> > >> > Key: LUCENE-1342 >> > URL: https://issues.apache.org/jira/browse/LUCENE-1342 >> > Project: Lucene - Java >> > Issue Type: Bug >> > Affects Versions: 2.0.0 >> > Environment: 2.6.18-53.el5 x86_64 GNU/Linux >> > Java(TM) SE Runtime Environment (build 1.6.0_04-b12) >> > Reporter: Kevin Richards >> > Attachments: hs_err_pid10565.log, hs_err_pid21301.log, >> > hs_err_pid27882.log, jvmerror.log >> > >> > >> > Whilst running lucene in our QA environment we received the following >> > exception. This problem was also reported here : >> > http://confluence.atlassian.com/display/KB/JSP-20240+-+POSSIBLE+64+bit+JDK+1.6+update+4+may+have+HotSpot+problems. >> > Is this a JVM problem or a problem in Lucene. >> > # >> > # An unexpected error has been detected by Java Runtime Environment: >> > # >> > # SIGSEGV (0xb) at pc=0x00002aaaaadb9e3f, pid=2275, tid=1085356352 >> > # >> > # Java VM: Java HotSpot(TM) 64-Bit Server VM (10.0-b19 mixed mode >> > linux-amd64) >> > # Problematic frame: >> > # V [libjvm.so+0x1fce3f] >> > # >> > # If you would like to submit a bug report, please visit: >> > # http://java.sun.com/webapps/bugreport/crash.jsp >> > # >> > --------------- T H R E A D --------------- >> > Current thread (0x00002aab0007f000): JavaThread "CompilerThread0" >> > daemon [_thread_in_vm, id=2301, >> > stack(0x0000000040a13000,0x0000000040b14000)] >> > siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), >> > si_addr=0x0000000000000000 >> > Registers: >> > RAX=0x0000000000000000, RBX=0x00002aab0007f000, RCX=0x0000000000000000, >> > RDX=0x00002aab00309aa0 >> > RSP=0x0000000040b10f60, RBP=0x0000000040b10fb0, RSI=0x00002aaab37d1ce8, >> > RDI=0x00002aaaaaaad000 >> > R8 =0x00002aaaab40cd88, R9 =0x0000000000000ffc, R10=0x00002aaaab40cd90, >> > R11=0x00002aaaab410810 >> > R12=0x00002aab00ae60b0, R13=0x00002aab0a19cc30, R14=0x0000000040b112f0, >> > R15=0x00002aab00ae60b0 >> > RIP=0x00002aaaaadb9e3f, EFL=0x0000000000010246, >> > CSGSFS=0x0000000000000033, ERR=0x0000000000000004 >> > TRAPNO=0x000000000000000e >> > Top of Stack: (sp=0x0000000040b10f60) >> > 0x0000000040b10f60: 00002aab0007f000 0000000000000000 >> > 0x0000000040b10f70: 00002aab0a19cc30 0000000000000001 >> > 0x0000000040b10f80: 00002aab0007f000 0000000000000000 >> > 0x0000000040b10f90: 0000000040b10fe0 00002aab0a19cc30 >> > 0x0000000040b10fa0: 00002aab0a19cc30 00002aab00ae60b0 >> > 0x0000000040b10fb0: 0000000040b10fe0 00002aaaaae9c2e4 >> > 0x0000000040b10fc0: 00002aaaab413210 00002aaaab413350 >> > 0x0000000040b10fd0: 0000000040b112f0 00002aab09796260 >> > 0x0000000040b10fe0: 0000000040b110e0 00002aaaaae9d7d8 >> > 0x0000000040b10ff0: 00002aaaab40f3d0 00002aab08c2a4c8 >> > 0x0000000040b11000: 0000000040b11940 00002aab09796260 >> > 0x0000000040b11010: 00002aab09795b28 0000000000000000 >> > 0x0000000040b11020: 00002aab08c2a4c8 00002aab009b9750 >> > 0x0000000040b11030: 00002aab09796260 0000000040b11940 >> > 0x0000000040b11040: 00002aaaab40f3d0 0000000000002023 >> > 0x0000000040b11050: 0000000040b11940 00002aab09796260 >> > 0x0000000040b11060: 0000000040b11090 00002aaaab0f199e >> > 0x0000000040b11070: 0000000040b11978 00002aab08c2a458 >> > 0x0000000040b11080: 00002aaaab413210 0000000000002023 >> > 0x0000000040b11090: 0000000040b110e0 00002aaaab0f1fcf >> > 0x0000000040b110a0: 0000000000002023 00002aab09796260 >> > 0x0000000040b110b0: 00002aab08c2a3c8 0000000040b123b0 >> > 0x0000000040b110c0: 00002aab08c2a458 0000000040b112f0 >> > 0x0000000040b110d0: 00002aaaab40f3d0 00002aab00043670 >> > 0x0000000040b110e0: 0000000040b11160 00002aaaab0e808d >> > 0x0000000040b110f0: 00002aab000417c0 00002aab009b66a8 >> > 0x0000000040b11100: 0000000000000000 00002aab009b9750 >> > 0x0000000040b11110: 0000000040b112f0 00002aab009bb360 >> > 0x0000000040b11120: 0000000000000003 0000000040b113d0 >> > 0x0000000040b11130: 01002aab0052d0c0 0000000040b113d0 >> > 0x0000000040b11140: 00000000000000b3 0000000040b112f0 >> > 0x0000000040b11150: 0000000040b113d0 00002aab08c2a108 >> > Instructions: (pc=0x00002aaaaadb9e3f) >> > 0x00002aaaaadb9e2f: 48 89 5d b0 49 8b 55 08 49 8b 4c 24 08 48 8b 32 >> > 0x00002aaaaadb9e3f: 4c 8b 21 8b 4e 1c 49 8d 7c 24 10 89 cb 4a 39 34 >> > Stack: [0x0000000040a13000,0x0000000040b14000], sp=0x0000000040b10f60, >> > free space=1015k >> > Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, >> > C=native code) >> > V [libjvm.so+0x1fce3f] >> > V [libjvm.so+0x2df2e4] >> > V [libjvm.so+0x2e07d8] >> > V [libjvm.so+0x52b08d] >> > V [libjvm.so+0x524914] >> > V [libjvm.so+0x51c0ea] >> > V [libjvm.so+0x519f77] >> > V [libjvm.so+0x519e7c] >> > V [libjvm.so+0x519ad5] >> > V [libjvm.so+0x1e0cf4] >> > V [libjvm.so+0x2a0bc0] >> > V [libjvm.so+0x528e03] >> > V [libjvm.so+0x51c0ea] >> > V [libjvm.so+0x519f77] >> > V [libjvm.so+0x519e7c] >> > V [libjvm.so+0x519ad5] >> > V [libjvm.so+0x1e0cf4] >> > V [libjvm.so+0x240eba] >> > V [libjvm.so+0x1e05c7] >> > V [libjvm.so+0x248ec8] >> > V [libjvm.so+0x248866] >> > V [libjvm.so+0x62a3f9] >> > V [libjvm.so+0x6246a1] >> > V [libjvm.so+0x505eea] >> > Current CompileTask: >> > C2:2408 ! >> > org.apache.lucene.index.DocumentWriter.invertDocument(Lorg/apache/lucene/document/Document;)V >> > (482 bytes) >> >> -- >> This message is automatically generated by JIRA. >> - >> You can reply to this email to add a comment to the issue online. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org >> For additional commands, e-mail: java-dev-h...@lucene.apache.org >> > > > > -- > Ted Dunning, CTO > DeepDyve > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org