Jdbc 8.1.5 and segmentation violation
I am using the Oracle 8i client libs on a Unix box to connect to a Oracle 7.3.4 database on NT using the JDBC oci driver.
The application server we are running manages a pool of db connections that is used by clients . When the app server starts, it connects to the Oracle database, reads some config tables, and is fine. To grab a connection from the pool the client calls a reserve method of the app server. This reserve method first tries to execute a simple query to check that the connection is good. However, it takes a "segmentation violation" trying to create a jdbc statement object, which is weird since the app server actually uses the same reserve method to call the database during initialization (and it works just fine).
It could be something flakey with the Oracle 8i JDBC or client
libraries, as we never saw this happen with the 8.0.5 client libs. The same app server code runs just fine.
Any ideas on what could be causing this?
I am also using JDK 1.3.1_02 but am using the classes12 library. Is there a classes13 library?
New at this...thanks
Similar Messages
-
Segmentation violation while logging to jdbc type 4
hi,
I'm getting segmentation violation everytime when I try to log to jdbc type 4 after I've sent emails (via a thread). The code was working fine for type 2 jdbc. Following is my stack trace:
SIGSEGV 11 segmentation violation
si_signo [11]: SEGV
si_errno [0]:
si_code [1]: SEGV_MAPERR [addr: 0x0]
stackpointer=E107EB98
"Thread-49" (TID:0x135b978, sys_thread_t:0x135b8b0, state:CW, thread_t: t@87, threadID:0xe73a4000, stack_bottom:0xe0e00000, stack_size:0x200000) prio=6
[1] java.lang.Thread.sleep(Native Method)
[2] com.kivasoft.applogic.AppLogicCleaner.run(Unknown Source)
"Thread-48" (TID:0x1328960, sys_thread_t:0x1328898, state:R, thread_t: t@86, threadID:0xe73a3e00, stack_bottom:0xe1080000, stack_size:0x200000) prio=5 current thread
[1] com.kivasoft.rlop.ObjectPoolManager.getObjectPoolnative(Native Method)
[2] com.kivasoft.rlop.ObjectPoolManager.getObjectPool(Unknown Source)
[3] com.netscape.server.jdbc.ConnectionPool.getPool(Unknown Source)
[4] com.netscape.server.jdbc.ConnectionPool.getFromPool(Unknown Source)
[5] com.netscape.server.jdbc.ConnectionPool.getConnection(Unknown Source)
[6] com.netscape.server.jdbc.DataSourceImpl.getConnection(Unknown Source)
[7] TestDatabase.getConnection(TestDatabase.java:89)
Is there any threading issue for logging to jdbc? I'm using Iplanet 6 SP2, running on UNIX system. Thanks in advance for any help.You say you've managed to get the JDBC driver working
in an application but not in a JSP. You also say that
the error you get is
"com.microsoft.jdbc.sqlserver.SQLServerDriver".
I'd be willing to bet that the exception that you have
got is a ClassNotFoundException. I.E. your application
server hasn't found the JDBC driver classes. The
application server probably doesn't use your current
CLASSPATH to look for classes. It will be setup within
the application server in some way and you'll need to
check your app server documentation to see how it is
done.
Try replacing
e.printStackTrace();with
e.printStackTrace(out);to get a full stack trace of your error.
ColTried it. Got this error when I tried to run the JSP.
Incompatible type for method. Can't convert javax.servlet.jsp.JspWriter to java.io.PrintWriter.
e.printStackTrace(out);
I'm currently using Apache Tomcat 4.0.3 as my JSP/Servlet Container.
I'm also using Type 4 MS SQL Server 2000 JDBC driver version 2.0 on my NT4.0 Server.
Do I need to set my JDBC driver in my container? if so, how do I do that? -
RE: OLE and Access Segmentation Violations
Hi all,
I did not work with OLE automation for external components, but while developing the external components, C++, in one of our projects I've experienced the same error "Access Segmentation Violations". I've found out that this is because of memory access beyond the component's allocated space AND/OR freeing up the unallocated memory space for the components.
Hope this clue may help u.
Regards
Sivaram S Ghorakavi mailto:[email protected]
International Business Corporation http://www.ibcweb.com/
From: [email protected]
Sent: Tuesday, November 25, 1997 6:25 PM
To: [email protected]
Subject: OLE and Access Segmentation Violations
Has anybody used Forte to communicate with external components using OLE
Automation? We are creating segmentation violations through some of our
use of this interface, and need to know if there are some 'golden rules'
that can guide developers as they use the feature.
Thank you!Hi!
I am not sure that I can give you any "golden rules" for interfacing
with OLE, but I can give you some thoughts on where to look for problems
that can result in Segmentation Violations.
I have often seen segmentation violations arise as a result of a NIL
object. You might want to try turning on the trc:lo:25 trace flag to
see if there is a NIL object exception being raise right before the seg
v. You have to be careful with the trc:lo:25 flag, though, since it
will show you every exception, no matter what, that is raised within
Forte (even if it's been handled internally). This is of greater
significance to OLE projects, since Forte tries several different ways
of starting an OLE server and uses internally handled exceptions to
notify itself if a certain method failed.
Another thing to try is just-in-time debugging. You will need Microsoft
Visual C++ installed on the machine where the OLE code is running, and
you will need to set the FORTE_NOHANDLER environment variable to TRUE.
In the MSVC development environment, go to the Tools --> Options
properties sheet, and choose the Debug tab. On that tab, make sure that
Just-In-Time Debugging is selected. Then, run the application. When
you encounter the seg v, you should get a dialog box asking if you want
to debug the application. Choosing yes (actually, I think that pressing
Cancel does this - the dialog box tells you) will bring you into the
MSVC development environment, where you can try some intense debugging.
I hope this helps!
-Katie
[email protected] wrote:
>
Has anybody used Forte to communicate with external components using
OLE
Automation? We are creating segmentation violations through some of
our
use of this interface, and need to know if there are some 'golden
rules'
that can guide developers as they use the feature.
Thank you!--
Katie Carty
Forte Consulting
4801 Woodway Drive
Suite 300E
Houston, Texas 77056
vmail: 510-986-3802
email: [email protected]
----------------------------------------------- -
OLE and Access Segmentation Violations
Has anybody used Forte to communicate with external components using OLE
Automation? We are creating segmentation violations through some of our
use of this interface, and need to know if there are some 'golden rules'
that can guide developers as they use the feature.
Thank you!Hi!
I am not sure that I can give you any "golden rules" for interfacing
with OLE, but I can give you some thoughts on where to look for problems
that can result in Segmentation Violations.
I have often seen segmentation violations arise as a result of a NIL
object. You might want to try turning on the trc:lo:25 trace flag to
see if there is a NIL object exception being raise right before the seg
v. You have to be careful with the trc:lo:25 flag, though, since it
will show you every exception, no matter what, that is raised within
Forte (even if it's been handled internally). This is of greater
significance to OLE projects, since Forte tries several different ways
of starting an OLE server and uses internally handled exceptions to
notify itself if a certain method failed.
Another thing to try is just-in-time debugging. You will need Microsoft
Visual C++ installed on the machine where the OLE code is running, and
you will need to set the FORTE_NOHANDLER environment variable to TRUE.
In the MSVC development environment, go to the Tools --> Options
properties sheet, and choose the Debug tab. On that tab, make sure that
Just-In-Time Debugging is selected. Then, run the application. When
you encounter the seg v, you should get a dialog box asking if you want
to debug the application. Choosing yes (actually, I think that pressing
Cancel does this - the dialog box tells you) will bring you into the
MSVC development environment, where you can try some intense debugging.
I hope this helps!
-Katie
[email protected] wrote:
>
Has anybody used Forte to communicate with external components using
OLE
Automation? We are creating segmentation violations through some of
our
use of this interface, and need to know if there are some 'golden
rules'
that can guide developers as they use the feature.
Thank you!--
Katie Carty
Forte Consulting
4801 Woodway Drive
Suite 300E
Houston, Texas 77056
vmail: 510-986-3802
email: [email protected]
----------------------------------------------- -
Segment violation in instant client library
Hi,
I have the following problem:
A Jboss/Java application accesses a database over JDBC. We use the OCI driver and Instant Client 10.2.0.1 connected to a two node Oracle RAC.
After several days continuous operation this application crashes with a segment violation, either in libclntsh.so.10.1 or in libocijdbc10.so.
In the mean time the RSS of the process has grown from about 1 GB to 2.5 to 2.7 GB but all Java heap space (and other allocations) are clearly within their set boundaries.
Does anybody now if there is a memory leak in the native code in instant client or elsewhere?
Operating system is Red Hat ES 3, Instant Client is version 10.2.0.1 and Java's version is 1.5.0_06.
regards
Börje JonssonHi,
There is something log or trace erros files that was
generated ?
CheersI have trace files from two appservers, the first one here:
# An unexpected error has been detected by HotSpot Virtual Machine:
# SIGSEGV (0xb) at pc=0x650327ec, pid=2793, tid=1714793392
# Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode)
# Problematic frame:
# C [libclntsh.so.10.1+0x4db7ec] nlolgserv+0x1a0
--------------- T H R E A D ---------------
Current thread (0x675321a8): JavaThread "http-0.0.0.0-8080-36" daemon [_thread_in_native, id=3243]
siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000
Registers:
EAX=0x00000000, EBX=0x658e06c4, ECX=0xffffffff, EDX=0x4ca53ac0
ESP=0x66352668, EBP=0x663527a8, ESI=0xbee1e408, EDI=0x00000000
EIP=0x650327ec, CR2=0x00000000, EFLAGS=0x00210246
Top of Stack: (sp=0x66352668)
0x66352668: 6172736d 00000063 00000001 658e06c4
0x66352678: 6635274c 65590000 08400000 6635005a
0x66352688: 00000000 00000000 658e06c4 00000000
0x66352698: 6580a16c 09289560 00000000 0000005a
0x663526a8: bbec9fc0 bd687b54 66352f64 be0e5ca8
0x663526b8: 658e06c4 66352708 b75d7baa 00000081
0x663526c8: 69979527 66352b9c 658e06c4 69978ccd
0x663526d8: be047c96 bbeeedd1 00000001 650dec84
Instructions: (pc=0x650327ec)
0x650327dc: 4d d8 89 45 c4 8b 11 8b f8 b9 ff ff ff ff 33 c0
0x650327ec: f2 ae 83 c7 ff 8a 02 83 c2 01 88 07 83 c7 01 84
Stack: [0x6633a000,0x6635b000), sp=0x66352668, free space=97k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libclntsh.so.10.1+0x4db7ec] nlolgserv+0x1a0
C [libclntsh.so.10.1+0x4dbf2c] nlolgobj+0x552
C [libclntsh.so.10.1+0x3d3cf0] nnfun2a+0x17c
C [libclntsh.so.10.1+0x3d38e4] nnfsn2a+0x66
C [libclntsh.so.10.1+0x413b39] niqname+0x16f
C [libclntsh.so.10.1+0x340340] kwfnran+0x554
C [libclntsh.so.10.1+0x3090a4] kwfcinit+0xfe
C [libclntsh.so.10.1+0x16d0ee] kpuatch+0x7e0
C [libclntsh.so.10.1+0x286d09] OCIServerAttach+0x81
C [libocijdbc10.so+0x5a30]
C [libocijdbc10.so+0x7270] Java_oracle_jdbc_driver_T2CConnection_t2cLogon+0x17c
C [libocijdbc10.so+0x70c1] Java_oracle_jdbc_driver_T2CConnection_t2cCreateState+0x13f
j oracle.jdbc.driver.T2CConnection.t2cCreateState([BI[BI[BI[BISI[S[B[B)I+0
... a lot more rows ...
And the second one:
# An unexpected error has been detected by HotSpot Virtual Machine:
# SIGSEGV (0xb) at pc=0x683a5e57, pid=23266, tid=1699470256
# Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode)
# Problematic frame:
# C [libocijdbc10.so+0x11e57]
--------------- T H R E A D ---------------
Current thread (0x5c2eddf0): JavaThread "http-0.0.0.0-8080-68" daemon [_thread_in_native, id=7837]
siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000
Registers:
EAX=0x00000000, EBX=0x683ae67c, ECX=0x0000000c, EDX=0x0000000c
ESP=0x654bb158, EBP=0x654bb200, ESI=0x683ad210, EDI=0x0000166c
EIP=0x683a5e57, CR2=0x00000000, EFLAGS=0x00210206
Top of Stack: (sp=0x654bb158)
0x654bb158: 00000000 683ae67c 683a5d47 00000000
0x654bb168: 00000000 0000000c 683a3060 00000000
0x654bb178: 00000000 0000000c 654bb190 5e739f5c
0x654bb188: 5e739f60 5e739f60 b704f488 5e739f5c
0x654bb198: 683ae67c 247fd514 0000000a 0076f4c4
0x654bb1a8: 0098b380 00000003 5655d348 00000014
0x654bb1b8: 00000028 b6d24772 0000166c 0000000c
0x654bb1c8: 654bb258 b6d1d088 0000000a ffffffff
Instructions: (pc=0x683a5e57)
0x683a5e47: dc 89 42 e0 89 42 e4 89 42 e8 89 42 ec 89 42 f0
0x683a5e57: 89 42 f4 89 42 f8 89 42 fc 8b 44 24 0c 5e 5b c3
Stack: [0x6549d000,0x654be000), sp=0x654bb158, free space=120k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libocijdbc10.so+0x11e57]
C [libocijdbc10.so+0xe29a] Java_oracle_jdbc_driver_T2CStatement_t2cDefineFetch+0x90
j oracle.jdbc.driver.T2CStatement.t2cDefineFetch(JI[S[BII[Loracle/jdbc/driver/Accessor;[BI[CI[SI[J)I+0
... a lot more rows ... -
it gives "Segmentation violation java" when running java command on ksh shell after when i am sourcung my script file
i.e bv1to1.conf.sh(broad vision), before sourcing i am able to run any java command.
in bv1to1.conf.sh,there some env commands being set by the script for BV ...
Please provide solution..Need Help,
The exact error is "Segmentation violation java " when running the command "java com.broadvision.search.client.Indexer -catalog editorial -service PresidioIndustries -propFile D:/BV1TO1_7.1_VAR/search/searchProps".
i am implementing lucene search engine adpter on broad vision,n i have assured that JNI is not running.
i am sourcing the bv1to1.conf.sh file on ksh shell which is file of broad vision enterprise.
once i am sourcing this file,i am unable to run simple javac or java command on ksh shell,otherwise its ok but need to source this file and then start broad vison for searching using lucene.
======================content bv1to1.conf.sh=======================
export BV_LOCAL_HOST
BV_LOCAL_HOST=${BV_LOCAL_HOST:-`uname -n | tr [:upper:] [:lower:]`}
export BV1TO1; BV1TO1="d:/BV1TO1_7.1"
export BV1TO1_VAR; BV1TO1_VAR="d:/BV1TO1_7.1_VAR"
export BV1TO1_INSTANCE; BV1TO1_INSTANCE="bv"
export BV1TO1_ROOT_HOST; BV1TO1_ROOT_HOST="eps-hcl-dev2"
export BV_DB_VENDOR; BV_DB_VENDOR="oracle"
export BV_DB_SERVER; BV_DB_SERVER="orcl"
export BV_DB_DATABASE; BV_DB_DATABASE="bv1to1"
export BV_DB_USER; BV_DB_USER="bv1to1"
export BV1TO1_JDK; BV1TO1_JDK="d:/BV1TO1_7.1/jdk1.4"
export BV1TO1_JRE; BV1TO1_JRE="d:/BV1TO1_7.1/jre1.4"
export BV_Y2K_CUTOFF; BV_Y2K_CUTOFF="30"
export ORACLE_HOME; ORACLE_HOME="c:/oracle/product/10.2.0/db_1"
export ORA_NLS; ORA_NLS="c:/oracle/product/10.2.0/db_1/ocommon/nls/admin/data"
export ORACLE_SID; ORACLE_SID="dummy"
export TNS_ADMIN; TNS_ADMIN="c:/oracle/product/10.2.0/db_1/network/admin"
export NLS_LANG; NLS_LANG="American_America.us7ascii"
export BV_DB_CONN_URL; BV_DB_CONN_URL="jdbc:oracle:oci8:@orcl"
export JDBC_CLASSPATH; JDBC_CLASSPATH="c:/oracle/product/10.2.0/db_1/jdbc/lib/classes12.zip:c:/oracle/product/10.2.0/db_1/jdbc/lib/nls_charset12.zip"
export FASTSEARCH; FASTSEARCH="dummy"
export FS_BASE_PORT; FS_BASE_PORT="dummy"
export FS_HOST; FS_HOST="dummy"
export SEARCHENGINE; SEARCHENGINE="lucene"
export IT_DAEMON_PORT; IT_DAEMON_PORT="1221"
export IT_DAEMON_SERVER_BASE; IT_DAEMON_SERVER_BASE="1300"
export IT_DAEMON_SERVER_RANGE; IT_DAEMON_SERVER_RANGE="200"
export IT_CONNECT_ATTEMPTS; IT_CONNECT_ATTEMPTS="200"
export IT_MAX_MESSAGE_SIZE; IT_MAX_MESSAGE_SIZE="8388608"
export ORBIX_ACL; ORBIX_ACL="i+all l+all"
export BV_ORB_CONNECT_TIMEOUT; BV_ORB_CONNECT_TIMEOUT="60"
export BV_ORB_CALL_TIMEOUT; BV_ORB_CALL_TIMEOUT="240"
export BV_ORB_DIAGNOSTICS; BV_ORB_DIAGNOSTICS="0"
export BV_ORB_BIDIRECTIONAL_IIOP; BV_ORB_BIDIRECTIONAL_IIOP="0"
export BV_ORB_ABORT_SLOW_CONNECT; BV_ORB_ABORT_SLOW_CONNECT="1"
export BV_SRVCTX_ID_FOR_XID; BV_SRVCTX_ID_FOR_XID="1234567"
export LC_ALL; LC_ALL="us"
export BV_LC_LIST; BV_LC_LIST="us"
export BV_PATH; BV_PATH="d:/BV1TO1_7.1/bin;d:/BV1TO1_7.1/jre1.4/jre/bin;d:/BV1TO1_7.1/jre1.4/bin/server;d:/BV1TO1_7.1/jre1.4/jre/bin/hotspot;d:/BV1TO1_7.1/orbix/bin;dummy/bin;d:/BV1TO1_7.1/xml/bin"
export BV_LD_LIBRARY_PATH; BV_LD_LIBRARY_PATH="d:/BV1TO1_7.1/lib;d:/BV1TO1_7.1/lib/objects;d:/BV1TO1_7.1/lib/components;d:/BV1TO1_7.1/orbix/lib;d:/BV1TO1_7.1/rogue/lib;d:/BV1TO1_7.1/xml/lib"
export app_context; app_context="/comcenter,/presidio"
export emarketing_installed; emarketing_installed="0"
export COMMERCE_CONFIG_DIR; COMMERCE_CONFIG_DIR="d:/BV1TO1_7.1_VAR/config"
export SERVICEFWK_CONFIG_FILE; SERVICEFWK_CONFIG_FILE="d:/BV1TO1_7.1_VAR/config/services/services.xml"
export FABMSHIPCONFIG; FABMSHIPCONFIG="d:/BV1TO1_7.1_VAR/etc/shipping.conf"
export mr_encrypt_card_num; mr_encrypt_card_num="1"
export MR_DO_NOT_MASK_CARD_NUMBER; MR_DO_NOT_MASK_CARD_NUMBER="0"
export MR_DATE_DELIMITER; MR_DATE_DELIMITER="/"
export MR_ALT_CURRENCY; MR_ALT_CURRENCY=""
export JAVA_MR_RTA_STATE; JAVA_MR_RTA_STATE="WaitFulfillment"
export rulemanager_classpath; rulemanager_classpath="d:/BV1TO1_7.1_VAR/orb;d:/BV1TO1_7.1/CLASSES/bvidl.jar;d:/BV1TO1_7.1/orbix/lib/OrbixWeb.jar;d:/BV1TO1_7.1/CLASSES/cup.jar;d:/BV1TO1_7.1/CLASSES/tools121.jar;d:/BV1TO1_7.1/CLASSES/xalan.jar;d:/BV1TO1_7.1/CLASSES/xerces.jar;d:/BV1TO1_7.1/CLASSES/rulemanager.jar"
export fastsearch_classpath; fastsearch_classpath="dummy/lib/SearchSession.jar;d:/BV1TO1_7.1/CLASSES/bvfsearch.jar"
export classpath; classpath="d:/BV1TO1_7.1/CLASSES;d:/BV1TO1_7.1/CLASSES/bvcore.jar;d:/BV1TO1_7.1/CLASSES/bvweb.jar;d:/BV1TO1_7.1/CLASSES/bvxml.jar;d:/BV1TO1_7.1/jdk1.4/lib/tools.jar;d:/BV1TO1_7.1/CLASSES/servlet.jar;d:/BV1TO1_7.1/CLASSES/ieportal.jar;d:/BV1TO1_7.1/CLASSES/iepcore.jar;d:/BV1TO1_7.1/CLASSES/smgrcache.jar;d:/BV1TO1_7.1/CLASSES/commerce.jar;d:/BV1TO1_7.1/CLASSES/commerceIEP.jar;d:/BV1TO1_7.1/CLASSES/publish.jar;d:/BV1TO1_7.1/CLASSES/jakarta-regexp-1.2.jar;d:/BV1TO1_7.1_VAR/orb;d:/BV1TO1_7.1/CLASSES/bvidl.jar;d:/BV1TO1_7.1/orbix/lib/OrbixWeb.jar;d:/BV1TO1_7.1/CLASSES/cup.jar;d:/BV1TO1_7.1/CLASSES/tools121.jar;d:/BV1TO1_7.1/CLASSES/xalan.jar;d:/BV1TO1_7.1/CLASSES/xerces.jar;d:/BV1TO1_7.1/CLASSES/rulemanager.jar;d:/BV1TO1_7.1/CLASSES/parser.jar;d:/BV1TO1_7.1/EXTCLASSES/portlet-container.jar;d:/BV1TO1_7.1/EXTCLASSES/portlet-api.jar;d:/BV1TO1_7.1/CLASSES/bvjdom.jar;d:/BV1TO1_7.1/CLASSES/bvsearch.jar;d:/BV1TO1_7.1/CLASSES/bv_lic.jar;d:/BV1TO1_7.1/CLASSES/bcprov-jdk13-119.jar;d:/BV1TO1_7.1/CLASSES/jce-jdk13-119.jar;d:/BV1TO1_7.1/CLASSES/lucene.jar;d:/BV1TO1_7.1/CLASSES/PDFBox.jar;c:/oracle/product/10.2.0/db_1/jdbc/lib/classes12.zip;c:/oracle/product/10.2.0/db_1/jdbc/lib/nls_charset12.zip;dummy/lib/SearchSession.jar;d:/BV1TO1_7.1/CLASSES/bvfsearch.jar"
export sched_srv_classpath; sched_srv_classpath="d:/BV1TO1_7.1/CLASSES;d:/BV1TO1_7.1/CLASSES/bvcore.jar;d:/BV1TO1_7.1/CLASSES/bvweb.jar;d:/BV1TO1_7.1/CLASSES/bvxml.jar;d:/BV1TO1_7.1/jdk1.4/lib/tools.jar;d:/BV1TO1_7.1/CLASSES/servlet.jar;d:/BV1TO1_7.1/CLASSES/ieportal.jar;d:/BV1TO1_7.1/CLASSES/iepcore.jar;d:/BV1TO1_7.1/CLASSES/smgrcache.jar;d:/BV1TO1_7.1/CLASSES/commerce.jar;d:/BV1TO1_7.1/CLASSES/commerceIEP.jar;d:/BV1TO1_7.1/CLASSES/publish.jar;d:/BV1TO1_7.1/CLASSES/jakarta-regexp-1.2.jar;d:/BV1TO1_7.1_VAR/orb;d:/BV1TO1_7.1/CLASSES/bvidl.jar;d:/BV1TO1_7.1/orbix/lib/OrbixWeb.jar;d:/BV1TO1_7.1/CLASSES/cup.jar;d:/BV1TO1_7.1/CLASSES/tools121.jar;d:/BV1TO1_7.1/CLASSES/xalan.jar;d:/BV1TO1_7.1/CLASSES/xerces.jar;d:/BV1TO1_7.1/CLASSES/rulemanager.jar;d:/BV1TO1_7.1/CLASSES/parser.jar;d:/BV1TO1_7.1/EXTCLASSES/portlet-container.jar;d:/BV1TO1_7.1/EXTCLASSES/portlet-api.jar;d:/BV1TO1_7.1/CLASSES/bvjdom.jar;d:/BV1TO1_7.1/CLASSES/bvsearch.jar;d:/BV1TO1_7.1/CLASSES/bv_lic.jar;d:/BV1TO1_7.1/CLASSES/bcprov-jdk13-119.jar;d:/BV1TO1_7.1/CLASSES/jce-jdk13-119.jar;d:/BV1TO1_7.1/CLASSES/lucene.jar;d:/BV1TO1_7.1/CLASSES/PDFBox.jar;c:/oracle/product/10.2.0/db_1/jdbc/lib/classes12.zip;c:/oracle/product/10.2.0/db_1/jdbc/lib/nls_charset12.zip;dummy/lib/SearchSession.jar;d:/BV1TO1_7.1/CLASSES/bvfsearch.jar;d:/BV1TO1_7.1/CLASSES/demandservices.jar;d:/BV1TO1_7.1/CLASSES/servicefwk.jar;d:/BV1TO1_7.1/CLASSES/commercecore.jar;d:/BV1TO1_7.1/CLASSES/mridl.jar;d:/BV1TO1_7.1/CLASSES/demandAcl.jar;d:/BV1TO1_7.1/CLASSES/struts.jar;d:/BV1TO1_7.1/merchant/selling/WEB-INF/lib/demandApp.jar;d:/BV1TO1_7.1/webapps/webapp.jar;d:/BV1TO1_7.1/webapps/webappCommon.jar"
export bv_java_mconv_ctx; bv_java_mconv_ctx="CPP_MIC"
export BV_JAVA_LD_LIBRARY_PATH; BV_JAVA_LD_LIBRARY_PATH="d:/BV1TO1_7.1/jre1.4/bin;d:/BV1TO1_7.1/jre1.4/bin/classic"
export BV_ENABLE_COM; BV_ENABLE_COM="yes"
case "$BV_LOCAL_HOST" in
eps-hcl-dev2)
esac
export PATH='d:/BV1TO1_7.1/bin;d:/BV1TO1_7.1/jre1.4/jre/bin;d:/BV1TO1_7.1/jre1.4/bin/server;d:/BV1TO1_7.1/jre1.4/jre/bin/hotspot;d:/BV1TO1_7.1/orbix/bin;dummy/bin;d:/BV1TO1_7.1/xml/bin;d:/BV1TO1_7.1/jre/jre/bin;d:/BV1TO1_7.1/jre/bin/server;d:/BV1TO1_7.1/jre/jre/bin/hotspot;d:/BV1TO1_7.1/jre/bin;d:/BV1TO1_7.1/jre/bin/hotspot;d:/BV1TO1_7.1/jdk/bin;d:/BV1TO1_7.1/verity/common;d:/BV1TO1_7.1/verity/_nti40/bin;C:/oracle/product/10.2.0/db_1/bin;D:/MKS/bin;D:/MKS/bin/x11;D:/MKS/mksnt;C:/Program Files/Verisium/vTest/Bin;C:/oraclexe/app/oracle/product/10.2.0/server/bin;C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/System32/Wbem;C:/Program Files/Intel/DMIX;C:/Program Files/Java/jdk1.6.0/bin;.;d:/BV1TO1_7.1/lib;d:/BV1TO1_7.1/lib/objects;d:/BV1TO1_7.1/lib/components;d:/BV1TO1_7.1/orbix/lib;d:/BV1TO1_7.1/rogue/lib;dummy/lib;d:/BV1TO1_7.1/xml/lib;'
export LD_LIBRARY_PATH='d:/BV1TO1_7.1/lib;d:/BV1TO1_7.1/lib/objects;d:/BV1TO1_7.1/lib/components;d:/BV1TO1_7.1/orbix/lib;d:/BV1TO1_7.1/rogue/lib;d:/BV1TO1_7.1/xml/lib;/usr/lib;/lib;d:/BV1TO1_7.1/verity/_nti40/bin;dummy/lib;'
export SHLIB_PATH='d:/BV1TO1_7.1/lib;d:/BV1TO1_7.1/lib/objects;d:/BV1TO1_7.1/lib/components;d:/BV1TO1_7.1/orbix/lib;d:/BV1TO1_7.1/rogue/lib;d:/BV1TO1_7.1/xml/lib;/usr/lib;/lib;d:/BV1TO1_7.1/verity/_nti40/bin;dummy/lib;'
case "$BV_LOCAL_HOST" in
eps-hcl-dev2)
export PATH='d:/BV1TO1_7.1/bin;d:/BV1TO1_7.1/jre1.4/jre/bin;d:/BV1TO1_7.1/jre1.4/bin/server;d:/BV1TO1_7.1/jre1.4/jre/bin/hotspot;d:/BV1TO1_7.1/orbix/bin;dummy/bin;d:/BV1TO1_7.1/xml/bin;d:/BV1TO1_7.1/jre/jre/bin;d:/BV1TO1_7.1/jre/bin/server;d:/BV1TO1_7.1/jre/jre/bin/hotspot;d:/BV1TO1_7.1/jre/bin;d:/BV1TO1_7.1/jre/bin/hotspot;d:/BV1TO1_7.1/jdk/bin;d:/BV1TO1_7.1/verity/common;d:/BV1TO1_7.1/verity/_nti40/bin;C:/oracle/product/10.2.0/db_1/bin;D:/MKS/bin;D:/MKS/bin/x11;D:/MKS/mksnt;C:/Program Files/Verisium/vTest/Bin;C:/oraclexe/app/oracle/product/10.2.0/server/bin;C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/System32/Wbem;C:/Program Files/Intel/DMIX;C:/Program Files/Java/jdk1.6.0/bin;.;d:/BV1TO1_7.1/lib;d:/BV1TO1_7.1/lib/objects;d:/BV1TO1_7.1/lib/components;d:/BV1TO1_7.1/orbix/lib;d:/BV1TO1_7.1/rogue/lib;dummy/lib;d:/BV1TO1_7.1/xml/lib;'
export LD_LIBRARY_PATH='d:/BV1TO1_7.1/lib;d:/BV1TO1_7.1/lib/objects;d:/BV1TO1_7.1/lib/components;d:/BV1TO1_7.1/orbix/lib;d:/BV1TO1_7.1/rogue/lib;d:/BV1TO1_7.1/xml/lib;/usr/lib;/lib;d:/BV1TO1_7.1/verity/_nti40/bin;dummy/lib;'
export SHLIB_PATH='d:/BV1TO1_7.1/lib;d:/BV1TO1_7.1/lib/objects;d:/BV1TO1_7.1/lib/components;d:/BV1TO1_7.1/orbix/lib;d:/BV1TO1_7.1/rogue/lib;d:/BV1TO1_7.1/xml/lib;/usr/lib;/lib;d:/BV1TO1_7.1/verity/_nti40/bin;dummy/lib;'
esac
export BV_SHARED_ORB='0'
export BV1TO1_INSTANCE='bv'
export BV_ORB_PROTOCOL='IIOP'
export IT_IONA_CONFIG_FILE='d:/BV1TO1_7.1_VAR/orb/Orbix.cfg'
export IT_DAEMON_PORT='1221'
export IT_DAEMON_SERVER_BASE='1300'
export IT_ERRORS='d:/BV1TO1_7.1/orbix/config/ErrorMsgs'
export IT_IMP_REP_PATH='d:/BV1TO1_7.1_VAR/orb/Repository'
export IT_INT_REP_PATH='d:/BV1TO1_7.1_VAR/orb/Interfaces'
export IT_LOCATOR_PATH='d:/BV1TO1_7.1_VAR/orb/LocatorTables'
=========================================================================
Thanks
Shambhu -
Oracle 9i installation problem with RedHat 7.2 (segmentation violation)
I have try to installation 9i with RedHat 7.2 by x windows.
when i use xwin to run the "./runInstaller, i got the error
(segmentation) as below:
i have already try to follow the installation procedure in
http://staff.in2.hr/denis/oracle/901install_rh72_en.html#1 but
still got this error.
Can anyone help me??
Regards
Chris Sung
=================================================================
===============
oracle install
Connecting 192.168.1.3 via TELNET
Thursday, December 13, 2001 1:04:06
Red Hat Linux release 7.2 (Enigma)
Kernel 2.4.7-10 on an i686
login: oracle
Password:
Last login: Thu Dec 13 00:46:39 from apple
[oracle@orange oracle]$ (/home/oracle/Disk1/runInstaller -
display 192.168.1.2:0
-name "oracle install" &)
[oracle@orange oracle]$ Initializing Java Virtual Machine
from /tmp/OraInstall/jre/bin/jre. Please wait...
SIGSEGV 11* segmentation violation
stackbase=0xbffff298, stackpointer=0xbffff160
Full thread dump:
"Finalizer thread" (TID:0x4276d210, sys_thread_t:0x4d0bfe0c,
state:R) prio=1
"Async Garbage Collector" (TID:0x4276d258,
sys_thread_t:0x4d09ee0c, state:R) prio=1
"Idle thread" (TID:0x4276d2a0, sys_thread_t:0x4d07de0c,
state:R) prio=0
"Clock" (TID:0x4276d088, sys_thread_t:0x4d05ce0c, state:CW)
prio=12
"main" (TID:0x4276d0b0, sys_thread_t:0x80d6fe8, state:R)
prio=5 *current thread*
java.lang.System.initializeSystemClass(System.java)
Monitor Cache Dump:
Registered Monitor Dump:
Thread queue lock: <unowned>
Name and type hash table lock: <unowned>
String intern lock: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class loading lock: <unowned>
Java stack lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Has finalization queue lock: <unowned>
Finalize me queue lock: <unowned>
Dynamic loading lock: <unowned>
Monitor IO lock: <unowned>
Child death monitor: <unowned>
Event monitor: <unowned>
I/O monitor: <unowned>
Alarm monitor: <unowned>
Waiting to be notified:
"Clock" (0x4d05ce0c)
Monitor registry: owner "main" (0x80d6fe8, 1 entry)
Thread Alarm Q:Strange, but yesterday I nter in Oracle9i install, open
gnome-terminal window as oracle user and simply type
/tmp/Disk1/runInstaler
the DISPLAY enviroment variable was set,
using RedHat 7.2 , kernel 2.4.16-0.9, glibc-2.2.4-19
Segmentation violation 11 may mean RAM problem, sometimes
incorrect program pointer.So I think it must work (runIstaler) -
Installing Oracle 8.1.7 on RHEL 3 (SIGSEGV 11* segmentation violation)
Hi
I have instaled a Oracle 8.1.7 on a Red Hat 3. and apply the 8.1.7 Mandatory OUI/JRE/GLIC Patch. All is fine until this point.
But when i must re-run the install and run the netasst& i get an segmentation violation.
I have checked all again, i have have uninstall all, and made a clean install, but i stil get the same error.
This is the full error. Can any one help please?
./netasst&
[1] 1726
[oracle@lisoms1 bin]$ SIGSEGV 11* segmentation violation
stackbase=0x41836000, stackpointer=0x41835a6c
Full thread dump:
"Image Fetcher 0" (TID:0x405ca908, sys_thread_t:0x3ffbde0c, state:R) prio=5
"TaskScheduler timer" (TID:0x405ca668, sys_thread_t:0x3ffdee0c, state:R) prio=5
"Thread-4" (TID:0x405c9200, sys_thread_t:0x3ffffe0c, state:R) prio=1
"AWT-Motif" (TID:0x405b2860, sys_thread_t:0x41890e0c, state:R) prio=5
java.lang.Thread.run(Thread.java)
"AWT-Input" (TID:0x405b2880, sys_thread_t:0x4186fe0c, state:CW) prio=5
"AWT-EventQueue-0" (TID:0x405b25e0, sys_thread_t:0x41835e0c, state:R) prio=5 current thread
java.lang.Object.wait(Object.java)
java.awt.EventQueue.getNextEvent(EventQueue.java:126)
java.awt.EventDispatchThread.run(EventDispatchThread.java:70)
"Finalizer thread" (TID:0x405ab210, sys_thread_t:0x412fde0c, state:CW) prio=1
"Async Garbage Collector" (TID:0x405ab258, sys_thread_t:0x412dce0c, state:CW) prio=1
"Idle thread" (TID:0x405ab2a0, sys_thread_t:0x412bbe0c, state:R) prio=0
"Clock" (TID:0x405ab088, sys_thread_t:0x4129ae0c, state:CW) prio=12
"main" (TID:0x405ab0b0, sys_thread_t:0x80eb190, state:CW) prio=5
java.lang.Object.wait(Object.java)
oracle.ewt.graphics.ImageLoader.waitFor(Unknown Source)
oracle.ewt.graphics.ImageUtils.loadImage(Unknown Source)
oracle.ewt.graphics.ImageUtils._getImageResource(Unknown Source)
oracle.ewt.graphics.ImageUtils.getImageResource(Unknown Source)
oracle.ewt.laf.oracle.OracleUIUtils.getImage(Unknown Source)
oracle.ewt.laf.oracle.OracleUIUtils.getColorizedImage(Unknown Source)
oracle.ewt.laf.oracle.OracleUIUtils.cImageInst(Unknown Source)
oracle.ewt.laf.basic.StringInstantiator.createValue(Unknown Source)
oracle.ewt.HashTableDefaults.getValue(Unknown Source)
oracle.ewt.MultiUIDefaults.getValue(Unknown Source)
oracle.ewt.UIDefaults.get(Unknown Source)
oracle.ewt.UIDefaults.get(Unknown Source)
oracle.ewt.UIDefaults.getImage(Unknown Source)
oracle.ewt.laf.oracle.OracleChoiceUI._createButtonPainter(Unknown Source)
oracle.ewt.laf.oracle.OracleChoiceUI.getButtonPainter(Unknown Source) oracle.ewt.lwAWT.LWDataSourceChoice$ChoiceButton.getPainter(Unknown Source)
oracle.ewt.lwAWT.AbstractPainterComponent.getInvalidateFlags(Unknown Source)
oracle.ewt.lwAWT.LWComponent.invalidateAndRepaintIfNecessary(Unknown Source)
oracle.ewt.lwAWT.LWComponent.enable(Unknown Source)
Monitor Cache Dump:
oracle.ewt.graphics.ImageLoader@1079814480/1080606192: <unowned>
Waiting to be notified:
"main" (0x80eb190)
<unknown key> (0x0x412dce0c): <unowned>
Waiting to be notified:
"Async Garbage Collector" (0x412dce0c)
oracle.ewt.lwAWT.LWChoice@1079812040/1080591384: owner "main" (0x80eb190, 2 entries)
sun.awt.motif.MToolkit@1079715432/1080130112: owner "AWT-Motif" (0x41890e0c, 0 entries)
Waiting to be notified:
"AWT-Input" (0x4186fe0c)
java.awt.EventQueue@1079715376/1080130376: owner "AWT-EventQueue-0" (0x41835e0c, 1 entry)
oracle.ewt.MultiUIDefaults@1079748416/1080283560: owner "main" (0x80eb190, 1 entry)
oracle.ewt.HashTableDefaults@1079745008/1080268568: owner "main" (0x80eb190, 1 entry)
Registered Monitor Dump:
Thread queue lock: <unowned>
Name and type hash table lock: <unowned>
String intern lock: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class loading lock: <unowned>
Java stack lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Has finalization queue lock: <unowned>
Finalize me queue lock: <unowned>
Waiting to be notified:
"Finalizer thread" (0x412fde0c)
Dynamic loading lock: <unowned>
Monitor IO lock: <unowned>
Child death monitor: <unowned>
Event monitor: <unowned>
I/O monitor: <unowned>
Alarm monitor: <unowned>
Waiting to be notified:
"Clock" (0x4129ae0c)
Monitor registry: owner "AWT-EventQueue-0" (0x41835e0c, 1 entry)
Thread Alarm Q:
sys_thread_t 0x412dce0c [Timeout in 831 ms]
./netasst: line 110: 1728 Killed $JRE -classpath $CLASSPATH oracle.net.asst.container.NetApplication oracle.net.asst.container.NetApplication
[1]+ Exit 137 ./netasst
Thank You
JailBreakA have installed Oracle 8.1.5 on HP_UX 11.00 - 32 bit environment
I want to install/upgrade to Oracle 8.1.7 (64-bit)
1. Is there any problem with this aspect ? (Oracle 8.1.7. 64-bit on HP_UX 32 bit)
2. I need an advice regarding <new install> vs. <upgrading> ! I'm not sure if all operating system requirements are met (patch releases)
3. What are the risk of upgrading ? -
KJS crashes with Segmentation violation
We use IAS 6.0 SP2 under Solaris 2.8.
The KJS server crashes intermittently with Segmentation fault while running JavaMail APIs.
The error stack from the log is given below.
Will appreciate any help on this.
SIGSEGV 11 segmentation violation
si_signo [11]: SEGV
si_errno [0]:
si_code [1]: SEGV_MAPERR [addr: 0xc0000000]
stackpointer=D387D178
"SeedGenerator Thread" (TID:0x129c5d0, sys_thread_t:0x129c508, state:CW, thread_t: t@62, thre
adID:0xd2980000, stack_bottom:0xd2980000, stack_size:0x200000) 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:478)
"Thread-44" (TID:0xed2a10, sys_thread_t:0xed2948, state:CW, thread_t: t@61, threadID:0xd31000
00, stack_bottom:0xd3100000, stack_size:0x200000) prio=6
[1] java.lang.Thread.sleep(Native Method)
[2] com.kivasoft.applogic.AppLogicCleaner.run(Unknown Source)
"Thread-43" (TID:0xe9cf80, sys_thread_t:0xe9ceb8, state:R, thread_t: t@49, threadID:0xd338000
0, stack_bottom:0xd3380000, stack_size:0x200000) prio=5
[1] com.kivasoft.thread.ThreadBasic.run(Native Method)
[2] java.lang.Thread.run(Thread.java:478)
"Thread-42" (TID:0xe9bda8, sys_thread_t:0xe9bce0, state:CW, thread_t: t@48, threadID:0xd36000
00, stack_bottom:0xd3600000, stack_size:0x200000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] com.kivasoft.thread.ThreadBasic.realSuspend(Unknown Source)
[3] com.kivasoft.thread.ThreadBasic.suspend(Unknown Source)
[4] com.kivasoft.thread.ThreadBasic.run(Native Method)
[5] java.lang.Thread.run(Thread.java:478)
"Thread-42" (TID:0xe9bda8, sys_thread_t:0xe9bce0, state:CW, thread_t: t@48, threadID:0xd36000
00, stack_bottom:0xd3600000, stack_size:0x200000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] com.kivasoft.thread.ThreadBasic.realSuspend(Unknown Source)
[3] com.kivasoft.thread.ThreadBasic.suspend(Unknown Source)
[4] com.kivasoft.thread.ThreadBasic.run(Native Method)
[5] java.lang.Thread.run(Thread.java:478)
"Thread-41" (TID:0xe560c8, sys_thread_t:0xe56000, state:R, thread_t: t@47, threadID:0xd388000
0, stack_bottom:0xd3880000, stack_size:0x200000) prio=5 current thread
[1] java.net.PlainSocketImpl.initProto(Native Method)
[2] java.net.PlainSocketImpl.<clinit>(PlainSocketImpl.java:61)
[3] java.net.Socket.<init>(Socket.java:56)
[4] java.net.Socket.<init>(Socket.java:246)
[5] java.net.Socket.<init>(Socket.java:98)
[6] com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:61)
[7] com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:478)
[8] com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:91)
[9] javax.mail.Service.connect(Service.java:221)
[10] javax.mail.Service.connect(Service.java:127)
[11] javax.mail.Service.connect(Service.java:83)
[12] javax.mail.Transport.send0(Transport.java:95)
[13] javax.mail.Transport.send(Transport.java:73)
[14] sunir.share.util.mail.SimpleEmailSend.sendEmail(SimpleEmailSend.java:126)
[15] infomgr.util.IMMail.send(IMMail.java:187)
[16] infomgr.util.IMMail.sendEmail(IMMail.java:163)Increase the min/max heap size and stack size for JAVA_ARGS in iasenv.ksh
eg:
JAVA_ARGS="-Xss2048k -Xms128m -Xmx256m"
-Sharmin. -
Segmentation violation in BDB code in macro SH_TAILQ_REMOVE
Hello OTN Forum readers
I wrote an application using BDB-5.1.19 using replication manager distributed into 2 sites
Sometimes after network partition(no link) between the two nodes
nsites=2
priority=100
ack=quorum
I get a segmentation violation in the BDB code
[New process 3489]
#0 0x00002af382d07885 in __env_alloc_free (infop=0x1418fda0,
ptr=0x2aaaad55b920) at ../src/env/env_alloc.c:421
421 SH_TAILQ_REMOVE(&head->addrq, elp, addrq, __alloc_element);
(gdb) bt
#0 0x00002af382d07885 in __env_alloc_free (infop=0x1418fda0,
ptr=0x2aaaad55b920) at ../src/env/env_alloc.c:421
#1 0x00002af382c58b04 in __rep_grow_sites (env=0x1418f620, nsites=2)
at ../src/rep/rep_elect.c:1336
#2 0x00002af382c5854e in __rep_elect_init (env=0x1418f620, nsites=2,
nvotes=1, beginp=0x606d1ed4, otally=0x606d1ed0)
at ../src/rep/rep_elect.c:1152
#3 0x00002af382c56112 in __rep_elect_int (env=0x1418f620, given_nsites=2,
nvotes=1, flags=0) at ../src/rep/rep_elect.c:251
#4 0x00002af382c77581 in __repmgr_elect (env=0x1418f620, nsites=2, nvotes=1,
failtimep=0x606d2050) at ../src/repmgr/repmgr_elect.c:455
#5 0x00002af382c76d33 in __repmgr_elect_main (env=0x1418f620,
th=0x2aaab0008e20) at ../src/repmgr/repmgr_elect.c:168
#6 0x00002af382c76b9e in __repmgr_elect_thread (argsp=0x2aaab0008e20)
at ../src/repmgr/repmgr_elect.c:102
#7 0x0000003753a064a7 in start_thread () from /lib64/libpthread.so.0
#8 0x00000037532d3c2d in clone () from /lib64/libc.so.6
Current language: auto; currently c
(gdb) info locals
elp = (ALLOC_ELEMENT *) 0x2aaaad55b8f0
elp_tmp = (ALLOC_ELEMENT *) 0x2aaaad55b8b8
head = (ALLOC_LAYOUT *) 0x2aaaad55b080
env = (ENV *) 0x1418f620
q = (SIZEQ_HEAD *) 0x1418f620
len = 64
i = 0 '\0'
p = (u_int8_t *) 0x2aaaad55b920 <Address 0x2aaaad55b920 out of bounds>
(gdb) info registers
rax 0x80000000ffffff9e -9223372032559808610
rbx 0x2aaaad55b8b8 46912540883128
rcx 0xffffffffffffffc8 -56
rdx 0x80000000ffffffd6 -9223372032559808554
rsi 0x2aaaad55b8f0 46912540883184
rdi 0x80002aa9ad55b91a -9223325128608859878
rbp 0x606d1d80 0x606d1d80
rsp 0x606d1d10 0x606d1d10
r8 0x606d1ed0 1617764048
r9 0xffffffff 4294967295
r10 0x7469736e206e6f69 8388362697781964649
r11 0x202 514
r12 0x0 0
r13 0x5f2d1000 1596788736
r14 0x0 0
r15 0x1000 4096
rip 0x2af382d07885 0x2af382d07885 <__env_alloc_free+407>
eflags 0x10a93 [ CF AF SF IF OF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x63 99
(gdb) x/20i $rip
*0x2af382d07885 <__env_alloc_free+407>: mov %rax,0x8(%rdi)*
0x2af382d07889 <__env_alloc_free+411>: mov -0x48(%rbp),%rdx
0x2af382d0788d <__env_alloc_free+415>: mov -0x48(%rbp),%rax
0x2af382d07891 <__env_alloc_free+419>: mov 0x8(%rax),%rax
0x2af382d07895 <__env_alloc_free+423>: lea (%rdx,%rax,1),%rcx
0x2af382d07899 <__env_alloc_free+427>: mov -0x48(%rbp),%rdx
0x2af382d0789d <__env_alloc_free+431>: mov -0x48(%rbp),%rax
0x2af382d078a1 <__env_alloc_free+435>: mov 0x8(%rax),%rax
0x2af382d078a5 <__env_alloc_free+439>: lea (%rdx,%rax,1),%rax
0x2af382d078a9 <__env_alloc_free+443>: mov (%rax),%rdx
0x2af382d078ac <__env_alloc_free+446>: mov -0x48(%rbp),%rax
0x2af382d078b0 <__env_alloc_free+450>: mov (%rax),%rax
0x2af382d078b3 <__env_alloc_free+453>: lea (%rdx,%rax,1),%rax
0x2af382d078b7 <__env_alloc_free+457>: mov %rax,(%rcx)
0x2af382d078ba <__env_alloc_free+460>:
jmp 0x2af382d078f8 <__env_alloc_free+522>
0x2af382d078bc <__env_alloc_free+462>: mov -0x48(%rbp),%rax
0x2af382d078c0 <__env_alloc_free+466>: mov 0x8(%rax),%rcx
0x2af382d078c4 <__env_alloc_free+470>: mov -0x48(%rbp),%rdx
0x2af382d078c8 <__env_alloc_free+474>: mov -0x38(%rbp),%rax
0x2af382d078cc <__env_alloc_free+478>: mov %rdx,%rbx
(gdb)
(gdb) p *env
$3 = {
dbenv = 0x1418eeb0,
mtx_env = 4,
db_home = 0x12b45890 "/usr/local/bdb/replica_data",
open_flags = 3987,
db_mode = 436,
pid_cache = 3489,
lockfhp = 0x0,
env_lref = 0x0,
recover_dtab = {
int_dispatch = 0x14187830,
int_size = 182,
ext_dispatch = 0x0,
ext_size = 0
dir_mode = 0,
data_len = 100,
thr_nbucket = 0,
thr_hashtab = 0x0,
mutex_iq = 0x0,
mutex_iq_next = 1,
mutex_iq_max = 50,
mtx_dblist = 31,
---Type <return> to continue, or q <return> to quit---
db_ref = 2,
dblist = {
tqh_first = 0x2aaab4164dd0,
tqh_last = 0x2aaab4182c80
fdlist = {
tqh_first = 0x14186970,
tqh_last = 0x2aaab41655a0
mtx_mt = 32,
mti = 0,
mt = 0x0,
crypto_handle = 0x0,
lk_handle = 0x14190570,
lg_handle = 0x14186b00,
mp_handle = 0x14186a00,
mutex_handle = 0x12abbf70,
rep_handle = 0x1418f740,
tx_handle = 0x1418fed0,
dbt_usercopy = 0,
log_verify_wrap = 0x2af382c91a3f <__log_verify_wrap>,
reginfo = 0x1418fda0,
test_abort = 0,
---Type <return> to continue, or q <return> to quit---
test_check = 0,
test_copy = 0,
flags = 1316
This is a multithread application and the thread stack relatives to BDB API where
(gdb) thread 13
[Switching to thread 13 (process 3599)]#0 0x00000037532cced2 in select ()
from /lib64/libc.so.6
(gdb) bt
#0 0x00000037532cced2 in select () from /lib64/libc.so.6
#1 0x00002af382d52aca in __os_sleep (env=0x1418f620, secs=1, usecs=0)
at ../src/os/os_yield.c:90
#2 0x00002af382d52a79 in __os_yield (env=0x1418f620, secs=1, usecs=0)
at ../src/os/os_yield.c:48
#3 0x00002af382c714ae in __env_rep_enter (env=0x1418f620, checklock=0)
at ../src/rep/rep_util.c:1022
#4 0x00002af382d24d9d in __log_archive_pp (dbenv=0x1418eeb0,
listp=0x610d2710, flags=8) at ../src/log/log_archive.c:60
#5 0x000000000120836c in clean_unused_log (env=0xfffffffffffffdfe)
at bdb_operations.cpp:664
#6 0x0000000001206fda in BDBCheckpointThread::Run (this=0x2aaab0008fc0,
arg=<value optimized out>) at bdb_environment_handle.cpp:48
#7 0x0000000000bf868d in osiThread::MyRun (Args=0x0)
at /vobs/fw/include/osiThread.h:60
#8 0x0000000000f72dee in threadMain (arg=<value optimized out>)
at osiThreadLauncherLinux.cpp:50
#9 0x0000003753a064a7 in start_thread () from /lib64/libpthread.so.0
#10 0x00000037532d3c2d in clone () from /lib64/libc.so.6
(gdb)
(gdb) thread 14
[Switching to thread 14 (process 3596)]#0 0x0000003753a0ab99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
(gdb) bt
#0 0x0000003753a0ab99 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
#1 0x00002af382c7e143 in __repmgr_queue_get (env=0x1418f620, msgp=0x5fcd10b0,
th=0x2aaab0008cb0) at ../src/repmgr/repmgr_queue.c:90
#2 0x00002af382c79d9d in message_loop (env=0x1418f620, th=0x2aaab0008cb0)
at ../src/repmgr/repmgr_msg.c:49
#3 0x00002af382c79cd4 in __repmgr_msg_thread (argsp=0x2aaab0008cb0)
at ../src/repmgr/repmgr_msg.c:34
#4 0x0000003753a064a7 in start_thread () from /lib64/libpthread.so.0
#5 0x00000037532d3c2d in clone () from /lib64/libc.so.6
(gdb) thread 15
[Switching to thread 15 (process 3594)]#0 0x0000003753a0ab99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
(gdb) bt
#0 0x0000003753a0ab99 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
#1 0x00002af382c7e143 in __repmgr_queue_get (env=0x1418f620, msgp=0x5f2d00b0,
th=0x2aaab0008b40) at ../src/repmgr/repmgr_queue.c:90
#2 0x00002af382c79d9d in message_loop (env=0x1418f620, th=0x2aaab0008b40)
at ../src/repmgr/repmgr_msg.c:49
#3 0x00002af382c79cd4 in __repmgr_msg_thread (argsp=0x2aaab0008b40)
at ../src/repmgr/repmgr_msg.c:34
#4 0x0000003753a064a7 in start_thread () from /lib64/libpthread.so.0
#5 0x00000037532d3c2d in clone () from /lib64/libc.so.6
The bug is not always appears , so if its difficults to wrote a little program to reproduce the case
But do you know something about this issue ??Just to followup a little. The initial election completes and succeeds and one site becomes the master, correct? Then when you cause the partition, the site that is not the master holds its own election and then that gets the SEGV.
Unfortunately we really need to see the contents of the rep structure, because the segv is occurring when trying to free a pointer to space in that structure. That pointer should either be 0 or a valid address.
My suspicion is that the 2nd site that remains a client never participated in the initial election. Maybe your attempts at reproducing this end up having the 2nd site participate too. Perhaps you can increase your chance of reproducing it if you briefly delay bringing that 2nd site online so that the 1st site elects itself master. Then when you disconnect them, the 2nd site will hold its own election for the first time. If you do reproduce it, please save the executable and core file in case there are other things to investigate.
Sue LoVerso
Oracle -
I'm getting the following errors when attempting to test Net Service Name:
SIGSEGV 11* segmentation violation
stackbase=0x419cb000, stackpointer=0x419cabf0
Full thread dump:
"CursorIdler" (TID:0x406feb00, sys_thread_t:0x41a4ee0c, state:CW) prio=5
oracle.ewt.timer.Timer.accurateSleep(Timer.java:343)
oracle.ewt.timer.Timer.run(Timer.java:302)
java.lang.Thread.run(Thread.java)
"AWT-Modal" (TID:0x407014b0, sys_thread_t:0x414ace0c, state:CW) prio=5
sun.awt.motif.ModalThread.run(MDialogPeer.java:148)
"AWT-Dispatch-Proxy" (TID:0x40701440, sys_thread_t:0x41960e0c, state:CW) prio=5
java.lang.Object.wait(Object.java)
java.awt.EventQueue.getNextEvent(EventQueue.java:141)
java.awt.EventDispatchThread.run(EventDispatchThread.java:73)
"Thread-5" (TID:0x40708440, sys_thread_t:0x419cae0c, state:R) prio=3 current thread
oracle.net.common.TestConnection.callTestConnect(TestConnection.java:55)
oracle.net.asst.servicewizard.TestConnDialog._doConnect(TestConnDialog.java:335)
oracle.net.asst.servicewizard.TestConnDialog$1.run(TestConnDialog.java:203)
"Image Fetcher 0" (TID:0x406fd7a8, sys_thread_t:0x419ebe0c, state:CW) prio=8
sun.awt.image.ImageFetcher.nextImage(ImageFetcher.java:109)
sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:146)
sun.awt.image.ImageFetcher.run(ImageFetcher.java:127)
"TaskScheduler timer" (TID:0x406f9940, sys_thread_t:0x41a2de0c, state:CW) prio=5
java.lang.Object.wait(Object.java)
oracle.ewt.timer.Timer._waitTilScheduled(Timer.java:433)
oracle.ewt.timer.Timer.run(Timer.java:295)
java.lang.Thread.run(Thread.java)
"Screen Updater" (TID:0x406e6bd8, sys_thread_t:0x41a0ce0c, state:CW) prio=4
java.lang.Object.wait(Object.java)
sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:78)
sun.awt.ScreenUpdater.run(ScreenUpdater.java:98)
"AWT-Finalizer" (TID:0x406f1b28, sys_thread_t:0x419a2e0c, state:CW) prio=9
java.lang.Object.wait(Object.java)
sun.awt.AWTFinalizer.run(AWTFinalizer.java:48)
"Image Fetcher 1" (TID:0x406ef488, sys_thread_t:0x41981e0c, state:CW) prio=8
sun.awt.image.ImageFetcher.nextImage(ImageFetcher.java:109)
sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:146)
sun.awt.image.ImageFetcher.run(ImageFetcher.java:127)
"AWT-Motif" (TID:0x406d3978, sys_thread_t:0x4148be0c, state:CW) prio=5
java.lang.Thread.run(Thread.java)
"AWT-Input" (TID:0x406d3998, sys_thread_t:0x4146ae0c, state:CW) prio=5
"AWT-EventQueue-0" (TID:0x406d36f8, sys_thread_t:0x41449e0c, state:CW) prio=5
java.lang.Object.wait(Object.java)
sun.awt.motif.MDialogPeer.show(MDialogPeer.java:104)
java.awt.Dialog.show(Dialog.java:218)
oracle.net.asst.servicename.ServiceName.executeComponentMenu(ServiceName.java:461)
oracle.net.asst.container.NetContainer.commandIssued(NetContainer.java:870)
oracle.sysman.emSDK.client.guiComponent.commandAdapter.CommandAdapter.deliverEvent(CommandAdapter.java:409)
oracle.sysman.emSDK.client.guiComponent.commandAdapter.CommandAdapter.commandIssued(CommandAdapter.java:422)
oracle.sysman.emSDK.client.guiComponent.commandAdapter.CommandAdapter.actionPerformed(CommandAdapter.java:386)
oracle.ewt.lwAWT.lwMenu.LWMenuItem.processActionEvent(LWMenuItem.java:658)
oracle.ewt.lwAWT.lwMenu.LWMenuItem.processEventImpl(LWMenuItem.java:615)
oracle.ewt.lwAWT.LWComponent.redispatchEvent(LWComponent.java:2863)
oracle.ewt.lwAWT.LWComponent.processEvent(LWComponent.java:3107)
oracle.ewt.lwAWT.lwMenu.LWMenuItem.activate(LWMenuItem.java:79)
oracle.ewt.lwAWT.lwMenu.laf.VertMenuItemController.mouseReleased(VertMenuItemController.java:98)
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:236)
java.awt.Component.processMouseEvent(Component.java:2404)
oracle.ewt.lwAWT.LWComponent.processMouseEvent(LWComponent.java:3155)
java.awt.Component.processEvent(Component.java:2249)
java.awt.Container.processEvent(Container.java:878)
oracle.ewt.lwAWT.LWComponent.processEventImpl(LWComponent.java:3128)
"Finalizer thread" (TID:0x406cd208, sys_thread_t:0x4141fe0c, state:R) prio=1
"Async Garbage Collector" (TID:0x406cd250, sys_thread_t:0x413fee0c, state:R) prio=1
"Idle thread" (TID:0x406cd298, sys_thread_t:0x413dde0c, state:R) prio=0
"Clock" (TID:0x406cd088, sys_thread_t:0x413bce0c, state:CW) prio=12
"main" (TID:0x406cd0b0, sys_thread_t:0x81a2750, state:CW) prio=5
Monitor Cache Dump:
<unknown key> (0x0x413fee0c): owner "Async Garbage Collector" (0x413fee0c, 1 entry)
oracle.net.asst.servicewizard.TestConnDialog@1081116976/1082626288: owner "Thread-5" (0x419cae0c, 1 entry)
sun.awt.ScreenUpdater@1080978392/1082109680: <unowned>
Waiting to be notified:
"Screen Updater" (0x41a0ce0c)
oracle.ewt.timer.Timer@1081055480/1082065880: <unowned>
Waiting to be notified:
"TaskScheduler timer" (0x41a2de0c)
java.util.Vector@1081002552/1081642952: <unowned>
Waiting to be notified:
"Image Fetcher 1" (0x41981e0c)
"Image Fetcher 0" (0x419ebe0c)
<unknown key> (0x0x41a4ee0c): <unowned>
Waiting to be notified:
"CursorIdler" (0x41a4ee0c)
sun.awt.motif.ModalThread@1081087152/1082363448: owner "AWT-Modal" (0x414ace0c, 1 entry)
Waiting to be notified:
"AWT-EventQueue-0" (0x41449e0c)
java.awt.EventQueue@1080899400/1081276096: <unowned>
Waiting to be notified:
"AWT-Dispatch-Proxy" (0x41960e0c)
sun.awt.motif.MToolkit@1080899448/1081275848: <unowned>
Waiting to be notified:
"AWT-Modal" (0x414ace0c)
"AWT-Motif" (0x4148be0c)
sun.awt.AWTFinalizer@1081023272/1081142608: <unowned>
Waiting to be notified:
"AWT-Finalizer" (0x419a2e0c)
Registered Monitor Dump:
Thread queue lock: <unowned>
Waiting to be notified:
"main" (0x81a2750)
Name and type hash table lock: <unowned>
String intern lock: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class loading lock: <unowned>
Java stack lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Has finalization queue lock: <unowned>
Finalize me queue lock: <unowned>
Monitor IO lock: <unowned>
Child death monitor: <unowned>
Event monitor: <unowned>
I/O monitor: <unowned>
Waiting to be notified:
"AWT-Input" (0x4146ae0c)
Alarm monitor: <unowned>
Waiting to be notified:
"Clock" (0x413bce0c)
Monitor registry: owner "Thread-5" (0x419cae0c, 1 entry)
Thread Alarm Q:
sys_thread_t 0x414ace0c [Timeout in 67 ms]
sys_thread_t 0x4146ae0c [Timeout in 215 ms]
sys_thread_t 0x41a4ee0c [Timeout in 495 ms]
sys_thread_t 0x41981e0c [Timeout in 2505 ms]
sys_thread_t 0x419ebe0c [Timeout in 4989 ms]
Please adviseI am covering this topic in my homepage:
http://homepages.tig.com.au/~jmsalvo/linux/oracle8i-5.html
Granted that this page is not complete yet, revisit the page within 4 to 8 hours and it should be completed by then.
In any case, my short answer: you do not have to use netassst. There are command line utilities to the same thing.
You can use two tools to test a listener:
* lsnrctl. The only problem with this is that it will use the IPC protocol and not the TCP protocol. Regardless of that, the IPC protocol requires a listner to work properly. Type help at the lsnrctl command prompt for things you can do. If you get positive reponses, then you can be sure that the IPC protocol works with the listener.
* tnsping. This seems to use the TCP protocol. So you can run this on the same machine where 8i is installed or on another machine where 8i client software is installed (granted you have setup sqlnet.ora and tnsnames.ora).
Hope this helps.
null -
SIGSEGV 11 segmentation violation - sp3 upgrade
I get the following error while upgrading WL 6.1 from SP2 to SP3....
I noticed someone else on this newsgroup got the same error while upgrading
to SP2.
Any clues on where/ why this occurs?
thanks
_nik
============================
bash-2.03$ java -cp wls61sp3_upgrade_generic.zip install -i console
Preparing CONSOLE Mode Installation...
============================================================================
===
Choose Locale...
->1- English
CHOOSE LOCALE BY NUMBER: 1
============================================================================
===
WebLogic Server 6.1 Service Pack 3 (created with InstallAnywhere by Zero
G)
============================================================================
===
Introduction
This installer will guide you through the installation of Service Pack 3 of
WebLogic Server 6.1. Use command "next" to proceed to the next screen. If
you
want to change something in a previous screen, use command "previous" or
"back". You may quit the installer at any time by using the command the
"quit".
PRESS <ENTER> TO CONTINUE:
============================================================================
===
Choose BEA Home Directory
1- /opt/pwl61
Existing BEA Home: 1
============================================================================
===
Installing...
[==================|==================|==================|==================
[SIGSEGV 11 segmentation violation
si_signo [11]: SEGV
si_errno [0]:
si_code [1]: SEGV_MAPERR [addr: 0x7a28bd0]
stackpointer=FFBEDC78
Exiting Thread (sys_thread_t:0xff30c2e8) : no stack
"Thread-2" (TID:0x2b55e8, sys_thread_t:0x2b5520, state:CW, thread_t: t@8,
threadID:0xf99c1d70, stack_bottom:0xf99c1d70, stack_size:0x1fd70) prio=5
[1] java.lang.Object.wait(Native Method)
[2] java.lang.Object.wait(Object.java:424)
[3] ZeroGl.run([DashoPro-V1.2-120198])
[4] java.lang.Thread.run(Thread.java:479)
"Finalizer" (TID:0x155610, sys_thread_t:0x155548, state:CW, thread_t: t@6,
threadID:0xfec81d70, stack_bottom:0xfec81d70, 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:0x1512a0, sys_thread_t:0x1511d8, state:CW,
thread_t: t@5, threadID:0xfecc1d70, stack_bottom:0xfecc1d70,
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:0x12c1b8, sys_thread_t:0x12c0f0, state:MW,
thread_t: t@4, threadID:0xfed01d70, stack_bottom:0xfed01d70,
stack_size:0x1fd70) prio=10
"main" (TID:0x38650, sys_thread_t:0x38588, state:R, thread_t: t@1,
threadID:0x25118, stack_bottom:0xffbf0000, stack_size:0x20000) prio=5
current thread
[1] ZeroGb.m([DashoPro-V1.2-120198])
[2]
com.zerog.ia.installer.actions.InstallUninstaller.a([DashoPro-V1.2-120198])
[3]
com.zerog.ia.installer.actions.InstallUninstaller.b([DashoPro-V1.2-120198])
[4]
com.zerog.ia.installer.actions.InstallUninstaller.installSelf([DashoPro-V1.2
-120198])
[5] com.zerog.ia.installer.Action.install([DashoPro-V1.2-120198])
[6] com.zerog.ia.installer.Action.install([DashoPro-V1.2-120198])
[7] com.zerog.ia.installer.GhostDirectory.install([DashoPro-V1.2-120198])
[8] com.zerog.ia.installer.Installer.install([DashoPro-V1.2-120198])
[9] com.zerog.ia.installer.Main.a([DashoPro-V1.2-120198])
[10] com.zerog.ia.installer.Main.main([DashoPro-V1.2-120198])
[11] install.main([DashoPro-V1.2-120198])
AbortNik:
There is a good chance that you do not have your .../jdk131/bin in your PATH.
If that doesn't do it, please file a case and I'll look for it!
Wayne Scott
"Nik" <[email protected]> wrote in message news:<[email protected]>...
I get the following error while upgrading WL 6.1 from SP2 to SP3....
I noticed someone else on this newsgroup got the same error while upgrading
to SP2.
Any clues on where/ why this occurs?
thanks
_nik
============================
bash-2.03$ java -cp wls61sp3_upgrade_generic.zip install -i console
Preparing CONSOLE Mode Installation...
============================================================================
===
Choose Locale...
->1- English
CHOOSE LOCALE BY NUMBER: 1
============================================================================
===
WebLogic Server 6.1 Service Pack 3 (created with InstallAnywhere by Zero
G)
============================================================================
===
Introduction
This installer will guide you through the installation of Service Pack 3 of
WebLogic Server 6.1. Use command "next" to proceed to the next screen. If
you
want to change something in a previous screen, use command "previous" or
"back". You may quit the installer at any time by using the command the
"quit".
PRESS <ENTER> TO CONTINUE:
============================================================================
===
Choose BEA Home Directory
1- /opt/pwl61
Existing BEA Home: 1
============================================================================
===
Installing...
[==================|==================|==================|==================
[SIGSEGV 11 segmentation violation
si_signo [11]: SEGV
si_errno [0]:
si_code [1]: SEGV_MAPERR [addr: 0x7a28bd0]
stackpointer=FFBEDC78
Exiting Thread (sys_thread_t:0xff30c2e8) : no stack
"Thread-2" (TID:0x2b55e8, sys_thread_t:0x2b5520, state:CW, thread_t: t@8,
threadID:0xf99c1d70, stack_bottom:0xf99c1d70, stack_size:0x1fd70) prio=5
[1] java.lang.Object.wait(Native Method)
[2] java.lang.Object.wait(Object.java:424)
[3] ZeroGl.run([DashoPro-V1.2-120198])
[4] java.lang.Thread.run(Thread.java:479)
"Finalizer" (TID:0x155610, sys_thread_t:0x155548, state:CW, thread_t: t@6,
threadID:0xfec81d70, stack_bottom:0xfec81d70, 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:0x1512a0, sys_thread_t:0x1511d8, state:CW,
thread_t: t@5, threadID:0xfecc1d70, stack_bottom:0xfecc1d70,
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:0x12c1b8, sys_thread_t:0x12c0f0, state:MW,
thread_t: t@4, threadID:0xfed01d70, stack_bottom:0xfed01d70,
stack_size:0x1fd70) prio=10
"main" (TID:0x38650, sys_thread_t:0x38588, state:R, thread_t: t@1,
threadID:0x25118, stack_bottom:0xffbf0000, stack_size:0x20000) prio=5
current thread
[1] ZeroGb.m([DashoPro-V1.2-120198])
[2]
com.zerog.ia.installer.actions.InstallUninstaller.a([DashoPro-V1.2-120198])
[3]
com.zerog.ia.installer.actions.InstallUninstaller.b([DashoPro-V1.2-120198])
[4]
com.zerog.ia.installer.actions.InstallUninstaller.installSelf([DashoPro-V1.2
-120198])
[5] com.zerog.ia.installer.Action.install([DashoPro-V1.2-120198])
[6] com.zerog.ia.installer.Action.install([DashoPro-V1.2-120198])
[7] com.zerog.ia.installer.GhostDirectory.install([DashoPro-V1.2-120198])
[8] com.zerog.ia.installer.Installer.install([DashoPro-V1.2-120198])
[9] com.zerog.ia.installer.Main.a([DashoPro-V1.2-120198])
[10] com.zerog.ia.installer.Main.main([DashoPro-V1.2-120198])
[11] install.main([DashoPro-V1.2-120198])
Abort -
Hurry: SIGSEGV 11 segmentation violation
Environment: IAS 6.0 SP4, Sun Solaris 2.8.
The KJS server crashes every day with Segmentation fault The error message from the KJS log is given below.
We set iasenv.ksh env. (JAVA_ARGS="-Xss2048k -Xms128m -Xmx256m")
but, continue.... The mesage is given below.
help us.
SIGSEGV 11 segmentation violation
si_signo [11]: SEGV
si_errno [0]:
si_code [1]: SEGV_MAPERR [addr: 0x0]
stackpointer=E1F7F4B0
"Thread-45" (TID:0x41569b0, sys_thread_t:0x41568e8, state:CW, thread_t: t@55, threadID:0xea862a00, stack_bottom:0xe1d00000, stack_size:0x200000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] org.apache.tomcat.util.Queue.pull(Unknown Source)
[3] org.apache.tomcat.logging.LogDaemon$1.run(Unknown Source)
[4] org.apache.tomcat.logging.LogDaemon.run(Unknown Source)
"Finalizer" (TID:0x3d08e98, sys_thread_t:0x3d08dd0, state:R, thread_t: t@54, threadID:0xea862800, stack_bottom:0xe1f80000, stack_size:0x200000) prio=8 current thread
[1] com.kivasoft.data2.JDBCConnection.closenative(Native Method)
[2] com.kivasoft.data2.JDBCConnection.close(Unknown Source)
[3] com.netscape.server.jdbc.Connection.close(Unknown Source)
[4] com.netscape.server.jdbc.Connection.finalize(Unknown Source)
[5] java.lang.ref.Finalizer$FinalizerWorker.finalizeOne(Finalizer.java:86)
[6] java.lang.ref.Finalizer$FinalizerWorker.access$3(Finalizer.java:82)
[7] java.lang.ref.Finalizer$FinalizerWorker$FinalizerThread.run(Finalizer.java:124)
"Thread-44" (TID:0xb95470, sys_thread_t:0xb953a8, state:R, thread_t: t@53, threadID:0xea862600, stack_bottom:0xe2a80000, stack_size:0x200000) prio=5
[1] com.kivasoft.thread.ThreadBasic.run(Native Method)
[2] java.lang.Thread.run(Thread.java:478)
"Thread-43" (TID:0xbaf5c0, sys_thread_t:0xbaf4f8, state:CW, thread_t: t@52, threadID:0xea862400, stack_bottom:0xe2d00000, stack_size:0x200000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] com.kivasoft.thread.ThreadBasic.realSuspend(Unknown Source)
[3] com.kivasoft.thread.ThreadBasic.suspend(Unknown Source)
[4] com.kivasoft.thread.ThreadBasic.run(Native Method)
[5] java.lang.Thread.run(Thread.java:478)
"Thread-42" (TID:0xb554c8, sys_thread_t:0xb55400, state:CW, thread_t: t@51, threadID:0xea862200, stack_bottom:0xe2f80000, stack_size:0x200000) prio=5
[1] com.kivasoft.thread.ThreadBasic.sleep(Unknown Source)
[2] com.kivasoft.thread.ThreadBasic.run(Native Method)
[3] java.lang.Thread.run(Thread.java:478)
"Thread-41" (TID:0xb59508, sys_thread_t:0xb59440, state:R, thread_t: t@50, threadID:0xea862000, stack_bottom:0xe3200000, stack_size:0x200000) prio=5
/home/iplanet/ias60/ias/bin/kjs[75]: 3794 ������������ ����(Segmentation Fault)(���� ����)
Starting Java Engine
Engine running on Solaris VM 1.2.2 JVM supplied by Sun Microsystems Inc.
Connected to LDAP server on sdi03p.samsung.co.kr port 389
iPlanet Application Server is running in international mode
Initializing LDAP cache from server sdi03p.samsung.co.kr port 389
LDAP cache initialization completed successfully.You could try increasing the max heap size we saw alot of SIGBUS 10 crashes with sp4 until we increased this value to 1024 which happens to be the default in 6.5. Turn on garbage collection statistics with -verbose:gc if you suspect this could be the problem. The stack size should be set to about 10% the size of the (entire) registry.
Usually however these errors tend to be code related...
Does the crash happen at the same time everyday. -
Access/Segmentation Violation errors
Here's another one of those "Has anyone seen this" questions.
We are currently stress testing one of our applications and get the following
'Access/Segmentation Violation' error on a server partition:
Begin Stack Backtrace ==========================================================
Trace caused by a segmentation or access violation in the Forte executable:
Application: PCS_cl0
Platform: PC / NT
Partition: PCS_cl0_Part6
Generated: 02-Jul-2000 18:12:53
By: ftexec Version 3.0.G.2
Fault at 05-Jul-2000 06:46:24, pid '1810', node 'GRFD60':
User Name: FORTE_ACC
Machine Name: GRFD60 with 2 CPU(s)
OS version 4.0
Loading symbols for ...
d:\forte\install\bin\QQSH.dll
d:\forte\userapp\pcs\cl0\pcs_cl6.exe
d:\forte\install\bin\QQKN.dll
d:\forte\install\bin\QQDB.dll
d:\forte\install\bin\QQSM.dll
d:\forte\install\bin\QQDO.dll
d:\forte\install\bin\QQCM.dll
d:\forte\install\bin\QQFO.dll
d:\forte\install\bin\qqtlnt.dll
d:\forte\install\bin\w3tpwss.dll
d:\forte\install\bin\QQDS.dll
C:\WINNT\System32\mspdb50.dll
C:\WINNT\System32\comctl32.ocx
C:\WINNT\System32\WINSPOOL.DRV
C:\WINNT\System32\rpcltc1.dll
C:\WINNT\system32\OLEAUT32.dll
C:\WINNT\system32\COMCTL32.dll
C:\WINNT\System32\rnr20.dll
C:\WINNT\System32\IMM32.dll
C:\WINNT\system32\msafd.dll
C:\WINNT\System32\wshtcpip.dll
C:\WINNT\System32\WS2HELP.dll
C:\WINNT\System32\WS2_32.dll
C:\WINNT\System32\WSOCK32.dll
C:\WINNT\system32\LZ32.dll
C:\WINNT\system32\VERSION.dll
C:\WINNT\system32\ole32.dll
C:\WINNT\system32\SHELL32.dll
C:\WINNT\system32\comdlg32.dll
C:\WINNT\system32\ADVAPI32.dll
C:\WINNT\system32\RPCRT4.dll
C:\WINNT\system32\USER32.dll
C:\WINNT\system32\GDI32.dll
C:\WINNT\system32\KERNEL32.dll
C:\WINNT\System32\ntdll.dll
C:\WINNT\system32\MSVCRT.dll
Stack backtrace ...
QQSH qqnl_MsgCatalog::LocatePointers (016785d8,021f54e0,013029b8,00000328)
QQKN ::qqos_InitializeMM (016785d8,01726b28,00004df0,0911f980)
QQKN ::qqos_InitializeMM (016785d8,017266b8,0921fe98,017266b8)
QQKN ::qqos_tmgrProcessStacks (016785d8,007fb6a5,007fc514,016785d8)
QQKN ::qqos_InitializeMM (016785d8,00000001,021f6a28,00000080)
QQKN ::qqos_InitializeMM (016785d8,00000001,00000020,021f6a28)
QQKN ::qqos_InitializeMM (016785d8,00000018,01db97e8,008600d0)
QQKN qqLO_ForteScope_Allocate (016785d8,00000029,0911fabc,005e78b8)
QQSH qqsh_Task::MakeEventInstance (016785d8,016785d8,80000002,00000039)
pcs_cl6 00432013 (016785d8,00000007,00000080,021f6a28)
pcs_cl6 00431e99 (016785d8,01db9780,0911fb58,0072be72)
pcs_cl6 004339b0 (016785d8,006eced8,01db9780,00000024)
QQKN qqlo_ClassType::InstanceAlloc (016785d8,0911fb88,01db8d98,00000000)
QQDO qqdo_DomParamDeSerializeDriver::ProcessHdr
(016785d8,0911fc30,01d748cc,0911fc24)
QQDO qqdo_DomParamDeSerializeDriver::AddObject
(016785d8,01d748cc,0911fc30,00000000)
QQDO qqdo_DomParamDeSerializeObject::XlateObject
(016785d8,01d748cc,00000000,00000000)
QQKN ::qqlo_Xlate (016785d8,01d74838,020e99c8,0060d0d8)
QQKN ::qqlo_Xlate (016785d8,01d74838,020e99c8,0060d0d8)
pcs_cl6 0048d2eb (016785d8,020e99c8,01d74838,0911fd38)
pcs_cl6 004920d9 (016785d8,020e99c8,00e46100,021542a8)
QQDO qqdo_DomParamDeSerializeDriver::ProcessObjGraph
(016785d8,0911fdf0,00000000,00e46100)
QQDO qqdo_DomParamDeSerializeDriver::Run (016785d8,0911fdf0,02154260,0074bf38)
QQDO qqdo_DOMDeSerializeObject::XlateEncapsulatedObject
(016785d8,0911fdf0,00000000,0194e408)
QQDO qqdo_Message::Xlate (016785d8,02154260,00e46100,01f151f8)
QQCM qqcm_DeSerializeDriver::Step (016785d8,01c98290,0911fe60,77f04f85)
QQCM qqcm_ForteNetStream::DeserializeStream
(016785d8,00000000,00e46100,00e46100)
QQCM qqcm_HoseRecvServiceTask::Run (016785d8,00000000,00e46100,00e46100)
QQSH qqsh_TaskManager::RunThread (016785d8,019844f0,00000000,016785d8)
QQKN ::qqos_threadIdle (017266b8,0137c1d8,f7598df0,0911ffb8)
QQKN ::qqos_threadStart (017266b8,00000000,00000000,00e46100)
MSVCRT 7800bee4 (00e46100,00000000,00000000,00e46100)
KERNEL32 77f04f2c (00000000,00000000,00000000,00000000)
QQSH 00000000 (00000000,00000000,00000000,00000000)
End of Stack Backtrace =========================================================
Does anybody have experience with problems like this?
Thank you very much for your help in advance.
Mark J Edwards
Senior Technical Specialist
Willis
The information in this email and in any attachments is confidential and may be
privileged. If you are not the intended recipient, please destroy this message,
delete any copies held on your systems and notify the sender immediately. You
should not retain, copy or use this email for any purpose, nor disclose all or
any part of its content to any other person.To Keith :
Yep, they're a common occurrence at different stages of
Forte application development. To start the ball rolling,
what hardware platform and versions of Forte are you using
for Client and Server ?
Stab in the dark questions :
Are you invoking the client or server with -fm memory flags ?
eg. Ftexec -fm(n:8000,x:32000) -fi MyApp.idx
Are you using interpreted partitions(standard) or compiled
partitions ?
Does your application contain external C library routines ?
Justin
Justin Levis
Hydro Electric Corporation
Hobart Tas -
Segmentation Violation:svrmgrl, sqlplus
I am getting segmentation violation on these two products.
Running a stack trace via gdb on the core file is not too
helpful.
No anomolies in the make and install logs
Any ideas on how to proceed?
nullPaul Hardiman (guest) wrote:
: I am getting segmentation violation on these two products.
: Running a stack trace via gdb on the core file is not too
: helpful.
: No anomolies in the make and install logs
: Any ideas on how to proceed?
I had the same problem when I was installing it. It might be
related to the flavor of Linux you are using (you'd better post
which Linux distribution you are using). It was a pain to trace
things like this and I don't think it worthes the effort.
Basically I would suggest you to try these two:
1) make sure the $ORACLE_HOME/lib is in your /etc/ld.so.conf
file, and do a "/sbin/ldconfig" afterwards;
2) failing 1), switch to Red hat linux, if you are using
something else (I had the segmentation fault problem under
Slackware, and solved it by installing red hat 5.1).
Robert XU
null
Maybe you are looking for
-
I cannot view my site in browser or publish my site after 2014.3 update
Hi, I updated to 2014.3 and cannot view my site in browser or publish. I see that alot of other people are having issues. Can you please assist. This is very frustrating. I am using OS X Yosemite 10.10.2. Thank you Brett
-
Help! Blackberry Desktop Software has encountered a problem and needs to close
I cannot get my Blackberry Desktop to open. An immediate message is displayed" Blackberry Desktop Software has encountered a problem and needs to close." I have done the following: 1. Rebooted 2. Uninstalled and reinstalled from the website 3, Uni
-
How we can sent the payslip through email
Dear Guru We are implementing SAP Payroll, We are under testing phase Can any body suggest how we can send payslip through assigned email ID Pl suggest the same We are in ECC 6.0 ehp 4 Regards Santosh
-
Hi, I'm trying to proceed a pretty complicated search. Here's the structure of my custom architecture ; all these are PublicObject Instances,and they all extend the 'Document' Class : class Po3 with a single String-type attribute : 'bob' class Po2 wi
-
PM Notifications - All Task Tab - Complete Function
On PM Notifications, All Task Tab, a user completes a task with the checkered flag icon. Is it possible to reverse the completion of the task on the All Task Tab of a PM Notification? If not, is it possible to edit a completed task?