mjc-gh / batsd-dash

Sinatra-based dash app for batsd
49 stars 11 forks source link

JVM crashes when receiving connection #18

Closed pablochacin closed 12 years ago

pablochacin commented 12 years ago

I'm trying to run batsd-dash on an Ubuntu 11.04 machine, with jruby 1.6.8 (ruby-1.9.2-p312). I created the rackup file as suggested in the documention. When I run it, I get some errors:

JRuby limited openssl loaded. http://jruby.org/openssl gem install jruby-openssl for full support. The signal QUIT is in use by the JVM and will not work correctly on this platform
The signal USR1 is in use by the JVM and will not work correctly on this platform Thin web server (v1.5.0 codename Knife) Maximum connections set to 1024 Listening on 0.0.0.0:9292, CTRL+C to stop Connection Pool Error: SocketError

The open-ssl warning is strange because I've installed the jruby-openssl gem, as suggested.

Later, when I connect to http://localhost:9292, the JVM crashes

SOCKET: SET COMM INACTIVITY UNIMPLEMENTED 30

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0xb6b936fa, pid=31363, tid=2415381360

JRE version: 6.0_26-b03 Java VM: Java HotSpot(TM) Server VM (20.1-b02 mixed mode linux-x86 ) Problematic frame: V [libjvm.so+0x24b6fa] CardTableExtension::scavengecontents(ObjectStartArray, >MutableSpace, HeapWord, PSPromotionManager_)+0x10a

An error report file with more information is saved as: /home/pchacin/Downloads/batsd-dash/hs_err_pid31363.log

If you would like to submit a bug report, please visit: http://java.sun.com/webapps/bugreport/crash.jsp

Aborted

pablochacin commented 12 years ago

Apparently, the problem is related to jruby, not batsd-dash