Fire! Core dump in pthread_mutex_lock

Hi, All,
Here is the pstack information from dbx.
t@1 (l@1) terminated by signal SEGV (access to address exceeded protections)
0xfd90b258: locktry_adaptive : ldstub [%o0 + 12], %o1
(dbx) where
current thread: t@1
=>[1] locktry_adaptive(0x10018, 0x2089c, 0x64d530, 0x85e18, 0xffbef338, 0x20bd288), at 0xfd90b258
[2] tipthread_mutex_lock(0x0, 0xfd91c000, 0x10018, 0x3, 0x0, 0x0), at 0xfd8fb798
[3] cmgCall::sendEventIn(0x224e010, 0x2, 0x209144b, 0x3, 0x10018, 0x6ef910), at 0xfe4912bc
[4] cmgSs7Adapter::inputNetMsg(0xfe50db20, 0x2091430, 0xfe5f677c, 0x3, 0x1a7d5e0, 0xfe5b85c4), at 0xfe50d060
[5] cmgCallMgr::forwardNetEvent(0x28b010, 0xaf6f10, 0x100a, 0x100b, 0xfe5526eb, 0x0), at 0xfe4a6c40
[6] engIOS_EvtHdlr::handleEvent(0x25e1f0, 0xaf6f10, 0x0, 0xbd07c, 0x5, 0x2), at 0xfe1f4a7c
[7] XEEvtDispatcher::run(0x1b9010, 0xdce170, 0x1b9124, 0x1b9078, 0x1, 0x710381), at 0xfe96bac4
[8] XEProcShell::run(0x1b69a0, 0x800, 0x9a8, 0xfea06630, 0x1bb610, 0x1), at 0xfe991ce8
[9] main(0x3, 0xffbefb54, 0xffbefb64, 0x1617d0, 0x0, 0x0), at 0x26238
(dbx) regs
current thread: t@1
current frame: [1]
g0-g1 0x00000000 0x00000000 0x00000000 0x0001b000
g2-g3 0x00000000 0x00000001 0x00000000 0xfe8ead08
g4-g5 0x00000000 0x00000074 0x00000000 0xffbef32c
g6-g7 0x00000000 0x00000000 0x00000000 0x00193778
o0-o1 0x00000000 0x00010018 0x00000000 0x0002089c
o2-o3 0x00000000 0x0064d530 0x00000000 0x00085e18
o4-o5 0x00000000 0xffbef338 0x00000000 0x020bd288
o6-o7 0x00000000 0xffbef318 0x00000000 0xfd8fb798
l0-l3 0x00000000 0xfcfc35e4 0x00000009 0x00000000
l4-l7 0x0064d530 0xfe8db0e8 0x0064d530 0xfe5b85c4
i0-i3 0x00000000 0xfd91c000 0x00010018 0x00000003
i4-i7 0x00000000 0x00000000 0xffbef378 0xfe4912bc
y 0x000f7c26
psr 0xfe401001
pc 0xfd90b258:_lock_try_adaptive ldstub [%o0 + 12], %o1
npc 0xfd90b25c:_lock_try_adaptive+0x4 tst %o1
(dbx) lwps
o>l@1 signal SIGSEGV in locktry_adaptive()
l@2 LWP suspended in libcsigaction()
l@3 LWP suspended in ___lwp_cond_wait()
l@27 LWP suspended in ___lwp_cond_wait()
l@28 LWP suspended in private___lwp_cond_wait()
l@29 LWP suspended in writeValue<unsigned short>()
l@24 LWP suspended in __door_call()
(dbx)
Could you help investigate it?
Thanks!
Eric

Shouting Fire! in a crowded forum can cause a riot. People can get trampled.
Very bad. :-) But in this case, I don't think there is a riot coming.
You probably passed a 0 to the mutex function.
Try something like this in dbx:
(dbx) stop in tipthread_mutex_lock -if $o0 == 0
(dbx) run
See if it hits that breakpoint. If so, then your app is passing a zero
to that function.
Also, look at the code for cmdCall::sendEventIn and see if you
can tell if it might be passing a zero.

Similar Messages

  • Hotspot core dumping during JVM garbage collection ?

    We have an application which calls a 3rd party supplied server API which has recently been upgraded to use Java 1.5
    We are getting the following error reported by our client application. The application is also now running Java 1.5 but references many classes in jar files which would have quite old code in.
    The supplier of the API has stated that the problem requires us to recompile all our jar files using v 1.5 ( including things like jconnect and jms ?!?!? ). This sounds like a bit of a cop-out to me, not to mention being impossible since we don't have the source for things like jconnect.
    I suspect that there is a garbage collection problem at the bottom of all this, but I'm not sure how I can "prove" this, nor do I currently have any real clue as to how to fix any GC problem that may exist.
    The application is supposed to wait for a message on a MQSeries queue and then transforms it via Xalan XSLT and sends it to a Server application. I've tried playing around with heap sizes etc but that just seems to make it worse. If I leave it at the settings that the previous version used then the client at least manages to process a couple of messages before core dumping. There doesn't seem to be a consistent trigger event to cause the core dump ( it's not a message arriving on a queue for example ) but it does seem to be fairly consistent timewise, i.e. after
    Any ideas gratefully accepted.
    Here's a logfile excerpt from my applications showing the Hotspot error message :
    =====================================================================================
    08-Jul-2008 10:01:05 Waiting for messages from COLT.BBFS
    08-Jul-2008 10:02:05 Waiting for messages from COLT.BBFS
    08-Jul-2008 10:03:05 Waiting for messages from COLT.BBFS
    405.815: [GC [PSYoungGen: 17331K->9244K(37632K)] 111702K->103615K(192128K), 0.1615910 secs]
    405.977: [Full GC#
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #  SIGBUS (0xa) at pc=0xfe141348, pid=2600, tid=8
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_03-b07 mixed mode)
    # Problematic frame:
    # V  [libjvm.so+0x141348]
    # An error report file with more information is saved as hs_err_pid2600.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    =====================================================================================
    The logfile referred to in the error message contains the following.
    =====================================================================================
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGBUS (0xa) at pc=0xfe141348, pid=2600, tid=8
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_03-b07 mixed mode)
    # Problematic frame:
    # V [libjvm.so+0x141348]
    --------------- T H R E A D ---------------
    Current thread (0x001484d8): VMThread [id=8]
    siginfo:si_signo=10, si_errno=0, si_code=1, si_addr=0x0000080f
    Registers:
    O0=0x00487588 O1=0xfe7d6454 O2=0x000079b0 O3=0x00007800
    O4=0x00008868 O5=0x00147d48 O6=0xf8781460 O7=0xfe0f7938
    G1=0xe52aaae8 G2=0x00000003 G3=0x00000003 G4=0x001484d8
    G5=0xf8781d98 G6=0x00000002 G7=0xf8781d98 Y=0x805683e2
    PC=0xfe141348 nPC=0xfe14134c
    Top of Stack: (sp=0xf8781460)
    0xf8781460: fe786000 00c6ba20 fe10013c e54bab68
    0xf8781470: 0000080f e54bab6c 0000080f 00000004
    0xf8781480: 00487588 00000134 e54bab6c 00000004
    0xf8781490: 00000001 00000000 f87814c0 fe17aef4
    0xf87814a0: fe6485b4 fe7d899c 001484d8 0011da40
    0xf87814b0: 00148988 00148c10 00148d7c f8781880
    0xf87814c0: 007c3389 007c3c0e 00000f87 00008868
    0xf87814d0: 00008800 00487588 fe141310 fe7d6454
    Instructions: (pc=0xfe141348)
    0xfe141338: ec 06 c0 1a 80 a5 a0 00 22 40 00 0a ba 07 60 01
    0xfe141348: f2 05 a0 00 ae 0e 60 03 80 a5 e0 03 22 40 00 05
    Stack: [0xf8702000,0xf8781d98), sp=0xf8781460, free space=509k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [libjvm.so+0x141348]
    V [libjvm.so+0x17aefc]
    V [libjvm.so+0x2d557c]
    V [libjvm.so+0x300ef8]
    V [libjvm.so+0x301e84]
    V [libjvm.so+0x2ff950]
    V [libjvm.so+0x29df30]
    V [libjvm.so+0x362b44]
    V [libjvm.so+0x6436f0]
    VM_Operation (0xe03012b0): parallel gc system gc, mode: safepoint, requested by thread 0x0031bca0
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x00b2c028 JavaThread "Thread-4" [_thread_in_native, id=85]
    0x007f5048 JavaThread "Thread-0" [_thread_blocked, id=84]
    0x00c27cf0 JavaThread "Notification Delivery" [_thread_blocked, id=81]
    0x0026fa08 JavaThread "RMI LeaseChecker" daemon [_thread_blocked, id=73]
    0x00821048 JavaThread "RMI RenewClean-[162.11.2.32:44425]" daemon [_thread_blocked, id=70]
    0x0031bca0 JavaThread "GC Daemon" daemon [_thread_blocked, id=67]
    0x00cd5d28 JavaThread "RMI Reaper" [_thread_blocked, id=66]
    0x003c9300 JavaThread "Timer-0" daemon [_thread_blocked, id=65]
    0x00929fe0 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=64]
    0x0089bf18 JavaThread "SeedGenerator Thread" daemon [_thread_blocked, id=42]
    0x00c47248 JavaThread "Pool thread #7" daemon [_thread_blocked, id=38]
    0x00c466a0 JavaThread "Pool thread #6" daemon [_thread_blocked, id=37]
    0x00311850 JavaThread "Pool thread #5" daemon [_thread_blocked, id=36]
    0x00287a40 JavaThread "Pool thread #4" daemon [_thread_blocked, id=35]
    0x00286e98 JavaThread "Pool thread #3" daemon [_thread_blocked, id=34]
    0x00c134b0 JavaThread "Pool thread #2" daemon [_thread_blocked, id=33]
    0x00ad09e0 JavaThread "Pool thread #1" daemon [_thread_blocked, id=32]
    0x00286cd8 JavaThread "PoolThreadManager" daemon [_thread_blocked, id=31]
    0x00c129e0 JavaThread "Channel Reaper" daemon [_thread_blocked, id=30]
    0x00c669e8 JavaThread "ORB Daemon Thread" daemon [_thread_blocked, id=29]
    0x00b10170 JavaThread "Worker for ServerProtocol: (iiop) /0.0.0.0:20168" daemon [_thread_blocked, id=22]
    0x008a17e0 JavaThread "Syn~ Client" daemon [_thread_blocked, id=21]
    0x003dc378 JavaThread "PoolScavenger0" daemon [_thread_blocked, id=20]
    0x0015a928 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=15]
    0x00159880 JavaThread "CompilerThread1" daemon [_thread_blocked, id=14]
    0x00158a18 JavaThread "CompilerThread0" daemon [_thread_blocked, id=13]
    0x00157b98 JavaThread "AdapterThread" daemon [_thread_blocked, id=12]
    0x00156dc8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=11]
    0x0014ccd8 JavaThread "Finalizer" daemon [_thread_blocked, id=10]
    0x0014ad90 JavaThread "Reference Handler" daemon [_thread_blocked, id=9]
    0x00038238 JavaThread "main" [_thread_in_native, id=1]
    Other Threads:
    =>0x001484d8 VMThread [id=8]
    0x0015c3b0 WatcherThread [id=16]
    VM state:at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x00037728/0x00037758] Threads_lock - owner thread: 0x001484d8
    [0x00033650/0x00037ba8] Heap_lock - owner thread: 0x0031bca0
    Heap
    PSYoungGen total 37632K, used 9244K [0xf2eb0000, 0xf7ba0000, 0xf8400000)
    eden space 28352K, 0% used [0xf2eb0000,0xf2eb0000,0xf4a60000)
    from space 9280K, 99% used [0xf4a60000,0xf5367080,0xf5370000)
    to space 25216K, 0% used [0xf6300000,0xf6300000,0xf7ba0000)
    PSOldGen total 154496K, used 94371K [0xe8400000, 0xf1ae0000, 0xf2eb0000)
    object space 154496K, 61% used [0xe8400000,0xee028e78,0xf1ae0000)
    PSPermGen total 35584K, used 18260K [0xe4400000, 0xe66c0000, 0xe8400000)
    object space 35584K, 51% used [0xe4400000,0xe55d5158,0xe66c0000)
    Dynamic libraries:
    0x00010000      /dsdvlp/java/jvm/jdk1.5.0_03/bin/java
    0xff350000      /usr/lib/libthread.so.1
    0xff340000      /usr/lib/libdl.so.1
    0xff200000      /usr/lib/libc.so.1
    0xff390000      /usr/platform/SUNW,Sun-Fire-880/lib/libc_psr.so.1
    0xfe000000      /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/server/libjvm.so
    0xff1e0000      /usr/lib/libsocket.so.1
    0xff2d0000      /usr/lib/libsched.so.1
    0xff1b0000      /usr/lib/libCrun.so.1
    0xff160000      /usr/lib/libm.so.1
    0xff080000      /usr/lib/libnsl.so.1
    0xff060000      /usr/lib/libmp.so.2
    0xff030000      /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/native_threads/libhpi.so
    0xfdfc0000      /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/libverify.so
    0xfdf80000      /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/libjava.so
    0xfdf50000      /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/libzip.so
    0xfb7e0000      /usr/lib/locale/en_GB.ISO8859-1/en_GB.ISO8859-1.so.2
    0xe4190000      /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/libnet.so
    0xe3bd0000      /dsdvlp/lib/5/libSolarisNatives.so
    0xe3e90000      /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/librmi.so
    VM Arguments:
    jvm_args: -Djava.ext.dirs=/dsdvlp/java/tmijar/firs7/lib/cli:/dsdvlp/java/tmijar/firs7/lib/cli/ext:/dsdvlp/java/tmijar/firs7/lib/cmn/OpenORB:/dsdvlp/java/tmijar/firs7/lib/cmn/OpenORB/ext:/dsdvlp/java/tmijar/firs7/lib/cmn:/dsdvlp/java/tmijar/firs7/lib/cmn/ext:/dsdvlp/java/tmijar/firs7/daemonlib -Duser.dir=/dsdvlp/java/tmijar/firs7 -Dopenorb.config=file:/dsdvlp/java/tmijar/firs7/configs/OpenORB/config/SynOpenORB.xml -Dopenorb.home=file:/dsdvlp/java/tmijar/firs7/configs/OpenORB -Dcom.coexis.syn.general.orbbinding=com.coexis.syn.general.orbbinding.openorb.OpenORBBinding_1_4 -Dsun.rmi.dgc.client.gcInterval=360000 -Dsun.rmi.dgc.server.gcInterval=360000000 -Xms32m -Xmx256m -Dcom.coexis.syn.clientcommandsconfiglocation=file://localhost//dsdvlp/java/tmijar/firs7/configs/clientcommands.xml -Dcom.coexis.syn.clientconfiglocation=file://localhost//dsdvlp/java/tmijar/firs7/configs/fsbbtd_client.xml -XX:+PrintGCTimeStamps -XX:+PrintGCDetails
    java_command: com.coexis.syn.mqmessaging.daemon.RunDaemon -p /dsdvlp/bin/5/lndsfsd_fsbbtd.properties start
    Environment Variables:
    JAVA_HOME=/dsdvlp/java/jvm/jdk150
    CLASSPATH=.:/dsdvlp/java/jar/jconnect520.jar:/dsdvlp/java/jar/vbjapp340.jar:/dsdvlp/java/jar/vbjorb340.jar:/dsdvlp/java/jar/javax_jndi120.jar
    PATH=/usr/local/etc:/usr/lang:/usr/openwin/bin:/usr/ucb:/bin:/usr/etc:/usr/local/5/bin:/dsdvlp/bin/5:/dsdvlp/bin/4:/home/app/sybase/5/bin:/home/app/sybase/5/localscripts:/home/app/sybase/5/sqr:/home/app/lang:/home/app/lang/SC2.0.1:/usr/ccs/bin:/usr/local/opt/Acrobat3/bin:/dsdvlp/bin:.
    LD_LIBRARY_PATH=/dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/server:/dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc:/dsdvlp/java/jvm/jdk1.5.0_03/jre/../lib/sparc:/usr/lib:/usr/openwin/lib:/usr/local/5/lib:/dsdvlp/lib/5:/dstest/lib/5:/home/app/sybase/5/lib:/dstest/cats/sun4/lib:/tmitest/Opus/opus/lib
    SHELL=/bin/csh
    DISPLAY=CLI00184.mfil.local:1.0
    OS=5
    --------------- S Y S T E M ---------------
    OS: Solaris 8 2/02 s28s_u7wos_08a SPARC
    Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
    Assembled 18 December 2001
    uname:SunOS 5.8 Generic_117350-20 sun4u (T1 libthread)
    rlimit: STACK 8192k, CORE 9216k, NOFILE 4096, AS infinity
    load average:2.24 2.67 2.68
    CPU:total 4 has_v8, has_v9, has_vis1, has_vis2, is_ultra3
    Memory: 8k page, physical 8388608k(166384k free)
    vm_info: Java HotSpot(TM) Server VM (1.5.0_03-b07) for solaris-sparc, built on Apr 13 2005 03:31:26 by unknown with unknown Workshop:0x550

    The very first suggestion I have is to move your VM to a more recent update of 1.5.0.
    It looks like you are crashing with 5.0u3, and I'm pretty sure 5.0u16 is available. You
    don't want to waste your time chasing a bug that's already been fixed.

  • Inetd service/program crashes with core dump in Solaris 8 zone/container

    I have developed a service in C that is launched from inetd when something comes on a specific port.
    When a connection is opened to the port a core dump is created in the same directory where the executable file is located.
    If you run the same service program from the command line everything is working perfect.
    This is running in a Solaris 8 zone/container on a Solaris 10 machine.
    Everything is set correctly in /etc/inetd.conf and in /etc/services.
    I have even stripped down the program to a hello world program that is just printing a string to the screen and it is still crashing with a core dump.
    # ldd test_srv
    /usr/lib/secure/s8_preload.so.1
    libc.so.1 => /usr/lib/libc.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    /usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1
    The same service is running on a Linux machine and on a Solaris 10 machine without zones/containers without any problems.
    Can you please help me figure out what am I missing. Is there something specific with zones/containers that should be set / configured?
    Do I have to set some specific env. variables to work in a Solaris 8 zone/container environment or is it something very simple that I'm missing?

    Could you please examine the truss log and advice what the problem is and how to fix it?
    (some lines deleted)
    bash-2.03# truss -f -p 18361 #### /usr/sbin/inetd -s -t &
    18361:  poll(0xFFBFF528, 53, -1)        (sleeping...)
    18361:  poll(0xFFBFF528, 53, -1)                        = 1
    18361:  accept(63, 0xFFBFF870, 0xFFBFF914, 1)           = 3
    18361:  sigprocmask(SIG_BLOCK, 0xFFBFF5F0, 0xFFBFF600)  = 0
    18361:  lwp_sigtimedwait(0xFFBFF600, 0xFFBFF578, 0x00000010) = 0
    18361:  lwp_sigtimedwait(0xFFBFF568, 0xFFBFF728, 0x00000010) = 0
    18361:  fork()                                          = 1921
    1921:   fork()          (returning as child ...)        = 18361
    1921:   sigprocmask(0, 0x00000000, 0xFFBFF600)          = 0
    18361:  sigprocmask(0, 0x00000000, 0xFFBFF600)          = 0
    1921:   lwp_sigtimedwait(0xFFBFF600, 0xFFBFF578, 0x00000010) = 0
    18361:  sigprocmask(SIG_SETMASK, 0xFFBFF5F0, 0xFFBFF600) = 0
    18361:  close(3)                                        = 0
    18361:  sigprocmask(0, 0x00000000, 0xFFBFF600)          = 0
    1921:   lwp_sigtimedwait(0xFFBFF668, 0xFFBFF528, 0x00000020) = 0
    1921:   sigaction(SIGHUP, 0xFFBFF528, 0xFFBFF500)       = 0
    18361:  lwp_sigtimedwait(0xFFBFF568, 0xFFBFF5F0, 0x00000010) = 0
    1921:   lwp_sigtimedwait(0xFFBFF508, 0xFFBFF458, 0x00000010) = 0
    18361:  sigprocmask(SIG_SETMASK, 0xFFBFF5F0, 0xFFBFF600) = 0
    1921:   sigprocmask(SIG_SETMASK, 0xFFBFF5F0, 0xFFBFF600) = 0
    1921:   lwp_sigtimedwait(0xFFBFF600, 0xFFBFF578, 0x00000010) = 0
    1921:   lwp_sigtimedwait(0xFFBFF568, 0xFFBFF728, 0x00000010) = 0
    1921:   fcntl(3, F_DUP2FD, 0x00000000)                  = 0
    1921:   close(3)                                        = 0
    1921:   fcntl(0, F_DUP2FD, 0x00000001)                  = 1
    1921:   fcntl(0, F_DUP2FD, 0x00000002)                  = 2
    1921:   open64("/etc/.name_service_door", O_RDONLY)     = 3
    1921:   fcntl(3, F_SETFD, 0x00000001)                   = 0
    1921:   door_info(3, 0xFF0C2748)                        = 0
    1921:   door_call(3, 0xFFBFF278)                        = 0
    1921:   close(67)                                       Err#9 EBADF
    1921:   close(66)                                       Err#9 EBADF
    1921:   close(65)                                       Err#9 EBADF
    1921:   close(64)                                       Err#9 EBADF
    1921:   close(63)                                       = 0
    1921:   close(62)                                       = 0
    1921:   close(12)                                       = 0
    1921:   close(11)                                       = 0
    1921:   close(10)                                       Err#9 EBADF
    1921:   close(9)                                        Err#9 EBADF
    1921:   close(8)                                        Err#9 EBADF
    1921:   close(7)                                        Err#9 EBADF
    1921:   close(6)                                        Err#9 EBADF
    1921:   close(5)                                        Err#9 EBADF
    1921:   close(4)                                        Err#9 EBADF
    1921:   setrlimit(RLIMIT_NOFILE, 0xFFBFFD20)            = 0
    1921:   xenix(398872, 0xFFBFF5E4, 0x00000040)           = 38
    1921:   execve("/tmp/srv/t_srv", 0x0008B5FC, 0xFFBFFDA0)  argc = 0
    1921:   getuid()                                        = 0 [0]
    1921:   resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16
    1921:   open("/var/ld/ld.config", O_RDONLY)             = 3
    1921:   fstat(3, 0xFFBFF5E8)                            = 0
    1921:   mmap(0x00000000, 148, PROT_READ, MAP_SHARED, 3, 0) = 0xFF3E0000
    1921:   close(3)                                        = 0
    1921:   stat("/usr/lib/libc.so.1", 0xFFBFF648)          = 0
    1921:   resolvepath("/usr/lib/libc.so.1", "/usr/lib/libc.so.1", 1023) = 18
    1921:   open("/usr/lib/libc.so.1", O_RDONLY)            = 3
    1921:   mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF340000
    1921:   mmap(0x00000000, 802816, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) = 0xFF200000
    1921:   mmap(0xFF200000, 703520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF200000
    1921:   mmap(0xFF2BC000, 24772, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 704512) = 0xFF2BC000
    1921:   munmap(0xFF2AC000, 65536)                       = 0
    1921:   memcntl(0xFF200000, 113528, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
    1921:   close(3)                                        = 0
    1921:   stat("/usr/lib/libdl.so.1", 0xFFBFF648)         = 0
    1921:   resolvepath("/usr/lib/libdl.so.1", "/usr/lib/libdl.so.1", 1023) = 19
    1921:   open("/usr/lib/libdl.so.1", O_RDONLY)           = 3
    1921:   mmap(0xFF340000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF340000
    1921:   mmap(0x00000000, 8192, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) = 0xFF330000
    1921:   mmap(0xFF330000, 2638, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF330000
    1921:   close(3)                                        = 0
    1921:   stat("/usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1", 0xFFBFF368) = 0
    1921:   resolvepath("/usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1", "/usr/platform/sun4u-us3/lib/libc_psr.so.1", 1023) = 41
    1921:   open("/usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1", O_RDONLY) = 3
    1921:   mmap(0xFF340000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF340000
    1921:   close(3)                                        = 0
    1921:   mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF320000
    1921:   dup(0)                                          = 3
    1921:   llseek(0, 0, SEEK_CUR)                          Err#29 ESPIPE
    1921:   close(0)                                        = 0
    1921:   fcntl(3, F_DUP2FD, 0x00000000)                  = 0
    1921:   close(3)                                        = 0
    1921:   dup(1)                                          = 3
    1921:   close(1)                                        = 0
    1921:   fcntl(3, F_DUP2FD, 0x00000001)                  = 1
    1921:   close(3)                                        = 0
    1921:   dup(2)                                          = 3
    1921:   close(2)                                        = 0
    1921:   fcntl(3, F_DUP2FD, 0x00000002)                  = 2
    1921:   close(3)                                        = 0
    1921:   sys#177(0x00000080, 0xFFBFFB7C, 0xFF3F0518, 0x00000000, 0xFF3C2EF8, 0xFF2C0284) = 0x00000000 [0xFFBFFB7C]
    1921:   sys#227(0x00000006, 0x00000000, 0x0001ADF0, 0xFF3F0518, 0xFF3C3C18, 0xFF3C2670) = 0x0000000C [0x00000000]
    1921:   sys#227(0x00000002, 0x0000000C, 0x0000000E, 0xFFBFFCAE, 0x00000002, 0xFF3C2670) = 0x00000002 [0x00000000]
    1921:       Incurred fault #6, FLTBOUNDS  %pc = 0xFF232E2C
    1921:         siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
    1921:       Received signal #11, SIGSEGV [default]
    1921:         siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
    1921:           *** process killed ***
    18361:      Received signal #18, SIGCLD, in poll() [caught]
    18361:        siginfo: SIGCLD CLD_DUMPED pid=1921 status=0x000B
    18361:  poll(0xFFBFF528, 53, -1)                        Err#4 EINTR
    18361:  lwp_sigtimedwait(0xFFBFF218, 0xFFBFF140, 0x00000010) = 0
    18361:  lwp_sigtimedwait(0xFFBFF130, 0xFFBFF218, 0x00000010) = 0
    18361:  sigprocmask(0, 0x00000000, 0xFFBFEF28)          = 0
    18361:  poll(0xFFBFF528, 53, -1)        (sleeping...)Thank you in advance

  • Java crashes on a solaris 9 randomly with a core dump

    Hello
    Currently we are using JBoss Application server on solaris 9. Over a period of time. Java crashes suddenly. The condition under which this can be reproduced is currently not reproduceable. But over a period of time, this crash just happens.
    The following is the stack trace of the core file. Can somebody see this and let me know what could be the possible problem.
    bash-2.05# adb java.3558.1133780573
    core file = java.3558.1133780573 -- program `` /global/netmfs/netmbase/NetM62/licensing/jre/bin/java'' on platform SUNW,Sun-Fire-V440
    SIGABRT: Abort
    $c
    libc.so.1`_lwp_kill+8(6, 0, acf7b6e8, 2, 0, af2d482c) libc.so.1`abort+0x100(2d80f8, b, b3ef0040, 0, 48, 0) libkernel32.so`__1cUSehScanInvokeTryList6FpnQSEH_THREAD_BLOCK__i_+0x334(2d9790,
    af1cd7f8, af2d7324, 0, 2, 0)
    libkernel32.so`__1cOSignal_HandlerFraise6FIpviipL_i_+0xfc(c0000005, acf7ba20, 0 , 2, acf7b858, 1800) libkernel32.so`__1cPRaise_Exception2f6MipnHsiginfo_pv_v_+0xa4(516f28, b, acf7bcd8, acf7ba20, af2ea1e4, 2c) libthread.so.1`__sighndlr+0xc(b, acf7bcd8, acf7ba20, af1cd854, 0, 0) libthread.so.1`call_user_handler+0x234(b, acf7bcd8, acf7ba20, 0, 0, 0) libthread.so.1`sigacthandler+0x64(b, acf7bcd8, acf7ba20, 1, f6e89af0, 3ba) 0xfa0f4520(b5fec400, f6e89af0, b5fec550, 3ba, fa015624, b5fed448) 0xfa43586c(f5c770a8, b5fec530, bcdddf90, b5fec530, bcdddf90, b5fec400) 0xfa005b10(f6e8a270, b6, 8, fa0155e0, f6e847a0, acf7bf70) 0xfa005b10(2d6b00, b8, acf7c0e4, fa0152c0, fa015624, acf7c000) 0xfa005b10(2d6b00, b8, 8, fa015590, feca1858, acf7c078) 0xfa005b10(2d6b00, 0, 0, fa0155e0, 3349f0, acf7c108) 0xfa000118(acf7c1f0, acf7c388, a, f6e89818, fa00aae0, acf7c328) libjvm.so`__1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallAr
    guments_pnGThread__v_+0x274(acf7c380, acf7c318, acf7c320, 2d6b00, 2d6b00, 34e9cc
    libjvm.so`JVM_DoPrivileged+0x4c0(632adc, ff0104d0, acf7c65c, 0, 1, 1) libjava.so`Java_java_security_AccessController_doPrivileged__Ljava_security_Priv
    ilegedExceptionAction_2+0x14(2d6b94, acf7c5e0, acf7c65c, ffffffff, fa015624, 0) 0xfa00be48(2d6b00, b8, 15c, 4, f6e847a0, acf7c5f8) 0xfa005b10(2d6b00, 0, 0, fa015480, 3349f0, acf7c690) 0xfa000118(acf7c778, acf7c838, a, f6e87d18, fa00aae0, acf7c844) libjvm.so`__1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallAr
    guments_pnGThread__v_+0x274(acf7c830, acf7c82c, acf7c840, 2d6b00, 2d6b00,
    acf7d170)
    libjvm.so`__1cNinstanceKlassbBcall_class_initializer_impl6FnTinstanceKlassHandle
    pnGThread_v_+0xfc(acf7c950, 2d6b00, 10b, acf7c9e8, 1, 0) libjvm.so`__1cNinstanceKlassPinitialize_impl6FnTinstanceKlassHandle_pnGThread__v
    +0x4f4(acf7ca98, 2d6b00, acf7d490, 2d741c, 2d6b00, 0) libjvm.so`_1cNinstanceKlassKinitialize6MpnGThread__v_+0x84(f6e87dd0, 2d6b00, 1b8, f5c01e00, acf7cb5c, 1) libjvm.so`__1cMLinkResolverTresolve_static_call6FrnICallInfo_rnLKlassHandle_nMsy
    mbolHandle_53iipnGThread__v_+0x190(0, 2d6b00, ff0104d0, acf7cc54, acf7cc50, 1) libjvm.so`__1cMLinkResolverOresolve_invoke6FrnICallInfo_nGHandle_nSconstantPoolH
    andle_inJBytecodesECode_pnGThread__v_+0xd8(acf7cf44, acf7cf0c, acf7cf08, 12, b8 , 2d6b00) libjvm.so`__1cSInterpreterRuntimeOresolve_invoke6FpnKJavaThread_nJBytecodesECode
    __v_+0x6ac(2d6b00, b8, 8, b5feaea8, f6e80c78, 0) 0xfa01561c(2d6b00, b8, b5feaf20, fa015590, fa015624, acf7d0d0) 0xfa005b10(2d6b00, b8, 1b9, fa015590, f6dc6a20, acf7d170) 0xfa005b10(2d6b00, b8, 8, fa0155e0, f6dc6a20, acf7d208) 0xfa005b10(2d6b00, b8, acf7d3ac, fa015590, f6dc9888, acf7d2b0) 0xfa005b10(2d6b00, b8, 8, fa015590, f6dc6a20, acf7d340) 0xfa005b10(2d6b00, 0, 0, fa0155e0, 3349f0, acf7d3c8) 0xfa000118(acf7d4b0, acf7d570, a, f6dc87d0, fa00aae0, acf7d57c) libjvm.so`__1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallAr
    guments_pnGThread__v_+0x274(acf7d568, acf7d564, acf7d578, 2d6b00, 2d6b00, 0) libjvm.so`__1cNinstanceKlassbBcall_class_initializer_impl6FnTinstanceKlassHandle
    pnGThread_v_+0xfc(acf7d688, 2d6b00, 10b, acf7d720, 1, 0) libjvm.so`__1cNinstanceKlassPinitialize_impl6FnTinstanceKlassHandle_pnGThread__v
    +0x4f4(acf7d7d0, 2d6b00, acf7e118, 2d72c4, 2d6b00, b5c49570) libjvm.so`_1cNinstanceKlassKinitialize6MpnGThread__v_+0x84(f6dc9700, 2d6b00, 1b8, f5c01e00, acf7d894, 1) libjvm.so`__1cMLinkResolverTresolve_static_call6FrnICallInfo_rnLKlassHandle_nMsy
    mbolHandle_53iipnGThread__v_+0x190(0, 2d6b00, ff0104d0, acf7d98c, acf7d988, 1) libjvm.so`__1cMLinkResolverOresolve_invoke6FrnICallInfo_nGHandle_nSconstantPoolH
    andle_inJBytecodesECode_pnGThread__v_+0xd8(acf7dc7c, acf7dc44, acf7dc40, 6d, b8 , 2d6b00) libjvm.so`__1cSInterpreterRuntimeOresolve_invoke6FpnKJavaThread_nJBytecodesECode
    __v_+0x6ac(2d6b00, b8, acf7de5c, fa0155d8, fa015624, acf7dd50) 0xfa01561c(2d6b00, b8, b5c47f38, fa015590, f67cf4d0, acf7dde8) 0xfa005a44(2d6b00, b8, 3, fa015590, fa015304, acf7deb8) 0xfa005b54(be833b70, b6, acf7e024, fa015590, fa015304, acf7df48) 0xfa005b54(be833b78, b6, acf7e0a4, fa015270, b6080000, acf7dfc8) 0xfa005b54(2d6b00, 0, 0, fa015270, 3349f0, acf7e048) 0xfa000118(acf7e138, acf7e270, a, f67d9ba0, fa00aae0, acf7e2ac) libjvm.so`__1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallAr
    guments_pnGThread__v_+0x274(acf7e268, acf7e264, acf7e29c, 2d6b00, 2d6b00,
    fece7f70)
    libjvm.so`__1cKReflectionGinvoke6FnTinstanceKlassHandle_nMmethodHandle_nGHandle_
    inOobjArrayHandle_nJBasicType_4ipnGThread__pnHoopDesc__+0xeec(0, acf7e3c0, ff0104d0, 1, f67cf810, a) libjvm.so`__1cKReflectionNinvoke_method6FpnHoopDesc_nGHandle_nOobjArrayHandle_pn
    GThread__2_+0x230(be3e4900, acf7e448, acf7e444, 2d6b00, feda0bd0, acf7e810) libjvm.so`JVM_InvokeMethod+0x26c(acf7e5b0, acf7e5ac, ff005ddc, ff0073e8, c6, 0) libjava.so`Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x10(2d6b94,
    acf7e528, acf7e5b4, acf7e5b0, acf7e5ac, 0) 0xfa00be48(b5fed8d0, b8, acf7e634, c, b6080000, acf7e540) 0xfa005b10(b5fefd98, be8339c0, b5fed8d0, fa015590, f6b5c960, acf7e5d8) 0xfa2267c4(b5fefdb0, be8339c0, b60a0028, fa015270, 1, acf7e648) 0xfa2264e0(be3f5ca8, be8339c0, b60a0028, be3f5c70, f5c2a550, f5c2a550) 0xfa005b10(be41d6d8, f65ee028, acf7e878, fa015270, f68e6d70, acf7e778) 0xfa005fd8(be40db50, f65ee028, acf7e914, fa0156f0, f6229940, acf7e810) 0xfa005fd8(be3f6f48, b6, 49, fa0156f0, c6, acf7e8b0) 0xfa005b10(be3f6f48, b7, acf7ea70, fa0152b8, 0, acf7e978) 0xfa005b10(be3f6f48, f65ee028, acf7eb00, fa015430, fa00aae0, acf7ea10) 0xfa005fd8(be3ebba8, f65ee028, acf7eb98, fa0156f0, 2d6b00, acf7eaa0) 0xfa005fd8(be481ee8, f65ee028, acf7ec30, fa0156f0, 42e6f04c, acf7eb38) 0xfa005fd8(be47c270, f65ee028, acf7ecc0, fa0156f0, 1, acf7ebd0) 0xfa005fd8(be448ef8, b6, acf7ed90, fa0156f0, f620a188, acf7ec50) 0xfa005b10(be448ef8, b6, 0, fa015270, b6080000, acf7ed18) 0xfa005b10(be449a38, b6, acf7eed0, fa015270, c6, acf7edc8) 0xfa005b10(be6e0488, f5ee2070, 4, fa015270, f5c045c0, acf7ee58) 0xfa005fd8(2d6b00, 0, 0, fa015740, 3349f0, acf7ef00) 0xfa000118(acf7eff0, acf7f128, a, f67f5f50, fa00aae0, acf7f164) libjvm.so`__1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallAr
    guments_pnGThread__v_+0x274(acf7f120, acf7f11c, acf7f154, 2d6b00, 2d6b00,
    fece7f70)
    libjvm.so`__1cKReflectionGinvoke6FnTinstanceKlassHandle_nMmethodHandle_nGHandle_
    inOobjArrayHandle_nJBasicType_4ipnGThread__pnHoopDesc__+0xeec(0, acf7f278, ff0104d0, 1, f67cf810, a) libjvm.so`__1cKReflectionNinvoke_method6FpnHoopDesc_nGHandle_nOobjArrayHandle_pn
    GThread__2_+0x230(be849d88, acf7f300, acf7f2fc, 2d6b00, feda0bd0, acf7f6c8) libjvm.so`JVM_InvokeMethod+0x26c(acf7f468, acf7f464, ff005ddc, ff0073e8, 20, 0) libjava.so`Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x10(2d6b94,
    acf7f3e0, acf7f46c, acf7f468, acf7f464, 0) 0xfa00be48(b5fed810, b8, acf7f4ec, c, b6080000, acf7f3f8) 0xfa005b10(b5fed8a8, be6d7ab8, b5fed810, fa015590, 3230bc, acf7f490) 0xfa2267c4(b5fed8c0, be6d7ab8, b60a0000, fa015270, be843a68, acf7f500) 0xfa2264e0(b5fed858, be6d7ab8, b60a0000, b5fed858, 1, 0) 0xfa005b10(be6de080, b6, b5fed858, fa015270, be6d4478, acf7f620) 0xfa005b10(be6de080, b6, acf7f7c8, fa015270, 96, acf7f6c8) 0xfa005b10(be6de080, f5ee2070, 4, fa015270, f5c045c0, acf7f750) 0xfa005fd8(be6d6a18, f67d91d0, 8, fa015740, fa015304, acf7f7f8) 0xfa00601c(be6a3ac0, b6, 8, fa015590, 8, acf7f8a0) 0xfa005b54(be6a3ac0, f640af90, acf7fa7c, fa015270, f640af90, acf7f978) 0xfa005fd8(be8338f8, b7, 0, fa0156f0, f640af90, acf7fa08) 0xfa005c64(be8338f8, b7, acf7fb18, fa015430, be8338f8, acf7fab0) 0xfa005c64(acf7fba8, 0, 0, fa015430, 3349f0, acf7fb48) 0xfa000118(acf7fc30, acf7fe98, a, f6496780, fa00aae0, acf7fdb8) libjvm.so`__1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallAr
    guments_pnGThread__v_+0x274(acf7fe90, acf7fcf8, acf7fdb0, 2d6b00, 2d6b00,
    acf7fd08)
    libjvm.so`__1cJJavaCallsMcall_virtual6FpnJJavaValue_nLKlassHandle_nMsymbolHandle
    _4pnRJavaCallArguments_pnGThread__v_+0x164(feff0000, 2d71e8, acf7fda4, acf7fda0 , acf7fdb0, 2d6b00) libjvm.so`__1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsym
    bolHandle_5pnGThread__v_+0x60(acf7fe90, acf7fe8c, acf7fe84, acf7fe7c, acf7fe74,
    2d6b00)
    libjvm.so`__1cMthread_entry6FpnKJavaThread_pnGThread__v_+0x128(2d6b00, 2d6b00, 2d6190, 2d71e8, 319508, fecd6a5c) libjvm.so`__1cKJavaThreadDrun6M_v_+0x288(2d6b00, 0, ff00f808, ffff8000, 0, 0) libjvm.so`_start+0x134(2d6b00, 0, 0, 0, 0, 0) libthread.so.1`_lwp_start(0, 0, 0, 0, 0, 0)
    Second Core dump with adb
    bash-2.05# adb java.9337.1133744404
    .core file = java.9337.1133744404 -- program `` /global/netmfs/netmbase/NetM62/licensing/jre/bin/java'' on platform SUNW,Sun-Fire-V440
    SIGABRT: Abort
    .$c
    $c
    libc.so.1`_lwp_kill+8(6, 0, ad0fc950, 2, 0, aeed482c) libc.so.1`abort+0x100(bd90f8, b, b3670200, 0, 48, 0) libkernel32.so`__1cUSehScanInvokeTryList6FpnQSEH_THREAD_BLOCK__i_+0x334(6197b0,
    aedcd7f8, aeed7324, 0, 2, 0)
    libkernel32.so`__1cOSignal_HandlerFraise6FIpviipL_i_+0xfc(c0000005, ad0fcc88, 0 , 2, ad0fcac0, 1800) libkernel32.so`__1cPRaise_Exception2f6MipnHsiginfo_pv_v_+0xa4(50c028, b, ad0fcf40, ad0fcc88, aeeea1e4, 2c) libthread.so.1`__sighndlr+0xc(b, ad0fcf40, ad0fcc88, aedcd854, 0, 0) libthread.so.1`call_user_handler+0x234(b, ad0fcf40, ad0fcc88, 0, 0, 0) libthread.so.1`sigacthandler+0x64(b, ad0fcf40, ad0fcc88, fa015590, b6130000,
    ad0fcfc0)
    0xfa0157f0(b5cb5908, b6, 8, fa015740, 0, ad0fd070) 0xfa005c64(b5cb5908, b7, ad0fd208, fa015270, b5cb1c90, ad0fd118) 0xfa005c64(b5cb5908, b7, 0, fa015430, b6130000, ad0fd1a8) 0xfa005c64(be56d460, b6, 8, fa015430, f691f2b0, ad0fd240) 0xfa005b10(be56d498, b6, be574c70, fa015270, 4889ba9b, ad0fd330) 0xfa005b10(be56d4a8, b7, ad0fd4d4, fa015270, 9, ad0fd3c8) 0xfa005b10(be56d4a8, b7, 0, fa015430, b6130000, ad0fd448) 0xfa005b10(be56d4a8, f6915008, 8, fa015430, 42a1665e, ad0fd540) 0xfa005fd8(bd44ecd0, f63b2338, ad0fd6c4, fa0156f0, b5cb4b38, ad0fd5d8) 0xfa005fd8(b5cb4a60, b7, ad0fd6d0, fa0156f0, b5cb4b48, ad0fd660) 0xfa005b10(b5cb4a60, b6, ad0fd818, fa015430, f65b7528, ad0fd718) 0xfa005b10(bd41bcf0, f63b1548, ad0fd8a0, fa015270, b6130000, ad0fd7b8) 0xfa005fd8(bd410620, b7, ad0fd934, fa0156f0, b6130000, ad0fd840) 0xfa005b10(bd410620, b6, ad0fd9c4, fa015430, b6130000, ad0fd8d0) 0xfa005b10(bd410620, b6, ad0fda44, fa015270, b6130000, ad0fd968) 0xfa005b10(bd8d1420, f63aa0c8, ad0fdad4, fa015270, 4400, ad0fd9e8) 0xfa005fd8(bd8c7f60, f65c2490, ad0fdb5c, fa0156f0, f6906720, ad0fda70) 0xfa005fd8(be548400, f68f50b0, ad0fdbe8, fa0156f0, f65b4158, ad0fdaf0) 0xfa005fd8(b5caf718, f6d147c0, 0, fa0156f0, b6130000, ad0fdb80) 0xfa005fd8(b5caeb10, b7, ad0fdcf8, fa0156f0, b6130000, ad0fdc10) 0xfa005c64(b5caeb10, f6a62080, ad0fdd8c, fa015430, f6ad6088, ad0fdc90) 0xfa005fd8(b5caf718, f6d147c0, ad0fde3c, fa0156f0, b6130000, ad0fdd20) 0xfa005fd8(be6abc20, b6, 0, fa015738, b6130000, ad0fddd0) 0xfa005b10(be6abc20, b7, ad0fdf94, fa015270, 4400, ad0fdea0) 0xfa005b10(be6abc20, b7, 0, fa015478, b6130000, ad0fdf38) 0xfa005b10(be6abc20, b7, 0, fa015478, f6864318, ad0fdfc8) 0xfa005b10(be6abc20, b6, ad0fe14c, fa015430, 3230bc, ad0fe058) 0xfa005b10(be6abc20, b7, ad0fe1d8, fa015270, b6130000, ad0fe0f0) 0xfa005b10(be6abc20, f6ad6088, ad0fe264, fa015430, f6ad6088, ad0fe178) 0xfa005fd8(be695da8, f6ab5750, 0, fa0156f0, b6130000, ad0fe208) 0xfa005fd8(b5caeb10, b7, ad0fe3ac, fa0156f0, f65b4158, ad0fe2a8) 0xfa005b10(b5caeb10, b7, ad0fe43c, fa015478, b6130000, ad0fe350) 0xfa005b10(b5caeb10, f6a62080, ad0fe4c8, fa015478, f5c355f8, ad0fe3e0) 0xfa005fd8(be7db4e8, b6, ad0fe55c, fa0156f0, aeed28, ad0fe468) 0xfa005b10(be7db4e8, b7, 0, fa015590, b6130000, ad0fe4f0) 0xfa005b10(be7db4e8, f6da8e80, ad0fe664, fa0156f0, fa0154c4, ad0fe580) 0xfa005fd8(be7d8e20, b7, ad0fe700, fa015270, f68e2490, ad0fe608) 0xfa005c64(be7d8e20, b7, ad0fe788, fa015430, fa0154c4, ad0fe6a0) 0xfa005c64(be7d8e20, b7, ad0fe808, fa015270, fa015624, ad0fe728) 0xfa005c64(aeed28, b8, ad0fe888, fa015430, f5c05cb0, ad0fe7a8) 0xfa005c64(b5c556a8, f66f5b10, ad0fe910, fa015270, f66f5b10, ad0fe828) 0xfa00612c(aeed28, 0, 0, fa0156f0, 3349f0, ad0fe8b0) 0xfa000118(ad0fe9a0, ad0fead8, a, f66f5668, fa00aae0, ad0feb10) libjvm.so`__1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallAr
    guments_pnGThread__v_+0x274(ad0fead0, ad0feacc, ad0feb04, aeed28, aeed28,
    fece7f70)
    libjvm.so`__1cKReflectionGinvoke6FnTinstanceKlassHandle_nMmethodHandle_nGHandle_
    inOobjArrayHandle_nJBasicType_4ipnGThread__pnHoopDesc__+0xeec(0, ad0fec28, ff0104d0, 1, f655dbd0, e) libjvm.so`__1cKReflectionNinvoke_method6FpnHoopDesc_nGHandle_nOobjArrayHandle_pn
    GThread__2_+0x230(be023bb0, ad0fecb0, ad0fecac, aeed28, feda0bd0, ad0ff080) libjvm.so`JVM_InvokeMethod+0x26c(ad0fede8, ad0fede4, ff005ddc, ff0073e8, f6159f00, ad0ff120) libjava.so`Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x10(aeedbc,
    ad0fed84, ad0fedec, ad0fede8, ad0fede4, fece6088) 0xfa4067a8(be07f5a8, be7d8938, b5c53fc0, fa015430, 20, 0) 0xfa4062a8(be7d8e28, be7d8938, b5c53fc0, fa013bc8, bd0ac0f0, ad0fee58) 0xfa226284(be7d8e40, be7d8938, b5c53fc0, bd0ac040, f6159f00, 1) 0xfa225fa0(be07f5a8, be7d8938, b5c53fc0, 1, f5c2a550, f5c2a550) 0xfa005b10(be035120, f660cb18, ad0ff0e8, fa015270, f661f5d0, ad0fefe8) 0xfa005fd8(be0281a0, f660cb18, ad0ff184, fa0156f0, f6226670, ad0ff080) 0xfa005fd8(be023b70, b6, 49, fa0156f0, f6159f00, ad0ff120) 0xfa005b10(be023b70, b7, ad0ff2e0, fa0137d8, 0, ad0ff1e8) 0xfa005b10(be023b70, f660cb18, ad0ff370, fa015430, 20, ad0ff280) 0xfa005fd8(be0741e0, f660cb18, ad0ff408, fa0156f0, bd0ac0f0, ad0ff310) 0xfa005fd8(be066d20, f660cb18, ad0ff4a0, fa0156f0, 42a165e0, ad0ff3a8) 0xfa005fd8(be05f6d0, f660cb18, ad0ff530, fa0156f0, 1, ad0ff440) 0xfa005fd8(be05a1b8, b6, ad0ff600, fa0156f0, f620a1f8, ad0ff4c0) 0xfa005b10(be05a1b8, b6, 0, fa015270, b6130000, ad0ff588) 0xfa005b10(be023af0, b6, 0, fa015270, f5c045c0, ad0ff630) 0xfa005b10(be0d4ed0, f65f5b80, ad0ff7d8, fa015270, f6d80ae8, ad0ff6c8) 0xfa00612c(be0ab2f0, f65f5b80, ad0ff7e0, fa0156f0, f6560da8, ad0ff778) 0xfa00612c(be0b84d0, b6, ad0ff8f8, fa0156f0, 0, ad0ff810) 0xfa005c64(be0b84d0, b6, ad0ff900, fa015270, f6560da8, ad0ff898) 0xfa005c64(be0af510, f5c1e740, ad0ffa24, fa015270, fa013848, ad0ff930) 0xfa00612c(be0ab2f0, b7, ad0ffaac, fa0156f0, 0, ad0ff9c0) 0xfa005c64(be0ab2f0, f5c1e740, ad0ffb2c, fa015430, 0, ad0ffa48) 0xfa00612c(b5d4ea98, f5c1e740, ad0ffba4, fa0156f0, 0, ad0ffad0) 0xfa00612c(ad0ffba8, 0, 0, fa0156f0, 3349f0, ad0ffb48) 0xfa000118(ad0ffc30, ad0ffe98, a, f5c1efd8, fa00aae0, ad0ffdb8) libjvm.so`__1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallAr
    guments_pnGThread__v_+0x274(ad0ffe90, ad0ffcf8, ad0ffdb0, aeed28, aeed28,
    ad0ffd08)
    libjvm.so`__1cJJavaCallsMcall_virtual6FpnJJavaValue_nLKlassHandle_nMsymbolHandle
    _4pnRJavaCallArguments_pnGThread__v_+0x164(feff0000, ae82b8, ad0ffda4, ad0ffda0 , ad0ffdb0, aeed28) libjvm.so`__1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsym
    bolHandle_5pnGThread__v_+0x60(ad0ffe90, ad0ffe8c, ad0ffe84, ad0ffe7c, ad0ffe74,
    aeed28)
    libjvm.so`__1cMthread_entry6FpnKJavaThread_pnGThread__v_+0x128(aeed28, aeed28, af6758, ae82b8, 319508, fecd6a5c) libjvm.so`__1cKJavaThreadDrun6M_v_+0x288(aeed28, ffffffe2, ff00f808, ffff8000, 0 , 0) libjvm.so`_start+0x134(aeed28, 0, 0, 0, 0, 0) libthread.so.1`_lwp_start(0, 0, 0, 0, 0, 0)

    Hi there
    Not sure which jdk you are using but I am guessing you are using native code?
    libkernel32.so
    See http://java.sun.com/j2se/1.4.2/docs/guide/vm/signal-chaining.html
    Start your application this way, this should solve your problem.
    export LD_PRELOAD=<libjvm.so dir>/libjsig.so; java_application (ksh)
    setenv LD_PRELOAD <libjvm.so dir>/libjsig.so; java_application (csh)
    Also, even if u are using 1.3.1, u can get the libjsig.so from 1.4.2 and do the same.
    Hope this helps.

  • Core dump:HotSpot Virtual Machine Error : 11

    hi
    i got the core dump with "HotSpot Virtual Machine Error : 11" error in the "log file" while running a j2ee application on solaris platform.
    could any one help me on this . the following log is part of the error.
    [08/Feb/2005 15:42:00:7] info: REQ-013: thread del
    Unexpected Signal : 11 occurred at PC=0xfeb3db58
    Function name=JNI_CreateJavaVM
    Library=/app/iplanet/B2B46_new/ias65/ias/usr/java/jre/lib/sparc/server/libjvm.so
    Current Java thread:
         at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
         at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
         at com.netscape.pm.model.ejb_kcp_stub_IPMCluster.getConnection(ejb_kcp_stub_IPMCluster.java:991)
         at com.netscape.pm.model.ejb_stub_IPMCluster.getConnection(ejb_stub_IPMCluster.java:115)
         at com.netscape.pm.model.ConnectionFactory.getXAppConnection(ConnectionFactory.java:135)
         at com.netscape.pm.model.Finder.findExpiredWorkItems(Finder.java:816)
         at com.netscape.pm.htmlFE.OnPerformScheduledEventInternal.expireWorkItems(OnPerformScheduledEventInternal.java:101)
         at com.netscape.pm.htmlFE.OnPerformScheduledEventInternal.handleEventInternal(OnPerformScheduledEventInternal.java:71)
         at com.netscape.pm.htmlFE.BaseUIEventHandler.handleEvent(BaseUIEventHandler.java:538)
         at com.netscape.pm.BasePMServlet.execute(BasePMServlet.java:183)
         at com.netscape.pm.BasePMServlet.doRequest(BasePMServlet.java:155)
         at com.netscape.pm.Engine.service(Engine.java:59)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown Source)
         at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown Source)
         at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
         at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
         at com.kivasoft.thread.ThreadBasic.run(Native Method)
         at java.lang.Thread.run(Thread.java:479)
    Dynamic libraries:
    0x10000      /app/iplanet/B2B46_new/ias65/ias/bin/.kjs
    0xff360000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libshare.so
    0xff340000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxidl.so
    0xff320000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxmodule.so
    0xff2c0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxutil.so
    0xff280000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxgds.so
    0xff250000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxconn.so
    0xff230000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libplds3.so
    0xff210000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libplc3.so
    0xff1c0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libnspr3.so
    0xff1a0000      /lib/libpthread.so.1
    0xff180000      /lib/libsocket.so.1
    0xff080000      /lib/libnsl.so.1
    0xff150000      /lib/libm.so.1
    0xff040000      /app/iplanet/B2B46_new/ias65/ias/usr/java/jre/lib/sparc/libjava.so
    0xfe800000      /app/iplanet/B2B46_new/ias65/ias/usr/java/jre/lib/sparc/server/libjvm.so
    0xff010000      /lib/libCrun.so.1
    0xfee00000      /lib/libCstd.so.1
    0xfe700000      /lib/libc.so.1
    0xfefc0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libldap41.so
    0xfedd0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxagent.so
    0xfeda0000      /usr/lib/lwp/libthread.so.1
    0xfed80000      /lib/libposix4.so.1
    0xff390000      /lib/libdl.so.1
    0xfe7e0000      /lib/libmp.so.2
    0xfe6d0000      /app/iplanet/B2B46_new/ias65/ias/usr/java/jre/lib/sparc/libverify.so
    0xfed70000      /lib/libw.so.1
    0xfe680000      /lib/libresolv.so.2
    0xfe640000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxnls.so
    0xfe620000      /lib/libaio.so.1
    0xfe5d0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libnsres31.so
    0xfe560000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libnsuni31.so
    0xfe4e0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libnsfmt31.so
    0xfe490000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libnscnv31.so
    0xfed50000      /usr/platform/SUNW,Sun-Fire/lib/libc_psr.so.1
    0xfe450000      /usr/lib/cpu/sparcv8plus/libCstd_isa.so.1
    0xfe3d0000      /app/iplanet/B2B46_new/ias65/ias/usr/java/jre/lib/sparc/native_threads/libhpi.so
    0xfe3a0000      /app/iplanet/B2B46_new/ias65/ias/usr/java/jre/lib/sparc/libzip.so
    0xb5150000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2util.so
    0xb59e0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2types.so
    0xb4fe0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2context.so
    0xb4de0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxbind.so
    0xb5130000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxcontext.so
    0xb49d0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2bind.so
    0xb4860000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2gds.so
    0xb4840000      /app/iplanet/B2B46_new/ias65/ias/usr/java/jre/lib/sparc/libnet.so
    0xb4810000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2thread.so
    0xb4730000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxeb.so
    0xb4710000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxmonitor.so
    0xb46f0000      /app/iplanet/B2B46_new/ias65/ias/usr/java/jre/lib/sparc/libioser12.so
    0xb46a0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2eb.so
    0xb45e0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxevent.so
    0xb45b0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2data.so
    0xb44d0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxdata.so
    0xb4590000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2log.so
    0xb44a0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxlog.so
    0xb4480000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2lcycmgr.so
    0xb4460000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxlcycmgr.so
    0xb4430000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2conn.so
    0xb4410000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxprot.so
    0xb43e0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2req.so
    0xb43b0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxreq.so
    0xb4390000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2reqp.so
    0xb42d0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxreqp.so
    0xb42b0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxreqstep.so
    0xb4290000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxnsapicli.so
    0xb41e0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxadmincli.so
    0xb41a0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxdsync.so
    0xb40e0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxdsync_services.so
    0xb40b0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxdsync_messenger.so
    0xb3fd0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxdsync_failover.so
    0xb3fa0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxdsync_timeout.so
    0xb3ec0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxdsync_token.so
    0xb4090000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2state.so
    0xb3ea0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxstate.so
    0xb3de0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2session.so
    0xb3dc0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxsession.so
    0xb3d90000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2dsync.so
    0xb3cc0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2tmpl.so
    0xb3c90000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxtmpl.so
    0xb3bd0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2eval.so
    0xb3ba0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxeval.so
    0xb3ad0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2datap.so
    0xb3aa0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxdatap.so
    0xb39e0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2loadq.so
    0xb39c0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxloadq.so
    0xb39a0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2trans.so
    0xb38e0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxtrans.so
    0xb38b0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2principal.so
    0xb37c0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxprincipal.so
    0xb3890000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2principal2.so
    0xb37a0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxsecurity.so
    0xb36e0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxacl.so
    0xb36c0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxacldomain.so
    0xb36a0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2mailbox.so
    0xb35e0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxmailbox.so
    0xb35b0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxappevent.so
    0xb34d0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxappevent2.so
    0xb3590000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxsvcload.so
    0xb34b0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2svcload.so
    0xb33d0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2ebfp.so
    0xb33a0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxebfp.so
    0xb32e0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2txnmgr.so
    0xb32b0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxtxnmgr.so
    0xb3290000      /lib/nss_files.so.1
    0xb31e0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2sqlparser.so
    0xb30a0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxsqlparse.so
    0xb31a0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2data2.so
    0xb2fb0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxdata2.so
    0xb2ed0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxdbutil.so
    0xb2ea0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2dlm.so
    0xb2f90000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2appevent2.so
    0xb2de0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2datasrcmgrmodule.so
    0xb2db0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxdatasrcmgr.so
    0xb2d90000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxextmgr.so
    0xb2ce0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2gxextdata.so
    0xb2cc0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libketgxidl.so
    0xb2ca0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libkdidl.so
    0xb2be0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxextdata.so
    0xb2bc0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libketutil.so
    0xb2ba0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2gxlockmgr.so
    0xb2ae0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxlockmgr.so
    0xb2ab0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2gxrlop.so
    0xb29d0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libgxrlopmgr.so
    0xb29a0000      /app/iplanet/B2B46_new/ias65/ias/gxlib/libjx2applogic.so
    0xb28e0000      /app/iplanet/B2B46_new/ias65/ias/usr/java/jre/lib/sparc/libawt.so
    0xaed80000      /app/iplanet/B2B46_new/ias65/ias/usr/java/jre/lib/sparc/motif21/libmawt.so
    0xb27b0000      /app/iplanet/B2B46_new/ias65/ias/usr/java/jre/lib/sparc/libmlib_image.so
    0xaeb00000      /lib/libXm.so.4
    0xb2690000      /lib/libXt.so.4
    0xb28a0000      /lib/libXext.so.0
    0xb2790000      /usr/openwin/lib/libXtst.so.1
    0xb0800000      /lib/libX11.so.4
    0xb25e0000      /lib/libSM.so.6
    0xb25b0000      /lib/libICE.so.6
    Local Time = Tue Feb 8 15:42:00 2005
    Elapsed Time = 75329
    # HotSpot Virtual Machine Error : 11
    # Error ID : 4F530E43505002BD 01
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Server VM (1.3.1_04-b02 mixed mode)
    /app/iplanet/B2B46_new/ias65/ias/bin/kjs[86]: 23014 Abort(coredump)
    Starting Java Engine

    I got the following error.
    # HotSpot Virtual Machine Error, Internal Error
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    #

  • Core dump on solaris 10

    Hi,
    I have been getting a number of core dumps from an eclipse RCP based client java application. Its running on the following solaris box:
    SunOS 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V240
    with following java configuration:
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
    I have taken a pstack and am wondering can anyone help me as to the source of the problem:
    core 'core_client_20259_1196072158' of 20259:     client
    ----------------- lwp# 1 / thread# 1 --------------------
    fedc16e0 lwpkill (6, 0, feda4d20, ffffffff, fede8298, 6) + 8
    fed40158 abort (31330, 1, fb15ac34, a8244, fedeb298, 0) + 110
    fb02b268 ???????? (1, 51cc, 128de8, 1bc, fb154000, 5000) + fffffffffc2eb220
    fb0bc270 ???????? (0, fb172d90, 4000, fb02f43c, fb0c237e, fb02f43c) + fffffffffc37c228
    fae14284 JVM_handle_solaris_signal (b, ffbfecc0, ffbfea08, 5400, fb16db8c, 34500) + a38
    fedc0618 __sighndlr (b, ffbfecc0, ffbfea08, fae1382c, 0, 1) + c
    fedb5710 call_user_handler (b, ffbffeff, c, 0, fe6e2000, ffbfea08) + 3b8
    ff181784 render_icon_name_pixbuf (5e90c8, 5d36f0, 1, 0, 0, 6a5b50) + 13c
    ff18193c find_and_render_icon_source (a8efe0, 5d36f0, 1, 0, 6, 6a5b50) + 118
    ff181ba0 gtk_icon_set_render_icon (5d36f0, 1, 0, 0, 6a5b50, 0) + 158
    ff2b60b0 gtk_widget_render_icon (6a5b50, a8efe0, 6, 0, ffbfeeac, a85f4) + 170
    ff1be380 set_window_icon_from_stock (6a5b50, a8f020, 1c00, 233edc, ff369128, 200720) + 10
    ff1beb08 gtk_message_dialog_style_set (6a5b50, 0, 5b7e58, 19fa90, ff016818, ff35e53c) + 6c
    feffdcd8 g_closure_invoke (ffbff240, ffbff0d4, 2, 18000, 0, 5ae358) + 174
    ff01507c signal_emit_unlocked_R (1, ff03eaf8, feebee34, feebee20, ff03eae4, 5df670) + 724
    ff01442c g_signal_emit_valist (6a5b50, 2a44d, 5df670, ffbff474, ff03eaf8, feebee2c) + 7f8
    ff014738 g_signal_emit (6a5b50, f, 0, 0, 0, 33) + 1c
    ff2b57b4 gtk_widget_set_style_internal (6a5b50, 5d36f0, 9c00, 5d36f0, 5d36f0, ff2b4d40) + 198
    ff2b6068 gtk_widget_render_icon (6a5b50, ff330b8c, 6, 0, ff03ea00, a85f4) + 128
    ff1be380 set_window_icon_from_stock (6a5b50, ff330b8c, 5dd5c8, ffbff508, ffbff504, fefff3dc) + 10
    ff1be4a4 setup_type (6a5b50, 3, ffbff670, ff330b8c, ff1be514, ff35e53c) + 104
    ff001dcc g_object_constructor (8e0410, 5dec40, a8f1c8, 6a5b50, 2ed24, 1) + 214
    ff001158 g_object_newv (426358, ff001bb8, a8f1c0, 1, 8e0410, a8f1d8) + 328
    ff001b60 g_object_new_valist (0, 0, ffbff924, 0, 2, 6cea58) + 358
    ff000d30 g_object_new (426358, ff330a64, 3, ff330a98, 2, ff029800) + 60
    ff1be718 gtk_message_dialog_new (0, 2, 3, 2, 12cb0, 6a9018) + b4
    00012a10 displayMessage (88, 6a9018, 0, 10308, fd3f8c70, 307c8) + 6c
    fd3e3178 run (d, 6a9018, fd3f9380, 0, fd3f8a28, 0) + 728
    0001151c main (0, 23f60, ffbffac4, 22cb8, fe6d0488, fd3e2a50) + 308
    000111fc _start   (0, 0, 0, 0, 0, 0) + 108
    I have also taken an "mdb" stack:
    libc.so.1`_lwp_kill+8(6, 0, feda4d20, ffffffff, fede8298, 6)
    libc.so.1`abort+0x110(31330, 1, fb15ac34, a8244, fedeb298, 0)
    0xfb02b268(1, 51cc, 128de8, 1bc, fb154000, 5000)
    0xfb0bc270(0, fb172d90, 4000, fb02f43c, fb0c237e, fb02f43c)
    libjvm.so`JVM_handle_solaris_signal+0xa38(b, ffbfecc0, ffbfea08, 5400, fb16db8c, 34500)
    libc.so.1`__sighndlr+0xc(b, ffbfecc0, ffbfea08, fae1382c, 0, 1)
    libc.so.1`call_user_handler+0x3b8(b, ffbffeff, c, 0, fe6e2000, ffbfea08)
    libgtk-x11-2.0.so.0.400.9`render_icon_name_pixbuf+0x13c(5e90c8, 5d36f0, 1, 0, 0, 6a5b50)
    libgtk-x11-2.0.so.0.400.9`find_and_render_icon_source+0x118(a8efe0, 5d36f0, 1, 0, 6, 6a5b50)
    libgtk-x11-2.0.so.0.400.9`gtk_icon_set_render_icon+0x158(5d36f0, 1, 0, 0, 6a5b50, 0)
    libgtk-x11-2.0.so.0.400.9`gtk_widget_render_icon+0x170(6a5b50, a8efe0, 6, 0, ffbfeeac, a85f4)
    libgtk-x11-2.0.so.0.400.9`set_window_icon_from_stock+0x10(6a5b50, a8f020, 1c00, 233edc, ff369128, 200720)
    libgtk-x11-2.0.so.0.400.9`gtk_message_dialog_style_set+0x6c(6a5b50, 0, 5b7e58, 19fa90, ff016818, ff35e53c)
    libgobject-2.0.so.0.400.1`g_closure_invoke+0x174(ffbff240, ffbff0d4, 2, 18000, 0, 5ae358)
    libgobject-2.0.so.0.400.1`signal_emit_unlocked_R+0x724(1, ff03eaf8, feebee34, feebee20, ff03eae4, 5df670)
    libgobject-2.0.so.0.400.1`g_signal_emit_valist+0x7f8(6a5b50, 2a44d, 5df670, ffbff474, ff03eaf8, feebee2c)
    libgobject-2.0.so.0.400.1`g_signal_emit+0x1c(6a5b50, f, 0, 0, 0, 33)
    libgtk-x11-2.0.so.0.400.9`gtk_widget_set_style_internal+0x198(6a5b50, 5d36f0, 9c00, 5d36f0, 5d36f0, ff2b4d40)
    libgtk-x11-2.0.so.0.400.9`gtk_widget_render_icon+0x128(6a5b50, ff330b8c, 6, 0, ff03ea00, a85f4)
    libgtk-x11-2.0.so.0.400.9`set_window_icon_from_stock+0x10(6a5b50, ff330b8c, 5dd5c8, ffbff508, ffbff504, fefff3dc)
    libgtk-x11-2.0.so.0.400.9`setup_type+0x104(6a5b50, 3, ffbff670, ff330b8c, ff1be514, ff35e53c)
    libgobject-2.0.so.0.400.1`g_object_constructor+0x214(8e0410, 5dec40, a8f1c8, 6a5b50, 2ed24, 1)
    libgobject-2.0.so.0.400.1`g_object_newv+0x328(426358, ff001bb8, a8f1c0, 1, 8e0410, a8f1d8)
    libgobject-2.0.so.0.400.1`g_object_new_valist+0x358(0, 0, ffbff924, 0, 2, 6cea58)
    libgobject-2.0.so.0.400.1`g_object_new+0x60(426358, ff330a64, 3, ff330a98, 2, ff029800)
    libgtk-x11-2.0.so.0.400.9`gtk_message_dialog_new+0xb4(0, 2, 3, 2, 12cb0, 6a9018)
    displayMessage+0x6c(88, 6a9018, 0, 10308, fd3f8c70, 307c8)
    eclipse_1017.so`run+0x728(d, 6a9018, fd3f9380, 0, fd3f8a28, 0)
    main+0x308(0, 23f60, ffbffac4, 22cb8, fe6d0488, fd3e2a50)
    _start+0x108(0, 0, 0, 0, 0, 0)
    This certainly seems to point to the issue, but I dont know where to go from here.
    Thanks for any assistance
    /Trevor

    Hi,
    I have been getting a number of core dumps from an eclipse RCP based client java application. Its running on the following solaris box:
    SunOS 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V240
    with following java configuration:
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
    I have taken a pstack and am wondering can anyone help me as to the source of the problem:
    core 'core_client_20259_1196072158' of 20259:     client
    ----------------- lwp# 1 / thread# 1 --------------------
    fedc16e0 lwpkill (6, 0, feda4d20, ffffffff, fede8298, 6) + 8
    fed40158 abort (31330, 1, fb15ac34, a8244, fedeb298, 0) + 110
    fb02b268 ???????? (1, 51cc, 128de8, 1bc, fb154000, 5000) + fffffffffc2eb220
    fb0bc270 ???????? (0, fb172d90, 4000, fb02f43c, fb0c237e, fb02f43c) + fffffffffc37c228
    fae14284 JVM_handle_solaris_signal (b, ffbfecc0, ffbfea08, 5400, fb16db8c, 34500) + a38
    fedc0618 __sighndlr (b, ffbfecc0, ffbfea08, fae1382c, 0, 1) + c
    fedb5710 call_user_handler (b, ffbffeff, c, 0, fe6e2000, ffbfea08) + 3b8
    ff181784 render_icon_name_pixbuf (5e90c8, 5d36f0, 1, 0, 0, 6a5b50) + 13c
    ff18193c find_and_render_icon_source (a8efe0, 5d36f0, 1, 0, 6, 6a5b50) + 118
    ff181ba0 gtk_icon_set_render_icon (5d36f0, 1, 0, 0, 6a5b50, 0) + 158
    ff2b60b0 gtk_widget_render_icon (6a5b50, a8efe0, 6, 0, ffbfeeac, a85f4) + 170
    ff1be380 set_window_icon_from_stock (6a5b50, a8f020, 1c00, 233edc, ff369128, 200720) + 10
    ff1beb08 gtk_message_dialog_style_set (6a5b50, 0, 5b7e58, 19fa90, ff016818, ff35e53c) + 6c
    feffdcd8 g_closure_invoke (ffbff240, ffbff0d4, 2, 18000, 0, 5ae358) + 174
    ff01507c signal_emit_unlocked_R (1, ff03eaf8, feebee34, feebee20, ff03eae4, 5df670) + 724
    ff01442c g_signal_emit_valist (6a5b50, 2a44d, 5df670, ffbff474, ff03eaf8, feebee2c) + 7f8
    ff014738 g_signal_emit (6a5b50, f, 0, 0, 0, 33) + 1c
    ff2b57b4 gtk_widget_set_style_internal (6a5b50, 5d36f0, 9c00, 5d36f0, 5d36f0, ff2b4d40) + 198
    ff2b6068 gtk_widget_render_icon (6a5b50, ff330b8c, 6, 0, ff03ea00, a85f4) + 128
    ff1be380 set_window_icon_from_stock (6a5b50, ff330b8c, 5dd5c8, ffbff508, ffbff504, fefff3dc) + 10
    ff1be4a4 setup_type (6a5b50, 3, ffbff670, ff330b8c, ff1be514, ff35e53c) + 104
    ff001dcc g_object_constructor (8e0410, 5dec40, a8f1c8, 6a5b50, 2ed24, 1) + 214
    ff001158 g_object_newv (426358, ff001bb8, a8f1c0, 1, 8e0410, a8f1d8) + 328
    ff001b60 g_object_new_valist (0, 0, ffbff924, 0, 2, 6cea58) + 358
    ff000d30 g_object_new (426358, ff330a64, 3, ff330a98, 2, ff029800) + 60
    ff1be718 gtk_message_dialog_new (0, 2, 3, 2, 12cb0, 6a9018) + b4
    00012a10 displayMessage (88, 6a9018, 0, 10308, fd3f8c70, 307c8) + 6c
    fd3e3178 run (d, 6a9018, fd3f9380, 0, fd3f8a28, 0) + 728
    0001151c main (0, 23f60, ffbffac4, 22cb8, fe6d0488, fd3e2a50) + 308
    000111fc _start   (0, 0, 0, 0, 0, 0) + 108
    I have also taken an "mdb" stack:
    libc.so.1`_lwp_kill+8(6, 0, feda4d20, ffffffff, fede8298, 6)
    libc.so.1`abort+0x110(31330, 1, fb15ac34, a8244, fedeb298, 0)
    0xfb02b268(1, 51cc, 128de8, 1bc, fb154000, 5000)
    0xfb0bc270(0, fb172d90, 4000, fb02f43c, fb0c237e, fb02f43c)
    libjvm.so`JVM_handle_solaris_signal+0xa38(b, ffbfecc0, ffbfea08, 5400, fb16db8c, 34500)
    libc.so.1`__sighndlr+0xc(b, ffbfecc0, ffbfea08, fae1382c, 0, 1)
    libc.so.1`call_user_handler+0x3b8(b, ffbffeff, c, 0, fe6e2000, ffbfea08)
    libgtk-x11-2.0.so.0.400.9`render_icon_name_pixbuf+0x13c(5e90c8, 5d36f0, 1, 0, 0, 6a5b50)
    libgtk-x11-2.0.so.0.400.9`find_and_render_icon_source+0x118(a8efe0, 5d36f0, 1, 0, 6, 6a5b50)
    libgtk-x11-2.0.so.0.400.9`gtk_icon_set_render_icon+0x158(5d36f0, 1, 0, 0, 6a5b50, 0)
    libgtk-x11-2.0.so.0.400.9`gtk_widget_render_icon+0x170(6a5b50, a8efe0, 6, 0, ffbfeeac, a85f4)
    libgtk-x11-2.0.so.0.400.9`set_window_icon_from_stock+0x10(6a5b50, a8f020, 1c00, 233edc, ff369128, 200720)
    libgtk-x11-2.0.so.0.400.9`gtk_message_dialog_style_set+0x6c(6a5b50, 0, 5b7e58, 19fa90, ff016818, ff35e53c)
    libgobject-2.0.so.0.400.1`g_closure_invoke+0x174(ffbff240, ffbff0d4, 2, 18000, 0, 5ae358)
    libgobject-2.0.so.0.400.1`signal_emit_unlocked_R+0x724(1, ff03eaf8, feebee34, feebee20, ff03eae4, 5df670)
    libgobject-2.0.so.0.400.1`g_signal_emit_valist+0x7f8(6a5b50, 2a44d, 5df670, ffbff474, ff03eaf8, feebee2c)
    libgobject-2.0.so.0.400.1`g_signal_emit+0x1c(6a5b50, f, 0, 0, 0, 33)
    libgtk-x11-2.0.so.0.400.9`gtk_widget_set_style_internal+0x198(6a5b50, 5d36f0, 9c00, 5d36f0, 5d36f0, ff2b4d40)
    libgtk-x11-2.0.so.0.400.9`gtk_widget_render_icon+0x128(6a5b50, ff330b8c, 6, 0, ff03ea00, a85f4)
    libgtk-x11-2.0.so.0.400.9`set_window_icon_from_stock+0x10(6a5b50, ff330b8c, 5dd5c8, ffbff508, ffbff504, fefff3dc)
    libgtk-x11-2.0.so.0.400.9`setup_type+0x104(6a5b50, 3, ffbff670, ff330b8c, ff1be514, ff35e53c)
    libgobject-2.0.so.0.400.1`g_object_constructor+0x214(8e0410, 5dec40, a8f1c8, 6a5b50, 2ed24, 1)
    libgobject-2.0.so.0.400.1`g_object_newv+0x328(426358, ff001bb8, a8f1c0, 1, 8e0410, a8f1d8)
    libgobject-2.0.so.0.400.1`g_object_new_valist+0x358(0, 0, ffbff924, 0, 2, 6cea58)
    libgobject-2.0.so.0.400.1`g_object_new+0x60(426358, ff330a64, 3, ff330a98, 2, ff029800)
    libgtk-x11-2.0.so.0.400.9`gtk_message_dialog_new+0xb4(0, 2, 3, 2, 12cb0, 6a9018)
    displayMessage+0x6c(88, 6a9018, 0, 10308, fd3f8c70, 307c8)
    eclipse_1017.so`run+0x728(d, 6a9018, fd3f9380, 0, fd3f8a28, 0)
    main+0x308(0, 23f60, ffbffac4, 22cb8, fe6d0488, fd3e2a50)
    _start+0x108(0, 0, 0, 0, 0, 0)
    This certainly seems to point to the issue, but I dont know where to go from here.
    Thanks for any assistance
    /Trevor

  • New / malloc / threads core dump

    Hi,
    I'm trying to port a ftp client from Linux to Solaris. The client runs fine on both Linux and on *BSD.
    I'm using the Sun Studio 8 C++ compiler on Solaris 9 4/04 x86.
    The program crashes in the below class function:
    -- CUT --
    FILELIST CServer::ObtainFilelist(bool use_jump) {
    FILELIST fl_temp, fl_temp1 = NULL, fl_new, fl_start = NULL;
    pthread_mutex_lock(&(this->filelist_lock));
    fl_temp = this->actual_filelist;
    while (fl_temp) {
    fl_new = new(FILELIST);
    fl_new->next = NULL;
    fl_new->magic = fl_temp->magic;
    fl_new->is_marked = FALSE;
    fl_new->name = new(char[strlen(fl_temp->name) + 1]);
    if (!fl_temp1)
    fl_start = fl_new;
    else
    fl_temp1->next = fl_new;
    fl_temp1 = fl_new;
    fl_temp = fl_temp->next;
    pthread_mutex_unlock(&(this->filelist_lock));
    *use_jump = this->prefs.use_jump;
    return (fl_start);
    -- CUT --
    When running the program in dbx I get:
    -- CUT --
    t@2 (l@2) signal SEGV (no mapping at the fault address) in smalloc at 0xd2f20b09 0xd2f20b09: smalloc+0x0078: movl 0x00000008(%eax),%ecx
    Current function is CServer::ObtainFilelist
    1815 und bookfl_new->name = new(char[strlen(fl_temp->name) + 1]);
    (dbx) where
    current thread: t@2
    [1] _smalloc(0x8), at 0xd2f20b09
    [2] mallocunlocked(0x8), at 0xd2f20d66
    [3] malloc(0x5), at 0xd2f20b57
    [4] operator new(0x5), at 0xd2ff5d8c
    =>[5] CServer::ObtainFilelist(this = 0x839d328, use_jump = 0xd2d8df33), line 1815 in "server.cc"
    [6] CDisplayHandler::UpdateServerFilelist(this = 0x80c53a0, server = 0x839d328, window = 0x80eb600), line 1692 in "displayupdate.cc"
    [7] CDisplayHandler::HandleServerMessage(this = 0x80c53a0, msg = 2, magic = 1, data = (nil)), line 4596 in "displayhandler.cc"
    [8] CDisplayHandler::Loop(this = 0x80c53a0), line 4841 in "displayhandler.cc"
    [9] DetachDisplayHandler(dummy = (nil)), line 302 in "main.cc"
    [10] thrsetup(0xd2e30200), at 0xd2e54513
    [11] lwpstart(), at 0xd2e54790
    -- CUT --
    I tried to replace the "fl_new->name = new(char[strlen(fl_temp->name) + 1]);" with "fl_new-name new char [255]" with success. fl_temp->name is accessible, I tried to output the contents before doing the new with success.
    FILELIST is a struct and FILELIST.name is a char*.
    Any help would be really appreciated.martin@sara# CC -V
    CC: Sun C++ 5.5 2003/03/12
    martin@sara# uname -a
    SunOS sara 5.9 Generic_112234-12 i86pc i386 i86pc
    Regards,
    Martin Andersson

    The stack trace seems to show a core dump from malloc after being asked to allocate 5 bytes. (The operator new in the standard library calls malloc to allocate storage.)
    If your code was compiled optimized and without -g, the stack trace is not always reliable, however.
    But assuming the trace is accurate, the crash is probably due to a corrupted heap. An invalid free() or delete can corrupt the heap data structures, and the the crash occurs at at later time, often far removed from the offending location. "Invalid" means
    - using the wrong form of delete
    -deleting an address that was not provided by the matching new operator
    -freeing an address that was not provided by malloc/calloc/realloc
    -freeing or deletting the same block more than once
    The heap (and anything else in the program) can also become corrupted by storing through an invalid pointer or an uninitialized pointer. "Invalid" means the object pointed to no longer exists.
    The heap can also become corrupted if you store beyond the bounds of allocated storage.
    The classic error is this:
    char* p = new char[strlen(msg)]; // forgot about trailing null
    strcpy(p, msg); // write one byte too many
    If you can't see any of these errors in the souce code (and theyare hard to find), try running under dbx with RTC (run-time checking) enabled, or use some memory debugger.

  • JVM crashes with  " ErrOut:Abort - core dumped "

    Hi
    I am using Sun Sparc server.when running my installer i am getting an error
    ErrOut:
    Abort - core dumped
    Server Version:
    bash-2.03$ isainfo
    sparcv9 sparc
    bash-2.03$ isainfo -v
    64-bit sparcv9 applications
    32-bit sparc applications
    bash-2.03$ isainfo -k
    sparcv9
    bash-2.03$
    I installed jdk 1.4.2_16 java version.
    Please help in solving this issue... We are unable to go with Installation
    ==================================================
    I+In LOG FILE:+
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0xEC10E15C
    Function=[Unknown. Nearest: Java_sun_awt_font_NativeFontWrapper_registerFonts+0x346C]
    Library=/tmp/SIEBEL/isjAAABfaqsI/lib/sparc/libfontmanager.so
    Current Java thread:
    at sun.awt.font.NativeFontWrapper.registerFonts(Native Method)
    - locked <f6468460> (a java.lang.Class)
    at sun.java2d.SunGraphicsEnvironment.addPathFonts(SunGraphicsEnvironment.java:736)
    at sun.java2d.SunGraphicsEnvironment.registerFonts(SunGraphicsEnvironment.java:590)
    at sun.java2d.SunGraphicsEnvironment.access$100(SunGraphicsEnvironment.java:49)
    at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:209)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.java2d.SunGraphicsEnvironment.loadFonts(SunGraphicsEnvironment.java:203)
    - locked <ee39ad38> (a sun.awt.X11GraphicsEnvironment)
    at sun.java2d.SunGraphicsEnvironment.initTerminalNames(SunGraphicsEnvironment.java:1029)
    at sun.java2d.SunGraphicsEnvironment.initCompositeFonts(SunGraphicsEnvironment.java:795)
    at sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:49)
    at sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:160)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:78)
    at sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java:150)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:306)
    at java.lang.Class.newInstance(Class.java:259)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
    - locked <f641dc98> (a java.lang.Class)
    at java.awt.Font.initializeFont(Font.java:309)
    at java.awt.Font.<init>(Font.java:345)
    at javax.swing.plaf.FontUIResource.<init>(FontUIResource.java:36)
    at com.sun.java.swing.plaf.motif.MotifLookAndFeel.initComponentDefaults(MotifLookAndFeel.java:181)
    at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:81)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:394)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:424)
    at com.installshield.wizard.swing.SwingWizardUI.switchToSystemLAF(SwingWizardUI.java:26)
    at com.installshield.wizard.swing.SwingWizardUI.initialize(SwingWizardUI.java:216)
    at com.installshield.wizard.StandardWizardListener.wizardInitializing(StandardWizardListener.java:25)
    at com.installshield.wizard.Wizard$WizardListenerInitializer.run(Wizard.java:1619)
    at java.lang.Thread.run(Thread.java:536)
    Dynamic libraries:
    0x10000 /tmp/SIEBEL/isjAAABfaqsI/bin/java
    0xff350000 /usr/lib/libthread.so.1
    0xff3a0000 /usr/lib/libdl.so.1
    0xff200000 /usr/lib/libc.so.1
    0xff340000 /usr/platform/SUNW,Sun-Fire-880/lib/libc_psr.so.1
    0xfe000000 /tmp/SIEBEL/isjAAABfaqsI/lib/sparc/client/libjvm.so
    0xff2e0000 /usr/lib/libCrun.so.1
    0xff1e0000 /usr/lib/libsocket.so.1
    0xff100000 /usr/lib/libnsl.so.1
    0xff0d0000 /usr/lib/libm.so.1
    0xff1c0000 /usr/lib/libmp.so.2
    0xff0a0000 /tmp/SIEBEL/isjAAABfaqsI/lib/sparc/native_threads/libhpi.so
    0xff070000 /tmp/SIEBEL/isjAAABfaqsI/lib/sparc/libverify.so
    0xff020000 /tmp/SIEBEL/isjAAABfaqsI/lib/sparc/libjava.so
    0xfe7e0000 /tmp/SIEBEL/isjAAABfaqsI/lib/sparc/libzip.so
    0xfe510000 /tmp/SIEBEL/isjAAABfaqsI/lib/sparc/libnet.so
    0xfe4f0000 /tmp/SIEBEL/ismp002/5868705.tmp
    0xfa080000 /tmp/SIEBEL/isjAAABfaqsI/lib/sparc/libawt.so
    0xfe470000 /tmp/SIEBEL/isjAAABfaqsI/lib/sparc/libmlib_image.so
    0xfc490000 /tmp/SIEBEL/isjAAABfaqsI/lib/sparc/motif21/libmawt.so
    0xec580000 /usr/dt/lib/libXm.so.4
    0xfc420000 /usr/openwin/lib/libXt.so.4
    0xfdfd0000 /usr/openwin/lib/libXext.so.0
    0xfdfb0000 /usr/openwin/lib/libXtst.so.1
    0xec200000 /usr/openwin/lib/libX11.so.4
    0xfa3a0000 /usr/openwin/lib/libdps.so.5
    0xfc7e0000 /usr/openwin/lib/libSM.so.6
    0xfa150000 /usr/openwin/lib/libICE.so.6
    0xec100000 /tmp/SIEBEL/isjAAABfaqsI/lib/sparc/libfontmanager.so
    Local Time = Wed Feb 27 13:33:57 2008
    Elapsed Time = 7
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode)
    # An error report file has been saved as hs_err_pid17568.log.
    # Please refer to the file for further information.
    #

    Hi,
    any news from this error? Have you solved it?
    Rgs
    Janne Johansson

  • Tuxedo8 core dumps when performing a tpcall in Solaris

    Hi all,
    I'm installing a Tuxedo application on a Solaris OS:
    SunOS 5.8 Generic_108528-13 sun4u sparc SUNW,Sun-Fire-280R
    Tuxedo 8.0 compiled under 32bits libraries.
    This application also runs correctly under a RedHat Linux 7.1 (kernel 2.4.9-31)
    and on a Digital (OSF1 V4.0 878 alpha)
    When running the application on Solaris, we always get a core dump when the service
    performs a tpcall. Debugging the Tuxedo server we can see the core dump is produced
    when the service gets de response from the tpcall, i.e: when the service called
    performs the tpreturn.
    Any clues will be appreciated, thanks!
    Yol.

    Oh, thanks very much, what a stupid mistake! sorry :(
    We knew about the cast, but after looking for the problem in many ways we didn't
    realize FLDLEN was a short!
    Thank you all for your quick help!
    Yol.
    Scott Orshan <[email protected]> wrote:
    FLDLEN nLongitud is a short. Casting its pointer to a long * does not
    change the
    fact that the return value will overwrite other memory. On Linux, the
    alignment or
    arrangement of the stack was different, so it didn't core dump. You need
    to pass
    the address of a real long for the return length.
         Scott Orshan
    Yol. wrote:
    Yes, that's what we thought at first sight, nevertheless remember itruns ok in
    other OS.
    Anyway here I give you 2 samples of code we've tried.
    Any of this cases fail creating a core dump.
    Case 1:
    Src1 calls Src2:
    Src1:
    void SRC1(TPSVCINFO * BufferFml)
    FLDLEN nLongitud;
    FBFR *pBuffer;
    pBuffer = (FBFR *) BufferFml->data;
    if (tpcall("SRC2", (char *) pBuffer, 0, (char **) &pBuffer, (long*) &nLongitud,
    0) == -1)
    userlog("Error!!!!!!!!!!!!!!!!!");
    tpreturn(TPSUCCESS, 0, (char *) pBuffer, 0L, 0);
    Src2
    void SRC2(TPSVCINFO * BufferFml)
    FLDLEN nLongitud;
    FBFR *pBuffer;
    pBuffer = (FBFR *) BufferFml->data;
    tpreturn(TPSUCCESS, 0, (char *) pBuffer, 0L, 0);
    Case 2:
    Src1 calls Src2:
    Src1:
    The same as in case 1
    Src2:
    void SRC2(TPSVCINFO * BufferFml)
    tpreturn(TPSUCCESS, 0, NULL, 0L, 0);
    Thanks anyway for your attention ;-)
    Peter Holditch <[email protected]> wrote:
    Yol,
    My initial guess is that your code is not keeping track of the tpalloced
    buffers correctly - in particular, the one that the reply is received
    into.
    If you post some code, maybe someone will see the error. Alternatively,
    have you got purift or some other bounds checking software that might
    help you track the problem?
    Regards,
    Peter.
    Yol. wrote:
    Hi all,
    I'm installing a Tuxedo application on a Solaris OS:
    SunOS 5.8 Generic_108528-13 sun4u sparc SUNW,Sun-Fire-280R
    Tuxedo 8.0 compiled under 32bits libraries.
    This application also runs correctly under a RedHat Linux 7.1 (kernel2.4.9-31)
    and on a Digital (OSF1 V4.0 878 alpha)
    When running the application on Solaris, we always get a core dumpwhen the service
    performs a tpcall. Debugging the Tuxedo server we can see the coredump is produced
    when the service gets de response from the tpcall, i.e: when the servicecalled
    performs the tpreturn.
    Any clues will be appreciated, thanks!
    Yol.

  • Core dumps with 1.5.0_06-b05... any idea why?

    I am trying to run 1.5.0_06-b05 with Tomcat 5.5.9, and the application keeps producing core dumps from the JVM after some period of use. The hs_err file says the following:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGSEGV (0xb) at pc=0xfee32868, pid=17413, tid=10
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode)
    # Problematic frame:
    # V [libjvm.so+0x632868]
    --------------- T H R E A D ---------------
    Current thread (0x00148aa8): JavaThread "CompilerThread1" daemon [_thread_in_native, id=10]
    siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000
    Registers:
    O0=0x00000000 O1=0x001e2af0 O2=0x001e2ad0 O3=0xfe9130bc
    O4=0x001e4140 O5=0x00000003 O6=0x7097e620 O7=0xfee3283c
    G1=0x001e44bc G2=0xfeffe43c G3=0x001e4520 G4=0x00000001
    G5=0xfec07fc8 G6=0x00000000 G7=0xff351200 Y=0x00000000
    PC=0xfee32868 nPC=0xfee3286c
    Top of Stack: (sp=0x7097e620)
    0x7097e620: 001e4494 001e4118 fefbe000 7097e680
    0x7097e630: 00000001 00000000 001e415c 00000000
    0x7097e640: feffea58 7097ebdc 00000000 001e415c
    0x7097e650: 7097ebdc 001e44f8 7097e690 fe8f887c
    0x7097e660: 7097e688 7097e68c 7097e684 00000002
    0x7097e670: 0121d230 00000000 00000000 7097ebdc
    0x7097e680: 00000000 00000002 021c9458 00000000
    0x7097e690: 00001000 7097ec04 fe90d5a4 ff001e84
    Instructions: (pc=0xfee32868)
    0xfee32858: 12 40 00 08 90 10 20 00 d2 02 a0 04 d0 02 60 08
    0xfee32868: ca 02 20 00 c8 01 60 30 9f c1 00 00 01 00 00 00
    Stack: [0x70900000,0x70980000), sp=0x7097e620, free space=505k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [libjvm.so+0x632868]
    V [libjvm.so+0xf8884]
    V [libjvm.so+0x1e3ba0]
    V [libjvm.so+0x27f9f4]
    V [libjvm.so+0x282748]
    V [libjvm.so+0x278700]
    V [libjvm.so+0x2793bc]
    V [libjvm.so+0x335f28]
    V [libjvm.so+0x2de2a4]
    V [libjvm.so+0x664248]
    Current CompileTask:
    opto:5496 s! com.sun.mail.imap.IMAPStore.protocolConnect(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Z (415 bytes)
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x00feec18 JavaThread "Thread-353085" daemon [_thread_in_native, id=407147]
    0x006fe240 JavaThread "Thread-353060" daemon [_thread_in_native, id=407116]
    0x016ebad0 JavaThread "Thread-351745" daemon [_thread_in_native, id=405360]
    0x00a5ef78 JavaThread "Thread-346549" daemon [_thread_in_native, id=398309]
    0x0047c168 JavaThread "Thread-296436" daemon [_thread_in_native, id=334376]
    0x003c8a60 JavaThread "Thread-296431" daemon [_thread_in_native, id=334371]
    0x00ef1138 JavaThread "Thread-290124" daemon [_thread_in_native, id=327269]
    0x01974680 JavaThread "Thread-290066" daemon [_thread_in_native, id=327208]
    0x0110bf00 JavaThread "Thread-290064" daemon [_thread_in_native, id=327206]
    0x0120d890 JavaThread "Thread-273644" daemon [_thread_in_native, id=308308]
    0x017d6110 JavaThread "http-8083-Processor3731" daemon [_thread_blocked, id=87638]
    0x005b2478 JavaThread "http-8083-Processor3730" daemon [_thread_blocked, id=87637]
    0x019e4320 JavaThread "http-8083-Processor3729" daemon [_thread_blocked, id=87636]
    0x01091e80 JavaThread "http-8083-Processor3728" daemon [_thread_blocked, id=87635]
    0x0196fa30 JavaThread "http-8083-Processor3727" daemon [_thread_blocked, id=87634]
    0x00660b18 JavaThread "http-8083-Processor3726" daemon [_thread_blocked, id=87633]
    0x009f9ba0 JavaThread "http-8083-Processor3725" daemon [_thread_blocked, id=87632]
    0x0139b060 JavaThread "http-8083-Processor3724" daemon [_thread_blocked, id=87631]
    0x00d4f760 JavaThread "http-8083-Processor3723" daemon [_thread_blocked, id=87630]
    0x00ab73d8 JavaThread "http-8083-Processor3722" daemon [_thread_blocked, id=87629]
    0x005895d8 JavaThread "http-8083-Processor3721" daemon [_thread_blocked, id=87628]
    0x024632c0 JavaThread "http-8083-Processor3720" daemon [_thread_blocked, id=87627]
    0x00b91378 JavaThread "http-8083-Processor3719" daemon [_thread_blocked, id=87626]
    0x009361d8 JavaThread "http-8083-Processor3718" daemon [_thread_blocked, id=87625]
    0x005b1278 JavaThread "http-8083-Processor3717" daemon [_thread_blocked, id=87623]
    0x016dfa00 JavaThread "http-8083-Processor3716" daemon [_thread_blocked, id=87622]
    0x006369b0 JavaThread "http-8083-Processor3715" daemon [_thread_blocked, id=87621]
    0x01960708 JavaThread "http-8083-Processor3714" daemon [_thread_blocked, id=87620]
    0x00ffe7c0 JavaThread "http-8083-Processor3713" daemon [_thread_blocked, id=87619]
    0x01115038 JavaThread "http-8083-Processor3712" daemon [_thread_blocked, id=87618]
    0x002b7a18 JavaThread "http-8083-Processor3711" daemon [_thread_blocked, id=87617]
    0x007556f8 JavaThread "http-8083-Processor3710" daemon [_thread_blocked, id=87616]
    0x013f6d18 JavaThread "http-8083-Processor3709" daemon [_thread_blocked, id=87615]
    0x0112b4d8 JavaThread "http-8083-Processor3708" daemon [_thread_blocked, id=87614]
    0x00501d50 JavaThread "http-8083-Processor3707" daemon [_thread_blocked, id=87613]
    0x005eda70 JavaThread "http-8083-Processor3706" daemon [_thread_blocked, id=87612]
    0x00226d90 JavaThread "http-8083-Processor3705" daemon [_thread_blocked, id=87611]
    0x00e788e8 JavaThread "http-8083-Processor3704" daemon [_thread_blocked, id=87610]
    0x024729f0 JavaThread "http-8083-Processor3703" daemon [_thread_blocked, id=87608]
    0x02447798 JavaThread "http-8083-Processor3702" daemon [_thread_blocked, id=87607]
    0x00c61780 JavaThread "http-8083-Processor3701" daemon [_thread_blocked, id=87606]
    0x004d6228 JavaThread "http-8083-Processor3700" daemon [_thread_blocked, id=87605]
    0x012348f8 JavaThread "http-8083-Processor3699" daemon [_thread_blocked, id=87604]
    0x010ebf10 JavaThread "http-8083-Processor3698" daemon [_thread_blocked, id=87603]
    0x01651848 JavaThread "http-8083-Processor3697" daemon [_thread_blocked, id=87602]
    0x00eae520 JavaThread "http-8083-Processor3696" daemon [_thread_blocked, id=87601]
    0x0124ce68 JavaThread "http-8083-Processor3695" daemon [_thread_blocked, id=87600]
    0x0190d170 JavaThread "http-8083-Processor3694" daemon [_thread_blocked, id=87599]
    0x00c5b5c0 JavaThread "http-8083-Processor3693" daemon [_thread_blocked, id=87598]
    0x00ffc9a8 JavaThread "http-8083-Processor3692" daemon [_thread_blocked, id=87597]
    0x010602f8 JavaThread "http-8083-Processor3691" daemon [_thread_blocked, id=87596]
    0x00c4c580 JavaThread "http-8083-Processor3690" daemon [_thread_blocked, id=87595]
    0x01381190 JavaThread "http-8083-Processor3689" daemon [_thread_blocked, id=87594]
    0x019a3e58 JavaThread "http-8083-Processor3688" daemon [_thread_blocked, id=87593]
    0x0199a7a8 JavaThread "http-8083-Processor3687" daemon [_thread_blocked, id=87592]
    0x01116db8 JavaThread "http-8083-Processor3686" daemon [_thread_blocked, id=87591]
    0x019247e0 JavaThread "http-8083-Processor3685" daemon [_thread_blocked, id=87590]
    0x018fc608 JavaThread "http-8083-Processor3684" daemon [_thread_blocked, id=87589]
    0x014ce6c0 JavaThread "http-8083-Processor3683" daemon [_thread_blocked, id=87588]
    0x004900a0 JavaThread "http-8083-Processor3682" daemon [_thread_blocked, id=87587]
    0x00daaf88 JavaThread "http-8083-Processor3681" daemon [_thread_blocked, id=87514]
    0x0117f358 JavaThread "http-8083-Processor3680" daemon [_thread_blocked, id=87513]
    0x0110fc60 JavaThread "http-8083-Processor3677" daemon [_thread_blocked, id=87510]
    0x015fc320 JavaThread "http-8083-Processor3676" daemon [_thread_blocked, id=87509]
    0x00e93b40 JavaThread "http-8083-Processor3675" daemon [_thread_blocked, id=87508]
    0x00d604d0 JavaThread "http-8083-Processor3674" daemon [_thread_blocked, id=87507]
    0x00ff3ba0 JavaThread "http-8083-Processor3673" daemon [_thread_blocked, id=87506]
    0x00d61dc0 JavaThread "http-8083-Processor3670" daemon [_thread_in_native, id=87503]
    0x01969e78 JavaThread "http-8083-Processor3669" daemon [_thread_blocked, id=87502]
    0x007c3820 JavaThread "http-8083-Processor3667" daemon [_thread_blocked, id=87500]
    0x007ecb48 JavaThread "http-8083-Processor3665" daemon [_thread_blocked, id=87498]
    0x004e8710 JavaThread "http-8083-Processor3664" daemon [_thread_blocked, id=87497]
    0x0090bfc8 JavaThread "http-8083-Processor3663" daemon [_thread_blocked, id=87496]
    0x011102b8 JavaThread "http-8083-Processor3662" daemon [_thread_blocked, id=87495]
    0x00ff4738 JavaThread "http-8083-Processor3661" daemon [_thread_in_native, id=87494]
    0x004d9940 JavaThread "http-8083-Processor3660" daemon [_thread_blocked, id=87493]
    0x00a56798 JavaThread "http-8083-Processor3657" daemon [_thread_blocked, id=87490]
    0x0011b318 JavaThread "http-8083-Processor3656" daemon [_thread_blocked, id=87489]
    0x00c8bc68 JavaThread "http-8083-Processor3655" daemon [_thread_blocked, id=87488]
    0x011a4d28 JavaThread "http-8083-Processor3654" daemon [_thread_blocked, id=87487]
    0x01063680 JavaThread "http-8083-Processor3653" daemon [_thread_blocked, id=87486]
    0x0195d108 JavaThread "http-8083-Processor3652" daemon [_thread_blocked, id=87485]
    0x018da648 JavaThread "http-8083-Processor3651" daemon [_thread_blocked, id=87484]
    0x005f45f0 JavaThread "http-8083-Processor3650" daemon [_thread_blocked, id=87483]
    0x013cfa08 JavaThread "http-8083-Processor3649" daemon [_thread_blocked, id=87482]
    0x00667d30 JavaThread "http-8083-Processor3648" daemon [_thread_blocked, id=87481]
    0x01d47740 JavaThread "http-8083-Processor3647" daemon [_thread_blocked, id=87480]
    0x01251628 JavaThread "http-8083-Processor3646" daemon [_thread_blocked, id=87479]
    0x005769d8 JavaThread "http-8083-Processor3645" daemon [_thread_blocked, id=87478]
    0x016c1798 JavaThread "http-8083-Processor3644" daemon [_thread_blocked, id=87477]
    0x00ef6208 JavaThread "http-8083-Processor3643" daemon [_thread_blocked, id=87476]
    0x00221b60 JavaThread "http-8083-Processor3642" daemon [_thread_blocked, id=87475]
    0x016a2b88 JavaThread "http-8083-Processor3641" daemon [_thread_blocked, id=87474]
    0x0198dc20 JavaThread "http-8083-Processor3640" daemon [_thread_blocked, id=87473]
    0x00e61ff0 JavaThread "http-8083-Processor3639" daemon [_thread_blocked, id=87472]
    0x00957df0 JavaThread "http-8083-Processor3638" daemon [_thread_blocked, id=87471]
    0x011a8df0 JavaThread "http-8083-Processor3637" daemon [_thread_blocked, id=87470]
    0x0059d3a0 JavaThread "http-8083-Processor3636" daemon [_thread_blocked, id=87469]
    0x0124b068 JavaThread "http-8083-Processor3635" daemon [_thread_blocked, id=87468]
    0x0238a5b0 JavaThread "http-8083-Processor3634" daemon [_thread_blocked, id=87467]
    0x00a61a60 JavaThread "http-8083-Processor3633" daemon [_thread_blocked, id=87466]
    0x019db810 JavaThread "http-8083-Processor3632" daemon [_thread_blocked, id=87465]
    0x0199f968 JavaThread "http-8083-Processor3605" daemon [_thread_in_vm, id=87339]
    0x019cac68 JavaThread "http-8083-Processor3596" daemon [_thread_blocked, id=87330]
    0x0075d8a0 JavaThread "http-8083-Processor3586" daemon [_thread_blocked, id=87320]
    0x0120f898 JavaThread "http-8083-Processor3585" daemon [_thread_blocked, id=87319]
    0x00e6fcc0 JavaThread "http-8083-Processor3577" daemon [_thread_blocked, id=76622]
    0x00ab1330 JavaThread "http-8083-Processor3528" daemon [_thread_blocked, id=76496]
    0x01650d58 JavaThread "Thread-68062" daemon [_thread_in_native, id=73772]
    0x0199b8e0 JavaThread "http-8083-Processor2576" daemon [_thread_blocked, id=64785]
    0x01993158 JavaThread "http-8083-Processor2565" daemon [_thread_blocked, id=64774]
    0x01409740 JavaThread "http-8083-Processor1700" daemon [_thread_blocked, id=58821]
    0x00934000 JavaThread "MS UI IMAP Connection Reaper" daemon [_thread_blocked, id=100]
    0x01812260 JavaThread "Thread-60" daemon [_thread_blocked, id=74]
    0x00ebf9b8 JavaThread "Directory Cleaner Thread" daemon [_thread_blocked, id=73]
    0x014895f0 JavaThread "TimerDirContext.TimerWatcher" daemon [_thread_blocked, id=71]
    0x0161c7a0 JavaThread "MultiThreadedHttpConnectionManager cleanup" daemon [_thread_blocked, id=70]
    0x00ee4988 JavaThread "RequestWatcher" daemon [_thread_blocked, id=69]
    0x014eb550 JavaThread "http-8083-Monitor" [_thread_blocked, id=68]
    0x0075c0e0 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=17]
    0x00e1f870 JavaThread "JspRuntimeContext[ROOT]" daemon [_thread_blocked, id=16]
    0x01636a40 JavaThread "Thread-2" [_thread_blocked, id=15]
    0x0116f510 JavaThread "CronDaemon" daemon [_thread_blocked, id=14]
    0x018cd3b0 JavaThread "JspRuntimeContext[WebRoot]" daemon [_thread_blocked, id=13]
    0x0014a360 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=11]
    =>0x00148aa8 JavaThread "CompilerThread1" daemon [_thread_in_native, id=10]
    0x00147210 JavaThread "CompilerThread0" daemon [_thread_blocked, id=9]
    0x001463a0 JavaThread "AdapterThread" daemon [_thread_blocked, id=8]
    0x00145598 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7]
    0x00139308 JavaThread "Finalizer" daemon [_thread_blocked, id=6]
    0x00138dc8 JavaThread "Reference Handler" daemon [_thread_blocked, id=5]
    0x00036c50 JavaThread "main" [_thread_in_native, id=1]
    Other Threads:
    0x00136ce8 VMThread [id=4]
    0x0014b5e8 WatcherThread [id=12]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    PSYoungGen total 756672K, used 559590K [0xc6c00000, 0xf8c00000, 0xf8c00000)
    eden space 713472K, 72% used [0xc6c00000,0xe6452e18,0xf24c0000)
    from space 43200K, 99% used [0xf24c0000,0xf4ee6c38,0xf4ef0000)
    to space 54208K, 0% used [0xf5710000,0xf5710000,0xf8c00000)
    PSOldGen total 262144K, used 182087K [0x78c00000, 0x88c00000, 0xc6c00000)
    object space 262144K, 69% used [0x78c00000,0x83dd1e78,0x88c00000)
    PSPermGen total 61440K, used 52943K [0x70c00000, 0x74800000, 0x78c00000)
    object space 61440K, 86% used [0x70c00000,0x73fb3f98,0x74800000)
    Dynamic libraries:
    0x00010000 /ps/jdk1.5.0_06/bin/java
    0xff370000 /usr/lib/libthread.so.1
    0xff3fa000 /usr/lib/libdl.so.1
    0xff280000 /usr/lib/libc.so.1
    0xff3a0000 /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1
    0xfe800000 /ps/jdk1.5.0_06/jre/lib/sparc/server/libjvm.so
    0xff250000 /usr/lib/libsocket.so.1
    0xff230000 /usr/lib/libsched.so.1
    0xff200000 /usr/lib/libCrun.so.1
    0xff1b0000 /usr/lib/libm.so.1
    0xff080000 /usr/lib/libnsl.so.1
    0xff180000 /usr/lib/libmp.so.2
    0xff060000 /ps/jdk1.5.0_06/jre/lib/sparc/native_threads/libhpi.so
    0xfe7d0000 /ps/jdk1.5.0_06/jre/lib/sparc/libverify.so
    0xfe790000 /ps/jdk1.5.0_06/jre/lib/sparc/libjava.so
    0xfe760000 /ps/jdk1.5.0_06/jre/lib/sparc/libzip.so
    0xf8dd0000 /ps/jdk1.5.0_06/jre/lib/sparc/libnet.so
    0x6e800000 /ps/Webmail/WebRoot/WEB-INF/cplib/libcp_pabclient_native.so.solaris
    0xf8cb0000 /usr/lib/libpam.so.1
    0xf8c90000 /usr/lib/librt.so.1
    0xf8c70000 /usr/lib/libpthread.so.1
    0xf8c40000 /usr/lib/libcmd.so.1
    0x6fbf0000 /usr/lib/libaio.so.1
    0x6fbd0000 /usr/lib/libmd5.so.1
    VM Arguments:
    jvm_args: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/ps/tomcat/conf/logging.properties -Xmx2048m -XX:+UseParallelGC -Dsun.rmi.dgc.server.gcInterval=Long.MAX_VALUE -Dsun.rmi.dgc.client.gcInterval=Long.MAX_VALUE -XX:NewSize=800m -XX:MaxNewSize=800m -XX:SurvivorRatio=8 -XX:+MaxFDLimit -XX:SoftRefLRUPolicyMSPerMB=800 -XX:MaxPermSize=128m -Djava.endorsed.dirs=/ps/tomcat/common/endorsed -Dcatalina.base=/ps/tomcat -Dcatalina.home=/ps/tomcat -Djava.io.tmpdir=/ps/tomcat/temp
    java_command: org.apache.catalina.startup.Bootstrap start
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=/ps/java
    PATH=/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/sbin:/usr/bin
    LD_LIBRARY_PATH=/ps/jdk1.5.0_06/jre/lib/sparc/server:/ps/jdk1.5.0_06/jre/lib/sparc:/ps/jdk1.5.0_06/jre/../lib/sparc:/ps/Webmail/WebRoot/WEB-INF/cplib:
    SHELL=/sbin/sh
    HOSTTYPE=sun4
    OSTYPE=solaris
    MACHTYPE=sparc
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x6f0ca8], sa_mask[0]=0x7fbffeff, sa_flags=0x00000004
    SIGBUS: [libjvm.so+0x6f0ca8], sa_mask[0]=0x7fbffeff, sa_flags=0x00000004
    SIGFPE: [libjvm.so+0x275d94], sa_mask[0]=0x7fbffeff, sa_flags=0x0000000c
    SIGPIPE: [libjvm.so+0x275d94], sa_mask[0]=0x7fbffeff, sa_flags=0x0000000c
    SIGILL: [libjvm.so+0x275d94], sa_mask[0]=0x7fbffeff, sa_flags=0x0000000c
    SIGUSR1: [libjvm.so+0x666744], sa_mask[0]=0x00000000, sa_flags=0x00000008
    SIGUSR2: [libjvm.so+0x275d94], sa_mask[0]=0x7fbffeff, sa_flags=0x0000000c
    SIGHUP: [libjvm.so+0x665424], sa_mask[0]=0x7fbffeff, sa_flags=0x00000004
    SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGQUIT: [libjvm.so+0x665424], sa_mask[0]=0x7fbffeff, sa_flags=0x00000004
    SIGTERM: [libjvm.so+0x665424], sa_mask[0]=0x7fbffeff, sa_flags=0x00000004
    --------------- S Y S T E M ---------------
    OS: Solaris 9 9/04 s9s_u7wos_09 SPARC
    Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 29 June 2004
    uname:SunOS 5.9 Generic_118558-23 sun4u (T2 libthread)
    rlimit: STACK 8192k, CORE infinity, NOFILE 65536, AS infinity
    load average:0.07 0.21 0.20
    CPU:total 2 has_v8, has_v9, has_vis1, has_vis2, is_ultra3
    Memory: 8k page, physical 8388608k(5653656k free)
    vm_info: Java HotSpot(TM) Server VM (1.5.0_06-b05) for solaris-sparc, built on Nov 10 2005 11:24:16 by unknown with unknown Workshop:0x550
    I am wandering if anyone can shed some light on the following lines:
    Current CompileTask:
    opto:5496 s! com.sun.mail.imap.IMAPStore.protocolConnect(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Z (415 bytes)
    What exactly is meant by the Current Compile Task? This is a runtime environment, so I don't understand why classes in the com.sun.mail package would need to be compiled at this time.
    Thanks,
    Filip
    Filip

    The JVM has as just-in-time (JIT) compiler, which translates bytecodes into machine instructions for frequently used methods. The Current Compile Task is the method being compiled by the HotSpot JIT when the crash occurred.
    The crash is most likely bug 6346871, which was fixed in 1.5.0_07. Your problem should go away if you migrate to that version.

  • Compiling own app with -X02 makes external dll core dump.

    Hello,
    I have a C++ app that calls a function w/in an external shared library. The external dll does not have debug symbols and is probably optimized. When my app is compiled with -xO2 or higher, I get a core dump (no mapping at the fault address) deep within the external dll. When I am compiling my app with -xO1 or with debug info, I do not get the core dump within the external dll.
    My questions are:
    1. Does this mean that there is a bug w/in my code or within the external dll's code?
    2. If not error in either, is there any way to overcome this core dump without lowering the level of optimization (and thus slowing down the app)
    Here is a stack trace I got by attaching dbx to my app:
    t@1 (l@1) signal SEGV (no mapping at the fault address) in num2qword at 0xfd320248
    [1] num2qword(0x345cfd8, 0xffffff85, 0x63ad0, 0xfd323ba0, 0xa800, 0xa8d8), at 0xfd320248
    [2] evalexpr(0xffbf7f58, 0x345cee8, 0x1, 0x0, 0xfd27e558, 0xfd3230d0), at 0xfd323ba0
    [3] eval_expr_full(0x328e388, 0x345d04c, 0x345cfd8, 0xfd27e558, 0x1, 0x0), at 0xfd3249e8
    [4] cm_eval_expr(0x328e388, 0x345d04c, 0x5800, 0x5944, 0xb400, 0xb400), at 0xfd1eea68
    [5] cm_optredeem_can_redeem(0x328e388, 0x345d1e0, 0x16ddec, 0x5c00, 0x0, 0x345d1e4), at 0xfd21620c
    [6] cm_optredeem_condition(0x328e388, 0x345d1e0, 0x0, 0x0, 0x0, 0x135eb29), at 0xfd2162d8
    [7] cm_maybe_execute_optredeem(0x328e388, 0x345d1e0, 0x0, 0x0, 0x0, 0x1), at 0xfd216568
    [8] cm_pay_1_period(0x328e388, 0xfd3ba364, 0x345d1e0, 0x345d52c, 0xfd383c98, 0x0), at 0xfd21ab5c
    [9] cm_payloop(0x328e388, 0x1, 0x0, 0x324df00, 0x0, 0x3), at 0xfd21ae08
    [10] icmo_cashflows(0x0, 0x0, 0x168, 0x328b7b0, 0x0, 0x328b7b0), at 0xfd2d1700
    [11] CMOInstrument::getICMOCashFlow(0x1627b28, 0xfd48bdb8, 0x570, 0x2b1c, 0x2800, 0x400), at 0xfd442410
    [12] NE_CMOAnalytics::value(0x39b71e0, 0x98, 0xfd48bdb8, 0xe, 0xffbfc268, 0x2e93b08), at 0xfd42d560
    [13] NumericExpression::value(0x1643800, 0x1667b48, 0x1667b48, 0x2eabde0, 0x2eabde0, 0x0), at 0xc13410
    [14] NE_CMOPriceTimesBalance::value(0x2b02078, 0x2ead230, 0x1667b48, 0x2eabea0, 0x2eac06c, 0xfd48ec8c), at 0xfd42da9c
    [15] NumericExpression::value(0x1643800, 0x1667b48, 0x1667b48, 0x2eabea0, 0x2eabea0, 0x0), at 0xc13410
    [16] ExchangeableModuleBase::evaluateExpression(0x31259c4, 0x15e4400, 0x0, 0x2eabea0, 0x1667b48, 0x2e93b08), at 0x746e54
    [17] ExchangeableModuleBase::evaluateExpressions(0x31259c4, 0x2f3d7c8, 0x746ca0, 0x1, 0x164c800, 0x15c8414), at 0x746c68
    [18] ExchangeableModuleBase::recalc(0x31259c4, 0x0, 0xffffffc8, 0x164c800, 0x0, 0x746c40), at 0x746c10
    [19] ExchangeableModule::recalc(0x31258d4, 0x15e5730, 0x15c81ac, 0x164c800, 0x7fe8c0, 0x0), at 0x4a8ff4
    [20] BatchInstrument::commandDispatch(0x15fd850, 0x1ac, 0x1, 0x619b2c, 0xc, 0x2ebbbc0), at 0x619ce0
    [21] Callback(0x2eee48c, 0x3, 0x5, 0x1, 0xffbfccf0, 0xffbfcd6c), at 0xe652f0
    [22] CallExtRtn(0xffbfe1d0, 0x2, 0x1, 0xffffdffe, 0x1, 0xfcd0fc86), at 0xe727d4
    [23] PcodeExecute(0x2eee8ac, 0xef5c18, 0x1, 0x15b9750, 0xef5c18, 0x4), at 0xeab848
    [24] ExpStartThread(0x2eee48c, 0x0, 0x0, 0x1, 0x1, 0x0), at 0xe6e1e0
    [25] BasicScriptCodeObject::executeThread(0x2ebb070, 0x2eee48c, 0x0, 0x2ebb074, 0x2eeed68, 0x0), at 0xa0fcb0
    [26] BasicScriptCodeObject::run(0x2ebb070, 0x0, 0x0, 0x0, 0x0, 0x2ebb070), at 0xa0fe24
    [27] BasicScriptManager::loadAndExecInitScriptFile(0x2d7eb08, 0x1, 0xa, 0x0, 0x1, 0x2eef5f0), at 0x587f80
    [28] main(0x32db9b8, 0xffff3400, 0x308b998, 0x0, 0x1c1fd20, 0x1c0db58), at 0x438c6c
    [10] icmo_cashflows(...) is the call to the external dll. From 9 and up to 1 the source code is not visible to me..
    OS/CC Versions:
    CC: Sun C++ 5.5 Patch 113817-05 2004/01/13
    SunOS: 5.9 Generic_117171-05 sun4u sparc SUNW,Sun-Fire-880
    compilation options:
    -dalign -xarch=v8plusa -xlibmopt -D__solaris_sparc__ -errtags=yes -errwarn=wnoretvalue,wnoelseretvalue +w2 -erroff=doubunder,reftotemp,notemsource,hidef,hidevf,wbadlinkage_w,noexthrow,noextry,notused -DLIC_MGR -DUSE_SMART_HEAP -DUSE_SH_ALLOC -template=wholeclass -instances=explicit -features=no%except -features=rtti -Drindex=rindex -Dindex=index   -DADD_DYNAMIC_SYMBOLS     -KPIC   -DNDEBUG   -mt   -xO1 ( -xO2 .. -xO5 or -fast give above noted core dump)
    Thanks in advanice,
    Alex

    From the symptoms you describe, it is possible that the shared library contains a bug, but it is more likely that the problem is in your code, passing bad data to the shared library.
    The problem might be a compiler bug, but I think an error in your code is more likely.
    For example, your code as written might have undefined behavior that works by accident when compiling without optimizing, but fails when the compiler improves the runtime code.
    Some examples:
    1. A classic MT programming error is failing to declare a variable volatile when it is shared by more than one thread. In each thread, the compiler assumes it can remember the value of the variable and not reload it between references.
    2. "x = ++x + b;" Modifying a variable twice in an expression withtout sequence points has undefined behavior -- compiler optimization can affect the result.
    3." foo(x, x+=3);" the order of evaluation of function arguments is unspecified, so the actual values passed to foo could depend on optimization.
    With C++ 5.5, you get some warnings from system headers that you can't do anything about, which I suspect is why you have disabled some warnings. Unfortunately, you might be disabling warnings that you need to see. That is, some of the disabled warnings could point to invalid code that results in the program crash.
    I suggest using w instead of w2 (to avoid uninteresting warnings), and fix your code to eliminate the warnings you get.
    In the current compiler, C++ 5.7 in Sun Studio 10, we have made some adjustments to warnings to make w and w2 more useful. You should consider upgrading.You can get a 60-day free trial version here:
    http://www.sun.com/software/products/studio/index.xml
    Also get the current patches for it here:
    http://developers.sun.com/prodtech/cc/downloads/patches/index.html

  • Shell scripts producing core dumps

    I have a shell script (written in ksh) which runs fine on one solaris system, but produces a core dump on another (same version of the OS).
    What is strange is that when I did a "file core", it reports the core file as generated by the shell script itself!
    I didn't think it was possible for a shell script to core dump. Or if it does, file should report that the core was produced by the shell or some other program that the script calls.
    Strangely enough when I introduce another "echo" statement in the for loop where the core dump occurs, the problem goes away.
    Has anyone seen this behavior and know why this is happening, and why a shell script can core dump?

    Indeed I had the same suprise recently with ksh :
    core file = core -- program ``ksh'' on platform SUNW,Sun-Fire-880
    SIGSEGV: Segmentation Fault
    The script was used to lauch and monitor about 40 parallel database extraction process and used signal as a mean of communication between father and child. The script behave differently without any modification in the code. ksh -n didn't report any error. Since we change to a more classic but less fancy mean of coordination, a file, the problem disepeared.
    Have you consider using ksh93 (/usr/dt/bin/dtksh) intead of ksh88 (/bin/ksh) ?
    Maybe you can use a debugger to get more info or truss the script.
    If you get more info please update this thread, I would very much like to understand what king of thing should be considered hazardous when writing script.
    Cheers

  • Zpool create core dump

    I am having a problem to bring in a EMC clariion disk to the zpool of my V245 server. I can newfs the powerpath device and create files, I just couldn't create a zpool using that. any idea? Btw, the disk is only 64GB, it shouldn't hit the zfs limitation.
    # zpool create emc emcpower0a
    internal error: Invalid argument
    SUNW-MSG-ID: ZFS-8000-D3, TYPE: Fault, VER: 1, SEVERITY: Major
    EVENT-TIME: Thu May 31 17:01:31 EDT 2007
    PLATFORM: SUNW,Sun-Fire-V245, CSN: -, HOSTNAME: abc
    SOURCE: zfs-diagnosis, REV: 1.0
    EVENT-ID: 83777b5d-ef19-4288-d874-b59899e8696f
    DESC: A ZFS device failed. Refer to http://sun.com/msg/ZFS-8000-D3 for more information.
    AUTO-RESPONSE: No automated response will occur.
    IMPACT: Fault tolerance of the pool may be compromised.
    REC-ACTION: Run 'zpool status -x' and replace the bad device.
    May 31 17:01:32 abc genunix: NOTICE: core_log: zpool[7041] core dumped: /var/core/core_abc
    Abort - core dumped

    I found this thread via good ol google and given the age, thought I'd add what I heard from EMC this morning. I was told that this should be fixed in Powerpath 5.2 SP1 (due out in Aug or Sep 08).
    I also found this issue referred to in ID emc190249 on powerlink (Subject: "Unable to create ZFS pool on emcpower device"). Account required: http://knowledgebase.emc.com/emcice/documentDisplay.do?docType=1006&clusterName=DefaultCluster&resultType=5002&groupId=1&page=&docProp=$solution_id&docPropValue=emc190249&passedTitle=null
    I installed an x86_64 sol 10 u5 on an x2200 connected to our Clariion CX3-20c, but was unable to get MPxIO to work, hence I reverted to PP. I'm using an emulex HBA with 120223-28 (SunFC emlxs v20080520-2.31g). Basically all tools indicate seeing all paths to my lun, but I can't open it using format. It shows the auto-mapped device but can't get the geometry on it (shows drive type unknown). I also see log messages indicating 'multipath optimal' but then several 'drive offline' lines further down.
    If I disable MPxIO via stmsboot -d, format shows my lun across my four paths, and I can open/format two of those that are identified correctly (I'm assuming one on each SP). I haven't tested, but I'm think that I would see the mentioned loss of failover as zfs would be talking directly to one path.
    My current thinking is that there is either a bug in zpool/zfs or, perhaps more likely, my drive conf files are fubar. My current scsi_vhci.conf - comments excluded:
    name="scsi_vhci" class="root";
    load-balance="round-robin";
    auto-failback="enable";
    device-type-scsi-options-list =
    "DGC RAID", "symmetric-option";
    symmetric-option = 0x1000000;
    And in case anyone is curious, there are exactly eight characters between DGC and RAID.
    If anyone is still listening, any thoughts?

  • JOB RSGENYTT - System core dump

    Hi SDN,
    While trying to upgrade our 4.6B system to ERP, JOB_RSGENYTT phase stops with a core dump, this is what i've in ST22
    Someone knows how i can analyse this :S
    regards
    Pedro Rodrigues
    ABAP runtime errors         SYSTEM_CORE_DUMPED           
           Occurred on     17.11.2007 at 19:53:23                                                                               
    Process terminated by signal 0.                                               
    What happened?
    Error in the SAP Basis system                                                 
    ABAP/4 processor detected an internal system error.                           
    The current ABAP program "RSGENYTT " had to be terminated because the ABAP    
    processor discovered an invalid system state.                                 
    What can you do?
    Please make a note of the actions and input which caused the error.           
    Please make a note of the actions and input which caused the error.                                                                               
    To resolve the problem, contact your                                          
    SAP system administrator.                                                                               
    Choose "Print" for a hard coopy of the termination message. You can           
    display and adminster short dump messages using Transaction ST22.             
    Error analysis
    An SAP System process was terminated by an operating system signal.           
    Possible reasons for this are:                                                
    1. Internal SAP System error.                                                 
    2. Process was terminated externally (by the system administrator).           
    Last error logged in SAP kernel                                                                               
    Component............ "Taskhandler"                                           
    Place................ "SAP-Server appserver_DEV_00 on host appserver (wp 0)"  
    Version.............. 1                                                       
    Error code........... 11                                                      
    Error text........... "ThSigHandler: signal"                                  
    Description.......... " "                                                     
    System call.......... " "                                                     
    Module............... "thxxhead.c"                                            
    Line................. 8628                                                                               
    The error reported by the operating system is:                                
    Error number..... " "                                                         
    Error text....... " "                                                                               
    How to correct the error
    The SAP System work directory (e.g. /usr/sap/c11/D00/work ) often             
    contains a file called 'core'.                                                                               
    Save this file under another name.                                                                               
    If you cannot solve the problem yourself, please send the                     
    following documents to SAP:                                                                               
    1. A hard copy print describing the problem.                                  
       To obtain this, select the "Print" function on the current screen.         
    2. A suitable hardcopy prinout of the system log.                             
       To obtain this, call the system log with Transaction SM21                  
       and select the "Print" function to print out the relevant                  
       part.                                                                               
    3. If the programs are your own programs or modified SAP programs,            
       supply the source code.                                                    
       To do this, you can either use the "PRINT" command in the editor or        
       print the programs using the report RSINCL00.                                                                               
    4. Details regarding the conditions under which the error occurred            
       or which actions and input led to the error.                                                                               
    System environment
    SAP Release.............. "46B"                                                                               
    Application server....... "appserver"                                         
    Network address.......... "192.39.0.2"                                        
    Operating system......... "Windows NT"                                        
    Release.................. "5.2"                                               
    Hardware type............ "4x Intel 80686"                                                                               
    Database server.......... "appserver"                                         
    Database type............ "MSSQL"                                             
    Database name............ "DEV"                                               
    Database owner........... "dev"                                                                               
    Character set............ "English_United State"                                                                               
    SAP kernel............... "46D"                                               
    Created on............... "Aug 16 2007 21:26:12"                              
    Created in............... "NT 4.0 1381 Service Pack 6 x86 MS VC++ 12.00"      
    Database version......... "SQL_Server_7.00 "                                                                               
    Patch level.............. "2337"                                              
    Patch text............... " "                                                                               
    Supported environment....                                                     
    Database................. "MSSQL 6.5.213 or higher, MSSQL 7.0.1 or higher"    
    SAP database version..... "46D"                                               
    Operating system......... "Windows NT 4.0, Windows NT 5.0, Windows NT 5.1,    
    Windows NT 5.2, , System build information:,                                 
                                                   , LCHN : "                                                                               
    User, transaction...
    Client.............. 000                                                      
    User................ "DDIC"                                                   
    Language key........ "E"                                                      
    Transaction......... "SE38 "                                                  
    Program............. "RSGENYTT "                                              
    Screen.............. "SAPMSSY0 1000"                                          
    Screen line......... 6                                                                               
    Information on where termination occurred
    The termination occurred in the ABAP/4 program "RSGENYTT " in                 
    The main program was "RSGENYTT ".                                                                               
    The termination occurred in line 0                                            
    of the source code of program " " (when calling the editor 00).               
    Contents of system fields
    SY field           contents.....................           SY field           contents.....................
    SY-SUBRC           0                                       SY-INDEX           0                                 
    SY-TABIX 1                             SY-DBCNT 1260                         
    SY-FDPOS 0                             SY-LSIND 0                            
    SY-PAGNO 0                             SY-LINNO 1                            
    SY-COLNO 1                                                                               
    Chosen variables
    Name..........................           Contents.1....+....2....+....3....+....4
    LV_COUNT                                 0                                      
                                   0000                                   
                                   0000                                   
    LV_INDEX                                 0                                      
                                   0000                                   
                                   0000                                   
    LT_DDYTT                                 Table[initial]                         
                                   0000FFFD                               
                                   0000FFFF                               
    LT_DDYTF                                 Table[initial]                         
                                   0000FFFD                               
                                   0000FFFF                               
    LT_PUTTB_SHD                             ############################ #######ï###
                                   000000000000000000000000000020000000E000
                                   00000000000000000000000040000A001000F400
    ... +            40                                ####ð###ð###################$###xæ-?ð#/?
                                   1000F000F000000000008000000020007E23F823
                                   00000800040000000000C0002000430086DF02FF
    ... +            80                                #?4?########################5###       
                                   93330000000000000000000000003000       
                                   8F4F0000000000000000000000005000       
    LS_PUTTB_SHD                             /BEV1/CADD03VTV                        
                                   2445324444335552222222222222222222222222
                                   F2561F3144036460000000000000000000000000
    ... +            40                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +            80                                                002                7   
                                   2222222222222222333222222222222222232222
                                   0000000000000000002000000000000000070000
    ... +           120                                     VLE                               
                                   22222544                               
                                   000006C                                
    LV_SHD_DDXTT                             DDXTT~                                 
                                   445557222222222222222222222222         
                                   44844E000000000000000000000000         
    GC_BASREL_UPDATED                        U                                      
                                   5                                      
                                   5                                      
    LS_PUTTB_SHD-TABNAME                     /BEV1/CADD03VTV                        
                                   244532444433555222222222222222         
                                   F2561F314403646000000000000000         
    LS_DDYTT                                                                   ######
                                   2222222222222222222222222222222222000000
                                   0000000000000000000000000000000000000000
    ... +            40                                ##########                             
                                   0000000000222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +            80                                            ##########                 
                                   2222222222220000000000222222222222222222
                                   0000000000000000000000000000000000000000
    ... +           120                                              ###### #########         
                                   22222222                               
                                   0000000                                
    SYST                                     ############ï###########################
                                   000000000000E000000000000000000000000000
                                   000000001000F400000000000000000000000000
    ... +            40                                ì#######################################
                                   E000000000000000000000000000000000008000
                                   C40000001000000010000000000000000000C000
    ... +            80                                ########################################
                                   0000000000000000000000000000000000000000
                                   0000000000000000200000000000000000000000
    ... +           120                                ########################################
                                   00000000                               
                                   0000000                                
    SY-SUBRC                                 0                                      
                                   0000                                   
                                   0000                                   
    %_SSCR[]                                 ############################`###########
                                   0000000000000000000000000000600000000000
                                   0000000000000000000000004000030000000000
    ... +            40                                ################ÿÿÿÿ####################
                                   1000000000000000FFFF00000000000000000000
                                   0000000000001000FFFF41F07000430000000000
    ... +            80                                ################################       
                                   00000000000000000000000000000000       
                                   00000000000000000000000000000000       
             10032c92 807d1400         cmp     byte ptr ,0x0      ss:062ce90a=00   
             10032c96 7422             jz      dsql_db_init+0x30d0a (10032cba)               
             10032c98 394e08           cmp     ,ecx          ds:070aeb72=????????   
             10032c9b 751d             jnz     dsql_db_init+0x30d0a (10032cba)               
             10032c9d 8d047f           lea     eax,[edi+edi*2]        ds:00000000=????????   
             10032ca0 c1e003           shl     eax,0x3                                       
             10032ca3 8bd0             mov     edx,eax                                       
             10032ca5 8b4518           mov     eax,[ebp+0x18]         ss:062ce90a=00000000   
             10032ca8 2bc2             sub     eax,edx                                       
             10032caa 99               cdq                                                   
    FAULT-> 10032cab f7fb             idiv    ebx                                           
             10032cad 0fbfd0           movsx   edx,ax                                        
             10032cb0 eb0b             jmp     dsql_db_init+0x30d0d (10032cbd)               
             10032cb2 6a02             push    0x2                                           
             10032cb4 58               pop     eax                                           
             10032cb5 e9df040000       jmp     dsql_db_init+0x311e9 (10033199)               
             10032cba 6a01             push    0x1                                           
             10032cbc 5a               pop     edx                                           
             10032cbd 803dd95a1d1000                                        ds:101d5ad9=00   
                                       cmp  byte ptr ,0x0   
             10032cc4 7409             jz      dsql_db_init+0x30d1f (10032ccf)               
             10032cc6 833dac591d1006                                  ds:101d59ac=00000006   
                                       cmp dword ptr ,0x6   
             10032ccd 7416             jz      dsql_db_init+0x30d35 (10032ce5)               
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name                     
    031688dc 1000d5df 00000000 018b4eb8 00000000 00000001 dbmssslib!dsql_db_init            
    03168978 10001cb3 03f41f80 018b6470 018b4eb8 00000035 dbmssslib!dsql_db_init            
    031689c4 008f47dc 010035d0 00000035 00000001 018b6470 dbmssslib!DbSlVersion             
    031689f4 008f1120 00000001 00000000 3f2db20c 00000000 disp+work!             
    054fffb8 77e64829 03e7bf20 00000000 00000000 03e7bf20 MSVCRT!endthreadex                
    054fffec 00000000 77bcb4bc 03e7bf20 00000000 00000000 kernel32!GetModuleHandleA         
    List of ABAP programs affected
                                                                                    Type      Program                              Gen. date  time           LoadSize            RollSize           
          Prg       RSGENYTT                             17.11.2007 18:56:44       112     3            840 loade         
          Prg       SAPMSSY0                             26.03.2001 12:10:18         1     6       512 loade
          Prg       RSDBRUNT                             26.03.2001 12:09:07        19    22       376 loade
          Prg       RSDBSPBL                             26.03.2001 11:21:26        24     6       512 loade
          Prg       SAPDB__S                             01.06.1999 12:10:01        36     1       408 loade
          Prg       RSDBSPMC                             01.06.1999 12:09:54        34     7       728 loade
          Typ       DDSHDESCR                            03.09.1997 03:05:16       955             048 loade
          Typ       SPPARAMS                             07.05.1997 13:10:38       956             024 loade
          Prg       SAPLSABE                             01.06.1999 12:10:15       100     1       288 loade
          Prg       SAPLSECU                             04.04.2001 18:30:22        28     6       608 loade
          Prg       SAPMSSY3                             26.03.2001 10:57:11       269     5       368 loade
          Typ       ABDBG                                25.05.1999 15:31:57       716     1       360 loade
          Prg       SAPMSSYD                             22.03.2001 18:03:09        12     1       336 loade
          Prg       SAPFSPOR                             19.10.1999 09:39:27        59             216 loade
          Prg       SAPLSCNT                             01.06.1999 12:10:15        15     2       624 loade
          Prg       SAPLSVSM                             22.03.2001 17:23:10        61     2       552 loade
          Prg       SAPLSGUI                             26.03.2001 12:08:56         4     3       768 loade
          Prg       SAPLSTTM                             22.03.2001 15:09:40         2     5       392 loade
          Prg       SAPLSBDC                             22.03.2001 15:09:07         6     6       560 loade
          Prg       CL_DATAPROVIDER===============       22.03.2001 16:53:29        62     4       128 loade
          Typ       OBJ_RECORD                           14.02.1998 08:30:43       883             048 loade
          Prg       SAPLSTUP                             26.03.2001 11:45:52        16     9       160 loade
          Prg       SAPLCNDP                             26.03.2001 10:57:04         3    15       744 loade
          Prg       SAPSHDTV                             26.03.2001 11:45:07        14     3       864 loade
          Prg       SAPFGUICNTL                          26.03.2001 10:42:02        10     1       408 loade
          Prg       CL_GUI_CFW====================       26.03.2001 11:21:21        11    13       192 loade
          Prg       SAPLOLEA                             17.11.2007 13:23:33         5     7       656 loade
          Prg       SAPLSFES                             26.03.2001 12:08:50         7    10       544 loade
          Prg       SAPLGRFC                             22.03.2001 15:08:46        60     1       384 loade
          Prg       SAPLSTRF                             17.11.2007 13:23:33       217    10       424 loade
          Prg       SAPLSTFI                             26.03.2001 12:10:04       216     5       296 loade
          Prg       SAPLSUGI                             17.11.2007 18:56:44       673    35       280 loade
          Typ       PUTTB_SHD                            17.11.2007 11:26:20       682             120 loade
          Prg       SAPLSUGN                             17.11.2007 18:56:44       691     5       296 loade
          Typ       DDFTX                                05.11.1997 02:52:59       224             072 loade
          Prg       SAPLSDNT                             17.11.2007 18:56:44       135    18       368 loade
          Prg       SAPLSDB1                             17.11.2007 11:26:20       114     6       464 loade
          Prg       SDB1FMSS                             04.04.2001 18:30:57       113     4       104 loade
          Typ       DDXTT                                17.11.2007 18:56:44       235             048 loade
          Prg       RDTCMPTB                             17.11.2007 18:56:44       414    10       376 loade
          Prg       SAPLSDB2                             17.11.2007 18:56:44       225    39       216 loade
          Prg       SAPLSDB3                             17.11.2007 18:56:44       271     9       136 loade
          Prg       SAPLSDD0                             17.11.2007 13:23:33       133     5       200 loade
          Prg       RADIXTOL                             01.06.1999 12:09:34       150     2       504 loade
          Prg       SDB2FDBS                             17.11.2007 17:43:27       215    11       784 loade
          Prg       SAPLSDD2                             01.06.1999 12:10:16       237     3       888 loade
          Prg       SDB2FMSS                             17.11.2007 17:43:27       190    17       152 loade
          Typ       UVERS                                16.07.1997 14:46:33       347             072 loade
          Typ       DD092526V                            20.08.1998 11:15:55       781             048 loade
          Typ       X030L                                05.11.1997 03:07:56       709             096 loade
          Prg       RADBTOUT                             01.06.1999 12:09:34       124    10       448 loade
          Prg       SAPCNVE                              01.06.1999 12:10:01       101             168 loade
          Prg       SAPLSDAD                             17.11.2007 18:56:44       935    71       752 loade                                                                               
    List of internal tables
    Header of PROG=RSGENYTTDATA=GT_PROT[]                                                  
         TABH+  0(20) = 0000000000000000000000000000000000000000                             
         TABH+ 20(20) = 0000000004000000500700000000000007000000                             
         TABH+ 40(20) = 1E0000001E0000001E0000001E000000FFFFFFFF                             
         TABH+ 60(20) = E3000000020000000403000018972D3F00000000                             
         TABH+ 80(20) = 0000000000000000000000000000000000000000                             
         TABH+100(12) = 000000000000000013000000                                             
         id           = 19    (0x13000000)                                                   
         fill         = 7     (0x07000000)                                                   
         lineAdmin    = 30    (0x1E000000)                                                   
         lineAlloc    = 30    (0x1E000000)                                                   
         tabi         = 0x18972D3F                                                           
         pghook       = 0x00000000                                                           
         index        = 0x00000000                                                           
         hshook       = 0x00000000                                                           
         btree        = 0x00000000                                                           
         reghook      = 0x00000000                                                           
         lopc         = 0     (0x00000000)                                                   
         occu         = 30    (0x1E000000)                                                   
         rank         = 30    (0x1E000000)                                                   
         loop         = -1    (0xFFFFFFFF)                                                   
         leng         = 227   (0xE300)                                                       
         fcnt         = 0     (0x0000)                                                       
         lock         = 0                                                                    
         shrd         = 0                                                                    
         access       = 1     (stdAccess)                                                    
         idxKind      = 0     (noIndex)                                                      
         unique       = 2     (nonUnique)                                                    
         cmpMode      = 2     (cmpSingleMcmp)                                                
         pb_func      = 0x00000000                                                           
         pb_handle    = 0x00000000                                                                               
    Directory of application tables (contents)
    Program                               
      Name..........  Contents.1........2........3....+....
    Directory of data areas (administration information)
    Program                                
      No.. Name..........  Lgth  Ofsg Type Next Gen date   Gen time
      SYST                                                             
                L not assigned      751         0 IN                        
                M /%_LISTTABLE      750         1 CO 0                    
                T global stack      749  1      2 GL                        
      RSGENYTT                             
                A global data         0         3 DA                        
                L constant dat        1         4 LI        .0 .0472        
                L constant dat        2         5 LI        .0 .0367        
                L not assigned        3         6 IN                        
                L SYST                4         7 TA 00                    
                L SY                  5         8 TA                        
                L RSJOBINFO           6         9 TA                        
                M /%_SYS%%            7         0 CO                        
                M field symbol        8         1 FS                        
                M /%_SSCR             9         2 CO 0                    
                L VARI               10         3 TA                        
                L PUTTB_SHD          11         4 TA                        
                L DDYTT              12         5 TA                        
                L DDYTF              13         6 TA                        
                M field symbol       14         7 FS                        
                M field symbol       15         8 FS                        
                M field symbol       16         9 FS                        
      SAPMSSY0                             
                A global data         0         0 DA                        
                L constant dat        1         1 LI        .0 .077E        
                L constant dat        2         2 LI        .0 .06B8        
                L not assigned        3         3 IN                        
                L SYST                4         4 TA                        
                L SY                  5         5 TA                        
                L RSJOBINFO           6         6 TA                        
                M /%_SYS%%            7         7 CO                        
                M field symbol        8         8 FS                        
                M /%_LISTTABLE        9         9 CO                        
                M /%_SYS000          10         0 CO                        
                L TFDIR              11         1 TA                        
                M field symbol       12         2 FS                        
                M field symbol       13         3 FS                        
                L TRDIR              14         4 TA                        
                L ABMSG              15         5 TA                        
                M field symbol       16         6 FS                        
                L text pool          17         7 TP                        
      RSDBRUNT                             
                A global data         0         8 DA                        
                L constant dat        1         9 LI        .0 .1B8A        
                L constant dat        2         0 LI        .0 .1780        
                L not assigned        3         1 IN                        
                L SYST                4         2 TA                        
                L SY                  5         3 TA                        
                L RSJOBINFO           6         4 TA                        
                M /%_SYS%%            7         5 CO                        
                M field symbol        8         6 FS                        
                M /%_SSCR             9         7 CO                        
                L VARI               10         8 TA                        
                L TRDIR              11         9 TA                        
                L TUVID              12         0 TA                        
                L RSVUVINT           13         1 TA                        
                L VARID              14         2 TA                        
                L DFIES              15         3 TA                        
                L SSCRTEXTS          16         4 TA                        
                L SSCRFIELDS         17         5 TA                        
                M /%_DYN_SEL         18         6 CO                        
                M /%_FIELD_SEL       19         7 CO                        
                M /%_RUNT_XX_%       20         8 CO                        
                M field symbol       21         9 FS                        
                M field symbol       22         0 FS                        
                M field symbol       23         1 FS                        
                M field symbol       24         2 FS                        
                M field symbol       25         3 FS                        
                L text pool          26         4 TP                        
      RSDBSPBL                             
                A global data         0         5 DA                        
                L constant dat        1         6 LI        .0 .09CE        
                L constant dat        2         7 LI        .0 .0908        
                L not assigned        3         8 IN                        
                L SYST                4         9 TA                        
                L SY                  5         0 TA                        
                L RSJOBINFO           6         1 TA                        
                M /%_SYS%%            7         2 CO                        
                M field symbol        8         3 FS                        
                M /%_RUNT_XX_%        9         4 CO                        
                L text pool          10         5 TP                        
      SAPDB__S                             
                A global data         0         6 DA                        
                L constant dat        1         7 LI        .0 .020D        
                L constant dat        2         8 LI        .0 .01B0        
                L not assigned        3         9 IN                        
                L SYST                4         0 TA                        
                L SY                  5         1 TA                        
                L RSJOBINFO           6         2 TA                        
                M /%_SYS%%            7         3 CO                        
                M field symbol        8         4 FS                        
                M /%_SSCR             9         5 CO                        
                L VARI               10         6 TA                        
                L text pool          11         7 TP                        
                A global data        12         8 DA 0                    
      RSDBSPMC                             
                A global data         0         9 DA                        
                L constant dat        1         0 LI        .0 .0BD7        
                L constant dat        2         1 LI        .0 .0AE8        
                L not assigned        3         2 IN                        
                L SYST                4         3 TA                        
                L SY                  5         4 TA                        
                L RSJOBINFO           6         5 TA                        
                M /%_SYS%%            7         6 CO                        
                M field symbol        8         7 FS                        
                M /%_SSCR             9         8 CO                        
                M /%_RUNT_XX_%       10         9 CO                        
         1      L DD23L              11         0 TA                        
         1      L DD23T              12         1 TA                        
         1      L RSMDY              13         2 TA                        
         1      M field symbol       14         3 FS                        
         1      L text pool          15         4 TP                        
      SAPLSABE                             
         1      A global data         0         5 DA                        
         1      L constant dat        1         6 LI        .0 .014A        
         1      L constant dat        2         7 LI        .0 .0101        
         1      L not assigned        3         8 IN                        
         1      L SYST                4         9 TA                        
         1      L SY                  5         0 TA                        
         1      L RSJOBINFO           6         1 TA                        
         1      M /%_SYS%%            7         2 CO                        
         1      M field symbol        8         3 FS                        
         1      L TRDIR               9         4 TA                        
         1      M field symbol       10         5 FS                        
         1      L text pool          11         6 TP                        
      SAPLSECU                             
         1      A global data         0         7 DA                        
         1      L constant dat        1         8 LI        .0 .0918        
         1      L constant dat        2         9 LI        .0 .070B        
         1      L not assigned        3         0 IN                        
         1      L SYST                4         1 TA                        
         1      L SY                  5         2 TA                        
         1      L RSJOBINFO           6         3 TA                        
         1      M /%_SYS%%            7         4 CO                        
         1      M field symbol        8         5 FS                        
         1      L TSL1D               9         6 TA                        
         1      L TPFYPROPTY         10         7 TA                        
         1      M field symbol       11         8 FS                        
         1      L text pool          12         9 TP                        
      RSGENYTT                             
         1      L ABDBG             127         0 TA                        
      SAPMSSY3                             
         1      A global data         0         1 DA                        
         1      L constant dat        1         2 LI        .0 .0A38        
         1      L constant dat        2         3 LI        .0 .09BF        
         1      L not assigned        3         4 IN                        
         1      L SYST                4         5 TA                        
         1      L SY                  5         6 TA                        
         1      L RSJOBINFO           6         7 TA                        
         1      M /%_SYS%%            7         8 CO                        
         1      M field symbol        8         9 FS                        
         1      M /%_LISTTABLE        9         0 CO                        
         1      M /%_SYS000          10         1 CO                        
         1      L ABDBG              11         2 TA                        
         1      M field symbol       12         3 FS                        
         1      Y           13         4 LA 0                    
         1      Y           14         5 LA 0                    
         1      Y           15         6 LA 0                    
         1      Y           16         7 LA 0                    
         1      Y           17         8 LA 0                    
         1      Y           18         9 LA 0                 

    Hi lucio,
    thanks for your quick answer, update of DW didn't work, here you are dev_w22 trace
    trc file: "dev_w22", trc level: 1, release: "46D"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Mon Nov 19 18:30:29 2007
    B  create_con (con_name=R/3)
    B  Loading DB library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll' ...
    B  Library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll' loaded
    B  Version of library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll' is "46D.00", patchlevel (0.2328)
    B  New connection 0 created
    M  relno      4640
    M  patchlevel 0
    M  patchno    2352
    M  intno      0
    M  pid        5400

    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc22 5400) [dpxxdisp.c   976]
    I  MtxInit: -2 0 0

    I Mon Nov 19 18:30:31 2007
    I  *** ERROR => New Process with the same PID
                  ERROR_INVALID_ADDRESS: Attempt to access invalid address.   [semnt.c      1513]
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 22 initializing ....
    X  Using implementation std
    M  <ES> Memory Reset enabled
    X  ES initialized.
    M  ThSysUsrCheck: clear T22
    M  calling db_connect ...
    C  Thank You for using the SLOLEDB-interface
    C  Using dynamic link library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll'
    C  dbmssslib.dll patch info
    C    patchlevel   0
    C    patchno      2328
    C    patchcomment MSSQL: Transaction inconsistencies HOTNEWS (1067103)
    C  SQLOLEDB Provider Release:08.10.3959
    C  Using shared procedure name cache (APPSERVER_DEVDEV_MEM,1320040 bytes,10000 procs) initialized by another process
    C  Using shared TEMP procedure cache (APPSERVER_DEVDEV_TSP,7040024 bytes,10000 procs) initialized by another process
    C  Connected to db server : [appserver], dbname: DEV, dbuser: dev
    B  Connection 0 opened
    B  Wp  Hdl ConName              ConCnt ConState     TX  PRM RCT Date     Time
    B  000 000 R/3                  000000 ACTIVE       NO  YES NO  20071119 183031
    M  db_connect o.k.
    I  MtxInit: 22 0 0
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 22 initializing ....
    X  Using implementation std
    X  ES initialized.
    B  db_con_shm_ini:  WP_ID = 22, WP_CNT = 31
    B  dbtbxbuf: Buffer TABL  (addr: 0BA400C8, size: 6000000, end: 0BFF8E48)
    B  dbexpbuf: Buffer EIBUF (addr: 0C2100D0, size: 4194304, end: 0C6100D0)
    B  dbexpbuf: Buffer CUA   (addr: 0C6200D0, size: 3072000, end: 0C90E0D0)
    M  rdisp/reinitialize_code_page -> 0
    M  rdisp/hold_keeps_time_slice -> 0
    M  rdisp/no_hooks_for_sqlbreak -> 0
    M  PfReadDBVersion: use compatibility mode for stat-files
    M  CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    S  *** init spool environment
    S  initialize debug system
    T  Stack direction is downwards.
    T  debug control: prepare exclude for printer trace
    T  new memory block 07D86F10
    S  spool kernel/ddic check: Ok
    S  using table TSP02FX for frontend printing
    S  1 spool work process(es) found
    S  frontend print via spool service enabled
    S  printer list size is 150
    S  printer type list size is 50
    S  queue size (profile)   = 300
    S  hostspool list size = 3000
    S  option list size is 30
    S      found processing queue enabled
    S  found spool memory service RSPO-RCLOCKS at 0D760098
    S  doing lock recovery
    S  setting server cache root
    S  found spool memory service RSPO-SERVERCACHE at 0D760798
    S    using messages for server info
    S  immediate print option for implicitely closed spool requests is disabled

    A  -PXA--
    A  PXA INITIALIZATION
    A  Attached to PXA (address 28230040, size 154674K)
    A  abap/pxa = shared
    A  PXA INITIALIZATION FINISHED
    A  -PXA--

    A  RFC rfc/dump_client_info not set, use default -1
    A  RFC rfc/bc_ignore_thcmaccp_retcode not set, use default value: 0
    A  RFC rfc/bc_no_gui_cp_refresh not set, use default value: 0
    A  RFC Method> initialize RemObjDriver for ABAP Objects
    M  SsfSapSecin: putenv(SECUDIR=D:\usr\sap\DEV\DVEBMGS00\sec): ok

    M  =================================================
    M  === SSF INITIALIZATION:
    M  ===...SSF Security Toolkit name SAPSECULIB .
    M  ===...SSF trace level is 0 .
    M  ===...SSF library is D:\usr\sap\DEV\SYS\exe\run\sapsecu.dll .
    M  ===...SSF hash algorithm is SHA1 .
    M  ===...SSF symmetric encryption algorithm is DES-CBC .
    M  ===...sucessfully completed.
    M  =================================================
    E  Replication is disabled
    E  EnqCcInitialize: local lock table initialization o.k.
    E  EnqId_SuppressIpc: local EnqId initialization o.k.
    E  EnqCcInitialize: local enqueue client init o.k.

    B Mon Nov 19 18:40:15 2007
    B  dbtran INFO (init_connection '<DEFAULT>' [MSSQL:46D.00]):
    B   max_blocking_factor =  50,  max_in_blocking_factor      = 255,
    B   min_blocking_factor =   5,  min_in_blocking_factor      =  10,
    B   prefer_union_all    =   1,  prefer_union_for_select_all =   0,
    B   prefer_fix_blocking =   0,  prefer_in_itab_opt          =   0,
    B   convert AVG         =   1,  alias table FUPD            =   0,
    B   escape_as_literal   =   0,  opt GE LE to BETWEEN        =   0,
    B   select *            = 0x0,
    B   use_hints           = abap->1, dbif->1, upto->0, rule_in->0,
    B                         rule_fae->0, concat_fae->0, concat_fae_or->0
    C  The IRow interface is supported by this OLEDB provider

    M Mon Nov 19 18:40:18 2007
    M  call semaphore clean-up function ...
    M  ***LOG Q0E=> DpSigGenHandler, Exception (c0000094) [dpnttool.c   390]
    M  -
    C-STACK -
    SAP (R) - R/3(TM) Callstack, Version 1.0
    Copyright (C) SAP AG. All rights reserved.
    Application exception occurred:
    Exception : c0000094 (Divide by zero)
    App       : disp+work.EXE (pid=5400)
    When      : 11/19/2007 18:40:18.134
    Threads   : 2
    Computer Name       : APPSERVER
    User Name           : SAPServiceDEV
    Number of Processors: 4
    Processor Type: x86 Family 6 Model 15 Stepping 6
    Windows Version     : 5.2 Current Build: 3790
    Stack Dump for Thread Id 151c
    eax=0000a000 ebx=00000000 ecx=00000000 edx=00000000 esi=03f48b54 edi=00000000
    eip=10032cab esp=031688b0 ebp=031688dc iopl=0         nv up ei pl nz na po nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010206
    function : <nosymbols>
            10032c92 807d1400         cmp     byte ptr [ebp+0x14],0x0      ss:062cfc7a=00
            10032c96 7422             jz      dsql_db_init+0x30d0a (10032cba)
            10032c98 394e08           cmp     [esi+0x8],ecx          ds:070afef2=????????
            10032c9b 751d             jnz     dsql_db_init+0x30d0a (10032cba)
            10032c9d 8d047f           lea     eax,[edi+edi*2]        ds:00000000=????????
            10032ca0 c1e003           shl     eax,0x3
            10032ca3 8bd0             mov     edx,eax
            10032ca5 8b4518           mov     eax,[ebp+0x18]         ss:062cfc7a=00000000
            10032ca8 2bc2             sub     eax,edx
            10032caa 99               cdq
    FAULT-> 10032cab f7fb             idiv    ebx
            10032cad 0fbfd0           movsx   edx,ax
            10032cb0 eb0b             jmp     dsql_db_init+0x30d0d (10032cbd)
            10032cb2 6a02             push    0x2
            10032cb4 58               pop     eax
            10032cb5 e9df040000       jmp     dsql_db_init+0x311e9 (10033199)
            10032cba 6a01             push    0x1
            10032cbc 5a               pop     edx
            10032cbd 803dd95a1d1000                                        ds:101d5ad9=00
                                      cmp  byte ptr [EndFastload+0x19644f (101d5ad9)],0x0
            10032cc4 7409             jz      dsql_db_init+0x30d1f (10032ccf)
            10032cc6 833dac591d1006                                  ds:101d59ac=00000006
                                      cmp dword ptr [EndFastload+0x196322 (101d59ac)],0x6
            10032ccd 7416             jz      dsql_db_init+0x30d35 (10032ce5)
    --> Stack Back Trace <--
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
    031688dc 1000d5df 00000000 018b76f0 00000000 00000001 dbmssslib!dsql_db_init
    03168978 10001cb3 03f41f90 018b8ca8 018b76f0 00000035 dbmssslib!dsql_db_init
    031689c4 008f4765 010056b8 00000035 00000001 018b8ca8 dbmssslib!DbSlVersion
    031689f4 008f10a9 00000001 00000000 3f26827c 00000000 disp+work!<nosymbols>
    03168a74 008f05ff 00000000 3f26827c 00000000 3f2682ec disp+work!<nosymbols>
    03168a9c 008a2873 00000000 018b769c 3f2682ec 00000000 disp+work!<nosymbols>
    03168b48 0089ef88 00000000 3f26827c 3f2682ec 03168d0c disp+work!<nosymbols>
    03168b5c 008a1714 3f261654 00000000 00000000 00000000 disp+work!<nosymbols>
    03168d0c 0089d4ec 00000000 3f26827c 3f2682ec 00000000 disp+work!<nosymbols>
    03168ea0 0061f5f7 00000000 3f26827c 3f2682ec ffffffff disp+work!<nosymbols>
    03168edc 00616212 00000007 03168ef8 0316f130 00000000 disp+work!<nosymbols>
    03168f1c 005bf6a0 00000008 29339f2c 00000000 3f2918e0 disp+work!<nosymbols>
    0316f140 00629e43 00000000 00000000 0316f170 00000001 disp+work!<nosymbols>
    00e5bc44 00000000 49444553 00000000 4f525f25 0000544f disp+work!<nosymbols>
    Stack Dump for Thread Id 5f4
    eax=00000001 ebx=00000103 ecx=7c829f59 edx=00380000 esi=00000000 edi=00000000
    eip=7c8285ec esp=054ffc74 ebp=054ffcb8 iopl=0         nv up ei pl zr na po nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246
    function : KiFastSystemCallRet
            7c8285ec c3               ret
            7c8285ed 8da42400000000   lea     esp,[esp]              ss:054ffc74=7c8270fb
            7c8285f4 8d642400         lea     esp,[esp]              ss:08667013=00000000
    --> Stack Back Trace <--
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
    054ffcb8 00c3475c 00000688 00000000 00000000 03e7be00 ntdll!KiFastSystemCallRet
    054fff84 77bcb530 00000000 00000000 00000000 03e7be98 disp+work!<nosymbols>
    054fffb8 77e64829 03e7be98 00000000 00000000 03e7be98 MSVCRT!endthreadex
    054fffec 00000000 77bcb4bc 03e7be98 00000000 00000000 kernel32!GetModuleHandleA
    M  -
    M  call clean-up function ...
    M  in_ThErrHandle: 1
    M  ThSigHandler: signal (step 4, th_errno 11, action 4)

    M  Info for wp 22

    M    stat = 4
    M    reqtype = 4
    M    act_reqtype = 4
    M    tid = 22
    M    mode = 0
    M    len = 24
    M    rq_id = 139
    M    rq_source = 1
    M    rq_info = 8576
    M    last_tid = 22
    M    last_mode = 0
    M    int_checked_resource = 0
    M    ext_checked_resource = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  Modeinfo for User T22/M0

    M    tm state = 2
    M    uid = 23
    M    term type = 0x0
    M    display = 0x0
    M    cpic_no = 0
    M    cpic_idx = -1
    M    usr = >DDIC        <
    M    terminal = >                    <
    M    client = >000<
    M    conversation_ID = >        <
    M    appc_tm_conv_idx = -1
    M    blockSoftCanel = NO
    M    imode = 2
    M    mode state = 0x42
    M    mode clean_state = 1
    M    th_errno = 11
    M    rollout_reason = 0
    M    last_rollout_level = 7
    M    async_receives = 0
    M    cpic_receive = 0
    M    em handle = 1
    M    roll state = 4
    M    abap state = 4
    M    em state = 3
    M    eg state = 1
    M    spa state = 3
    M    enq state = 0
    M    next hook = T-1/U-1/M255
    M    master hook = T-1/U-1/M255
    M    slave hook = T-1/U-1/M255
    M    debug_tid = -1
    M    mode type = 0x1
    M    debug = 0
    M    tcode = >                    <
    M    client conversation_ID = >        <
    M    server conversation_ID = >        <
    M    lock = 0
    M    max enq infos = 0
    M    act enq infos = 0
    M    em_hyper_hdl = NULL


    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server appserver_DEV_00 on host appserver (wp 22)
    M  *  ERROR       ThSigHandler: signal
    M  *
    M  *  TIME        Mon Nov 19 18:40:18 2007
    M  *  RELEASE     46D
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          11
    M  *  MODULE      thxxhead.c
    M  *  LINE        8628
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  Entering TH_CALL_HOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  Entering ThSetStatError
    M  *** WARNING => sql break failed (-1)
    M  ThErrHandle: don't try rollback again
    M  ThErrHandle: call ThrCoreInfo
    A  ** RABAX: level LEV_RX_ROLLBACK entered.
    A  ** RABAX: level LEV_RX_ROLLBACK completed.
    A  ** RABAX: level LEV_RX_DB_ALIVE entered.
    A  ** RABAX: level LEV_RX_DB_ALIVE completed.
    A  ** RABAX: level LEV_RX_HOOKS entered.
    A  ** RABAX: level LEV_RX_HOOKS completed.
    A  ** RABAX: level LEV_RX_STANDARD entered.
    C  HandleOledbError [RpcExec,line 22204]: Error/Message: (err 8144, sev 0), Procedure or function ##Y8APPSERVEDEV00000054000000000014183031 has too many arguments specified.
    C  RpcExec failed.  HR 80040e14 DBSL retcode 99. proc: [##Y8APPSERVEDEV00000054000000000014183031]
    C  HandleOledbError [RpcExec,line 22204]: Error/Message: (err 8144, sev 0), Procedure or function ##Y8APPSERVEDEV00000054000000000014183031 has too many arguments specified.
    C  RpcExec failed.  HR 80040e14 DBSL retcode 99. proc: [##Y8APPSERVEDEV00000054000000000014183031]
    C  retry with SQL statement string
    A  ** RABAX: level LEV_RX_STANDARD completed.
    A  ** RABAX: level LEV_RX_C_STACK entered.
    A  ** RABAX: level LEV_RX_C_STACK completed.
    A  ** RABAX: level LEV_RX_MEMO_CHECK entered.
    A  ** RABAX: level LEV_RX_MEMO_CHECK completed.
    A  ** RABAX: level LEV_RX_INTERFACES entered.
    A  ** RABAX: level LEV_RX_INTERFACES completed.
    A  ** RABAX: level LEV_RX_GET_MESS entered.
    A  ** RABAX: level LEV_RX_GET_MESS completed.
    A  ** RABAX: level LEV_RX_INIT_SNAP entered.
    A  ** RABAX: level LEV_RX_INIT_SNAP completed.
    A  ** RABAX: level LEV_RX_WRITE_SYSLOG entered.
    A  ** RABAX: level LEV_RX_WRITE_SYSLOG completed.
    A  ** RABAX: level LEV_RX_WRITE_SNAP entered.
    A  ** RABAX: level LEV_SN_END completed.
    A  ** RABAX: level LEV_RX_SET_ALERT entered.
    A  ** RABAX: level LEV_RX_SET_ALERT completed.
    A  ** RABAX: level LEV_RX_COMMIT entered.
    A  ** RABAX: level LEV_RX_COMMIT completed.
    A  ** RABAX: level LEV_RX_SNAP_SYSLOG entered.
    A  ** RABAX: level LEV_RX_SNAP_SYSLOG completed.
    A  ** RABAX: level LEV_RX_RESET_PROGS entered.
    A  ** RABAX: level LEV_RX_RESET_PROGS completed.
    A  ** RABAX: level LEV_RX_STDERR entered.
    A  ** RABAX: level LEV_RX_STDERR completed.
    A  ** RABAX: level LEV_RX_RFC_ERROR entered.
    A  ** RABAX: level LEV_RX_RFC_ERROR completed.
    A  ** RABAX: level LEV_RX_RFC_CLOSE entered.
    A  ** RABAX: level LEV_RX_RFC_CLOSE completed.
    A  ** RABAX: level LEV_RX_IMC_ERROR entered.
    A  ** RABAX: level LEV_RX_IMC_ERROR completed.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE entered.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE completed.
    A  ** RABAX: level LEV_RX_ERROR_SAVE entered.
    A  ** RABAX: level LEV_RX_ERROR_SAVE completed.
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
    A  ** RABAX: level LEV_RX_END entered.
    A  ** RABAX: level LEV_RX_END completed.
    A  ** RABAX: end RX_RETURN
    M  ThIErrHandle: Entering ThErrHdlUser
    M  ThErrHdlUser: set th_errno (11)
    M  ThErrHdlUser: save context
    B  Disconnecting from ALL connections:
    B  Wp  Hdl ConName              ConCnt ConState     TX  PRM RCT Date     Time
    B  022 000 R/3                  000000 ACTIVE       YES YES NO  20071119 183031
    B  Disconnected from connection 0
    B  statistics db_con_commit (com_total=5, com_forced=1, com_tx=1)
    B  statistics db_con_rollback (roll_total=0, roll_forced=0, roll_tx=0)
    M  ***LOG Q02=> wp_halt, WPStop (Workproc22 5400) [dpnttool.c   310]
    M  return from clean-up function ...
    trc file: "dev_w22", trc level: 1, release: "46D"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Mon Nov 19 18:40:34 2007
    B  create_con (con_name=R/3)
    B  Loading DB library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll' ...
    B  Library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll' loaded
    B  Version of library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll' is "46D.00", patchlevel (0.2328)
    B  New connection 0 created
    M  relno      4640
    M  patchlevel 0
    M  patchno    2352
    M  intno      0
    M  pid        432

    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc22 432) [dpxxdisp.c   976]
    I  MtxInit: -2 0 0
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 22 initializing ....
    X  Using implementation std
    M  <ES> Memory Reset enabled
    X  ES initialized.
    M  calling db_connect ...
    C  Thank You for using the SLOLEDB-interface
    C  Using dynamic link library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll'
    C  dbmssslib.dll patch info
    C    patchlevel   0
    C    patchno      2328
    C    patchcomment MSSQL: Transaction inconsistencies HOTNEWS (1067103)
    C  SQLOLEDB Provider Release:08.10.3959
    C  Using shared procedure name cache (APPSERVER_DEVDEV_MEM,1320040 bytes,10000 procs) initialized by another process
    C  Using shared TEMP procedure cache (APPSERVER_DEVDEV_TSP,7040024 bytes,10000 procs) initialized by another process
    C  Connected to db server : [appserver], dbname: DEV, dbuser: dev
    B  Connection 0 opened
    B  Wp  Hdl ConName              ConCnt ConState     TX  PRM RCT Date     Time
    B  000 000 R/3                  000000 ACTIVE       NO  YES NO  20071119 184034
    M  db_connect o.k.
    I  MtxInit: 22 0 0
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 22 initializing ....
    X  Using implementation std
    X  ES initialized.
    B  db_con_shm_ini:  WP_ID = 22, WP_CNT = 31
    B  dbtbxbuf: Buffer TABL  (addr: 0BA400C8, size: 6000000, end: 0BFF8E48)
    B  dbexpbuf: Buffer EIBUF (addr: 0C2100D0, size: 4194304, end: 0C6100D0)
    B  dbexpbuf: Buffer CUA   (addr: 0C6200D0, size: 3072000, end: 0C90E0D0)
    M  rdisp/reinitialize_code_page -> 0
    M  rdisp/hold_keeps_time_slice -> 0
    M  rdisp/no_hooks_for_sqlbreak -> 0
    M  PfReadDBVersion: use compatibility mode for stat-files
    M  CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    S  *** init spool environment
    S  initialize debug system
    T  Stack direction is downwards.
    T  debug control: prepare exclude for printer trace
    T  new memory block 07D86BF0
    S  spool kernel/ddic check: Ok
    S  using table TSP02FX for frontend printing
    S  1 spool work process(es) found
    S  frontend print via spool service enabled
    S  printer list size is 150
    S  printer type list size is 50
    S  queue size (profile)   = 300
    S  hostspool list size = 3000
    S  option list size is 30
    S      found processing queue enabled
    S  found spool memory service RSPO-RCLOCKS at 0D760098
    S  doing lock recovery
    S  setting server cache root
    S  found spool memory service RSPO-SERVERCACHE at 0D760798
    S    using messages for server info
    S  immediate print option for implicitely closed spool requests is disabled

    A  -PXA--
    A  PXA INITIALIZATION
    A  Attached to PXA (address 28230040, size 154674K)
    A  abap/pxa = shared
    A  PXA INITIALIZATION FINISHED
    A  -PXA--

    A  RFC rfc/dump_client_info not set, use default -1
    A  RFC rfc/bc_ignore_thcmaccp_retcode not set, use default value: 0
    A  RFC rfc/bc_no_gui_cp_refresh not set, use default value: 0
    A  RFC Method> initialize RemObjDriver for ABAP Objects
    M  SsfSapSecin: putenv(SECUDIR=D:\usr\sap\DEV\DVEBMGS00\sec): ok

    M  =================================================
    M  === SSF INITIALIZATION:
    M  ===...SSF Security Toolkit name SAPSECULIB .
    M  ===...SSF trace level is 0 .
    M  ===...SSF library is D:\usr\sap\DEV\SYS\exe\run\sapsecu.dll .
    M  ===...SSF hash algorithm is SHA1 .
    M  ===...SSF symmetric encryption algorithm is DES-CBC .
    M  ===...sucessfully completed.
    M  =================================================
    E  Replication is disabled
    E  EnqCcInitialize: local lock table initialization o.k.
    E  EnqId_SuppressIpc: local EnqId initialization o.k.
    E  EnqCcInitialize: local enqueue client init o.k.
    M  ThCheckPrevUser: clean previous user T22/U23/M0/I2

    M  Modeinfo for User T22/M0

    M    tm state = 2
    M    uid = 23
    M    term type = 0x0
    M    display = 0x0
    M    cpic_no = 0
    M    cpic_idx = -1
    M    usr = >DDIC        <
    M    terminal = >                    <
    M    client = >000<
    M    conversation_ID = >        <
    M    appc_tm_conv_idx = -1
    M    blockSoftCanel = NO
    M    imode = 2
    M    mode state = 0x42
    M    mode clean_state = 1
    M    th_errno = 11
    M    rollout_reason = 0
    M    last_rollout_level = 7
    M    async_receives = 0
    M    cpic_receive = 0
    M    em handle = 1
    M    roll state = 3
    M    abap state = 3
    M    em state = 2
    M    eg state = 1
    M    spa state = 3
    M    enq state = 0
    M    next hook = T-1/U-1/M255
    M    master hook = T-1/U-1/M255
    M    slave hook = T-1/U-1/M255
    M    debug_tid = -1
    M    mode type = 0x1
    M    debug = 0
    M    tcode = >                    <
    M    client conversation_ID = >        <
    M    server conversation_ID = >        <
    M    lock = 0
    M    max enq infos = 0
    M    act enq infos = 0
    M    em_hyper_hdl = NULL

    M  ThCheckPrevUser: reset spa state for user T22/U23/M0
    M  LOCK WP ca_blk 216
    M  LOCK APPC ca_blk 72
    M  set task type ZTTABTC
    M  ThCleanPrevUser: clean U23 T22 M0 I2 clean state DP_DEFAULT_CLEANING from previous wp
    M  ThCleanPrevUser: saved MODE_REC = 40
    M  PfStatDisconnect: disconnect statistics
    M  ThCheckEmState: check ATTACH for em hdl 1
    M  ThCheckEmState: call EmContextAttach (em_hdl=1)
    M  ThIAMDel: delete tid/mode 22/0 (th_errno 23, release 1)
    M  ThTSCancel: set T22 M0 in status MODE_CANCEL
    M  ThIDeleteMode (22, 0, 3, ><, 0, 255, TRUE)
    M  ThIDeleteMode: no modes found ..
    M    no sub modes
    M  ThSUsrDel: delete system user
    M  ThSUsrDel: clean batch after error (23)
    C  The IRow interface is supported by this OLEDB provider
    M  ThScheduler: server name: appserver_DEV_00   
    M  ThISendMsg: send message (5) to server (wp) with name >appserver_DEV_00    <
    M  ThISndName: send to name: >appserver_DEV_00    <
    M  ThISend: (tm/user/type = 22/DDIC        /0x2000, mode_deleted=0)
    M    MSG_NAME
    M  ThRqOutCheck: o.k.
    M  abap strategy ROLL / O.K.
    M  ThNewWpStat: new state of T22/M0 = 0xc2
    M  ThISend: new wp stat: 0x0
    M  Adresse   Offset  Message by name (one way)
    M  -
    M  0639A0C0  000000  00000000 05000000 255f4556 454e545f |........%%_EVENT_|
    M  0639A0D0  000016  53434845 44554c45 52002020 20202020 |SCHEDULER.      |
    M  -
    M  ThMkReq: send output to canceled mode
    M  make DISP owner of wp_ca_blk 216
    M  put request into queue (reqtype 0, prio LOW, rq_id 158)
    M  -OUT- sender_id    WORK_PROCESS   tid  22    wp_ca_blk   216     wp_id 22
    M  -OUT- action    SEND_MSG_ONEWAY   uid  23    appc_ca_blk -1      type  NOWP
    M  -OUT- new_stat  NO_CHANGE         mode 0     len         268     rq_id 158
    M  -OUT- forward   DIA              
    M  -OUT- req_info  CANCELMODE MSG_WITH_REQ_BUF MSG_WITH_OH
    M  NiPHostToAddr: read hostaddr 127.0.0.1 from operating system
    M  NiIHostToAddr: hostname localhost = addr 127.0.0.1
    M  NiPServToNo: read servno 3200 from operating system
    M  NiIServToNo: servicename sapdp00 = port 0C.80/3200
    M  NiCreateHandle: state nihandle-socket 1-1024 NI_INITIAL
    M  NiIDgSend: init datagram send_handle 1-1024
    M  CPU byte order: little endian, reverse network, low val .. high val
    M  NiIDgSend: send dgram to: host 127.0.0.1, port 0C.80/3200, fam 2 (low adr..high adr)
    M  LOCK WP ca_blk 217
    M  ThResFree: free resources of U23 M0 I2 (normal mode, complete free) at level 3, db_action=TH_DB_NO_ACTION
    M  ThResFree: reset spa state for user T22/U23/M0
    M  ThCallHooks: call hook >SpoolHandleHook< for event SOS_HOOK_BEFORE_SESSION_CANCEL
    M  PfStatDisconnect: disconnect statistics
    M  ThDealComm: T22/U23/M0 has no cpic conns
    M  ***LOG R47=> ThResFree, delete (001023) [thxxmode.c   1099]
    M  ThGetEnqInfo: no enq info found
    M  ThVBIRollBack: initialize TH-hooks
    M  SosRegisterHook: add hook >ThVBICmRbHook< for event AFTER_COMMIT
    M  SosRegisterHook: add hook >ThVBICmRbHook< for event AFTER_ROLLBACK
    M  ThRmLocQueue: no async request found
    M  ThInvalidateRfcCliId: invalidate RfcCliId at 5DA68C48
    M  ThRmFree:  cleanup resources for T22 M0
    M  RmCleanUpResources2: hdr/tbl/ext_tbl = 04037058/00000000/0
    M  RmCleanUpResources2: no resources registered
    M  ThRmFree: reset eg state of T22 M0
    M  ThRmFree cleanup resources for T22
    M  RmCleanUpResources2: hdr/tbl/ext_tbl = 04037BB8/5DA68D20/1
    M  RmCleanUpResources2: call resource handler 0047A981 for key/entry 3/0
    M  ThFreeRollMemory: release eg adr 5DA68C48 for T22
    M  RmInitResourceTblEntry: free resource description  at 5DA693A8 (ext_tbl=1)
    M  ThFreeRollMemory: release eg adr 5DA693A8 for T22
    M  RmIFreeTable: free resource table at 5DA68D20 (ext_tbl=1)
    M  ThFreeRollMemory: release eg adr 5DA68D20 for T22
    M  ThRmFree: reset eg state of T22
    M  ThEmFree: call EmContextDelete (em_hdl=1)
    M  ThResFree: save spa pointer 7FDCE7E0 and install dummy spa
    M  ThCheckComOrRb (event=1, full_commit=1)
    M  ThCallHooks: call hook >ASTAT-collect commit handling< for event BEFORE_COMMIT
    M  ThCallHooks: call hook >rsts_before_commit< for event BEFORE_COMMIT
    M  ThCheckComOrRb (event=3, full_commit=1)
    M  ThCallHooks: call hook >ThVBICmRbHook< for event AFTER_COMMIT
    M  ThVBICmRbHook: called for commit
    M  ThCallHooks: call hook >ThNoClearPrevErr< for event AFTER_COMMIT
    M  ThNoClearPrevErr: clear prev no err
    M  ThCallHooks: call hook >rsts_after_commit< for event AFTER_COMMIT
    M  ThCallHooks: call hook >SpoolHandleHook< for event AFTER_COMMIT
    M  ThISend: (tm/user/type = 22/SAPSYS      /0x41, mode_deleted=1)
    M    TASK_SWITCH
    M    DISP
    M  ThRqOutCheck: o.k.
    M  ThISend: allowed rq_type of T22/M0 = 0
    M  abap strategy ROLL / O.K.
    M  ThNewWpStat: new MODE_REC = 40
    M  ThNewWpStat: new state of T22/M0 = 0xc1
    M  ThISend: new wp stat: 0x2
    M  ThMkReq: send output to canceled mode
    M  ThISend: complete stat record
    M  make DISP owner of wp_ca_blk 217
    M  put request into queue (reqtype 0, prio LOW, rq_id 159)
    M  -OUT- sender_id    WORK_PROCESS   tid  22    wp_ca_blk   217     wp_id 22
    M  -OUT- action    SEND_TO_DP        uid  23    appc_ca_blk -1      type  NOWP
    M  -OUT- new_stat  WP_WAIT           mode 0     len         8       rq_id 159
    M  -OUT- req_info  CANCELMODE
    M  NiIDgSend: send dgram to: host 127.0.0.1, port 0C.80/3200, fam 2 (low adr..high adr)
    M  REL APPC ca_blk 72
    M  ThISend: th_wp_waits_for_rq = TH_WP_WAITS_FOR_RQPfClearAllRec: clear statistic area
    M  PfStatDisconnect: disconnect statistics
    M  ThSysUsrCheck(1,1): check system user T22/U23/M0
    M  ThSysUsrCheck: clear T22
    M  DpITmSlotClear: clear slot 22
    M  DpListRemove: elem 22 not in tmadm_free_list
    M  DpListInsert: elem 22 already in tmadm_inuse_list
    M  rdisp/wp_auto_restart = 0
    M  rdisp/wp_abap_restart = 0
    M  ThSetThToolParam : restartable_wp[0] = FALSE
    M  ThSetThToolParam : restartable_wp[1] = TRUE
    M  ThSetThToolParam : restartable_wp[2] = TRUE
    M  ThSetThToolParam : restartable_wp[3] = FALSE
    M  ThSetThToolParam : restartable_wp[4] = TRUE
    M  ThSetThToolParam : restartable_wp[5] = TRUE
    M  ThSetThToolParam : restartable_wp[6] = TRUE
    M  ThCallHooks: call hook >HttpResetPtr< for event BEFORE_TASK_SWITCH
    M  TskhLoop: switch back to normal tracel level 1

    B Mon Nov 19 20:15:39 2007
    B  dbtran INFO (init_connection '<DEFAULT>' [MSSQL:46D.00]):
    B   max_blocking_factor =  50,  max_in_blocking_factor      = 255,
    B   min_blocking_factor =   5,  min_in_blocking_factor      =  10,
    B   prefer_union_all    =   1,  prefer_union_for_select_all =   0,
    B   prefer_fix_blocking =   0,  prefer_in_itab_opt          =   0,
    B   convert AVG         =   1,  alias table FUPD            =   0,
    B   escape_as_literal   =   0,  opt GE LE to BETWEEN        =   0,
    B   select *            = 0x0,
    B   use_hints           = abap->1, dbif->1, upto->0, rule_in->0,
    B                         rule_fae->0, concat_fae->0, concat_fae_or->0
    M  call semaphore clean-up function ...
    M  ***LOG Q0E=> DpSigGenHandler, Exception (c0000094) [dpnttool.c   390]
    M  -
    C-STACK -
    SAP (R) - R/3(TM) Callstack, Version 1.0
    Copyright (C) SAP AG. All rights reserved.
    Application exception occurred:
    Exception : c0000094 (Divide by zero)
    App       : disp+work.EXE (pid=432)
    When      : 11/19/2007 20:15:39.822
    Threads   : 2
    Computer Name       : APPSERVER
    User Name           : SAPServiceDEV
    Number of Processors: 4
    Processor Type: x86 Family 6 Model 15 Stepping 6
    Windows Version     : 5.2 Current Build: 3790
    Stack Dump for Thread Id 10c8
    eax=0000a000 ebx=00000000 ecx=00000000 edx=00000000 esi=03f48b44 edi=00000000
    eip=10032cab esp=031688b0 ebp=031688dc iopl=0         nv up ei pl nz na po nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010206
    function : <nosymbols>
            10032c92 807d1400         cmp     byte ptr [ebp+0x14],0x0      ss:062cfc7a=00
            10032c96 7422             jz      dsql_db_init+0x30d0a (10032cba)
            10032c98 394e08           cmp     [esi+0x8],ecx          ds:070afee2=????????
            10032c9b 751d             jnz     dsql_db_init+0x30d0a (10032cba)
            10032c9d 8d047f           lea     eax,[edi+edi*2]        ds:00000000=????????
            10032ca0 c1e003           shl     eax,0x3
            10032ca3 8bd0             mov     edx,eax
            10032ca5 8b4518           mov     eax,[ebp+0x18]         ss:062cfc7a=00000000
            10032ca8 2bc2             sub     eax,edx
            10032caa 99               cdq
    FAULT-> 10032cab f7fb             idiv    ebx
            10032cad 0fbfd0           movsx   edx,ax
            10032cb0 eb0b             jmp     dsql_db_init+0x30d0d (10032cbd)
            10032cb2 6a02             push    0x2
            10032cb4 58               pop     eax
            10032cb5 e9df040000       jmp     dsql_db_init+0x311e9 (10033199)
            10032cba 6a01             push    0x1
            10032cbc 5a               pop     edx
            10032cbd 803dd95a1d1000                                        ds:101d5ad9=00
                                      cmp  byte ptr [EndFastload+0x19644f (101d5ad9)],0x0
            10032cc4 7409             jz      dsql_db_init+0x30d1f (10032ccf)
            10032cc6 833dac591d1006                                  ds:101d59ac=00000006
                                      cmp dword ptr [EndFastload+0x196322 (101d59ac)],0x6
            10032ccd 7416             jz      dsql_db_init+0x30d35 (10032ce5)
    --> Stack Back Trace <--
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
    031688dc 1000d5df 00000000 018b76f0 00000000 00000001 dbmssslib!dsql_db_init
    03168978 10001cb3 03f41f80 018b8ca8 018b76f0 00000035 dbmssslib!dsql_db_init
    031689c4 008f4765 010056b8 00000035 00000001 018b8ca8 dbmssslib!DbSlVersion
    031689f4 008f10a9 00000001 00000000 3f26827c 00000000 disp+work!<nosymbols>
    03168a74 008f05ff 00000000 3f26827c 00000000 3f2682ec disp+work!<nosymbols>
    03168a9c 008a2873 00000000 018b769c 3f2682ec 00000000 disp+work!<nosymbols>
    03168b48 0089ef88 00000000 3f26827c 3f2682ec 03168d0c disp+work!<nosymbols>
    03168b5c 008a1714 3f261654 00000000 00000000 00000000 disp+work!<nosymbols>
    03168d0c 0089d4ec 00000000 3f26827c 3f2682ec 00000000 disp+work!<nosymbols>
    03168ea0 0061f5f7 00000000 3f26827c 3f2682ec ffffffff disp+work!<nosymbols>
    03168edc 00616212 00000007 03168ef8 0316f130 00000000 disp+work!<nosymbols>
    03168f1c 005bf6a0 00000008 29339f2c 00000000 3f2918e0 disp+work!<nosymbols>
    0316f140 00629e43 00000000 00000000 0316f170 00000001 disp+work!<nosymbols>
    00e5bc44 00000000 49444553 00000000 4f525f25 0000544f disp+work!<nosymbols>
    Stack Dump for Thread Id 10c4
    eax=00000001 ebx=00000103 ecx=7c829f59 edx=00380000 esi=00000000 edi=00000000
    eip=7c8285ec esp=054ffc74 ebp=054ffcb8 iopl=0         nv up ei pl zr na po nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246
    function : KiFastSystemCallRet
            7c8285ec c3               ret
            7c8285ed 8da42400000000   lea     esp,[esp]              ss:054ffc74=7c8270fb
            7c8285f4 8d642400         lea     esp,[esp]              ss:08667013=00000000
    --> Stack Back Trace <--
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
    054ffcb8 00c3475c 00000688 00000000 00000000 03e7bdf0 ntdll!KiFastSystemCallRet
    054fff84 77bcb530 00000000 00000000 00000000 03e7be88 disp+work!<nosymbols>
    054fffb8 77e64829 03e7be88 00000000 00000000 03e7be88 MSVCRT!endthreadex
    054fffec 00000000 77bcb4bc 03e7be88 00000000 00000000 kernel32!GetModuleHandleA
    M  -
    M  call clean-up function ...
    M  in_ThErrHandle: 1
    M  ThSigHandler: signal (step 4, th_errno 11, action 4)

    M  Info for wp 22

    M    stat = 4
    M    reqtype = 4
    M    act_reqtype = 4
    M    tid = 22
    M    mode = 0
    M    len = 24
    M    rq_id = 1131
    M    rq_source = 1
    M    rq_info = 8576
    M    last_tid = 22
    M    last_mode = 0
    M    int_checked_resource = 0
    M    ext_checked_resource = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  Modeinfo for User T22/M0

    M    tm state = 2
    M    uid = 23
    M    term type = 0x0
    M    display = 0x0
    M    cpic_no = 0
    M    cpic_idx = -1
    M    usr = >DDIC        <
    M    terminal = >                    <
    M    client = >000<
    M    conversation_ID = >        <
    M    appc_tm_conv_idx = -1
    M    blockSoftCanel = NO
    M    imode = 2
    M    mode state = 0x42
    M    mode clean_state = 1
    M    th_errno = 11
    M    rollout_reason = 0
    M    last_rollout_level = 7
    M    async_receives = 0
    M    cpic_receive = 0
    M    em handle = 1
    M    roll state = 4
    M    abap state = 4
    M    em state = 3
    M    eg state = 1
    M    spa state = 3
    M    enq state = 0
    M    next hook = T-1/U-1/M255
    M    master hook = T-1/U-1/M255
    M    slave hook = T-1/U-1/M255
    M    debug_tid = -1
    M    mode type = 0x1
    M    debug = 0
    M    tcode = >                    <
    M    client conversation_ID = >        <
    M    server conversation_ID = >        <
    M    lock = 0
    M    max enq infos = 0
    M    act enq infos = 0
    M    em_hyper_hdl = NULL


    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server appserver_DEV_00 on host appserver (wp 22)
    M  *  ERROR       ThSigHandler: signal
    M  *
    M  *  TIME        Mon Nov 19 20:15:39 2007
    M  *  RELEASE     46D
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          11
    M  *  MODULE      thxxhead.c
    M  *  LINE        8628
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  Entering TH_CALL_HOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  Entering ThSetStatError
    M  *** WARNING => sql break failed (-1)
    M  ThErrHandle: don't try rollback again
    M  ThErrHandle: call ThrCoreInfo
    A  ** RABAX: level LEV_RX_ROLLBACK entered.
    A  ** RABAX: level LEV_RX_ROLLBACK completed.
    A  ** RABAX: level LEV_RX_DB_ALIVE entered.
    A  ** RABAX: level LEV_RX_DB_ALIVE completed.
    A  ** RABAX: level LEV_RX_HOOKS entered.
    A  ** RABAX: level LEV_RX_HOOKS completed.
    A  ** RABAX: level LEV_RX_STANDARD entered.
    C  HandleOledbError [RpcExec,line 22204]: Error/Message: (err 8144, sev 0), Procedure or function ##Y8APPSERVEDEV00000054000000000014183031 has too many arguments specified.
    C  RpcExec failed.  HR 80040e14 DBSL retcode 99. proc: [##Y8APPSERVEDEV00000054000000000014183031]
    C  retry with SQL statement string
    A  ** RABAX: level LEV_RX_STANDARD completed.
    A  ** RABAX: level LEV_RX_C_STACK entered.
    A  ** RABAX: level LEV_RX_C_STACK completed.
    A  ** RABAX: level LEV_RX_MEMO_CHECK entered.
    A  ** RABAX: level LEV_RX_MEMO_CHECK completed.
    A  ** RABAX: level LEV_RX_INTERFACES entered.
    A  ** RABAX: level LEV_RX_INTERFACES completed.
    A  ** RABAX: level LEV_RX_GET_MESS entered.
    A  ** RABAX: level LEV_RX_GET_MESS completed.
    A  ** RABAX: level LEV_RX_INIT_SNAP entered.
    A  ** RABAX: level LEV_RX_INIT_SNAP completed.
    A  ** RABAX: level LEV_RX_WRITE_SYSLOG entered.
    A  ** RABAX: level LEV_RX_WRITE_SYSLOG completed.
    A  ** RABAX: level LEV_RX_WRITE_SNAP entered.
    A  ** RABAX: level LEV_SN_END completed.
    A  ** RABAX: level LEV_RX_SET_ALERT entered.
    A  ** RABAX: level LEV_RX_SET_ALERT completed.
    A  ** RABAX: level LEV_RX_COMMIT entered.
    A  ** RABAX: level LEV_RX_COMMIT completed.
    A  ** RABAX: level LEV_RX_SNAP_SYSLOG entered.
    A  ** RABAX: level LEV_RX_SNAP_SYSLOG completed.
    A  ** RABAX: level LEV_RX_RESET_PROGS entered.
    A  ** RABAX: level LEV_RX_RESET_PROGS completed.
    A  ** RABAX: level LEV_RX_STDERR entered.
    A  ** RABAX: level LEV_RX_STDERR completed.
    A  ** RABAX: level LEV_RX_RFC_ERROR entered.
    A  ** RABAX: level LEV_RX_RFC_ERROR completed.
    A  ** RABAX: level LEV_RX_RFC_CLOSE entered.
    A  ** RABAX: level LEV_RX_RFC_CLOSE completed.
    A  ** RABAX: level LEV_RX_IMC_ERROR entered.
    A  ** RABAX: level LEV_RX_IMC_ERROR completed.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE entered.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE completed.
    A  ** RABAX: level LEV_RX_ERROR_SAVE entered.
    A  ** RABAX: level LEV_RX_ERROR_SAVE completed.
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
    A  ** RABAX: level LEV_RX_END entered.
    A  ** RABAX: level LEV_RX_END completed.
    A  ** RABAX: end RX_RETURN
    M  ThIErrHandle: Entering ThErrHdlUser
    M  ThErrHdlUser: set th_errno (11)
    M  ThErrHdlUser: save context
    B  Disconnecting from ALL connections:
    B  Wp  Hdl ConName              ConCnt ConState     TX  PRM RCT Date     Time
    B  022 000 R/3                  000000 ACTIVE       YES YES NO  20071119 184034
    B  Disconnected from connection 0
    B  statistics db_con_commit (com_total=6, com_forced=2, com_tx=2)
    B  statistics db_con_rollback (roll_total=0, roll_forced=0, roll_tx=0)
    M  ***LOG Q02=> wp_halt, WPStop (Workproc22 432) [dpnttool.c   310]
    M  return from clean-up function ...
    trc file: "dev_w22", trc level: 1, release: "46D"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Mon Nov 19 20:15:54 2007
    B  create_con (con_name=R/3)
    B  Loading DB library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll' ...
    B  Library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll' loaded
    B  Version of library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll' is "46D.00", patchlevel (0.2328)
    B  New connection 0 created
    M  relno      4640
    M  patchlevel 0
    M  patchno    2352
    M  intno      0
    M  pid        4492

    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc22 4492) [dpxxdisp.c   976]
    I  MtxInit: -2 0 0
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 22 initializing ....
    X  Using implementation std
    M  <ES> Memory Reset enabled
    X  ES initialized.
    M  calling db_connect ...
    C  Thank You for using the SLOLEDB-interface
    C  Using dynamic link library 'D:\usr\sap\DEV\SYS\exe\run\dbmssslib.dll'
    C  dbmssslib.dll patch info
    C    patchlevel   0
    C    patchno      2328
    C    patchcomment MSSQL: Transaction inconsistencies HOTNEWS (1067103)
    C  SQLOLEDB Provider Release:08.10.3959
    C  Using shared procedure name cache (APPSERVER_DEVDEV_MEM,1320040 bytes,10000 procs) initialized by another process
    C  Using shared TEMP procedure cache (APPSERVER_DEVDEV_TSP,7040024 bytes,10000 procs) initialized by another process
    C  Connected to db server : [appserver], dbname: DEV, dbuser: dev
    B  Connection 0 opened
    B  Wp  Hdl ConName              ConCnt ConState     TX  PRM RCT Date     Time
    B  000 000 R/3                  000000 ACTIVE       NO  YES NO  20071119 201554
    M  db_connect o.k.
    I  MtxInit: 22 0 0
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 22 initializing ....
    X  Using implementation std
    X  ES initialized.
    B  db_con_shm_ini:  WP_ID = 22, WP_CNT = 31
    B  dbtbxbuf: Buffer TABL  (addr: 0BA400C8, size: 6000000, end: 0BFF8E48)
    B  dbexpbuf: Buffer EIBUF (addr: 0C2100D0, size: 4194304, end: 0C6100D0)
    B  dbexpbuf: Buffer CUA   (addr: 0C6200D0, size: 3072000, end: 0C90E0D0)
    M  rdisp/reinitialize_code_page -> 0
    M  rdisp/hold_keeps_time_slice -> 0
    M  rdisp/no_hooks_for_sqlbreak -> 0
    M  PfReadDBVersion: use compatibility mode for stat-files
    M  CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    S  *** init spool environment
    S  initialize debug system
    T  Stack direction is downwards.
    T  debug control: prepare exclude for printer trace
    T  new memory block 07D86BF0
    S  spool kernel/ddic check: Ok
    S  using table TSP02FX for frontend printing
    S  1 spool work process(es) found
    S  frontend print via spool service enabled
    S  printer list size is 150
    S  printer type list size is 50
    S  queue size (profile)   = 300
    S  hostspool list size = 3000
    S  option list size is 30
    S      found processing queue enabled
    S  found spool memory service RSPO-RCLOCKS at 0D760098
    S  doing lock recovery
    S  setting server cache root
    S  found spool memory service RSPO-SERVERCACHE at 0D760798
    S    using messages for server info
    S  immediate print option for implicitely closed spool requests is disabled

    A  -PXA--
    A  PXA INITIALIZATION
    A  Attached to PXA (address 28230040, size 154674K)
    A  abap/pxa = shared
    A  PXA INITIALIZATION FINISHED
    A  -PXA--

    A  RFC rfc/dump_client_info not set, use default -1
    A  RFC rfc/bc_ignore_thcmaccp_retcode not set, use default value: 0
    A  RFC rfc/bc_no_gui_cp_refresh not set, use default value: 0
    A  RFC Method> initialize RemObjDriver for ABAP Objects
    M  SsfSapSecin: putenv(SECUDIR=D:\usr\sap\DEV\DVEBMGS00\sec): ok

    M  =================================================
    M  === SSF INITIALIZATION:
    M  ===...SSF Security Toolkit name SAPSECULIB .
    M  ===...SSF trace level is 0 .
    M  ===...SSF library is D:\usr\sap\DEV\SYS\exe\run\sapsecu.dll .
    M  ===...SSF hash algorithm is SHA1 .
    M  ===...SSF symmetric encryption algorithm is DES-CBC .
    M  ===...sucessfully completed.
    M  =================================================
    E  Replication is disabled
    E  EnqCcInitialize: local lock table initialization o.k.
    E  EnqId_SuppressIpc: local EnqId initialization o.k.
    E  EnqCcInitialize: local enqueue client init o.k.
    M  ThCheckPrevUser: clean previous user T22/U23/M0/I2

    M  Modeinfo for User T22/M0

    M    tm state = 2
    M    uid = 23
    M    term type = 0x0
    M    display = 0x0
    M    cpic_no = 0
    M    cpic_idx = -1
    M    usr = >DDIC        <
    M    terminal = >                    <
    M    client = >000<
    M    conversation_ID = >        <
    M    appc_tm_conv_idx = -1
    M    blockSoftCanel = NO
    M    imode = 2
    M    mode state = 0x42
    M    mode clean_state = 1
    M    th_errno = 11
    M    rollout_reason = 0
    M    last_rollout_level = 7
    M    async_receives = 0
    M    cpic_receive = 0
    M    em handle = 1
    M    roll state = 3
    M    abap state = 3
    M    em state = 2
    M    eg state = 1
    M    spa state = 3
    M    enq state = 0
    M    next hook = T-1/U-1/M255
    M    master hook = T-1/U-1/M255
    M    slave hook = T-1/U-1/M255
    M    debug_tid = -1
    M    mode type = 0x1
    M    debug = 0
    M    tcode = >                    <
    M    client conversation_ID = >        <
    M    server conversation_ID = >        <
    M    lock = 0
    M    max enq infos = 0
    M    act enq infos = 0
    M    em_hyper_hdl = NULL

    M  ThCheckPrevUser: reset spa state for user T22/U23/M0
    M  LOCK WP ca_blk 216
    M  LOCK APPC ca_blk 72
    M  set task type ZTTABTC
    M  ThCleanPrevUser: clean U23 T22 M0 I2 clean state DP_DEFAULT_CLEANING from previous wp
    M  ThCleanPrevUser: saved MODE_REC = 40
    M  PfStatDisconnect: disconnect statistics
    M  ThCheckEmState: check ATTACH for em hdl 1
    M  ThCheckEmState: call EmContextAttach (em_hdl=1)
    M  ThIAMDel: delete tid/mode 22/0 (th_errno 23, release 1)
    M  ThTSCancel: set T22 M0 in status MODE_CANCEL
    M  ThIDeleteMode (22, 0, 3, ><, 0, 255, TRUE)
    M  ThIDeleteMode: no modes found ..
    M    no sub modes
    M  ThSUsrDel: delete system user
    M  ThSUsrDel: clean batch after error (23)
    C  The IRow interface is supported by this OLEDB provider
    M  ThScheduler: server name: appserver_DEV_00   
    M  ThISendMsg: send message (5) to server (wp) with name >appserver_DEV_00    <
    M  ThISndName: send to name: >appserver_DEV_00    <
    M  ThISend: (tm/user/type = 22/DDIC        /0x2000, mode_deleted=0)
    M    MSG_NAME
    M  ThRqOutCheck: o.k.
    M  abap strategy ROLL / O.K.
    M  ThNewWpStat: new state of T22/M0 = 0xc2
    M  ThISend: new wp stat: 0x0
    M  Adresse   Offset  Message by name (one way)
    M  -
    M  0639A0C0  000000  00000000 05000000 255f4556 454e545f |........%%_EVENT_|
    M  0639A0D0  000016  53434845 44554c45 52002020 20202020 |SCHEDULER.      |
    M  -
    M  ThMkReq: send output to canceled mode
    M  make DISP owner of wp_ca_blk 216
    M  put request into queue (reqtype 0, prio LOW, rq_id 1165)
    M  -OUT- sender_id    WORK_PROCESS   tid  22    wp_ca_blk   216     wp_id 22
    M  -OUT- action    SEND_MSG_ONEWAY   uid  23    appc_ca_blk -1      type  NOWP
    M  -OUT- new_stat  NO_CHANGE         mode 0     len         268     rq_id 1165
    M  -OUT- forward   DIA              
    M  -OUT- req_info  CANCELMODE MSG_WITH_REQ_BUF MSG_WITH_OH
    M  NiPHostToAddr: read hostaddr 127.0.0.1 from operating system
    M  NiIHostToAddr: hostname localhost = addr 127.0.0.1
    M  NiPServToNo: read servno 3200 from operating system
    M  NiIServToNo: servicename sapdp00 = port 0C.80/3200
    M  NiCreateHandle: state nihandle-socket 1-1024 NI_INITIAL
    M  NiIDgSend: init datagram send_handle 1-1024
    M  CPU byte order: little endian, reverse network, low val .. high val
    M  NiIDgSend: send dgram to: host 127.0.0.1, port 0C.80/3200, fam 2 (low adr..high adr)
    M  LOCK WP ca_blk 217
    M  ThResFree: free resources of U23 M0 I2 (normal mode, complete free) at level 3, db_action=TH_DB_NO_ACTION
    M  ThResFree: reset spa state for user T22/U23/M0
    M  ThCallHooks: call hook >SpoolHandleHook< for event SOS_HOOK_BEFORE_SESSION_CANCEL
    M  PfStatDisconnect: disconnect statistics
    M  ThDealComm: T22/U23/M0 has no cpic conns
    M  ***LOG R47=> ThResFree, delete (001023) [thxxmode.c   1099]
    M  ThGetEnqInfo: no enq info found
    M  ThVBIRollBack: initialize TH-hooks
    M  SosRegisterHook: add hook >ThVBICmRbHook< for event AFTER_COMMIT
    M  SosRegisterHook: add hook >ThVBICmRbHook< for event AFTER_ROLLBACK
    M  ThRmLocQueue: no async request found
    M  ThInvalidateRfcCliId: invalidate RfcCliId at 5DA68C48
    M  ThRmFree:  cleanup resources for T22 M0
    M  RmCleanUpResources2: hdr/tbl/ext_tbl = 04037058/00000000/0
    M  RmCleanUpResources2: no resources registered
    M  ThRmFree: reset eg state of T22 M0
    M  ThRmFree cleanup resources for T22
    M  RmCleanUpResources2: hdr/tbl/ext_tbl = 04037BB8/5DA68D20/1
    M  RmCleanUpResources2: call resource handler 0047A981 for key/entry 3/0
    M  ThFreeRollMemory: release eg adr 5DA68C48 for T22
    M  RmInitResourceTblEntry: free resource description  at 5DA693A8 (ext_tbl=1)
    M  ThFreeRollMemory: release eg adr 5DA693A8 for T22
    M  RmIFreeTable: free resource table at 5DA68D20 (ext_tbl=1)
    M  ThFreeRollMemory: release eg adr 5DA68D20 for T22
    M  ThRmFree: reset eg state of T22
    M  ThEmFree: call EmContextDelete (em_hdl=1)
    M  ThResFree: save spa pointer 7FDCE7E0 and install dummy spa
    M  ThCheckComOrRb (event=1, full_commit=1)
    M  ThCallHooks: call hook >ASTAT-collect commit handling< for event BEFORE_COMMIT
    M  ThCallHooks: call hook >rsts_before_commit< for event BEFORE_COMMIT
    M  ThCheckComOrRb (event=3, full_commit=1)
    M  ThCallHooks: call hook >ThVBICmRbHook< for event AFTER_COMMIT
    M  ThVBICmRbHook: called for commit
    M  ThCallHooks: call hook >ThNoClearPrevErr< for event AFTER_COMMIT
    M  ThNoClearPrevErr: clear prev no err
    M  ThCallHooks: call hook >rsts_after_commit< for event AFTER_COMMIT
    M  ThCallHooks: call hook >SpoolHandleHook< for event AFTER_COMMIT
    M  ThISend: (tm/user/type = 22/SAPSYS      /0x41, mode_deleted=1)
    M    TASK_SWITCH
    M    DISP
    M  ThRqOutCheck: o.k.
    M  ThISend: allowed rq_type of T22/M0 = 0
    M  abap strategy ROLL / O.K.
    M  ThNewWpStat: new MODE_REC = 40
    M  ThNewWpStat: new state of T22/M0 = 0xc1
    M  ThISend: new wp stat: 0x2
    M  ThMkReq: send output to canceled mode
    M  ThISend: complete stat record
    M  make DISP owner of wp_ca_blk 217
    M  put request into queue (reqtype 0, prio LOW, rq_id 1166)
    M  -OUT- sender_id    WORK_PROCESS   tid  22    wp_ca_blk   217     wp_id 22
    M  -OUT- action    SEND_TO_DP        uid  23    appc_ca_blk -1      type  NOWP
    M  -OUT- new_stat  WP_WAIT           mode 0     len         8       rq_id 1166
    M  -OUT- req_info  CANCELMODE
    M  NiIDgSend: send dgram to: host 127.0.0.1, port 0C.80/3200, fam 2 (low adr..high adr)
    M

  • Segment fault (Core dump)

    Hi
    when i run the following Pro*c file in Unix Environment im getting the SEGMENTATION FAULT(CORE DUMP) error. I used DBX to debug the code. I couldnt find out the proper reason for this error form the dbx output.
    This is the output i got from DBX.
    *signal SEGV (no mapping at the fault address) in _doprnt at 0xfb98736c*
    *0xfb98736c: _doprnt+0x2798:     stb     %o0, [%o1]*
    I did the showmemuse and show leaks, the output for this commands :
    (dbx) showmemuse
    Checking for memory use...
    Blocks in use report (blocks in use: 575 total size: 328086 bytes)
    Total % of Num of Avg Allocation call stack
    Size All Blocks Size
    ======= ==== ====== ====== =======================================
    134876 41% 30 4495 kpummapg < kghgex
    18098 5% 1 18098 lxldlbb < lxlinit < kpummpin < kpupin < sqgctx < sqgrct < sqlcmex < sqlcxt
    16552 5% 4 4138 kogmapg < kghgex
    16516 5% 4 4129 kogmapg < kogmasg
    12288 3% 6 2048 nlhtnsl < nlhthnew
    10350 3% 5 2070 calloc < nsbGetBFS
    9688 2% 1 9688 kouogini < kouoini < kpuinit0 < kpuinit < sqgctx < sqgrct < sqlcmex < sqlcxt
    8200 2% 1 8200 findbuf < doprnt < _fprintf < main
    8120 2% 4 2030 sqlrlc < sqlcopydfn
    8080 2% 1 8080 kpuinit0 < kpuinit < sqgctx < sqgrct < sqlcmex < sqlcxt < main
    7168 2% 1 7168 calloc < nsgbliuc < nsgblini < niotns < nigcall < osncon < kpuadef < upiini
    7168 2% 3 2389 lxldlod < lxdlobj
    5976 1% 4 1494 sqlrlc < sqlcopydfn
    4640 1% 1 4640 sqlrlc < sqldrl < sqlexp < sqlcmex < sqlcxt < get_pub_dates < main
    4640 1% 1 4640 sqlrlc < sqlbrl < sqlexp < sqlcmex < sqlcxt < get_pub_dates < main
    4128 1% 1 4128 calloc < nsgbliuc < nsgblini < niotns < nigcall < osncon < kpuadef < upiini
    4024 1% 1 4024 sqlrlc < sqlbrl < sqlexp < sqlcmex < sqlcxt < get_pub_dates < main
    3408 1% 1 3408 sqlrlc < sqldrl < sqlexp < sqlcmex < sqlcxt < get_pub_dates < main
    2452 <1% 8 306 calloc < nsmal
    2156 <1% 7 308 calloc < nlemfins
    (dbx) showleaks
    Checking for memory leaks...
    Actual leaks report (actual leaks: 1 total size: 30 bytes)
    Total Num of Leaked Allocation call stack
    Size Blocks Block
    Address
    ====== ====== ========== =======================================
    30 1 0x9c9c8 getOutFileName < main
    Possible leaks report (possible leaks: 0 total size: 0 bytes)
    i know its because of Pad pointer and something related to Pointer or array overflow. But i couldnt find out where exactly happening....
    Following is my Code, please help me to find out the error and what i need to change in my code:
    #ifndef ORA_PROC
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <time.h>
    #include <ctype.h>
    #include <math.h>
    #else
    typedef struct FILE FILE;
    #endif
    /*** Added by TCS Begins ***/
    char getOutFileName(char );
    char getEnvVar(char );
    void prepare_declare_oracle_cursors();
    void get_calendar_dates();
    void get_issues();
    void get_master_cusip_no();
    void get_run_date_finish();
    void get_payments();
    int get_pub_dates();
    void get_rights();
    void get_s_h_meetings();
    void get_special_codes();
    void get_agents();
    void get_currency();
    void get_payment_codes();
    void get_issue_codes();
    void get_standard_footnotes();
    void get_index_codes();
    void get_exchanges();
    void get_tax_codes();
    void get_tenders();
    int check_if_holiday(int );
    void sql_error(int , int , char *);
    void login_error();
    void no_pub_dates();
    void no_cal_dates();
    void no_finish_date();
    void save_payment_footnote(char , char [3],int , char );
    void save_issue_footnote(char );
    int print_footnotes();
    int print_foreign_tax();
    int get_partial_run_time();
    void save_rght_footnotes();
    int print_supplimental();
    int convert_tender_price(char *);
    void pad_s_h_meetings();
    int strip_out_codes(char *);
    char *getSqlLogonString();
    /**** TCS ADD Ends ****/
    EXEC SQL INCLUDE sqlca;
    EXEC SQL INCLUDE ddr_create_all_tapes.h;
    #define TRUE 1
    #define ORA_NOT_FOUND     ( sqlca.sqlcode == 1403 )
    /* The Definitions of SUCCESS and FAILURE were switched to test the
    idea that SUCCESS should be Zero and FAILURE should be Non-Zero
    #define SUCCESS 1
    #define FAILURE 0
    #define SUCCESS 0
    #define FAILURE -1
    #define SYSOK          0
    #define SYSERR          1
    #define DEBUGGING     0
    #define DEBUG_LEVEL     0
    /*     #define DEBUGGING     1
         #define DEBUG_LEVEL     2
    int          first_cal_date;
    int          footnote_count;
    int          foreign_count;
    int          last_cal_date;
    int          total_records;
    int          which_tape = 0;
    char          cusip_table_name[30];
    char          field_type_code;
    char          final_cusip_number[10];
    /**** char          footnote_text[300][300];
    char          foreign_text[60][100]; **** Commented by TCS as per the change request ****/
    /*** Added by TCS as per the change request ***/
    char          footnote_text[200][300];
    char          foreign_text[200][300];
    /*** TCS Add Ends ***/
    char          freq_type_code;
    char          init_cusip_number[10];
    char          rec_type_code;
    char          payment_where_clause[600];
    char          rights_where_clause[600];
    char          tenders_where_clause[600];
    char          s_h_meet_where_clause[600];
    char          last_run_time[18];
    char          supp_info_buffer[321];
    int          call_flag;
    int          tenders_flag;
    int          rights_flag;
    int          s_h_meet_flag;
    int          rght_foot_pos;
    double          hold_double;
    int          hold_int;
    char          hold_char[100];
    int i=0;
    FILE      *fp;
    FILE     pfp;          / this is used for a report file to correspond to
    the partial tape file */
    int main(int argc, char argv[]) / Modified by TCS */
         char          ddr_tape_name[100];
         char          ddr_partial_rpt[100];
         char          copyright_notice[100];
         long           file_position;
         char           *logname;
         /* READ IN PARAMETERS AND SET UP VARIABLES */
         memset (oracle_uid.arr, 0, sizeof(oracle_uid.arr));
    memset (oracle_pwd.arr, 0, sizeof(oracle_pwd.arr));
    strcpy (oracle_uid.arr, argv[1]);
    oracle_uid.len = strlen(oracle_uid.arr);
    strcpy (oracle_pwd.arr, argv[2]);
    oracle_pwd.len = strlen(oracle_pwd.arr);
    printf("Calling getSqlLogonString");
    logname = getSqlLogonString();
         which_tape = atoi(argv[1]);
         memset (last_run_time, 0, sizeof(last_run_time));
         if ( ( DEBUGGING ) && ( DEBUG_LEVEL > 1 ) )
         printf ("Oracle username: %s\n", oracle_uid.arr);
         printf ("Oracle password: %s\n", oracle_pwd.arr);
         printf ("Oracle username/password@database: %s\n", logname); /** Added by TCS **/
         printf ("Which Tape: %d\n", which_tape);
         hold_double = 0.0;
         hold_int = 0;
         memset (hold_char, ' ', sizeof(hold_char));
         EXEC SQL WHENEVER SQLERROR DO login_error();
    /*      EXEC SQL CONNECT :oracle_uid IDENTIFIED BY :oracle_pwd; */
         EXEC SQL CONNECT :logname ;
         printf ("Connected to ORACLE... \n");
         EXEC SQL WHENEVER SQLERROR continue;
         get_pub_dates();
         memset (ddr_tape_name, 0, sizeof(ddr_tape_name));
         memset (ddr_partial_rpt, 0, sizeof(ddr_partial_rpt));
         memset (cusip_table_name, 0, sizeof(cusip_table_name));
         memset (payment_where_clause, 0, sizeof(payment_where_clause));
         memset (rights_where_clause, 0, sizeof(rights_where_clause));
         memset (tenders_where_clause, 0, sizeof(tenders_where_clause));
         memset (s_h_meet_where_clause, 0, sizeof(s_h_meet_where_clause));
         /* SET UP VARIABLES BASED ON THE DIFFERENT FREQUENCY OF TAPE */
         switch (which_tape)
              case 0:
                   get_partial_run_time();
                   /*sprintf (ddr_tape_name,
                        "idb_tape$out:ddr_partial%1d.asc", p_count); ** Comented by TCS **/
                   sprintf (ddr_tape_name,"%s%1d.%s",getOutFileName("DDR_PARTIAL"),p_count,getEnvVar("DDR_PARTIAL_EXT_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_PARTIAL_TAPE_TABLE");
                   /*sprintf (ddr_partial_rpt,
                        "idb_tape$out:ddr_partial%1d.rpt", p_count); ** Commented by TCS **/
                   sprintf (ddr_partial_rpt,"%s%1d.%s",getOutFileName("DDR_PARTIAL"),p_count,getEnvVar("DDR_PARTIAL_EXT_RPT")); /* Added by TCS */
                   get_calendar_dates();
                   freq_type_code = '0';
                   sprintf (payment_where_clause,
    "AND PYMT_PUB_DATE IS NULL \
    AND ((PYMT_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND PYMT_ADD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (PYMT_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND PYMT_UPD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_from.arr, p_to.arr, p_from.arr, p_to.arr);
                   sprintf (rights_where_clause,
    "AND RGHT_PUB_DATE IS NULL \
    AND ((RGHT_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND RGHT_ADD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (RGHT_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND RGHT_UPD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_from.arr, p_to.arr, p_from.arr, p_to.arr);
                   sprintf (tenders_where_clause,
    "AND TNDR_PUB_DATE IS NULL \
    AND ((TNDR_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND TNDR_ADD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (TNDR_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND TNDR_UPD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_from.arr, p_to.arr, p_from.arr, p_to.arr);
                   sprintf (s_h_meet_where_clause,
    "AND SMTG_PUB_DATE IS NULL \
    AND ((SMTG_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND SMTG_ADD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (SMTG_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND SMTG_UPD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_from.arr, p_to.arr, p_from.arr, p_to.arr);
                   break;
              case 3:
    /*     PARTIAL 5     */
                   get_partial_run_time();
                   p_count = 5;
                   /**sprintf (ddr_tape_name,
                        "idb_tape$out:ddr_partial%1d.asc", p_count); ** Comented by TCS **/
                   sprintf (ddr_tape_name,"%s%1d.%s",getOutFileName("DDR_PARTIAL"),p_count,getEnvVar("DDR_PARTIAL_EXT_ASC")); /* Added by TCS */
    /* for testing only I am using seperate TABLE     */
                   /**strcpy (cusip_table_name,
                        "IDB.DDR_PARTIAL5_TAPE_TABLE"); ** Commented by TCS **/
                   strcpy (cusip_table_name,
                        "IDB.DDR_PARTIAL_TAPE_TABLE");
                   /*sprintf (ddr_partial_rpt,
                        "idb_tape$out:ddr_partial%1d.rpt", p_count); ** Commented by TCS **/
                   sprintf (ddr_tape_name,"%s%1d.%s",getOutFileName("DDR_PARTIAL"),p_count,getEnvVar("DDR_PARTIAL_EXT_RPT")); /* Added by TCS */
                   get_calendar_dates();
                   freq_type_code = '3';
                   sprintf (payment_where_clause,
    "AND ( (PYMT_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (PYMT_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_to.arr, p_to.arr);
                   sprintf (rights_where_clause,
    "AND ((RGHT_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (RGHT_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_to.arr, p_to.arr);
                   sprintf (tenders_where_clause,
    "AND ((TNDR_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (TNDR_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_to.arr, p_to.arr);
                   sprintf (s_h_meet_where_clause,
    "AND ((SMTG_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (SMTG_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_to.arr, p_to.arr);
                   break;
              case 1:
                   /**strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_daily_tape.asc"); ** Commented by TCS **/
                   sprintf (ddr_tape_name,"%s",getOutFileName("DDR_DAILY_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_DAILY_TAPE_TABLE");
                   get_calendar_dates();
                   freq_type_code = '1';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    = TO_DATE('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)", pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    = TO_DATE('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)", pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (TNDR_PUB_DATE \
    = TO_DATE('%s','DD-MON-RR') OR TNDR_PUB_DATE IS NULL)", pub_to_date.arr);
                   sprintf (s_h_meet_where_clause, "AND (SMTG_PUB_DATE \
    = TO_DATE('%s','DD-MON-RR') OR SMTG_PUB_DATE IS NULL)", pub_to_date.arr);
                   break;
              case 5:
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_weekly_tape.asc"); ** Commented by TCS **/
                   sprintf (ddr_tape_name, "%s",getOutFileName("DDR_WEEKLY_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_WEEKLY_TAPE_TABLE");
                   get_calendar_dates();
                   freq_type_code = '2';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (TNDR_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR TNDR_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   /* ram - 6/28/95 - reverted back to original criteria: */
                   /* include on weekly tape based on pub-date, regardless of */
                   /* whether in calendar or not */
                   sprintf (s_h_meet_where_clause, "AND (SMTG_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR SMTG_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   break;
              case 12:
                   /* ram - 7/13/95          */
                   /* changed monthly "6" to "12" */
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_monthly_tape.asc"); ** Commented by TCS **/
                   sprintf (ddr_tape_name, "%s", getOutFileName("DDR_MONTHLY_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_MONTHLY_TAPE_TABLE");
                   freq_type_code = '3';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (TNDR_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR TNDR_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   break;
              case 8:
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_quarterly_tape.asc");** Commented by TCS **/
                   sprintf (ddr_tape_name,"%s",getOutFileName("DDR_QUARTERLY_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_QUARTERLY_TAPE_TABLE");
                   freq_type_code = '3';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (A.TNDR_TENDER_DATE \
    = TO_DATE('%s','DD-MON-RR'))", pub_to_date.arr);               break;
              case 9:
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_annual_tape.asc"); ** Comented by TCS **/
                   sprintf (ddr_tape_name,"%s", getOutFileName("DDR_ANNUAL_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_ANNUAL_TAPE_TABLE");
                   freq_type_code = '4';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') \
    OR PYMT_PUB_DATE = TO_DATE('29-OCT-1929','DD-MON-YYYY'))",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (A.TNDR_TENDER_DATE \
    = TO_DATE('%s','DD-MON-RR'))", pub_to_date.arr);               break;
              case 15:
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_general_tape.asc"); ** Commented by TCS **/
                   sprintf (ddr_tape_name,"%s", getOutFileName("DDR_GENERAL_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_GENERAL_TAPE_TABLE");
                   freq_type_code = '3';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (A.TNDR_TENDER_DATE \
    = TO_DATE('%s','DD-MON-RR'))", pub_to_date.arr);               break;
              default:
                   exit (printf ("Invalid tape option: %d\n", which_tape)); /*** %s changed by TCS to %d ***/
                   break;
         if ((fp = fopen(ddr_tape_name, "w+")) == NULL)
              exit (printf ("Unable to open asc <%s> file for write access\n",
                   ddr_tape_name));
    /*     GR. Partial 5
         if (which_tape == 0 || which_tape == 3 )
              if ((pfp = fopen(ddr_partial_rpt, "w+")) == NULL)
                   exit (printf ("Unable to open asc <%s> file \
    for write access\n", ddr_partial_rpt));
         /* WRITE THE HEADER RECORD ON THE TAPE */
         memset (copyright_notice, 0, sizeof(copyright_notice));
         sprintf (copyright_notice, "COPYRIGHT (c) %.4s STANDARD & POOR'S \
    CORPORATION. ALL RIGHTS RESERVED", year.arr);
         fprintf (fp, "%-80.80sDIVIDEND%8d%17.17s ",
    copyright_notice, control_date, run_date_start.arr);
         file_position = ftell(fp);
         fprintf (fp, "\n");
         total_records = 0;
         /* GET THE SPECIAL CATEGORY RECORDS */
         get_special_codes();
         /* SELECT FROM THE DRIVER TABLE TO GET ALL THE OTHER RECORDS */
         get_master_cusip_no();
         printf("After get_master_cusip_no()");
         get_run_date_finish();
         printf("After get_run_date_finish()");
         if ( DEBUGGING )
              printf ("initial cusip = %s\n", init_cusip_number);
              printf ("final cusip = %s\n", final_cusip_number);
              printf ("record type is %c\n", rec_type_code);
         /* WRITE THE TRAILER RECORD */
         fprintf (fp, "%8d%-17.17s%07d%-9.9s1%-9.9s%c\n", control_date,
    run_date_finish.arr, total_records, init_cusip_number , final_cusip_number,
    rec_type_code);
         /* re-wind and add to the header record ... */
         rewind(fp);
         fseek(fp, file_position - 33, 0);
         fprintf (fp, "%07d%-9.9s1%-9.9s%c", total_records, init_cusip_number,
    final_cusip_number, rec_type_code);
         fclose(fp);
    /*     GR Partial 5
         if (which_tape == 0 || which_tape == 3 )
              fclose(pfp);
         printf ("\nDONE: %07d%-9.9s1%-9.9s%c\n", total_records, init_cusip_number,
    final_cusip_number, rec_type_code);
    return (0); /*** Added by TCS ***/
    void prepare_declare_oracle_cursors() /* Modified by TCS */
         /* We'll us dynamic sql to get the appropriate where clause but use */
         /* a bind variable for the master cusip number. So we prepare and */
         /* declare get_issues, get_payments, get_tenders, get rights, and */
         /* get_s_h_meetings cursors only once, outside the driving loop. */
         EXEC SQL BEGIN DECLARE SECTION;
              /**** TCS Comment begins as per the change request ****
              VARCHAR          sql_stmt1[1500];*/     /* issues */
              /*VARCHAR          sql_stmt2[3000];     *//* payments */
              /*VARCHAR          sql_stmt3[500];          *//* tenders */
              /*VARCHAR          sql_stmt4[500];          *//* rights */
              /*VARCHAR          sql_stmt5[500];          *//* s_h_meetings */
              /**** TCS Add begins as per the change request ****/
              VARCHAR          sql_stmt1[2000];     /* issues */
              VARCHAR          sql_stmt2[4000];     /* payments */
              VARCHAR          sql_stmt3[1000];     /* tenders */
              VARCHAR          sql_stmt4[1000];     /* rights */
              VARCHAR          sql_stmt5[1000];     /* s_h_meetings */
              /**** TCS Add ends ****/
         EXEC SQL END DECLARE SECTION;
         /* prepare and declare the get_issues cursor */
         memset (sql_stmt1.arr, 0, sizeof(sql_stmt1.arr));
         sprintf (sql_stmt1.arr, "SELECT \
    A.ISSU_PAR_VALUE, \
    DECODE (A.ISSU_MARKET_SYMBOL||A.ISSU_NASDAQ,'OTCY','NASD', A.ISSU_MARKET_SYMBOL), \
    A.ISSU_C_RATE, A.ISSU_C_FREQ, A.ISSU_C_NEW_AMOUNT, A.ISSU_C_NEW_Q1, \
    A.ISSU_C_NEW_Q2, A.ISSU_C_NEW_Q3, A.ISSU_C_OLD_AMOUNT, A.ISSU_C_OLD_Q1, \
    A.ISSU_C_OLD_Q2, A.ISSU_C_OLD_Q3, A.ISSU_CURRENCY, \
    A.ISSU_UPD_HIS, A.ISSU_COMMENT, A.TAX_EXEMPT_FLAG,\
    B.SEC_TYPE_CODE, B.ACQ_BY_IND, B.ACQ_ISSUER_NO, \
    rtrim(substr(B.ACQ_ISSUER_DESCR,1,30)), \
    B.INDEX_CODE, B.TRFR_AGT_CODE, B.NY_AGT_CODE, B.TICKER_SYMBOL, \
    B.TICKER_SYMBOL2, \
    rtrim(substr(C.ISSR_DDR_ISSUER_DESCR,1,60)), \
    rtrim(substr(E.ISSUE_DESCR,1,30)), \
    rtrim(substr(D.ISSUER_DESCR1,1,30)), \
    F.TRFR_DAYS \
    FROM IDB.DDR_ISSUES A, IDB.DDR_ISSUES_2 B, IDB.DDR_ISSUERS C, \
    BLIS.CUSIP_ISSUERS D, BLIS.CUSIP_ISSUES E, IDB.DDR_TRANSFER F \
    WHERE A.ISSU_CUSIP_NO = :master_cusip_no \
    AND A.ISSU_CUSIP_NO = B.ISSU_CUSIP_NO(+) \
    AND SUBSTR(A.ISSU_CUSIP_NO, 1, 6) = C.ISSR_ISSUER_NO(+) \
    AND SUBSTR(A.ISSU_CUSIP_NO, 1, 6) = D.ISSUER_NO \
    AND A.ISSU_CUSIP_NO = E.CUSIP_NO \
    AND A.ISSU_TRANSFER_CODE = F.TRFR_TR_CD(+) ");
         sql_stmt1.len = strlen(sql_stmt1.arr);
         EXEC SQL PREPARE ISSUES FROM :sql_stmt1;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in preparing ISSUES");
         EXEC SQL DECLARE ISSUES_C CURSOR FOR ISSUES;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring ISSUES");
         /* now the get_payments cursor */
         memset (sql_stmt2.arr, 0, sizeof(sql_stmt2.arr));
         sprintf (sql_stmt2.arr, "SELECT \
    a.PYMT_RP_DIV, \
    a.PYMT_RP_DEC, \
    a.PYMT_RP_EXD, \
    a.PYMT_RP_REC, \
    a.PYMT_RP_PAY, \
    a.PYMT_RP_DUE, \
    a.PYMT_RP_TAX, \
    a.PYMT_RP_ANN, \
    a.PYMT_PRP_DIV, \
    a.PYMT_PRP_DEC, \
    a.PYMT_PRP_EXD, \
    a.PYMT_PRP_REC, \
    a.PYMT_PRP_PAY, \
    a.PYMT_PRP_DUE, \
    a.PYMT_PRP_TAX, \
    a.PYMT_PRP_ANN, \
    NVL(a.PYMT_SEQ_NO,0), \
    TO_CHAR(a.PYMT_DECLARED, 'YYMMDD'), \
    TO_CHAR(a.PYMT_EX_DATE, 'YYMMDD'), \
    TO_CHAR(a.PYMT_STK_REC, 'YYMMDD'), \
    TO_CHAR(a.PYMT_TRANSFER_DATE, 'YYMMDD'), \
    TO_CHAR(a.PYMT_PAYABLE, 'YYMMDD'), \
    a.PYMT_CODES, \
    NVL(a.PYMT_CASH_DIVD,0.0), \
    NVL(b.ORDINARY_INCOME,0.0), \
    NVL(b.CAP_GAINS,0.0), \
    NVL(b.SHORT_TM_CAP_GAINS,0.0), \
    NVL(b.LONG_TM_CAP_GAINS,0.0), \
    NVL(b.RETURN_OF_CAPITAL,0.0), \
    b.STK_DIVD_IND, \
    NVL(a.PYMT_STK_DIVD,0), \
    b.FRAC_IN_CASH_STK_IND, \
    NVL(b.FRAC_IN_CASH_PRICE,0.0), \
    NVL(a.PYMT_SPLIT_NEW,0), \
    NVL(a.PYMT_SPLIT_OLD,0), \
    TO_CHAR(a.PYMT_DB_DATE, 'YYMMDD'), \
    NVL(b.ARREARS_PAID,0.0), \
    NVL(b.ARREARS_DUE,0.0), \
    b.SPINOFF_IND, \
    b.SPINOFF_ISSUE_NO, \
    b.SPINOFF_ISSUER_DESCR, \
    b.SPINOFF_ISSUE_DESCR, \
    NVL(b.TAX_CODE,0), \
    NVL(b.TAX_CODE_2,0), \
    NVL(b.OLD_SEQ_NO,0), \
    b.ORDINARY_INCOME_CODE, \
    b.CAP_GAINS_CODE, \
    b.SHORT_TM_CAP_GAINS_CODE, \
    b.LONG_TM_CAP_GAINS_CODE, \
    b.RETURN_OF_CAPITAL_CODE, \
    TO_CHAR(b.CALL_DATE, 'YYMMDD'), \
    NVL(b.CALL_PRICE,0.0), \
    b.CALL_PRICE_CURRENCY, \
    b.CALL_AGT_NO, \
    b.ACCRUED_DIVD_IND, \
    TO_CHAR(a.PYMT_DB_DATE, 'YYMMDD'), \
    a.PYMT_DB_TEXT, \
    a.PYMT_DVD_TEXT, \
    a.PYMT_YEAR, \
    TO_CHAR(a.PYMT_STK_REC, 'fmMon dd'), \
    TO_CHAR(a.PYMT_DB_DATE, 'fmMon dd'), \
    b.NY_CALL_AGT_NO, \
    NVL(b.FOREIGN_TAX_RATE, 0.0), \
    NVL(b.NET_RATE, 0.0), \
    NVL(b.FEE, 0.0), \
    NVL(b.COMMISSION, 0.0), \
    a.PYMT_CASH_DIVD_FNS, \
    a.PYMT_STK_DIVD_FNS, \
    a.PYMT_DECLARED_FNS, \
    a.PYMT_EX_DATE_FNS, \
    a.PYMT_STK_REC_FNS, \
    a.PYMT_PAYABLE_FNS, \
    a.PYMT_SPLIT_FNS, \
    NVL (TO_NUMBER (TO_CHAR(a.PYMT_PUB_DATE, 'YYYYMMDD')), 0), \
    NVL (TO_NUMBER (TO_CHAR(a.PYMT_TRANSFER_DATE, 'YYYYMMDD')), 0), \
    NVL (TO_NUMBER (TO_CHAR(a.PYMT_STK_REC, 'YYYYMMDD')), 0), \
    NVL (TO_NUMBER (TO_CHAR(a.PYMT_DB_DATE, 'YYYYMMDD')), 0) \
    FROM IDB.DDR_PAYMENTS A, IDB.DDR_PAYMENTS_2 B \
    WHERE A.PYMT_CUSIP_NO = :master_cusip_no \
    AND A.PYMT_CUSIP_NO = B.PYMT_CUSIP_NO (+) \
    AND A.PYMT_SEQ_NO = B.PYMT_SEQ_NO (+) \
    AND NVL(INSTR(A.PYMT_CODES,'CO'),0) NOT IN (1,3,5,7,9,11) ");
         strcat (sql_stmt2.arr, payment_where_clause);
         sql_stmt2.len = strlen(sql_stmt2.arr);
         EXEC SQL PREPARE PAYMENTS FROM :sql_stmt2;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in preparing PAYMENTS");
         EXEC SQL DECLARE PAYMENTS_C CURSOR FOR PAYMENTS;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring PAYMENTS");
         /* now the get_tenders cursor */
         memset (sql_stmt3.arr, 0, sizeof(sql_stmt3.arr));
    /* FXL ADD SUBSTR to tndr_price_qual: substr(A.TNDR_PRICE_QUAL,1,14), 3/23/99,
    to to_number 3/29/99 */
         sprintf (sql_stmt3.arr, "SELECT \
    B.TNDR_AGT_NO, \
    B.NY_AGT_NO, \
    TO_CHAR(A.TNDR_TENDER_DATE, 'YYMMDD'), \
    A.TNDR_PRICE, \
    to_number(A.TNDR_PRICE_QUAL), \
    A.TNDR_TE_SIZE, \
    TNDR_TE_TEXT_1 \
    FROM IDB.DDR_TENDERS A, IDB.DDR_TENDERS_2 B \
    WHERE TNDR_CUSIP_NO = :master_cusip_no \
    AND TNDR_CUSIP_NO = TNDR_ISSUE_NO(+) \
    AND A.TNDR_TENDER_DATE = B.TNDR_TENDER_DATE(+) ");
         strcat (sql_stmt3.arr, tenders_where_clause);
         sql_stmt3.len = strlen(sql_stmt3.arr);
         EXEC SQL PREPARE TENDERS FROM :sql_stmt3;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in preparing TENDERS");
         EXEC SQL DECLARE TENDERS_C CURSOR FOR TENDERS;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring TENDERS");
         /* now the get_rights cursor */
         memset (sql_stmt4.arr, 0, sizeof(sql_stmt4.arr));
    /* ADD TO_CHAR(A.RGHT_DB_DATE, 'YYMMDD') */
         sprintf (sql_stmt4.arr, "SELECT \
    B.NO_RIGHTS_ISSUED, \
    B.SHS_REQ_FOR_PURCH, \
    B.RGHTS_REQUIRED, \
    B.QTY_SHS_PURCHASED, \
    B.TYPE_SHS_ELIGIBLE, \
    B.NEW_SHS_CUSIP_NO, \
    B.NEW_CO_ISSUER_DESCR, \
    TO_CHAR(A.RGHT_RECORD, 'YYMMDD'), \
    TO_CHAR(A.RGHT_EX_DATE, 'YYMMDD'), \
    TO_CHAR(B.NYC_RECORD_DATE, 'YYMMDD'), \
    TO_CHAR(A.RGHT_EXPIRE, 'YYMMDD'), \
    TO_CHAR(A.RGHT_DB_DATE, 'YYMMDD'), \
    A.RGHT_PRICE, \
    NVL(A.RGHT_RECORD_FNS,' '), \
    NVL(A.RGHT_EXPIRE_FNS,' '), \
    NVL(A.RGHT_EX_DATE_FNS,' '), \
    NVL(A.RGHT_PRICE_FNS,' '), \
    NVL(A.RGHT_BASIS_FNS,' '), \
    A.RGHT_FOOTNOTE, \
    B.US_INELIGIBILITY_IND, \
    B.RGHT_TRFR_IND \
    FROM IDB.DDR_RIGHTS A, IDB.DDR_RIGHTS_2 B \
    WHERE RGHT_CUSIP_NO = :master_cusip_no \
    AND RGHT_CUSIP_NO = RGHT_ISSUE_NO(+) \
    AND A.RGHT_RECORD = B.RGHT_RECORD_DATE(+) ");
         strcat (sql_stmt4.arr, rights_where_clause);
         sql_stmt4.len = strlen(sql_stmt4.arr);
         EXEC SQL PREPARE RIGHTS FROM :sql_stmt4;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in preparing RIGHTS");
         EXEC SQL DECLARE RIGHTS_C CURSOR FOR RIGHTS;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring RIGHTS");
         /* ram - added logic on 7/18/95 */
         /* for the standard footnotes cursor */
         EXEC SQL DECLARE STANDARD_FOOTNOTES_C CURSOR
         FOR
         SELECT SFTN_S_F_TEXT, SFTN_S_F_TYPE
         FROM IDB.DDR_STANDARD_FOOTNOTES
         WHERE SFTN_S_F_TYPE = :standard_footnote_type;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring STANDARD_FOOTNOTES");
         /* now the issue footnotes cursor */
         EXEC SQL DECLARE ISSUE_FOOTNOTES_C CURSOR
         FOR
         SELECT FTNT_F_TEXT, FTNT_F_TYPE
         FROM IDB.DDR_FOOTNOTES
         WHERE FTNT_CUSIP_NO = :master_cusip_no
         AND FTNT_SYMBOL = :footnote_symbol
         AND FTNT_YEAR IS NULL;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring ISSUE_FOOTNOTES");
         /* now the payment footnotes cursor */
         EXEC SQL DECLARE PAYMENT_FOOTNOTES_C CURSOR
         FOR
         SELECT FTNT_F_TEXT, FTNT_F_TYPE
         FROM IDB.DDR_FOOTNOTES
         WHERE FTNT_CUSIP_NO = :master_cusip_no
         AND FTNT_SYMBOL = :footnote_symbol
         AND FTNT_YEAR = :footnote_year;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring PAYMENT_FOOTNOTES");
         /* now the get_s_h_meetings cursor */
         /* ONLY for certain tape types. */
    /*     GR PARTial 5
         if (which_tape == 0 || which_tape == 3 || which_tape == 1 || which_tape == 5)
              memset (sql_stmt5.arr, 0, sizeof(sql_stmt5.arr));
              /* ram - 6/15/95 - changed ORigunal to smtg */
              /* TO_CHAR(ORIGINAL_REC_DATE, 'YYMMDD'), \ */
              sprintf (sql_stmt5.arr, "SELECT \
    TO_CHAR(SMTG_MTG_DATE, 'YYMMDD'), \
    TO_CHAR(SMTG_REC_DATE, 'YYMMDD'), \
    SMTG_FOOTNOTE \
    FROM IDB.DDR_S_H_MEETINGS \
    WHERE SMTG_CUSIP_NO = :master_cusip_no ");
              strcat (sql_stmt5.arr, s_h_meet_where_clause);
              sql_stmt5.len = strlen(sql_stmt5.arr);
              EXEC SQL PREPARE S_H_MEET FROM :sql_stmt5;
              if (sqlca.sqlcode)
                   sql_error (SYSERR, sqlca.sqlcode,
                        "Error in preparing S_H_MEET");
              EXEC SQL DECLARE S_H_MEET_C CURSOR FOR S_H_MEET;
              if (sqlca.sqlcode)
                   sql_error (SYSERR, sqlca.sqlcode,
                        "Error in declaring S_H_MEET");
         } /* end of if (which_tape == 0 || which_tape == 1 || which_tape == 5) */
    /* replaced get_calendar_dates function with use of PLSQL - ram - 5/24/95 */
    void get_calendar_dates() /* Modified by TCS */
         /* put first and last calendar dates into global ints */
         /* first_cal_date and last_cal_date (YYYYMMDD) using */
         /* ddr package function get_business_days. */
         /* The package object ddr is owned by idb, so I'll */
         /* specify this, just in case accounts other than idb */
         /* run this code. (EXECUTE priviledge is granted to */
         /* "idb_user" role.) */
    EXEC SQL BEGIN DECLARE SECTION;
              int          cal_start;
              int          cal_end;
              int          return_val;
    EXEC SQL END DECLARE SECTION;
         /* initialize destination globals */

    You actually need to run it with "check -access"; memuse and leaks won't help with the crash, which happens because of illegal memory access. Hopefully, "check -access" will help you to locate the bad guy, but that's not panacea either.
    To be precise:
    - start dbx
    $ dbx <your app>
    - issue
    (dbx) check -access
    (dbx) run
    and wait for dbx to stop and report suspicious memory access.

Maybe you are looking for

  • Cannot view Keynote slides except in slideshow or slide navigator

    I'm using Keynote '09 version 5.0.3 (791) on Macbook Pro Intel Core 2 Duo with OS X 10.6.3. Been working fine ... always. Today I installed the latest Apple update and ... bad times. Firstly, many of my settings (screensaver, desktop, etc.) have chan

  • Reader 11.0.03 - "Insufficient data for an image"

    Hi! Since Adobe Reader 10.1.5 we get the message "Insufficient data for an image" for several pdf-Files. Can anybody from Adobe analyse this pdf-files? I can send a test-file. Thanks Thomas

  • Special effect for wedding video

    I just started using Final Cut Express 2. I recently shot a wedding video for my daughter and I want to put in a certain special effect. The Bride is sitting on one side of a bench and the groom is sitting on the other side of the bench. They are loo

  • Why can't I see a discussion?  Says unauthorised?

    Why can't I see or reply on this discussion anymore? Re: Poor support site created by KiltedTim in Using iPhone - View the full discussion This solved my question  This helped me Apple does not provide support via email.  This forum is a volunteer us

  • Can't open 3.WMV in AOL

    What application can I use to open an e-mail sent through my AOL in 3.WMV?