🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.linux
Article #4910

Borland JIT bug.

#4910
From: Harish Prabandham
Date: Thu, 18 Nov 1999 00:00
63 lines
3112 bytes
Hi,

I attempted to run tomcat web server using the borland jit.
It seems to run fine with the default blackdown compiler &
VM.

One particular example fails. Here is a way to reproduce the
problem:

1. Install borland jit.
2. download & compile the latest tomcat webserver.
    (http://jakarta.apache.org/ for details)
3. Run the errorpage jsp example:
    http://localhost:8080/examples/jsp/error/error.html

4. The VM will crash giving the following stack trace:
(It appears that its crashing on a method that starts with and
 _ (underscore))

 SIGSEGV   11*  segmentation violation
        stackpointer=0xbdfff12c

Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v2, native threads):
    "Thread-7" (TID:0x404d4760, sys_thread_t:0x847f838, state:R, native
ID:0x380e) prio=5: pending=java.lang.NullPointerException
        at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Compiled Code)
        at org.apache.jasper.runtime.JspServlet.serviceJspFile(Compiled Code)
        at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at org.apache.tomcat.core.ServiceInvocationHandler.method(Compiled Code)

        at org.apache.tomcat.core.ServletWrapper.handleInvocation(Compiled Code)

        at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
        at org.apache.tomcat.core.Context.handleRequest(Compiled Code)
        at org.apache.tomcat.core.ContextManager.service(Compiled Code)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compiled
Code)
        at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)
    "Thread-5" (TID:0x404da118, sys_thread_t:0x804c0e0, state:CW, native
ID:0x400) prio=5
    "Thread-4" (TID:0x404d9f90, sys_thread_t:0x83364c0, state:R, native
ID:0x300d) prio=5
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(Compiled Code)
        at java.net.ServerSocket.implAccept(Compiled Code)
        at java.net.ServerSocket.accept(Compiled Code)
        at org.apache.tomcat.service.TcpEndpoint.acceptConnections(Compiled
Code)
        at org.apache.tomcat.service.TcpListenerThread.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)



Thanx


Harish
Technical Details
Message-ID: <3834E9C9.624F2811@shorter.eng.sun.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 107590,a1245a93f2672e41,start
X-Google-Attributes: gid107590,public
From: Harish Prabandham <harishp@shorter.eng.sun.com>
Subject: Borland JIT bug.
Date: 1999/11/18
Message-ID: <3834E9C9.624F2811@shorter.eng.sun.com>
X-Deja-AN: 550413126
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: JavaSoftware Division
Mime-Version: 1.0
Reply-To: harishp@shorter.eng.sun.com
Newsgroups: borland.public.jbuilder.linux