OpenJDK 1.7.0 crash on OS X caused by Compojure app
Ben Evans
benjamin.john.evans at gmail.com
Wed Apr 13 14:22:23 PDT 2011
Hi,
I have a Hello World app in Compojure / Ring which starts up fine, but if
left running for a while (e.g. overnight) eventually segfaults:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00000001018765fe, pid=5013, tid=4435542016
#
# JRE version: 7.0
# Java VM: OpenJDK 64-Bit Server VM (20.0-b06-fastdebug mixed mode bsd-amd64
compressed oops)
# Problematic frame:
# V [libjvm.dylib+0x8765fe] Klass::next_sibling() const+0x7e
#
# An error report file with more information is saved as:
# /Users/boxcat/projects/hello-compojure/hs_err_pid5013.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Current thread is 4435542016
Dumping core ...
(file attached)
This is on a late-2010 Macbook Pro running OS X 10.6.6
The VM is Stephen's build from 2011-01-31:
ariel:hello-compojure boxcat$ java -version
openjdk version "1.7.0-internal-fastdebug"
OpenJDK Runtime Environment (build
1.7.0-internal-fastdebug-stephen_2011_01_31_18_20-b00)
OpenJDK 64-Bit Server VM (build 20.0-b06-fastdebug, mixed mode)
I also get this (seemingly harmless) exception when I initially start up
Ring / Jetty:
ariel:hello-compojure boxcat$ lein ring server
2011-04-11 23:24:39.489:INFO::Logging to STDERR via
org.mortbay.log.StdErrLog
2011-04-11 23:24:39.498:INFO::jetty-6.1.26
2011-04-11 23:24:39.645:INFO::Started SocketConnector at 0.0.0.0:3000
Started server on port 3000
Exception in thread "main" java.awt.HeadlessException (NO_SOURCE_FILE:1)
at clojure.lang.Compiler.eval(Compiler.java:5440)
at clojure.lang.Compiler.eval(Compiler.java:5415)
at clojure.lang.Compiler.eval(Compiler.java:5415)
at clojure.lang.Compiler.eval(Compiler.java:5391)
at clojure.core$eval.invoke(core.clj:2382)
at clojure.main$eval_opt.invoke(main.clj:235)
at clojure.main$initialize.invoke(main.clj:254)
at clojure.main$null_opt.invoke(main.clj:279)
at clojure.main$main.doInvoke(main.clj:354)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:369)
at clojure.lang.AFn.applyToHelper(AFn.java:163)
at clojure.lang.Var.applyTo(Var.java:482)
at clojure.main.main(main.java:37)
Caused by: java.awt.HeadlessException
at
java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:202)
at java.awt.Window.<init>(Window.java:532)
at java.awt.Frame.<init>(Frame.java:420)
at java.awt.Frame.<init>(Frame.java:385)
at javax.swing.JFrame.<init>(JFrame.java:180)
at clojure.java.browse_ui$open_url_in_swing.invoke(browse_ui.clj:20)
at clojure.lang.Var.invoke(Var.java:365)
at clojure.java.browse$open_url_in_swing.invoke(browse.clj:44)
at clojure.java.browse$browse_url.invoke(browse.clj:52)
at leiningen.ring.run_server$run_server.invoke(run_server.clj:30)
at user$eval1592.invoke(NO_SOURCE_FILE:1)
at clojure.lang.Compiler.eval(Compiler.java:5424)
... 13 more
Are these type of problem reports useful to the group?
Thanks,
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110413/ccd1763c/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hs_err_pid5013.log
Type: application/octet-stream
Size: 23660 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110413/ccd1763c/hs_err_pid5013.log
More information about the bsd-port-dev
mailing list