You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Divakar Satyanarayan <Di...@mascotsystems.com> on 2002/11/18 00:28:50 UTC

SEGMENTATION VIOLATION..

Hi,

  I have an application that is running on OC4J. We are using struts to
implement the application..

  One of the module searches for the records & fetches the result from
database. SInce the Database hits need to be minimised we are fetching
around 100 records at a time & we are storing them in session object. The
records are collection of HashMap which are stored in ArrayList..that is to
tell that the result is an ArrayList of HashMap..

 Now after some time when the program tries to access
request.getSession(false) Oc4J is throwing the following stack trace & the
server crashes abruptly.. I have attached the stack trace for teh refernce
below.. Has anyone come across this problem before?

 Is there any limit on the size of the data that will be placed in the
session I did search the web but I havent been able to find the information
of the limit Except that IBM site has an article for their application
server where they manage this overflow of session..

 Please do give me some inputs on this..

Thanks & Regards,
Divakar


SIGSEGV 11 segmentation violation
    si_signo [11]: SEGV
    si_errno [0]: 
    si_code [1]: SEGV_MAPERR [addr: 0xc261820]

        stackpointer=F216FF80
"ApplicationServerThread" (TID:0x14cfcc0, sys_thread_t:0x14cfbf8, state:R,
thread_t: t@70, threadID:0xf2171d70, stack_bottom:0xf2171d70,
stack_size:0x1fd70) prio=5 *current thread*

[1]
mascot.workqueue.action.WrkqSearchAction.perform(WrkqSearchAction.java:63)
[2]
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
va:1786)
[3] org.apache.struts.action.ActionServlet.process(ActionServlet.java:1515)
[4] org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
[5] javax.servlet.http.HttpServlet.service(HttpServlet.java:189)
[6] javax.servlet.http.HttpServlet.service(HttpServlet.java:225)
[7] javax.servlet.http.HttpServlet.service(HttpServlet.java:323)
[8]
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispa
tcher.java:199)
[9]
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletReq
uestDispatcher.java:155)
[10]
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandle
r.java:286)
[11]
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:81)
[12] com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:45)
-------------------
"ApplicationServerThread" (TID:0x188f9e8, sys_thread_t:0x188f920, state:R,
thread_t: t@63, threadID:0xf2f71d70, stack_bottom:0xf2f71d70,
stack_size:0x1fd70) prio=5

[1] oracle.jdbc.oci8.OCIDBAccess.do_fetch(Native Method)
[2] oracle.jdbc.oci8.OCIDBAccess.fetch(OCIDBAccess.java:1358)
[3]
oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1597)
[4]
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
:1834)
[5]
oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:515)
[6] com.evermind.sql.FilterStatement.executeQuery(FilterStatement.java:255)
[7]
mascot.common.DBConnectionWrapper.getLabelValueRows(DBConnectionWrapper.java
:447)
[8]
mascot.workqueue.bean.WrkqProfileSetUpDBBean.getASMList(WrkqProfileSetUpDBBe
an.java:189)
[9]
mascot.workqueue.bean.WrkqProfileSetUpBean.getASMLIST(WrkqProfileSetUpBean.j
ava:196)
[10]
mascot.workqueue.action.WrkqProfileSetupAction.perform(WrkqProfileSetupActio
n.java:61)
[11]
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
va:1786)
[12] org.apache.struts.action.ActionServlet.process(ActionServlet.java:1515)
[13] org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
[14] javax.servlet.http.HttpServlet.service(HttpServlet.java:189)
[15] javax.servlet.http.HttpServlet.service(HttpServlet.java:225)
[16] javax.servlet.http.HttpServlet.service(HttpServlet.java:323)
[17]
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispa
tcher.java:199)
[18]
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletReq
uestDispatcher.java:155)
[19]
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandle
r.java:286)
[20]
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:81)
[21] com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:45)
-------------------
"SeedGenerator Thread" (TID:0x1b91978, sys_thread_t:0x1b918b0, state:CW,
thread_t: t@21, threadID:0xf20f1d70, stack_bottom:0xf20f1d70,
stack_size:0x1fd70) prio=1

[1] java.lang.Object.wait(Object.java:424)
[2] sun.security.provider.SeedGenerator.run(SeedGenerator.java:107)
[3] java.lang.Thread.run(Thread.java:479)
-------------------
"Thread-2" (TID:0x179660, sys_thread_t:0x179598, state:MW, thread_t: t@1,
threadID:0x25228, stack_bottom:0xffbf0000, stack_size:0x800000) prio=5

-------------------
"TaskManager" (TID:0xa57678, sys_thread_t:0xa575b0, state:CW, thread_t:
t@13, threadID:0xf2901d70, stack_bottom:0xf2901d70, stack_size:0x1fd70)
prio=5

[1] java.lang.Thread.sleep(Native Method)
[2] com.evermind.util.TaskManager.run(TaskManager.java:108)
[3] com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:45)
-------------------
"HttpConnectionListener [0.0.0.0/0.0.0.0:8888]" (TID:0x999d60,
sys_thread_t:0x999c98, state:R, thread_t: t@12, threadID:0xf2941d70,
stack_bottom:0xf2941d70, stack_size:0x1fd70) prio=5

[1] java.net.PlainSocketImpl.socketAccept(Native Method)
[2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:413)
[3] java.net.ServerSocket.implAccept(ServerSocket.java:236)
[4] java.net.ServerSocket.accept(ServerSocket.java:222)
[5]
com.evermind.server.http.HttpConnectionListener.run(HttpConnectionListener.j
ava:158)
[6] com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:45)
-------------------
"ApplicationServerThread" (TID:0x80e478, sys_thread_t:0x80e3b0, state:R,
thread_t: t@11, threadID:0xf2971d70, stack_bottom:0xf2971d70,
stack_size:0x1fd70) prio=5

[1] java.net.PlainSocketImpl.socketAccept(Native Method)
[2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:413)
[3] java.net.ServerSocket.implAccept(ServerSocket.java:241)
[4] java.net.ServerSocket.accept(ServerSocket.java:222)
[5] com.evermind.server.rmi.RMIServer.run(RMIServer.java:195)
[6] com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:45)
-------------------
"JMSServer" (TID:0x79dde8, sys_thread_t:0x79dd20, state:R, thread_t: t@10,
threadID:0xf2ad1d70, stack_bottom:0xf2ad1d70, stack_size:0x1fd70) prio=5

[1] java.net.PlainSocketImpl.socketAccept(Native Method)
[2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:413)
[3] java.net.ServerSocket.implAccept(ServerSocket.java:241)
[4] java.net.ServerSocket.accept(ServerSocket.java:222)
[5] com.evermind.server.jms.JMSServer.run(JMSServer.java:258)
[6] com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:45)
-------------------

Exiting Thread (sys_thread_t:0xff33ddb0) : no stack

Exiting Thread (sys_thread_t:0x591d00) : no stack
"Finalizer" (TID:0x1ab228, sys_thread_t:0x1ab160, state:CW, thread_t: t@6,
threadID:0xfe391d70, stack_bottom:0xfe391d70, stack_size:0x1fd70) prio=8

[1] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:146)
[2] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:168)
[3]
java.lang.ref.Finalizer$FinalizerWorker$FinalizerThread.run(Finalizer.java:1
24)
-------------------
"Reference Handler" (TID:0x194db8, sys_thread_t:0x194cf0, state:CW,
thread_t: t@5, threadID:0xfe3c1d70, stack_bottom:0xfe3c1d70,
stack_size:0x1fd70) prio=10

[1] java.lang.Object.wait(Object.java:424)
[2] java.lang.ref.Reference$ReferenceHandler.run(Reference.java:130)
-------------------
"Signal dispatcher" (TID:0x188690, sys_thread_t:0x1885c8, state:MW,
thread_t: t@4, threadID:0xfe3f1d70, stack_bottom:0xfe3f1d70,
stack_size:0x1fd70) prio=10



DISCLAIMER: Information contained and transmitted by this E-MAIL is
proprietary to Mascot Systems Limited and is intended for use only by the
individual or entity to which it is addressed, and may contain information
that is privileged, confidential or exempt from disclosure under applicable
law. If this is a forwarded message, the content of this E-MAIL may not have
been sent with the authority of the Company. If you are not the intended
recipient, an agent of the intended recipient or a person responsible for
delivering the information to the named recipient, you are notified that any
use, distribution, transmission, printing, copying or dissemination of this
information in any way or in any manner is strictly prohibited. If you have
received this communication in error, please delete this mail & notify us
immediately at Mailadmin@mascotsystems.com Before opening attachments,
please scan for viruses. 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>