Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2002 09:28:17 -0700 (PDT)
From:      Nick Johnson <freebsd@spatula.net>
To:        <freebsd-java@freebsd.org>
Subject:   shujit with Resin
Message-ID:  <Pine.BSF.4.30.0206140917200.22203-100000@yitiya.pair.com>

next in thread | raw e-mail | index | archive | help
Has anyone been successful in getting Resin (www.caucho.com) to run with
shujit?  I'm able to get it to handle about 2 requests, and then it goes
SIG11 on the third.

Here's the error, many bits removed for cleanliness.  It looks like things
went bad upon receipt of a signal.  If anyone is very clever with these
things and would like the full dump and the core file, I'd be happy to
pass those along.  I paste this on the off chance that someone may have
seen this before and knows a knob to turn that might help.

FATAL: Signal 11 occurred out of JIT compiled code.
SS: 002f, CS: 001f, DS: 002f, ES: 002f, FS: 002f, GS: 002f
EAX: 00000000, ECX: 00000002, EDX: 00000000, EBX: 1d3738c8
ESI: 098e4764, EDI: 18e88898
ESP: 1e4b2534, EBP: 1e4b255c EIP: 1d36223f
(ESP+4): 1e4b25b8, (ESP): 1d3738c8
(EBP+4): 0a763167 (retrun addr.)
(EIP): 8b 04 90 c1 e0 02 8b 4d  f0 8b 44 08 04 89 45 fc
trapno: 0c
method not found by EIP.
SIGSEGV   11*  segmentation violation

Full thread dump Classic VM (1.3.1-p6-spatula-020604-17:43, green
threads):
    "tcpConnection-80-3" (TID:0x18e72e00, sys_thread_t:0xa674a80,
state:CW) prio=5
        at java.net.SocketInputStream.socketRead(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java,
Compiled Code)

	[snip]

        at java.lang.Thread.run(Thread.java:484)
    "tcpConnection-80-2" (TID:0x18e77178, sys_thread_t:0xa657a80, state:R)
prio=5
        at
javax.servlet.ServletResponseWrapper.getCharacterEncoding(ServletResponseWrapper.java,
Compiled Code)

	[snip]

        at java.lang.Thread.run(Thread.java:484)
    "tcpConnection-6802-1" (TID:0x18ea4490, sys_thread_t:0x9731c80,
state:CW) prio=5
        at java.lang.Object.wait(Native Method)

	[snip]

        at java.lang.Thread.run(Thread.java:484)
    "tcp-accept-6802" (TID:0x18e91588, sys_thread_t:0x9658a80, state:CW)
prio=5
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:421)
        at java.net.ServerSocket.implAccept(ServerSocket.java:243)
        at java.net.ServerSocket.accept(ServerSocket.java:222)

	[snip]

        at java.lang.Thread.run(Thread.java:484)
    "tcp-accept-80" (TID:0x18e92c18, sys_thread_t:0x9658280, state:CW)
prio=5
        at java.lang.Object.wait(Native Method)

	[snip]

        at java.lang.Thread.run(Thread.java:484)
    "tcp-accept-80" (TID:0x18e92bf0, sys_thread_t:0x963fe80, state:CW)
prio=5
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:421)
        at java.net.ServerSocket.implAccept(ServerSocket.java:243)
        at java.net.ServerSocket.accept(ServerSocket.java:222)

	[snip]

        at com.caucho.server.TcpServer.run(TcpServer.java, Compiled Code)
        at java.lang.Thread.run(Thread.java:484)
    "resin-cron" (TID:0x18ea9950, sys_thread_t:0x8d99680, state:CW) prio=5

        at java.lang.Thread.sleep(Native Method)
        at com.caucho.util.Cron$CronThread.run(Cron.java, Compiled Code)
    "resin-alarm" (TID:0x18e96bd8, sys_thread_t:0x8a0de80, state:CW)
prio=5

        at java.lang.Thread.sleep(Native Method)
        at com.caucho.util.Alarm$AlarmThread.run(Alarm.java, Compiled
Code)
    "Finalizer" (TID:0x18e7a528, sys_thread_t:0x80d4080, state:CW) prio=8
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java,
Compiled Code)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java,
Compiled Code)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
    "Reference Handler" (TID:0x18e7a300, sys_thread_t:0x80b6480, state:CW)
prio=10
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java, Compiled Code)
        at
java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
    "Signal dispatcher" (TID:0x18e7a330, sys_thread_t:0x80b6280, state:CW)
prio=5
    "main" (TID:0x18e7a1b0, sys_thread_t:0x8053080, state:CW) prio=5
        at java.lang.Thread.sleep(Native Method)

	[snip]

Monitor Cache Dump:
    com.caucho.server.TcpServer$StartThread@18E91EE8/19029670: <unowned>
        Waiting to be notified:
            "tcp-accept-6802" (0x9684280)
    java.net.PlainSocketImpl@18E93228/19028140: owner "tcp-accept-6802"
(0x9658a80) 1 entry
    java.lang.ref.ReferenceQueue$Lock@18E7A540/18EB0478: <unowned>
        Waiting to be notified:
            "Finalizer" (0x80d4080)
    java.lang.ref.Reference$Lock@18E7A310/18EAFF98: <unowned>
        Waiting to be notified:
            "Reference Handler" (0x80b6480)
    com.caucho.server.TcpServer$StartThread@18E92BB8/19028878: <unowned>
        Waiting to be notified:
            "tcp-accept-80" (0x9658280)
    java.lang.Object@18E92B40/19028788: <unowned>
        Waiting to be notified:
            "tcpConnection-6802-1" (0x9731c80)
    java.net.PlainSocketImpl@18E93720/19023278: owner "tcp-accept-80"
(0x963fe80) 1 entry
    java.lang.Object@18E93138/19027F08: <unowned>
        Waiting to be notified:
            "tcpConnection-80-0" (0x9718480)
Registered Monitor Dump:
    utf8 hash table: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class linking lock: <unowned>
    System class loader lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Monitor cache lock: owner "tcpConnection-80-2" (0xa657a80) 1 entry
    Dynamic loading lock: <unowned>
    Monitor IO lock: <unowned>
    User signal monitor: <unowned>
        Waiting to be notified:
            "Signal dispatcher" (0x80b6280)
    Child death monitor: <unowned>
    I/O monitor: <unowned>
    Alarm monitor: <unowned>
        Waiting to be notified:
            <unknown thread> (0x8053280)
    Thread queue lock: owner "tcpConnection-80-2" (0xa657a80) 1 entry
    Monitor registry: owner "tcpConnection-80-2" (0xa657a80) 1 entry

SIGABRT   6*   abort (generated by abort(3) routine)

-- 
"The aptly-named morons.org is an obscenity-laced screed..."
	-- Robert P. Lockwood, Catholic League director of research
Nick Johnson, version 2.0                     http://www.spatula.net/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.30.0206140917200.22203-100000>