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]
-----------------------------------------------

Similar Messages

  • 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]
    -----------------------------------------------

  • 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

  • Access/segmentation violation

    I'm receiving 'Access/Segmentation Violation' errors
    in an all-Forte application. Does anybody have experience
    with problems like this?
    Thank You,
    Keith

    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

  • 9iAS Bug? - Segmentation Violation - ApplicationServerThread

    Hi,
    I am getting this message output on the server after which the server stops responding to any requests.
    SIGSEGV 11 segmentation violation
    si_signo [11]: SEGV
    si_errno [0]:
    si_code [1]: SEGV_MAPERR [addr: 0x534d5408]
         stackpointer=DAA6F998
    "ApplicationServerThread" (TID:0x1084cf8, sys_thread_t:0x1084c30, state:R, thread_t: t@96, threadID:0xd8d81d78, stack_bottom:0xd8d82000, stack_size:0x20000) prio=5
    Sometimes this happens after I get this error:
    com.evermind.server.http.HttpIOException: Broken pipe
    Really need some urgent help on this.
    Thanks in advance.

    There does not seem to be a bug in the application.
    If I am giving the following command which needs to check where the core dump got made
    $ file core
    core: ELF 32-bit MSB core file SPARC Version 1, from 'java'
    this is giving java as the reason for the file dump.
    Now these are the details of the jvm for the Solaris verison 8.0 machine
    PKGINST: SUNWjvman
    NAME: JavaVM man pages
    CATEGORY: system
    ARCH: sparc
    VERSION: 1.1.8,REV=2000.08.14.10.32
    BASEDIR: /
    VENDOR: Sun Microsystems, Inc.
    DESC: JavaVM man pages
    PSTAMP: javavm000814103421
    INSTDATE: Sep 11 2001 14:25
    HOTLINE: Please contact your local service provider
    STATUS: completely installed
    FILES: 19 installed pathnames
    4 shared pathnames
    4 directories
    240 blocks used (approx)
    Appreciate your reply on this one.
    Thanks,
    Yogesh
    Hi Yogesh,
    You've crashed the JVM. There is obviously a HUGE bug in your application.
    Fix the bug and you won't crash the JVM. The error message indicates
    that the JVM is trying to access memory it isn't allowed to access.
    In other words, I'm guessing that the JVM is trying to allocate memory
    in order to execute your java application -- but your application requires
    so much memory that the JVM is trying to grab memory that the operating
    system isn't willing to give it -- and presto,"Segment Violation".
    Now, if you want more detailed assistance in how to solve this problem,
    then I advise you to follow Jeff's suggestion, and supply more details.
    Good Luck,
    Avi.

  • 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

  • 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 Jonsson

    Hi,
    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 ...

  • Full thread dump/segmentation violation encountered in NAS4.0

    hi,
    the application is running on NAS4.0 and BillerXpert4. while accessing the database via a billerXpert api, we encounter a segmentation violation ==> full thread dump. this happens sporadically. below is an extract from the NAS log showing the error:-
    SIGSEGV 11* segmentation violation
    si_signo [11]: SIGSEGV 11* segmentation violation
    si_errno [0]:
    si_code [1]: SEGV_MAPERR [addr: 0x20302000]
    stackbase=DC841D64, stackpointer=DC83F42C
    Full thread dump:
    "Thread-3357" (TID:0xe17215c8, sys_thread_t:0x12040a0, state:R, thread_t: t@
    3767, sp:0xdc580db8 threadID:0xdc581dd0, stack_base:0xdc581d64, stack_size:0x200
    00) prio=5
    java.net.SocketInputStream.read(Compiled Code)
    java.io.BufferedInputStream.fill(Compiled Code)
    java.io.BufferedInputStream.read(Compiled Code)
    netscape.ldap.ber.stream.BERElement.getElement(Compiled Code)
    netscape.ldap.LDAPConnThread.run(Compiled Code)
    any pointers/advice as to what cld have caused this to happen?
    many thanks in advance!!

    Ah well if you're back on 1.2 then that's about as much error information as you will get.
    JDK 1.2 is way past end-of-life. There is nothing you can do here to fix this problem.
    Note: just because your application code was written for 1.2 doesn't mean it won't run on a later version of the VM. Try 1.3.1 if you don't want to jump up to 1.5 or 1.6 (but 1.3.1 will soon hit end-of-life too).
    Sorry.

  • SIGSEGV   11*  segmentation violation

    I'm on a Sco Unixware 7.1.3 platform using
    WLS 7SP1 with SCO JDK1.3.1_06.
    This configuration is running at most of our stores, and has
    been running at this one store for 2 months with no problem until 4 days ago.
    When starting WLS, it keeps aborting and core dumping and restarting the WLS
    server after each core dump. Just finally got in my stdout log file (see below
    peice of log), but now crashes the unixware box.
    Has anyone else seen this problem or know what causes it?
    Thanks in advance.
    Starting WebLogic Server...
    <Jul 16, 2003 4:58:17 PM EDT> <Notice> <Management> <140005> <Loading configuration
    /appserver/user_domains/wls700/storedomain/./config.xml>
    <Jul 16, 2003 4:59:37 PM EDT> <Notice> <Security> <090082> <Security initializing
    using realm myrealm.>
    <Jul 16, 2003 4:59:51 PM EDT> <Notice> <WebLogicServer> <000327> <Starting WebLogic
    Admin Server "MainServer" for domain "storedomain">
    SIGSEGV 11* segmentation violation
    si_signo [11]: SIGSEGV 11* segmentation violation
    si_errno [0]:
    si_code [1]: SEGV_MAPERR [addr: 0xA3DF2478]
         stackpointer=80454b4
    Full thread dump Classic VM (SCO-UNIX-J2SE-1.3.1_06:*FCS*:20021212, native threads):
    "CoreHealthMonitor" (TID:0xb4fa0638, sys_thread_t:0x9783670, state:CW, native
    ID:0x3d) prio=5
         at java.lang.Thread.sleep(Native Method)
         at weblogic.t3.srvr.CoreHealthMonitorThread.run(CoreHealthMonitorThread.java,
    Compiled Code)
    "ExecuteThread: '14' for queue: 'JmsDispatcher'" (TID:0xb4f06258, sys_thread_t:0x951faf8,
    state:CW, native ID:0x3c) prio=5
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java, Compiled Code)

    hi,
    i have a similar problem on my linux-server: i am runninig a java-program that parses a large xml-file (>20MB) and updates a database in background with the data of this xml-file. the programm starts without any problems, but after processing about the half file and allocating a lot of memory (about 400 to 500 MB) there occures the following error:
    SIGSEGV 11 (*) segmentation violation
    si_signo [11]: SIGSEGV: (*) segmentation violation
    si_errno [0]: Success
    si_code [1]: SEGV_MAPERR [addr: 0x1]
    stackpointer=0xbffc7af8
    Full thread dump Classic VM (J2RE 1.2.2 IBM build cx122-20010504, native threads):
    "Finalizer" (TID:0x402ca728, sys_thread_t:0x80f4540, state:S, native ID:0xc04) prio=8
    at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
    at java.lang.ref.Finalizer.runFinalizer(Finalizer.java(Compiled Code))
    at java.lang.ref.Finalizer.access$1(Finalizer.java(Compiled Code))
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java(Compiled Code))
    "Reference Handler" (TID:0x402ca768, sys_thread_t:0x80ea7f8, state:S, native ID:0x803) prio=10
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:426)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java(Compiled Code))
    "Signal dispatcher" (TID:0x402ca7a8, sys_thread_t:0x80ea638, state:S, native ID:0x402) prio=5
    the strange thing is that the program seemed to work correctly with smaller xml-files in former times. now the xml-files have permanetly grown and it seems to me that the programm has not enough handles or something to process the whole file.
    could it be a database-problem? i am using a db2 and before this problem appeared, i reduced the amount of the following database-parameters: DBHEAP, APP_CTL_HEAP_SZ, STMTHEAP, APPLHEAPSZ, MAXFILOP in order to reduce the "memory-waste". i also have tried to call the garbage collector more often so that memory is freed.
    can anybody help me please??
    rde

  • 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
    JailBreak

    A 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

  • Segmentation violation

    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 advise

    I 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])
    Abort

    Nik:
    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

Maybe you are looking for

  • Safari will not open in one account, but will in others.

    The problem started my Imac G5 (OSX 10.4.7) hung up while I was in Safari; I turned computer off. I have not been able to start Safari in that account since. Here is part of the opening of the seven page error report. Source Version 4190300 PID 465 T

  • Macbook Pro intel core duo, will not boot to anything.

    Greetings, I am currently having issues with my MacBook Pro.  I get the flashing folder with the ?, but I can't boot to any of the startup utilities.  I have tried all that I have read about on other posts, such as, trying to boot with the C key held

  • How many external drives can i connect to Pavillion p7-1154

    I want to know if I can have two external drives attached to our P7-1154 hp pavillion desktop computer. I do have a spare USB port to make the connection. I already have one WD external Drive attached, which is rated USB3, 2TB Drive.  The one I want

  • Vendor/Customer Periodic Transfer from GTS - Idoc errors

    Hi Guys Need your help on this, seems like when i am trying to send the reduced message type for /SAPSLL/CREMAS_SLL and DEBMAS_SLL I see that its generating IDOCS but its not communicating - 1 master IDocs set up for message type /SAPSLL/CREMAS_SLL b

  • Edit Home Screen .....  Dismiss button is stuck on my screen

    I just upgraded my 3G phone to 2.1. Since I have upgraded, I have not been able to use my phone at all. I have a window displayed on my phone. Edit Home Screen To rearrange icons, touch and hold any icon until it starts to wiggle, then drag icons to