OpenJDK 1.7.0 crash on OS X caused by Compojure app

Ben Evans benjamin.john.evans at
Wed Apr 13 14:22:23 PDT 2011


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:
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
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
2011-04-11 23:24:39.498:INFO::jetty-6.1.26
2011-04-11 23:24:39.645:INFO::Started SocketConnector at
Started server on port 3000
Exception in thread "main" java.awt.HeadlessException (NO_SOURCE_FILE:1)
    at clojure.lang.Compiler.eval(
    at clojure.lang.Compiler.eval(
    at clojure.lang.Compiler.eval(
    at clojure.lang.Compiler.eval(
    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(
    at clojure.lang.Var.invoke(
    at clojure.lang.AFn.applyToHelper(
    at clojure.lang.Var.applyTo(
    at clojure.main.main(
Caused by: java.awt.HeadlessException
    at java.awt.Window.<init>(
    at java.awt.Frame.<init>(
    at java.awt.Frame.<init>(
    at javax.swing.JFrame.<init>(
    at clojure.lang.Var.invoke(
    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(
    ... 13 more

Are these type of problem reports useful to the group?


-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hs_err_pid5013.log
Type: application/octet-stream
Size: 23660 bytes
Desc: not available
Url : 

More information about the bsd-port-dev mailing list