Core dump with stlport4 and string pointers
Hello,
I am porting from SGI Irix to Sun Solaris, using OS 8 and Sun Studio 8. The program we are porting is very very large. We've compiled all code, but now are getting core dumps on several of the executables. We have traced one of the core dumps to a function that deals with string manipulation/string pointers. We wrote a very simple test program that re-produces the problem.
#include <string>
#include <iostream>
void test(char* m)
std::cout << m << " in test before";
m[0] = 'z';
std::cout << m << " in test after";
void main(void)
char* temp = new char[10];
temp = "abcd";
std::cout << temp << " before test";
test(temp);
std::cout << temp << " after test";
We get the following output:
abcd before test
abcd in test before
Segmentation fault (core dumped)
The code compiles and runs fine on the SGI Irix system. What am I doing wrong?
Thanks,
Bob
1) The signature of "main" is wrong. It must be 'int
main(int, char **)'Not quite. The signatures
int main()
int main(void)
are also allowed. (C++ standard, section 3.6.1 Main function)
A "void" return type on main is not standard, but Sun C++ allows it with a warning. Such a version of main does not return a predictable value to the program that invoked it (usually the shell).
It seems as if the intent of the program is to
allocate a new string with the contents "abcd".
Instead, you allocate a buffer, and then overwrite the
pointer to that buffer with a pointer to a string
constant, to which you then attempt to write.Right. By default, the C++ compiler allocates string literals to read-only memory, to catch mistakes like this. The compiler has an option to store literal strings in read-write memory, but we recommend against using the option, since you should not ever want to modify a literal string.
I am curious why the compiler doesn't complain about
the assignment in main - to my eyes it looks like it
should be complaining that you are assigning a const
char * to a char *The compiler emits a warning about the assignment.
Such code is allowed but deprecated in the C++ standard, because of the deprecated conversion of "array of const char" to char* (section 4.2 Array-to-pointer conversion).
Similar Messages
-
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
FilipThe 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. -
/usr/sfw/sbin/snmpd core dump with 6 local Zones
Hi,
the snmpd is running in 8 local and 1 global zone. If I do the following command from our monitoring server the snmpd crashes with a core dump in / in the global zone.
/usr/sfw/bin/snmpdf -v 2c -c public servername
I have all the lates patches applied and use Solaris 10 1/06 x86. Workaround is to shutdown 2 Zones and the above command is working fine. Any limitations on the amount of zones on one server ?
Regards,
Van-Thieu TranFound the problem myself: The SNMPD Version shipped with Solaris 10 until 6/06 seems to be buggy. Compiled a newer version runs just fine.
-
Hey all, here is the small deque program...
When this program was run for upto 529 entires it works fine. When tried for 530 entries it dumps core.
By the way instead of push_front if we use push_back, it works fine. However, we are facing this problem with Sun ONE Studio 11 after our successful compiler upgrade.
If any one has any idea why the following program dumping core with 530 entires?
cut and paste and compile and run ./deque 530, you will receive a core dump in Solaris 10/Sun one Studio 11 (CC 5.8 compiler). Important: make sure you run Solaris 10/Sun One Studio 11 CC 5.8 compiler compiled code.
IT IS NOT DUMPING CORE IN OLDER VERSIONS....
==========deque.cc===================
#include <deque>
#include <iostream>
int main( int argc, char* argv[] )
std::deque< int > container;
std::cout << "maxSize:" << container.max_size() << "\n";
int last( 530 );
if ( argc > 1 )
last = atoi( argv[ argc - 1 ] );
std::cout << "Building to " << last << "\n";
for ( int i = 0; i < last; ++ i )
container.push_front( i );
int idx = 0;
for ( std::deque< int >::const_iterator
iter = container.begin();
iter != container.end();
++ iter, ++ idx )
std::cout << idx << ": " << (*iter) << "\n";
std::cout << "maxSize:" << container.max_size() << "\n";
return 0;
The pstack output from core file...
core 'core.deque' of 3869: ./deque 530
00011a40 main (2, ffbfd7ec, ffbfd758, ffbfd768, ffbfd768, ffbfd630) + 2b8
00011358 _start (0, 0, 0, 0, 0, 0) + 108The patch that fixes CR 6363210 involves the header files for the deque implementation in Sun Studio 10 and 11. The runtime library /usr/lib/libCstd.so.1 also has that code in it. Whether you generate the affected functions inline in your code, or pick them up from the runtime library, depends on various compiler options.
If you have not installed the latest C++ runtime library patch and get these functions from the runtime library, you will not have the benefit of the bug fix.
You can get all current patches here:
http://developers.sun.com/sunstudio/downloads/patches/index.jsp
If after installing current patches you still have the problem, please post a stand-alone code example that shows the problem. -
Weblogic core dumps with "SIGBUS 10* bus error"
I am getting a core dump when starting up my WL server. It seems to be
timing related. The WL startup class is causing the error.
The error does not occur if I do not deploy any EJBs. If I deploy one EJB
the error occurrs. If I deploy two or more EJBs the error does not occur.
The startup class is accessing the database.
Has anyone seen a similar error or know of a solution. Is this a supported
platform?
Environment info and the error dump follow. Thanks in advance.
Bryan Bugliari
[email protected]
Some info on the environment:
Solaris 2.6
jdk1.2.2
WL 5.1.0 sp2
Oracle 8.0.5 client
WL PROPERTIES FILE:
weblogic.jdbc.connectionPool.oraclePool=\
url=jdbc:weblogic:oracle,\
driver=weblogic.jdbc.oci.Driver, \
loginDelaySecs=1,\
initialCapacity=4,\
maxCapacity=25,\
capacityIncrement=5,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=10,\
testTable=dual,\
props=user=esteel;password=esteel;server=esteel
# Add a TXDataSource for the connection pool:
weblogic.jdbc.TXDataSource.oracleDataSource=oraclePool
WL LOG FILE:
Fri Jun 30 12:10:21 EDT 2000:<I> <System Props> java.class.path =
/opt/app/weblogic/lib/weblogic510sp2boot.jar:/opt/app/weblogic/classes/boot:
/opt/app/weblogic/license:/opt/app/weblogic/oci/classes
java.class.version = 46.0
java.compiler = sunwjit
java.ext.dirs = /usr/local/jdk1.2.2/jre/lib/ext
java.home = /usr/local/jdk1.2.2/jre
java.io.tmpdir = /var/tmp/
java.library.path =
/usr/local/jdk1.2.2/bin/../jre/lib/sparc/native_threads:/usr/local/jdk1.2.2/
bin/../jre/lib/sparc/classic:/usr/local/jdk1.2.2/bin/../jre/lib/sparc:/opt/a
pp/weblogic/oci/lib/solaris/oci805_8:/opt/app/oracle/products/8.0.5/lib:/usr
/lib
java.protocol.handler.pkgs = weblogic.utils|weblogic.utils
java.security.manager =
java.security.policy = =/opt/app/weblogic/weblogic.policy
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.2
java.vendor = Sun Microsystems Inc.
java.vendor.url = http://java.sun.com/
java.version = 1.2.2
java.vm.info = build JDK-1.2.2-001, native threads, sunwjit
java.vm.name = Classic VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 1.2.2
ERROR BEGINS HERE:
Fri Jun 30 12:10:25 EDT 2000:<I> <EJB> Enterprise JavaBeans initializing
Fri Jun 30 12:10:27 EDT 2000:<I> <EJB JAR deployment
/local/home/weblogic/bbugliar/myserver/ActivityManager.jar> EJB home
interface: 'com.esteel.exchange.domain.activitymanager.ActivityManagerHome'
deployed bound to the JNDI name: 'ActivityManagerHome'
Fri Jun 30 12:10:27 EDT 2000:<I> <EJB> 1 EJB jar files loaded, containing 1
EJBs
Fri Jun 30 12:10:27 EDT 2000:<I> <EJB> 1 deployed, 0 failed to deploy.
Fri Jun 30 12:10:28 EDT 2000:<I> <ZAC> ZAC disabled
Fri Jun 30 12:10:28 EDT 2000:<I> <WebLogicServer> Invoking T3StartupDef
ReferenceDataWLStartup com.esteel.referencedata.ReferenceDataWLStartup with
SIGBUS 10* bus error
si_signo [10]: SIGBUS 10* bus error
si_errno [0]: Error 0
si_code [1]: BUS_ADRALN [addr: 0xB]
stackpointer=e7f0be04
Full thread dump Classic VM (JDK-1.2.2-001, native threads):
"StartupThread" (TID:0xea673398, sys_thread_t:0x2e82ab0, state:R, native
ID:0x1b) prio=5
at
weblogic.jdbc20.rmi.internal.ConnectionImpl.createStatement(ConnectionImpl.j
ava, Compiled Code)
at
weblogic.jdbc20.rmi.SerialConnection.createStatement(SerialConnection.java,
Compiled Code)
at com.esteel.referencedata.RDMeta._loadRDBase1FromId(RDMeta.java,
Compiled Code)
at com.esteel.referencedata.RDMeta._load(RDMeta.java, Compiled Code)
at com.esteel.referencedata.RDMeta.loadData(RDMeta.java, Compiled
Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.loadData(ReferenceDataServe
rImpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.<init>(ReferenceDataServerI
mpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.getInstance(ReferenceDataSe
rverImpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataWLStartup.startup(ReferenceDataWLStart
up.java, Compiled Code)
at weblogic.t3.srvr.StartupThread.runStartup(StartupThread.java,
Compiled Code)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java,
Compiled Code)
at
weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java,
Compiled Code)
"ExecuteThread-14" (TID:0xea4f4100, sys_thread_t:0x525998, state:CW,
native ID:0x18) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-13" (TID:0xea4f3fa0, sys_thread_t:0x51c648, state:CW,
native ID:0x17) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-12" (TID:0xea4f3e48, sys_thread_t:0x51c530, state:CW,
native ID:0x16) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-11" (TID:0xea4f3cf0, sys_thread_t:0x51c418, state:CW,
native ID:0x15) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-10" (TID:0xea4f3b90, sys_thread_t:0x51c300, state:CW,
native ID:0x14) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-9" (TID:0xea4f3a38, sys_thread_t:0x51c1e8, state:CW,
native ID:0x13) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-8" (TID:0xea4f38e8, sys_thread_t:0x51c0d0, state:CW,
native ID:0x12) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-7" (TID:0xea4f3788, sys_thread_t:0x51bfb8, state:CW,
native ID:0x11) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-6" (TID:0xea4f3630, sys_thread_t:0x51a570, state:CW,
native ID:0x10) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-5" (TID:0xea4f34d8, sys_thread_t:0x51a458, state:CW,
native ID:0xf) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-4" (TID:0xea4f3380, sys_thread_t:0x51bea0, state:CW,
native ID:0xe) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-3" (TID:0xea4f32c0, sys_thread_t:0x51ba30, state:CW,
native ID:0xd) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-2" (TID:0xea4f30d0, sys_thread_t:0x51b918, state:CW,
native ID:0xc) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-1" (TID:0xea4f2f70, sys_thread_t:0x51a840, state:CW,
native ID:0xb) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-0" (TID:0xea4f2868, sys_thread_t:0x51a728, state:CW,
native ID:0xa) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"TimeEventGenerator" (TID:0xea4e2e38, sys_thread_t:0x4e11a8, state:CW,
native ID:0x9) prio=5
at java.lang.Object.wait(Native Method)
at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java,
Compiled Code)
at
weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java
, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
"SpinnerRandomSource" (TID:0xea4e19f0, sys_thread_t:0x4d3018, state:CW,
native ID:0x7) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at
weblogic.security.SpinnerThread.stopSpinning(SpinnerRandomBitsSource.java,
Compiled Code)
at weblogic.security.SpinnerThread.run(SpinnerRandomBitsSource.java,
Compiled Code)
"Finalizer" (TID:0xea400320, sys_thread_t:0x6e4f8, state:CW, native
ID:0x6) prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
"Reference Handler" (TID:0xea4003b0, sys_thread_t:0x3ca80, state:CW,
native ID:0x5) prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:424)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
"Signal dispatcher" (TID:0xea4003e0, sys_thread_t:0x65460, state:CW,
native ID:0x4) prio=5
"main" (TID:0xea4001e0, sys_thread_t:0x2ef60, state:CW, native ID:0x1)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at
weblogic.t3.srvr.PropertyExecuteThread.waitForCompletion(PropertyExecuteThre
ad.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java, Compiled Code)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java, Compiled
Code)
at weblogic.Server.main(Server.java, Compiled Code)
at weblogic.Server.main(Server.java, Compiled Code)
Monitor Cache Dump:
weblogic.kernel.ExecuteThread@EA4F32C0/EB9188F0: <unowned>
Waiting to be notified:
"ExecuteThread-3" (0x51ba30)
weblogic.kernel.ExecuteThread@EA4F34D8/EB9193D8: <unowned>
Waiting to be notified:
"ExecuteThread-5" (0x51a458)
weblogic.security.SpinnerThread@EA4E19F0/EB870528: <unowned>
Waiting to be notified:
"SpinnerRandomSource" (0x4d3018)
weblogic.kernel.ExecuteThread@EA4F30D0/EB918348: <unowned>
Waiting to be notified:
"ExecuteThread-2" (0x51b918)
weblogic.kernel.ExecuteThread@EA4F38E8/EB91A3E0: <unowned>
Waiting to be notified:
"ExecuteThread-8" (0x51c0d0)
weblogic.kernel.ExecuteThread@EA4F3CF0/EB91B458: <unowned>
Waiting to be notified:
"ExecuteThread-11" (0x51c418)
java.lang.ref.Reference$Lock@EA4003C0/EB0CF4B8: <unowned>
Waiting to be notified:
"Reference Handler" (0x3ca80)
weblogic.kernel.ExecuteThread@EA4F3E48/EB91B9B8: <unowned>
Waiting to be notified:
"ExecuteThread-12" (0x51c530)
weblogic.kernel.ExecuteThread@EA4F2868/EB913FC0: <unowned>
Waiting to be notified:
"ExecuteThread-0" (0x51a728)
java.lang.ref.ReferenceQueue$Lock@EA400338/EB0CF9C0: <unowned>
Waiting to be notified:
"Finalizer" (0x6e4f8)
java.lang.Object@EA675248/EC4A6D18: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F3630/EB919930: <unowned>
Waiting to be notified:
"ExecuteThread-6" (0x51a570)
weblogic.kernel.ExecuteThread@EA4F3A38/EB91A998: <unowned>
Waiting to be notified:
"ExecuteThread-9" (0x51c1e8)
weblogic.kernel.ExecuteThread@EA4F3788/EB919E80: <unowned>
Waiting to be notified:
"ExecuteThread-7" (0x51bfb8)
weblogic.kernel.ExecuteThread@EA4F3380/EB918E60: <unowned>
Waiting to be notified:
"ExecuteThread-4" (0x51bea0)
weblogic.t3.srvr.StartupThread@EA673398/EC48C990: <unowned>
Waiting to be notified:
"main" (0x2ef60)
weblogic.kernel.ExecuteThread@EA4F3B90/EB91AF00: <unowned>
Waiting to be notified:
"ExecuteThread-10" (0x51c300)
java.lang.Class@EA68B010/EC5668C8: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F3FA0/EB91BF20: <unowned>
Waiting to be notified:
"ExecuteThread-13" (0x51c648)
weblogic.time.common.internal.TimeTable@EA4E38A8/EB881130: <unowned>
Waiting to be notified:
"TimeEventGenerator" (0x4e11a8)
java.lang.Object@EA676D30/EC4B9378: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F2F70/EB917DC0: <unowned>
Waiting to be notified:
"ExecuteThread-1" (0x51a840)
weblogic.kernel.ExecuteThread@EA4F4100/EB91C478: <unowned>
Waiting to be notified:
"ExecuteThread-14" (0x525998)
Registered Monitor Dump:
PCMap lock: <unowned>
utf8 hash table: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: owner "StartupThread" (0x2e82ab0) 1 entry
Class linking lock: <unowned>
System class loader lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Monitor cache lock: owner "StartupThread" (0x2e82ab0) 1 entry
Thread queue lock: owner "StartupThread" (0x2e82ab0) 1 entry
Monitor registry: owner "StartupThread" (0x2e82ab0) 1 entry
SIGABRT 6* abort (generated by abort(3) routine)
si_signo [6]: SIGABRT 6* abort (generated by abort(3) routine)
si_errno [0]: Error 0
si_code [-1]: SI_LWP [pid: 11078, uid: 3058]
stackpointer=e7f0b55c
Full thread dump Classic VM (JDK-1.2.2-001, native threads):
"StartupThread" (TID:0xea673398, sys_thread_t:0x2e82ab0, state:R, native
ID:0x1b) prio=5
at
weblogic.jdbc20.rmi.internal.ConnectionImpl.createStatement(ConnectionImpl.j
ava, Compiled Code)
at
weblogic.jdbc20.rmi.SerialConnection.createStatement(SerialConnection.java,
Compiled Code)
at com.esteel.referencedata.RDMeta._loadRDBase1FromId(RDMeta.java,
Compiled Code)
at com.esteel.referencedata.RDMeta._load(RDMeta.java, Compiled Code)
at com.esteel.referencedata.RDMeta.loadData(RDMeta.java, Compiled
Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.loadData(ReferenceDataServe
rImpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.<init>(ReferenceDataServerI
mpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.getInstance(ReferenceDataSe
rverImpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataWLStartup.startup(ReferenceDataWLStart
up.java, Compiled Code)
at weblogic.t3.srvr.StartupThread.runStartup(StartupThread.java,
Compiled Code)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java,
Compiled Code)
at
weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java,
Compiled Code)
"ExecuteThread-14" (TID:0xea4f4100, sys_thread_t:0x525998, state:CW,
native ID:0x18) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-13" (TID:0xea4f3fa0, sys_thread_t:0x51c648, state:CW,
native ID:0x17) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-12" (TID:0xea4f3e48, sys_thread_t:0x51c530, state:CW,
native ID:0x16) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-11" (TID:0xea4f3cf0, sys_thread_t:0x51c418, state:CW,
native ID:0x15) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-10" (TID:0xea4f3b90, sys_thread_t:0x51c300, state:CW,
native ID:0x14) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-9" (TID:0xea4f3a38, sys_thread_t:0x51c1e8, state:CW,
native ID:0x13) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-8" (TID:0xea4f38e8, sys_thread_t:0x51c0d0, state:CW,
native ID:0x12) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-7" (TID:0xea4f3788, sys_thread_t:0x51bfb8, state:CW,
native ID:0x11) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-6" (TID:0xea4f3630, sys_thread_t:0x51a570, state:CW,
native ID:0x10) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-5" (TID:0xea4f34d8, sys_thread_t:0x51a458, state:CW,
native ID:0xf) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-4" (TID:0xea4f3380, sys_thread_t:0x51bea0, state:CW,
native ID:0xe) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-3" (TID:0xea4f32c0, sys_thread_t:0x51ba30, state:CW,
native ID:0xd) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-2" (TID:0xea4f30d0, sys_thread_t:0x51b918, state:CW,
native ID:0xc) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-1" (TID:0xea4f2f70, sys_thread_t:0x51a840, state:CW,
native ID:0xb) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-0" (TID:0xea4f2868, sys_thread_t:0x51a728, state:CW,
native ID:0xa) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"TimeEventGenerator" (TID:0xea4e2e38, sys_thread_t:0x4e11a8, state:CW,
native ID:0x9) prio=5
at java.lang.Object.wait(Native Method)
at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java,
Compiled Code)
at
weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java
, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
"SpinnerRandomSource" (TID:0xea4e19f0, sys_thread_t:0x4d3018, state:CW,
native ID:0x7) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at
weblogic.security.SpinnerThread.stopSpinning(SpinnerRandomBitsSource.java,
Compiled Code)
at weblogic.security.SpinnerThread.run(SpinnerRandomBitsSource.java,
Compiled Code)
"Finalizer" (TID:0xea400320, sys_thread_t:0x6e4f8, state:CW, native
ID:0x6) prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
"Reference Handler" (TID:0xea4003b0, sys_thread_t:0x3ca80, state:CW,
native ID:0x5) prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:424)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
"Signal dispatcher" (TID:0xea4003e0, sys_thread_t:0x65460, state:CW,
native ID:0x4) prio=5
"main" (TID:0xea4001e0, sys_thread_t:0x2ef60, state:CW, native ID:0x1)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at
weblogic.t3.srvr.PropertyExecuteThread.waitForCompletion(PropertyExecuteThre
ad.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java, Compiled Code)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java, Compiled
Code)
at weblogic.Server.main(Server.java, Compiled Code)
at weblogic.Server.main(Server.java, Compiled Code)
Monitor Cache Dump:
weblogic.kernel.ExecuteThread@EA4F32C0/EB9188F0: <unowned>
Waiting to be notified:
"ExecuteThread-3" (0x51ba30)
weblogic.kernel.ExecuteThread@EA4F34D8/EB9193D8: <unowned>
Waiting to be notified:
"ExecuteThread-5" (0x51a458)
weblogic.security.SpinnerThread@EA4E19F0/EB870528: <unowned>
Waiting to be notified:
"SpinnerRandomSource" (0x4d3018)
weblogic.kernel.ExecuteThread@EA4F30D0/EB918348: <unowned>
Waiting to be notified:
"ExecuteThread-2" (0x51b918)
weblogic.kernel.ExecuteThread@EA4F38E8/EB91A3E0: <unowned>
Waiting to be notified:
"ExecuteThread-8" (0x51c0d0)
weblogic.kernel.ExecuteThread@EA4F3CF0/EB91B458: <unowned>
Waiting to be notified:
"ExecuteThread-11" (0x51c418)
java.lang.ref.Reference$Lock@EA4003C0/EB0CF4B8: <unowned>
Waiting to be notified:
"Reference Handler" (0x3ca80)
weblogic.kernel.ExecuteThread@EA4F3E48/EB91B9B8: <unowned>
Waiting to be notified:
"ExecuteThread-12" (0x51c530)
weblogic.kernel.ExecuteThread@EA4F2868/EB913FC0: <unowned>
Waiting to be notified:
"ExecuteThread-0" (0x51a728)
java.lang.ref.ReferenceQueue$Lock@EA400338/EB0CF9C0: <unowned>
Waiting to be notified:
"Finalizer" (0x6e4f8)
java.lang.Object@EA675248/EC4A6D18: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F3630/EB919930: <unowned>
Waiting to be notified:
"ExecuteThread-6" (0x51a570)
weblogic.kernel.ExecuteThread@EA4F3A38/EB91A998: <unowned>
Waiting to be notified:
"ExecuteThread-9" (0x51c1e8)
weblogic.kernel.ExecuteThread@EA4F3788/EB919E80: <unowned>
Waiting to be notified:
"ExecuteThread-7" (0x51bfb8)
weblogic.kernel.ExecuteThread@EA4F3380/EB918E60: <unowned>
Waiting to be notified:
"ExecuteThread-4" (0x51bea0)
weblogic.t3.srvr.StartupThread@EA673398/EC48C990: <unowned>
Waiting to be notified:
"main" (0x2ef60)
weblogic.kernel.ExecuteThread@EA4F3B90/EB91AF00: <unowned>
Waiting to be notified:
"ExecuteThread-10" (0x51c300)
java.lang.Class@EA68B010/EC5668C8: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F3FA0/EB91BF20: <unowned>
Waiting to be notified:
"ExecuteThread-13" (0x51c648)
weblogic.time.common.internal.TimeTable@EA4E38A8/EB881130: <unowned>
Waiting to be notified:
"TimeEventGenerator" (0x4e11a8)
java.lang.Object@EA676D30/EC4B9378: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F2F70/EB917DC0: <unowned>
Waiting to be notified:
"ExecuteThread-1" (0x51a840)
weblogic.kernel.ExecuteThread@EA4F4100/EB91C478: <unowned>
Waiting to be notified:
"ExecuteThread-14" (0x525998)
Registered Monitor Dump:
PCMap lock: <unowned>
utf8 hash table: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: owner "StartupThread" (0x2e82ab0) 1 entry
Class linking lock: <unowned>
System class loader lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Monitor cache lock: owner "StartupThread" (0x2e82ab0) 1 entry
Thread queue lock: owner "StartupThread" (0x2e82ab0) 1 entry
Monitor registry: owner "StartupThread" (0x2e82ab0) 1 entry
Abort (core dumped)Weblogic does not dump core. The Java virtual machine does.
As for your problem, I would be willing to bet that this is a 122_05a
JVM. I would recommend downgrading to the versions that we certify.
The platform support page for WebLogic Server is located at:
http://www.weblogic.com/docs51/platforms/index.html
This page has the latest and greatest information on the platforms that
WebLogic is certified and supported on.
Bryan Bugliari wrote:
>
I am getting a core dump when starting up my WL server. It seems to be
timing related. The WL startup class is causing the error.
The error does not occur if I do not deploy any EJBs. If I deploy one EJB
the error occurrs. If I deploy two or more EJBs the error does not occur.
The startup class is accessing the database.
Has anyone seen a similar error or know of a solution. Is this a supported
platform?
Environment info and the error dump follow. Thanks in advance.
Bryan Bugliari
[email protected]
Some info on the environment:
Solaris 2.6
jdk1.2.2
WL 5.1.0 sp2
Oracle 8.0.5 client
WL PROPERTIES FILE:
weblogic.jdbc.connectionPool.oraclePool=\
url=jdbc:weblogic:oracle,\
driver=weblogic.jdbc.oci.Driver, \
loginDelaySecs=1,\
initialCapacity=4,\
maxCapacity=25,\
capacityIncrement=5,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=10,\
testTable=dual,\
props=user=esteel;password=esteel;server=esteel
# Add a TXDataSource for the connection pool:
weblogic.jdbc.TXDataSource.oracleDataSource=oraclePool
WL LOG FILE:
Fri Jun 30 12:10:21 EDT 2000:<I> <System Props> java.class.path =
/opt/app/weblogic/lib/weblogic510sp2boot.jar:/opt/app/weblogic/classes/boot:
/opt/app/weblogic/license:/opt/app/weblogic/oci/classes
java.class.version = 46.0
java.compiler = sunwjit
java.ext.dirs = /usr/local/jdk1.2.2/jre/lib/ext
java.home = /usr/local/jdk1.2.2/jre
java.io.tmpdir = /var/tmp/
java.library.path =
/usr/local/jdk1.2.2/bin/../jre/lib/sparc/native_threads:/usr/local/jdk1.2.2/
bin/../jre/lib/sparc/classic:/usr/local/jdk1.2.2/bin/../jre/lib/sparc:/opt/a
pp/weblogic/oci/lib/solaris/oci805_8:/opt/app/oracle/products/8.0.5/lib:/usr
/lib
java.protocol.handler.pkgs = weblogic.utils|weblogic.utils
java.security.manager =
java.security.policy = =/opt/app/weblogic/weblogic.policy
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.2
java.vendor = Sun Microsystems Inc.
java.vendor.url = http://java.sun.com/
java.version = 1.2.2
java.vm.info = build JDK-1.2.2-001, native threads, sunwjit
java.vm.name = Classic VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 1.2.2
ERROR BEGINS HERE:
Fri Jun 30 12:10:25 EDT 2000:<I> <EJB> Enterprise JavaBeans initializing
Fri Jun 30 12:10:27 EDT 2000:<I> <EJB JAR deployment
/local/home/weblogic/bbugliar/myserver/ActivityManager.jar> EJB home
interface: 'com.esteel.exchange.domain.activitymanager.ActivityManagerHome'
deployed bound to the JNDI name: 'ActivityManagerHome'
Fri Jun 30 12:10:27 EDT 2000:<I> <EJB> 1 EJB jar files loaded, containing 1
EJBs
Fri Jun 30 12:10:27 EDT 2000:<I> <EJB> 1 deployed, 0 failed to deploy.
Fri Jun 30 12:10:28 EDT 2000:<I> <ZAC> ZAC disabled
Fri Jun 30 12:10:28 EDT 2000:<I> <WebLogicServer> Invoking T3StartupDef
ReferenceDataWLStartup com.esteel.referencedata.ReferenceDataWLStartup with
SIGBUS 10* bus error
si_signo [10]: SIGBUS 10* bus error
si_errno [0]: Error 0
si_code [1]: BUS_ADRALN [addr: 0xB]
stackpointer=e7f0be04
Full thread dump Classic VM (JDK-1.2.2-001, native threads):
"StartupThread" (TID:0xea673398, sys_thread_t:0x2e82ab0, state:R, native
ID:0x1b) prio=5
at
weblogic.jdbc20.rmi.internal.ConnectionImpl.createStatement(ConnectionImpl.j
ava, Compiled Code)
at
weblogic.jdbc20.rmi.SerialConnection.createStatement(SerialConnection.java,
Compiled Code)
at com.esteel.referencedata.RDMeta._loadRDBase1FromId(RDMeta.java,
Compiled Code)
at com.esteel.referencedata.RDMeta._load(RDMeta.java, Compiled Code)
at com.esteel.referencedata.RDMeta.loadData(RDMeta.java, Compiled
Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.loadData(ReferenceDataServe
rImpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.<init>(ReferenceDataServerI
mpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.getInstance(ReferenceDataSe
rverImpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataWLStartup.startup(ReferenceDataWLStart
up.java, Compiled Code)
at weblogic.t3.srvr.StartupThread.runStartup(StartupThread.java,
Compiled Code)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java,
Compiled Code)
at
weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java,
Compiled Code)
"ExecuteThread-14" (TID:0xea4f4100, sys_thread_t:0x525998, state:CW,
native ID:0x18) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-13" (TID:0xea4f3fa0, sys_thread_t:0x51c648, state:CW,
native ID:0x17) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-12" (TID:0xea4f3e48, sys_thread_t:0x51c530, state:CW,
native ID:0x16) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-11" (TID:0xea4f3cf0, sys_thread_t:0x51c418, state:CW,
native ID:0x15) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-10" (TID:0xea4f3b90, sys_thread_t:0x51c300, state:CW,
native ID:0x14) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-9" (TID:0xea4f3a38, sys_thread_t:0x51c1e8, state:CW,
native ID:0x13) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-8" (TID:0xea4f38e8, sys_thread_t:0x51c0d0, state:CW,
native ID:0x12) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-7" (TID:0xea4f3788, sys_thread_t:0x51bfb8, state:CW,
native ID:0x11) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-6" (TID:0xea4f3630, sys_thread_t:0x51a570, state:CW,
native ID:0x10) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-5" (TID:0xea4f34d8, sys_thread_t:0x51a458, state:CW,
native ID:0xf) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-4" (TID:0xea4f3380, sys_thread_t:0x51bea0, state:CW,
native ID:0xe) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-3" (TID:0xea4f32c0, sys_thread_t:0x51ba30, state:CW,
native ID:0xd) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-2" (TID:0xea4f30d0, sys_thread_t:0x51b918, state:CW,
native ID:0xc) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-1" (TID:0xea4f2f70, sys_thread_t:0x51a840, state:CW,
native ID:0xb) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-0" (TID:0xea4f2868, sys_thread_t:0x51a728, state:CW,
native ID:0xa) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"TimeEventGenerator" (TID:0xea4e2e38, sys_thread_t:0x4e11a8, state:CW,
native ID:0x9) prio=5
at java.lang.Object.wait(Native Method)
at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java,
Compiled Code)
at
weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java
, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
"SpinnerRandomSource" (TID:0xea4e19f0, sys_thread_t:0x4d3018, state:CW,
native ID:0x7) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at
weblogic.security.SpinnerThread.stopSpinning(SpinnerRandomBitsSource.java,
Compiled Code)
at weblogic.security.SpinnerThread.run(SpinnerRandomBitsSource.java,
Compiled Code)
"Finalizer" (TID:0xea400320, sys_thread_t:0x6e4f8, state:CW, native
ID:0x6) prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
"Reference Handler" (TID:0xea4003b0, sys_thread_t:0x3ca80, state:CW,
native ID:0x5) prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:424)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
"Signal dispatcher" (TID:0xea4003e0, sys_thread_t:0x65460, state:CW,
native ID:0x4) prio=5
"main" (TID:0xea4001e0, sys_thread_t:0x2ef60, state:CW, native ID:0x1)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at
weblogic.t3.srvr.PropertyExecuteThread.waitForCompletion(PropertyExecuteThre
ad.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java, Compiled Code)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java, Compiled
Code)
at weblogic.Server.main(Server.java, Compiled Code)
at weblogic.Server.main(Server.java, Compiled Code)
Monitor Cache Dump:
weblogic.kernel.ExecuteThread@EA4F32C0/EB9188F0: <unowned>
Waiting to be notified:
"ExecuteThread-3" (0x51ba30)
weblogic.kernel.ExecuteThread@EA4F34D8/EB9193D8: <unowned>
Waiting to be notified:
"ExecuteThread-5" (0x51a458)
weblogic.security.SpinnerThread@EA4E19F0/EB870528: <unowned>
Waiting to be notified:
"SpinnerRandomSource" (0x4d3018)
weblogic.kernel.ExecuteThread@EA4F30D0/EB918348: <unowned>
Waiting to be notified:
"ExecuteThread-2" (0x51b918)
weblogic.kernel.ExecuteThread@EA4F38E8/EB91A3E0: <unowned>
Waiting to be notified:
"ExecuteThread-8" (0x51c0d0)
weblogic.kernel.ExecuteThread@EA4F3CF0/EB91B458: <unowned>
Waiting to be notified:
"ExecuteThread-11" (0x51c418)
java.lang.ref.Reference$Lock@EA4003C0/EB0CF4B8: <unowned>
Waiting to be notified:
"Reference Handler" (0x3ca80)
weblogic.kernel.ExecuteThread@EA4F3E48/EB91B9B8: <unowned>
Waiting to be notified:
"ExecuteThread-12" (0x51c530)
weblogic.kernel.ExecuteThread@EA4F2868/EB913FC0: <unowned>
Waiting to be notified:
"ExecuteThread-0" (0x51a728)
java.lang.ref.ReferenceQueue$Lock@EA400338/EB0CF9C0: <unowned>
Waiting to be notified:
"Finalizer" (0x6e4f8)
java.lang.Object@EA675248/EC4A6D18: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F3630/EB919930: <unowned>
Waiting to be notified:
"ExecuteThread-6" (0x51a570)
weblogic.kernel.ExecuteThread@EA4F3A38/EB91A998: <unowned>
Waiting to be notified:
"ExecuteThread-9" (0x51c1e8)
weblogic.kernel.ExecuteThread@EA4F3788/EB919E80: <unowned>
Waiting to be notified:
"ExecuteThread-7" (0x51bfb8)
weblogic.kernel.ExecuteThread@EA4F3380/EB918E60: <unowned>
Waiting to be notified:
"ExecuteThread-4" (0x51bea0)
weblogic.t3.srvr.StartupThread@EA673398/EC48C990: <unowned>
Waiting to be notified:
"main" (0x2ef60)
weblogic.kernel.ExecuteThread@EA4F3B90/EB91AF00: <unowned>
Waiting to be notified:
"ExecuteThread-10" (0x51c300)
java.lang.Class@EA68B010/EC5668C8: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F3FA0/EB91BF20: <unowned>
Waiting to be notified:
"ExecuteThread-13" (0x51c648)
weblogic.time.common.internal.TimeTable@EA4E38A8/EB881130: <unowned>
Waiting to be notified:
"TimeEventGenerator" (0x4e11a8)
java.lang.Object@EA676D30/EC4B9378: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F2F70/EB917DC0: <unowned>
Waiting to be notified:
"ExecuteThread-1" (0x51a840)
weblogic.kernel.ExecuteThread@EA4F4100/EB91C478: <unowned>
Waiting to be notified:
"ExecuteThread-14" (0x525998)
Registered Monitor Dump:
PCMap lock: <unowned>
utf8 hash table: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: owner "StartupThread" (0x2e82ab0) 1 entry
Class linking lock: <unowned>
System class loader lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Monitor cache lock: owner "StartupThread" (0x2e82ab0) 1 entry
Thread queue lock: owner "StartupThread" (0x2e82ab0) 1 entry
Monitor registry: owner "StartupThread" (0x2e82ab0) 1 entry
SIGABRT 6* abort (generated by abort(3) routine)
si_signo [6]: SIGABRT 6* abort (generated by abort(3) routine)
si_errno [0]: Error 0
si_code [-1]: SI_LWP [pid: 11078, uid: 3058]
stackpointer=e7f0b55c
Full thread dump Classic VM (JDK-1.2.2-001, native threads):
"StartupThread" (TID:0xea673398, sys_thread_t:0x2e82ab0, state:R, native
ID:0x1b) prio=5
at
weblogic.jdbc20.rmi.internal.ConnectionImpl.createStatement(ConnectionImpl.j
ava, Compiled Code)
at
weblogic.jdbc20.rmi.SerialConnection.createStatement(SerialConnection.java,
Compiled Code)
at com.esteel.referencedata.RDMeta._loadRDBase1FromId(RDMeta.java,
Compiled Code)
at com.esteel.referencedata.RDMeta._load(RDMeta.java, Compiled Code)
at com.esteel.referencedata.RDMeta.loadData(RDMeta.java, Compiled
Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.loadData(ReferenceDataServe
rImpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.<init>(ReferenceDataServerI
mpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataServerImpl.getInstance(ReferenceDataSe
rverImpl.java, Compiled Code)
at
com.esteel.referencedata.ReferenceDataWLStartup.startup(ReferenceDataWLStart
up.java, Compiled Code)
at weblogic.t3.srvr.StartupThread.runStartup(StartupThread.java,
Compiled Code)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java,
Compiled Code)
at
weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java,
Compiled Code)
"ExecuteThread-14" (TID:0xea4f4100, sys_thread_t:0x525998, state:CW,
native ID:0x18) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-13" (TID:0xea4f3fa0, sys_thread_t:0x51c648, state:CW,
native ID:0x17) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-12" (TID:0xea4f3e48, sys_thread_t:0x51c530, state:CW,
native ID:0x16) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-11" (TID:0xea4f3cf0, sys_thread_t:0x51c418, state:CW,
native ID:0x15) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-10" (TID:0xea4f3b90, sys_thread_t:0x51c300, state:CW,
native ID:0x14) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-9" (TID:0xea4f3a38, sys_thread_t:0x51c1e8, state:CW,
native ID:0x13) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-8" (TID:0xea4f38e8, sys_thread_t:0x51c0d0, state:CW,
native ID:0x12) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-7" (TID:0xea4f3788, sys_thread_t:0x51bfb8, state:CW,
native ID:0x11) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-6" (TID:0xea4f3630, sys_thread_t:0x51a570, state:CW,
native ID:0x10) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-5" (TID:0xea4f34d8, sys_thread_t:0x51a458, state:CW,
native ID:0xf) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-4" (TID:0xea4f3380, sys_thread_t:0x51bea0, state:CW,
native ID:0xe) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-3" (TID:0xea4f32c0, sys_thread_t:0x51ba30, state:CW,
native ID:0xd) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-2" (TID:0xea4f30d0, sys_thread_t:0x51b918, state:CW,
native ID:0xc) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-1" (TID:0xea4f2f70, sys_thread_t:0x51a840, state:CW,
native ID:0xb) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"ExecuteThread-0" (TID:0xea4f2868, sys_thread_t:0x51a728, state:CW,
native ID:0xa) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
"TimeEventGenerator" (TID:0xea4e2e38, sys_thread_t:0x4e11a8, state:CW,
native ID:0x9) prio=5
at java.lang.Object.wait(Native Method)
at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java,
Compiled Code)
at
weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java
, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
"SpinnerRandomSource" (TID:0xea4e19f0, sys_thread_t:0x4d3018, state:CW,
native ID:0x7) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at
weblogic.security.SpinnerThread.stopSpinning(SpinnerRandomBitsSource.java,
Compiled Code)
at weblogic.security.SpinnerThread.run(SpinnerRandomBitsSource.java,
Compiled Code)
"Finalizer" (TID:0xea400320, sys_thread_t:0x6e4f8, state:CW, native
ID:0x6) prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
"Reference Handler" (TID:0xea4003b0, sys_thread_t:0x3ca80, state:CW,
native ID:0x5) prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:424)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
"Signal dispatcher" (TID:0xea4003e0, sys_thread_t:0x65460, state:CW,
native ID:0x4) prio=5
"main" (TID:0xea4001e0, sys_thread_t:0x2ef60, state:CW, native ID:0x1)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java, Compiled Code)
at
weblogic.t3.srvr.PropertyExecuteThread.waitForCompletion(PropertyExecuteThre
ad.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java, Compiled Code)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java, Compiled
Code)
at weblogic.Server.main(Server.java, Compiled Code)
at weblogic.Server.main(Server.java, Compiled Code)
Monitor Cache Dump:
weblogic.kernel.ExecuteThread@EA4F32C0/EB9188F0: <unowned>
Waiting to be notified:
"ExecuteThread-3" (0x51ba30)
weblogic.kernel.ExecuteThread@EA4F34D8/EB9193D8: <unowned>
Waiting to be notified:
"ExecuteThread-5" (0x51a458)
weblogic.security.SpinnerThread@EA4E19F0/EB870528: <unowned>
Waiting to be notified:
"SpinnerRandomSource" (0x4d3018)
weblogic.kernel.ExecuteThread@EA4F30D0/EB918348: <unowned>
Waiting to be notified:
"ExecuteThread-2" (0x51b918)
weblogic.kernel.ExecuteThread@EA4F38E8/EB91A3E0: <unowned>
Waiting to be notified:
"ExecuteThread-8" (0x51c0d0)
weblogic.kernel.ExecuteThread@EA4F3CF0/EB91B458: <unowned>
Waiting to be notified:
"ExecuteThread-11" (0x51c418)
java.lang.ref.Reference$Lock@EA4003C0/EB0CF4B8: <unowned>
Waiting to be notified:
"Reference Handler" (0x3ca80)
weblogic.kernel.ExecuteThread@EA4F3E48/EB91B9B8: <unowned>
Waiting to be notified:
"ExecuteThread-12" (0x51c530)
weblogic.kernel.ExecuteThread@EA4F2868/EB913FC0: <unowned>
Waiting to be notified:
"ExecuteThread-0" (0x51a728)
java.lang.ref.ReferenceQueue$Lock@EA400338/EB0CF9C0: <unowned>
Waiting to be notified:
"Finalizer" (0x6e4f8)
java.lang.Object@EA675248/EC4A6D18: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F3630/EB919930: <unowned>
Waiting to be notified:
"ExecuteThread-6" (0x51a570)
weblogic.kernel.ExecuteThread@EA4F3A38/EB91A998: <unowned>
Waiting to be notified:
"ExecuteThread-9" (0x51c1e8)
weblogic.kernel.ExecuteThread@EA4F3788/EB919E80: <unowned>
Waiting to be notified:
"ExecuteThread-7" (0x51bfb8)
weblogic.kernel.ExecuteThread@EA4F3380/EB918E60: <unowned>
Waiting to be notified:
"ExecuteThread-4" (0x51bea0)
weblogic.t3.srvr.StartupThread@EA673398/EC48C990: <unowned>
Waiting to be notified:
"main" (0x2ef60)
weblogic.kernel.ExecuteThread@EA4F3B90/EB91AF00: <unowned>
Waiting to be notified:
"ExecuteThread-10" (0x51c300)
java.lang.Class@EA68B010/EC5668C8: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F3FA0/EB91BF20: <unowned>
Waiting to be notified:
"ExecuteThread-13" (0x51c648)
weblogic.time.common.internal.TimeTable@EA4E38A8/EB881130: <unowned>
Waiting to be notified:
"TimeEventGenerator" (0x4e11a8)
java.lang.Object@EA676D30/EC4B9378: owner "StartupThread" (0x2e82ab0) 1
entry
weblogic.kernel.ExecuteThread@EA4F2F70/EB917DC0: <unowned>
Waiting to be notified: -
Ctx doing a Core Dump with OLS
ConText is core dumping when trying to access (index) a BLOB in a column of a table with an Oracle Label Security (OLS) policy applied. Using Oracle8i EE 8.1.7.0.0 .
BACKGROUND:
I have created a table with a primary_key column, a blob, and a few other columns.
I have also created an index on the BLOB column of this table, w/ indextype is
ctxsys.context .
I inserted some rows, wrote some data directly to the BLOBs, and updated the index.
And then applied the policy. SQL works well; I get the expected results, also okay with the WHERE contains()>0 clause... all is (seemingly) happy.
Then I inserted some more rows, as above (while the policy was applied). No problem.
Since the ConText index MUST be explicitly updated/maintained, I issue the
alter index <index_name> rebuild online parameters ('sync')
command.
BOOM! core dump.
ATTEMPT TO RESOLVE CIRCUMVENT:
I remove the table policy, and the update ("ALTER") works fine.
I drop this index, re-apply the OLS policy, and try to CREATE the ConText index, and
BOOM!
. 1). any attempts for ConText to access the table when policy is applied... are
fatal.
. 2). remove the policy, and the exact same command(s) work fine!
I reconfigured the kernel to double the shared mem and semaphores allowable etc. (This
is a 4GB Sun server, Solaris 8, patched). I tried cranking up some init<>.ORA parameters. And try it again BOOM!
TRACE:
ksedmp: internal or fatal error
ORA-07445
PL/SQL Call Stack
Line#: Object:
245 pkg body CTXSYS.DRIDISP
372 pkg body CTXSYS.DRIDISP
330 pkg body CTXSYS.DRIDISP
580 pkg body CTXSYS.DRIDDL
55 CTXSYS.TEXTINDEXMETHODS
1 anonymous block
QUESTION:
Is there anything that you know of that precludes ConText from properly accessing
BLOBs in a table with OLS policy applied? IS there an additional OLS-specific step
that I should take? I installed OLS 8.1.7 after 8i and ctx; should I relink/re-install ConText?
Please help...
Ben Lowers
Georgia Tech Research Institute
nullPlease open a TAR with Oracle support.
-
Core dump with WLS6.1SP2 on HP in libjvm.sl
I'm getting the following core dump on HP/UX 11.0. Has anyone seen this before? I'm using the JVM that ships with Weblogic.
Unexpected Signal : 10 occurred at PC=0xc37feb60
Function name=compute_is_subtype_of__13instanceKlassFP12klassOopDesc
Library=/home/darcher/bea/jdk131/jre/bin/../lib/PA_RISC2.0/server/libjvm.sl
Current Java thread:
"ExecuteThread: '11' for queue: 'default'" daemon prio=1 tid=0x00034df8 nid=23 lwp_id=6933 runnable [0x07bf3000..0x07b75478]
at inetsoft.report.internal.Gop.compare(Gop.java:766)
at inetsoft.report.Common.compare(Common.java:610)
at inetsoft.report.filter.DefaultComparer.compare(DefaultComparer.java:36)
at inetsoft.report.filter.SortFilter.compare(SortFilter.java:164)
at inetsoft.report.filter.SortFilter.qsort(SortFilter.java:195)
at inetsoft.report.filter.SortFilter.qsort(SortFilter.java:214)
at inetsoft.report.filter.SortFilter.qsort(SortFilter.java:214)
Thanks,
DaveI'm getting the following core dump on HP/UX 11.0. Has anyone seen thisbefore? I'm using the JVM that ships with Weblogic.
Turn off the native IO first ... see if that makes a dif.
Then turn off hotspot (or JIT) and see if that makes a dif.
Then call HP (if it's the JIT) or BEA (if it's the native IO).
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"David W. Archer" <[email protected]> wrote in message
news:[email protected]..
> -
Core dump with simple sub-agent - Any idea
Hi,
I'm using SEA 1.03 on Solaris 7 with patch 107709-11.
I'm trying to build a simple sub-agent with a different enterprises MIB id (1.3.6.1.4.1.4315.20.1-2 as Integer).
I'm compiling it with Sun Workshop 5.0 C compiler.
When running in debug it starts and writes out:
SUBTREES: 1.3.6.1.4.1.4315.20.1 xpstestd 8000
1.3.6.1.4.1.4315.20.2 xpstestd 8000
When running the first SNMP GET request for OID
1.3.6.1.4.1.4315.20.1 creates the following:
Waiting for incoming SNMP requests on UDP port 8000
<< received 44 bytes from localhost.34132
PACKET:
30 2A 02 01 00 04 06 70 75 62 6C 69 63 A0 1D 02
03 06 87 00 02 01 00 02 01 00 30 10 30 0E 06 0A
2B 06 01 04 01 A1 5B 14 01 00 05 00
PDU:
version: 0
community: public
type: GET_REQ_MSG (0xa0)
request id: 427776
error status: noError(0)
error index: 0
name: 1.3.6.1.4.1.4315.20.1.0
type: NULL (0x5)
length: 0
value: ( )
node_find() returned xpsId with suffix 0
!! get(): processing the variable xpsId
Segmentation Fault (core dumped)
==============================
Any idea what is wrong?Thats a problem with Solstice... all I did to fix that problem was to install the patch...
Find and install the latest patch (I used 108870-04).
Hope it helps. -
Getting "Baseband Core dump in progress" and after that 3G doesn't work
My iPhone 4 told me several times that there is a Baseband Core dump in progress. After that my 3G connection doesn't work anymore. Only a reboot of the iPhone solves the damaged connection.
This behavior is going to make me angry. Can someone tell me how to solve this issue?
P.S: I'm not using any beta iOS Version.It's basically dumping a bunch of information from memory about the current state of the kernel and what not, so that it has a detailed error report to send to Apple. This data is uploaded to Apple when you sync with iTunes. Essentially an execution path of "core code". This is behavior typical of beta software, yet you state you're not running beta software on your phone...are you positive? If not, I've seen this with jailbroken phones.
-
Core dump with SunOS 5.8 linker patch 109147-35
Our application experiences a segmentation fault and dumps core when executed on machines patched with recent versions of SunOS 5.8 linker patch 109147.
The coring occurs with versions 18 through 35 of patch 109147. Coring does not occur with versions 7 through 16 of the patch.
The segmentation fault occurs in mutex_unlock during iostream initialization:
feeebe8c mutex_unlock (ff275390, 1, 0, 0, 0, 0) + 1c
ff0eabf8 __SUNW_init_iostreams (ff271558, ff0eabec, ffffffff, ff271558, ff29a8d4, ff29b0bc) + c
ff286fa4 __1cH__CimplKcplus_init6F_v_ (fef76100, ff3e6114, ff030000, ff3e66b4, fffee1c0, fffee1c0) + 12c
fef64258 _init (0, ff3e66b4, ff3e60c8, ff3e66b4, 0, 0) + 40
ff3bc418 call_init (fed8176c, 200000, ff3e621c, ff3e66b4, fed81770, fed8176c) + 14c
ff3bbcb8 setup (ff3e66b4, ff3e6000, ff3e60c8, ff3e6168, ff3a022c, ff3e7d40) + edc
ff3c73d4 _setup (1, 0, 0, 300, ffffffff, ffffffff) + 388
ff3b2a70 rtboot (0, 0, 0, 0, 0, 0) + 88
00000000 ???????? (0, 0, 0, 0, 0, 0)
The problem occurs when the application is compiled with any of several different compiler versions (on SunOS 5.8 machines with or without patch 109147-35):
CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-18 2003/09/24
CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-22 2005/04/29
The problem is not remedied by application of patches 108434-18 and 108435-18, SunOS 5.8 32-Bit and 64-Bit Shared library patches for C++.
The application cores consistently on SunOS 5.8 patched with only 109147-35, 108434-18, and 108435-18.Your problem sounds similar to bug 6283644 "process cores when C++ library patch 111711-09 or above is installed". The bug has been fixed and will soon be available in a SUNWlibC patch (C++ runtime libraries).
We would need a test case to verify whether your problem is the same as that bug, or to find out what the problem is if it is not due to that bug.
If you have a Sun Service contract, you should talk to your service representative. If not, and if you can post a test case here, I can tell you more. -
Creating a LabVIEW Shared DLL for use with C# and Strings?
Hi All,
I am trying to create a prototype for a LabVIEW Shared DLL that all the VI does is take in a string and return an upper cased string. Needless to say the DLL builds fine but when I try calling the shared DLL from C# the .NET application recieves an exception about "Ansi char arrays can not be marshaled as byref or as an unmanaged-to-managed parameter". Does anyone have an example of how to pass a string to a VI and return a string or an example of a better way of accomplishing this.
We are using labVIEW 7.1 on Windows 2000.
I am in quite a bit of a hurry to prove that this type of a LabVIEW Shared DLL VI would work. The eventual system will be passing in a string of XML with a large amount of
data and returning XML.
Thanks in advance,
JimHello jprucha,
This occurs because LabVIEW DLLs are not considered managed code. As such, we need to define the C# function as unsafe to be able to call unmanaged DLLs.
You can find more information about C# and managed code at Microsoft's developer website linked below.
MSDN Home Page
Good luck with the development,
Matt F
Keep up to date on the latest PXI news at twitter.com/pxi -
TO_NUMBER function on varchar2 column with numbers and strings
I need to create a column in a view that converts a varchar2 column data to number. The problem is that some
of the data have strings and some numbers. I get "ORA-01722: invalid number" error when Oracle tries to covert
strings (e.g. 'ABCD') to number. What I need is to get a NULL value if the data is an invalid number.
How can I rewrite the following to get NULL value is a string is invalid number?
select to_number('abcd') numberColumn
from dual
thanx
AlfredSQL> select * from test_char_num;
ALPHA_NUM
ABC
DEF
123
234
A12
SQL> select decode(NVL(length(trim(translate(alpha_num, '1234567890', ' '))), 0),
2 0, alpha_num, 'NULL') new_alpha_num
3 from test_char_num;
NEW_ALPHA_
NULL
NULL
123
234
NULLP.S I am printing 'NULL' just to show the result, Please replace the 'NULL string with NULL value in SQL.
Thx,
Sri -
[SOLVED] What's broken with clang++ and string.h?
Not sure when this started:
$ cat foo.cpp
#include <cstring>
$ clang++ -c foo.cpp # Works fine
$ clang++ -O2 -c foo.cpp
In file included from foo.cpp:1:
In file included from /usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../include/c++/4.9.2/cstring:42:
/usr/include/string.h:82:1: error: unknown type name '__extern_always_inline'
__extern_always_inline void *
^
/usr/include/string.h:82:24: error: expected unqualified-id
__extern_always_inline void *
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Last edited by tavianator (2014-11-23 02:17:58)The upstream glibc-2.20 branch has one out of a pair of patches backported. I will fix it both upstream and here today.
-
C++: Mixing cout with sprintf and strings
I'm writing a C++ program, writing to sysout using cout. Because iostream's formatting codes are so completely bizarre and incomprehensible to me, I want to use sprintf() to build the output string, and cout to print it. And I'm having the worst time of it, probably because of not completely understanding const.
char buffer[81]; // +sprintf char[] buffer.+ *How is a programmer meant to post code fragments to this forum when brackets, pluses, underscores, and asterisks are interpreted as markup?????*+
string s = "%-" + itos(longest) + "s "; // +itos() converts int to string. it works correctly.+
char * c = s.c_str(); // +convert format string to a char*, which sprintf requires+
* ERROR: invalid conversion from "const char *" to "char *" *
sprintf(buffer, c, (n < wordvec.size()) ? wordvec[n] : ""); //
* WARNING: cannot pass objects of non-POD type ... call will abort at runtime
cout << buffer;
Can anyone advise me on what is the right way to do this, without having to learn iostream manipulators and other grossness? (s)printf is SO easy....
Thanks,
ChapChap Harrison wrote:
char buffer[81]; // +sprintf char[] buffer.+ *How is a programmer meant to post code fragments to this forum when brackets, pluses, underscores, and asterisks are interpreted as markup?????*+
string s = "%-" + itos(longest) + "s "; // +itos() converts int to string. it works correctly.+
char * c = s.c_str(); // +convert format string to a char*, which sprintf requires+
* ERROR: invalid conversion from "const char *" to "char *" *
sprintf(buffer, c, (n < wordvec.size()) ? wordvec[n] : ""); //
* WARNING: cannot pass objects of non-POD type ... call will abort at runtime
cout << buffer;
</div>
Wordvec appears to be a std::string. You will have to convert it before you can print it. As for the const problem, there isn't much I can tell you. c_str() returns a const char *. You can't/shouldn't cast that into a char *. In fact, you don't even need to do that at all.
sprintf(buffer, "%-*s", longest, n < wordvec.size()) ? wordvec[n].c_str() : "); -
Hello All,
We are developing a multithreaded application on
SunOS 5.8 using Forte C++ compiler.
#0 0xff350a9c in malloc_unlocked () from /usr/lib/libmalloc.so.1
#1 0xff350940 in malloc () from /usr/lib/libmalloc.so.1
#2 0xff068514 in __1cDOSLMAPSubscriberJgetValues6kMIpnHldapmod__v_ (this=0xfc0fd8f8, idx=11, out=0x28253f48)
#3 0xff060b64 in __1cDOSLNaddSubscriber6Mrn0AMAPSubscriber__n0AFError__ (this=0x139f2454, newSubs=@0xfc0fd8f8)
#4 0xff20d784 in __1cMDPMD_AdpAPR3PdoPutMbxProfile6M_v_ (this=0x139f2418)
Let me know what might be the reason for this coredump.
Thanks
VenkatTake a look at the following threads for some ideas.
http://forum.sun.com/thread.jspa?threadID=2514
http://forum.sun.com/thread.jspa?threadID=25174
http://forum.sun.com/thread.jspa?threadID=25077
If none of these help, please provide more information about your program and the compiler you are using.
Is the program multi-threaded?
Are you using the default libCstd, or the option STLport, or some other version of the C++ Standard LIbrary?
Run the command "CC-V" to find out the compiler version and patch level.
Maybe you are looking for
-
Search in: "Service Registry" option doesnt appear - Configuration
Hello, I´ve tried the configuration of the Visual Composer for searching in Service Registry but I still cant see in the search in field the option "Service Registry". I´ve configured the destination type Service Registry to my physical system (de
-
Working around Component.setEnabled().
I'm having a lot of issues arising from events generated from setEnabled() due to the fact that they get added to the end of the queue. For some reason even running code using SwingUtilities.invokeLater() after the setEnabled() doesn't work, the offe
-
Why is there a difference in the quantity display in Mp VS infosets?
hi all, I have created an multi provider with 4 ods and as well as infosets with 4 ods. I have created a query with the same infobjects and selection parameters for multi provider and infoset. But i am getting a difference in the result. my multi pro
-
Replacing UDf with BPM functionality
Does anybody know if I can replace the following UDF by making a BPM that does the same thing? public void SearchForString(String[] a,String[] b,String[] c,ResultList result,Container container){ int start_ind = 0, //Variable used t
-
Flagged email synced between devices
When I flag an email on my iMac, it does not show up as flagged on my mobile devices. Is this the way Mail works or should I be changing my settings to allow for it. All my devices have the latest software updates. Any help would be appreciated. T