tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken ...@pacific.net>
Subject Re: SIGSEGV 11 (*) segmentation violation
Date Tue, 05 Sep 2000 23:57:13 GMT
This occurred with Jakarta-Tomcat 3.2b running standalone, and BSDI's
JDK Patch on BSDI 4.1 system.
This occurred running the SnoopServlet in the ROOT/WEB-INF/classes
directory.
http://localhost:8080/servlet/SnoopServlet
I backed off to Tomcat 3.1 and have no problems.
-Ken

----------------------------------------------------------------------------

 2000-09-05 02:20:45 - Ctx(  ): 404 R(  + /servlets/SnoopServlet + null)
null
SIGSEGV   11*  segmentation violation
    pc: 0x48184ef3
    memcpy+0x00000017 in /shlib/libc.so.1

Full thread dump Classic VM (donn:01.02.00-14:56, native threads):
    "SeedGenerator Thread" (TID:0x48ef0f10, sys_thread_t:0x8514680,
state:CW, native ID:0x859db00) prio=1
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at
sun.security.provider.SeedGenerator.run(SeedGenerator.java:109)
        at java.lang.Thread.run(Thread.java:479)
    "Thread-12" (TID:0x48efe710, sys_thread_t:0x804e480, state:CW,
native ID:0x8051300) prio=5
    "Thread-11" (TID:0x48effed8, sys_thread_t:0x845ca80, state:CW,
native ID:0x8456900) prio=5
        at java.lang.Object.wait(Native Method)
        at
org.apache.tomcat.util.ThreadPool$MonitorRunnable.run(ThreadPool.java:390)
        at java.lang.Thread.run(Thread.java:479)
    "Thread-10" (TID:0x48f00330, sys_thread_t:0x845c880, state:R, native
ID:0x8456800) prio=5
        at java.net.InetAddressImpl.lookupAllHostAddr(Native Method)
        at java.net.InetAddress.getAllByName0(InetAddress.java:579)
        at java.net.InetAddress.getHostName(InetAddress.java:177)
        at java.net.InetAddress.getHostName(InetAddress.java:131)
        at
org.apache.tomcat.service.http.HttpRequestAdapter.getRemoteHost(HttpRequestAdapter.java:286)
        at

org.apache.tomcat.facade.HttpServletRequestFacade.getRemoteHost(HttpServletRequestFacade.java:304)
        at SnoopServlet.doGet(SnoopServlet.java:71)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
        at org.apache.tomcat.core.Handler.service(Handler.java:263)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:749)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:695)
        at

org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:207)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:403)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:479)
    "Thread-9" (TID:0x48f008e0, sys_thread_t:0x845c680, state:R, native
ID:0x8456700) prio=5
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
        at java.net.ServerSocket.implAccept(ServerSocket.java:241)
        at java.net.ServerSocket.accept(ServerSocket.java:224)
        at
org.apache.tomcat.service.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:282)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:389)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:479)
    "Thread-8" (TID:0x48f00870, sys_thread_t:0x845c480, state:CW, native
ID:0x8456600) prio=5
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:479)
    "Thread-7" (TID:0x48f007f0, sys_thread_t:0x845c280, state:CW, native
ID:0x8456500) prio=5
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:479)
    "Thread-6" (TID:0x48f00758, sys_thread_t:0x845c080, state:CW, native
ID:0x8456400) prio=5
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:479)
    "Thread-5" (TID:0x48f00bd0, sys_thread_t:0x8441e80, state:CW, native
ID:0x8456300) prio=5
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:479)
    "Thread-4" (TID:0x48f00b00, sys_thread_t:0x8441c80, state:CW, native
ID:0x8456200) prio=5
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:479)
    "Thread-3" (TID:0x48f00a68, sys_thread_t:0x8441a80, state:CW, native
ID:0x8456100) prio=5
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:479)
    "Thread-2" (TID:0x48f009f8, sys_thread_t:0x8441880, state:CW, native
ID:0x8456000) prio=5
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:479)
    "Thread-1" (TID:0x48f00ea0, sys_thread_t:0x8441480, state:CW, native
ID:0x8435f00) prio=5
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:479)
    "StandardManager" (TID:0x48f20ec0, sys_thread_t:0x8441080, state:CW,
native ID:0x8435b00) prio=5
        at java.lang.Thread.sleep(Native Method)
        at
org.apache.tomcat.session.StandardManager.threadSleep(StandardManager.java:489)
        at
org.apache.tomcat.session.StandardManager.run(StandardManager.java:546)
        at java.lang.Thread.run(Thread.java:479)
    "StandardManager" (TID:0x48f2e330, sys_thread_t:0x8405c80, state:CW,
native ID:0x8435900) prio=5
        at java.lang.Thread.sleep(Native Method)
        at
org.apache.tomcat.session.StandardManager.threadSleep(StandardManager.java:489)
        at
org.apache.tomcat.session.StandardManager.run(StandardManager.java:546)
        at java.lang.Thread.run(Thread.java:479)
    "StandardManager" (TID:0x48f288e8, sys_thread_t:0x8405a80, state:CW,
native ID:0x8435700) prio=5
        at java.lang.Thread.sleep(Native Method)
        at
org.apache.tomcat.session.StandardManager.threadSleep(StandardManager.java:489)
        at
org.apache.tomcat.session.StandardManager.run(StandardManager.java:546)
        at java.lang.Thread.run(Thread.java:479)
    "StandardManager" (TID:0x48f24248, sys_thread_t:0x8405880, state:CW,
native ID:0x8435300) prio=5
        at java.lang.Thread.sleep(Native Method)
        at
org.apache.tomcat.session.StandardManager.threadSleep(StandardManager.java:489)
        at
org.apache.tomcat.session.StandardManager.run(StandardManager.java:546)
        at java.lang.Thread.run(Thread.java:479)
    "Thread-0" (TID:0x48f01538, sys_thread_t:0x832ee80, state:CW, native
ID:0x837b400) prio=5
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at org.apache.tomcat.util.Queue.pull(Queue.java:89)
        at
org.apache.tomcat.logging.LogDaemon$1.run(TomcatLogger.java:238)
        at
org.apache.tomcat.logging.LogDaemon.run(TomcatLogger.java:254)
    "Finalizer" (TID:0x48eff320, sys_thread_t:0x80abc80, state:CW,
native ID:0x80bb100) prio=8
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
        at
java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
    "Reference Handler" (TID:0x48eff3b0, sys_thread_t:0x80ab480,
state:CW, native ID:0x809dc00) prio=10
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at
java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
    "Signal dispatcher" (TID:0x48eff3e0, sys_thread_t:0x804ec80,
state:CW, native ID:0x809da00) prio=5
Monitor Cache Dump:
    org.apache.tomcat.util.ThreadPool$ControlRunnable@48F007E8/48FEB770:
<unowned>
        Waiting to be notified:
            "Thread-7" (0x845c280)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@48F009E0/48FEB0A8:
<unowned>
        Waiting to be notified:
            "Thread-2" (0x8441880)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@48F00BC8/48FEB5B0:
<unowned>
        Waiting to be notified:
            "Thread-5" (0x8441e80)
    sun.security.provider.SeedGenerator@48EF0878/49068678: <unowned>
        Waiting to be notified:
            "SeedGenerator Thread" (0x8514680)
    org.apache.tomcat.util.ThreadPool$MonitorRunnable@48EFFE90/48FEBA60:
<unowned>
        Waiting to be notified:
            "Thread-11" (0x845ca80)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@48F00750/48FEB648:
<unowned>
        Waiting to be notified:
            "Thread-6" (0x845c080)
    java.net.PlainSocketImpl@48F01310/48FEA808: owner "Thread-9"
(0x845c680) 1 entry
    org.apache.tomcat.util.ThreadPool$ControlRunnable@48F00AF8/48FEB518:
<unowned>
        Waiting to be notified:
            "Thread-4" (0x8441c80)
    java.lang.ref.ReferenceQueue$Lock@48EFF338/48F34D18: <unowned>
        Waiting to be notified:
            "Finalizer" (0x80abc80)
    org.apache.tomcat.util.Queue@48F014B8/48FBB890: <unowned>
        Waiting to be notified:
            "Thread-0" (0x832ee80)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@48F00E98/48FEB010:
<unowned>
        Waiting to be notified:
            "Thread-1" (0x8441480)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@48F00860/48FEB808:
<unowned>
        Waiting to be notified:
            "Thread-8" (0x845c480)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@48F00A60/48FEB140:
<unowned>
        Waiting to be notified:
            "Thread-3" (0x8441a80)
    java.lang.ref.Reference$Lock@48EFF3C0/48F34848: <unowned>
        Waiting to be notified:
            "Reference Handler" (0x80ab480)
    java.util.HashMap@48F01410/48FEA8D0: owner "Thread-10" (0x845c880) 1
entry
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 "Thread-10" (0x845c880) 1 entry
    Dynamic loading lock: <unowned>
    Thread queue lock: owner "Thread-10" (0x845c880) 1 entry
        Waiting to be notified:
            "Thread-12" (0x804e480)
    Monitor registry: owner "Thread-10" (0x845c880) 1 entry



---------------------------------------

mark@smartmonsters.com wrote:
> 
> My own experience with these SIGSEGV11 crashes tends to point away
> from the VM as cause.  Some notes:
> 
> 1. In my experience, IBM's 1.3 VM has been quite stable on RedHat.  I
> have a complex server application which runs for weeks at a time with
> no errors.  (Current uptime: 25 days, 17 hours, 3 minutes -- just
> checked.)  Whereas I do occasionally experience SIGSEGV 11 crashes
> running Tomcat on the same machine.  While this doesn't categorically
> rule out the VM as the cause, it does seem to point more toward Tomcat
> than the VM.
> 
> 2. For me the SIGSEGV 11 crashes didn't happen with Tomcat 3.1.  Only
> started when I upgraded to 3.2b2.  Same VM, it was the Tomcat version
> which changed.
> 
> 3. But, it's not clear that the Tomcat upgrade is the cause, since
> there was a lot of JSP development happening on the same machine at
> the same time.  In particular,  my project began implementing Session
> management around the time of the Tomcat upgrade.  It would be
> possible to rule out Tomcat version change as the cause by
> experimentally re-deploying my app-in-progress on Tomcat 3.1; I may do
> this while tracking down this problem.
> 
> Again, this doesn't rule out the VM, just tends to point in a
> different direction.  I suspect an instability somewhere in the Tomcat
> implementation, perhaps something specific to Session management.
>  Will have to trace this down before my app moves toward
> production-readiness.  Will post any new info as it turns up;
> meanwhile many thanks if you'll do the same.
> 
> Hope this helps,
> 
> --Mark
> 
>  Thomas Hagedorn <Thomas.Hagedorn@alcatel.de>
>  Sent by:                                                                   To:
>  tomcat-user-return-10461-mark=smartmonsters.com@jakarta.apache.org  tomcat-user@jakarta.apache.org,
>                                                                     sabourdin@cybericare.com
>  09/05/2000 05:13 AM                                                        cc:
>  Please respond to tomcat-user                                              Subject:
       Re:
>                                                                     SIGSEGV 11 (*) segmentation
>                                                                     violation
> 
> Hi,
> 
> I guess a problem with the IBM JVM in 1.3. even if it is declared as
> final release, SUN JDK1.3 which is declared beta (for Linux) is still
> more stable.
> I'm working on RH6.2 and I had a lot of problems with IBM-JDK1.3 and
> tomcat and jBoss and TogetherJ and all troubles dissappeared when
> switching to SUN JDK1.3beta.
> 
> hope this helps
> 
> best regards
> tom
> 
> Am Die, 05 Sep 2000 schrieben Sie:
> > hello, I had tiwce this error in my terminal :
> > "SIGSEGV 11 (*) segmentation violation
> >         stackpointer=0xbe5c0cb0 "
> > Can anyone explain my what type of error could it be,
> > or where to look at.
> > I use:
> >
> > Red Hat Linux release 6.1 (Cartman)
> > Kernel 2.2.12-20
> > --
> > java version "1.3.0"
> > Classic VM (J2RE 1.3.0 IBM build cxdev-20000502 (JIT
> > enabled: jitc))
> > --
> > tomcat 3.1
> > (Is there any official stable version of tomcat 3.2?)
> >
> > your sincerely,
> >
> > thanks.
> >
> > =====
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Mail - Free email you can access from anywhere!
> > http://mail.yahoo.com/

Mime
View raw message