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

Similar Messages

  • Getting segmentation violation while running holos macro

    We are unable to build block in HOLOS 7.0 as we are getting the below error while trying to build HOLOS macros.
    Error Logging request failed (status = %x0000004F)
    Segmentation violation (code %xD3B70030)
    Holos block builds until it reaches size 2146435072 bytes and it then stops piling up the logs with the above error message.
    Please find below details regarding HOLOS version
    Server Holos : V7.0B (built on 01-DEC-1998)
    Please someone assist on what is causing the above issue and also how this can be resolved.

    Unfortunately, I don't think there is anyone here that has seen Holos, never mind working with it. 12 years is a long time... Let's see if anyone in the community can help. But you may also want to search for other Holos forums or Holos users that may be able to help you out.
    Ludek

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

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

  • 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

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

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

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

  • 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

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

  • What is Segmentation Violation?

    Hi,
    Recently, i've encouter Segmentation Violation. What is Segmentation Violation? What is the cause for it? Which area i should look into to solve this problem, because when is error happens, my program will crash.
    Could anyone pls help me?
    jhteo

    Was this on linux? I was getting segmentation faults from jdk1.3, nothing to do with my java code (even java -version wouldn't work). I eventually changed the default vm to server, and the threads to something else (can't remember), and now it works.
    m

  • 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

  • Error encountered while signing: The Windows Cryptographic Service Provider reported an error: Access was denied because of a security violation. Error Code: 2148532330

    Last night when i tried to sign a document i received the mesage below and after that it says this document can't be signed what can i do to fix this problem.
    Error encountered while signing:
    The Windows Cryptographic Service Provider reported an error:
    Access was denied because of a security violation.
    Error Code: 2148532330

    I assume you are implying "biztax" application here, right?
    I have contacted their program lead, with no result at all.
    Past days I have been searching for a solution - reinstalls / new systems - no solution.
    This issue appeared a week or two ago only.
    I found http://forums.adobe.com/message/5338853 useful - but no positive results either.
    http://test.eid.belgium.be/faq/faq_nl.htm obviously didnt help either.
    If anyone finds a solution to this issue, please do let me know - any help is appreciated.
    Biztax tells to use the "signature", not the "authentication"  - but it is only Auth. that is showing up as option to sign (that works)
    ps, did you fiddle with the Adobe Reader XI security settings and import that PKI etc as well? I hoped that would be the breaktrough. Sadly i'm still crying in my chair.
    Oh, and dont forget: they claim nobody else got this issue. Maybe one or two people. (We got about 8 customers experiencing exactly the same symptoms at the same time )
    >  I noticed that when I try to open the pdf  document that is 'signed' by the government it is not showing the filename in the title bar, but only " - Adobe Reader".    every piece of info helps I guess.
    Obviously last version of Reader   11.0.03

Maybe you are looking for

  • Converting from PDF directly to Java Objects/XML (and PDF format questions)

    Hi, I posted this originally in the Acrobat Windows forums but was told I might have more luck here, so here goes: I am desperately trying to find a tool (preferably open source but commercial is fine also) that will sit on top of a PDF and allow me

  • Static methods in javafx class.

    How do I create static methods in javafx similar to static methods in java?

  • My correct contact email address is not being used...

    I do not use, and do wish to use, my allocated BTInternet email address and I have my normal Gmail address set up for my BT contact.  As a result I have the BTInternet address set up to permanently forward emails to the Gmail account. Despite my cont

  • Downloading classes from iTunes U

    when trying to down load classes from iTunes U, my iPad will drop off line and revert to the home screen.  does anyone know the fix?

  • Store procedure help please

    Oracle Stored procedure query.. I have 1 table with below schema. ID empID clsID Year Cuser CDatetime Sample Data: ID     EMPID     ClsID     Year     Cuser     CDateTime 1     100     2     2000     John     1/1/2000 2     100     3     2000     Joh