|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Core dump issues |
« View previous topic :: View next topic » |
Author |
Message
|
BDB |
Posted: Mon Mar 09, 2009 2:16 pm Post subject: Core dump issues |
|
|
Apprentice
Joined: 06 Jan 2009 Posts: 28
|
I am getting the Core dump on Linux box. I have a Request /Reply pattern implemented and it crashes when the program calls the .recieve() method.It occurs sporadically. Did anyone face this issue?
Here is the dump for your reference.
Code: |
===== BEGIN DUMP =============================================================
JRockit dump produced after 0 days, 00:00:57 on Mon Mar 9 17:54:53 2009
Additional information is available in:
/ttc/.p_weblogicApps/weblogicApps/myproj/myserver/bin/jrockit.46125.dump
No snapshot file (core dump) will be created because core dumps have been
disabled. To enable core dumping, try "ulimit -c unlimited"
before starting JRockit again.
If you see this dump, please open a support case with BEA and
supply as much information as you can on your system setup and
the program you were running. You can also search for solutions
to your problem at http://forums.bea.com in
the forum jrockit.developer.interest.general.
Error Message: Illegal memory access. [54]
Signal info : si_signo=11, si_code=2 si_addr=(nil)
Version : BEA JRockit(R) R27.4.0-90-89592-1.5.0_12-20070928-1715-linux-x86_64
GC Strategy : Mode: throughput. Currently using strategy: genparpar
GC Status : OC is not running. Last finished OC was OC#1.
: YC is not running. Last finished YC was YC#5.
OC History : Strategy genparpar was used for OC#1.
YC History : Ran 5 YCs before OC#1.
: Ran 0 YCs since last OC.
Heap : 0x1000000 - 0x11000000
Compaction : 0x10000000 - 0x11000000
NurseryList : 0x18abf88 - 0xbe6f838
KeepArea : 0x70007f0 - 0x9000000
NurseryMarker: [ 0x5d81190, 0x92ba658 ]
CompRefs : References are compressed.
CPU : Intel Core 2 SSE SSE2 SSE3 SSSE3 Core EM64T
Number CPUs : 16
Tot Phys Mem : 135140048896 (128879 MB)
OS version : SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 1
Linux version 2.6.16.46-0.12-smp (geeko@buildhost) (gcc version 4.1.2 20070115 (prerelease) (SUSE Linux)) #1 SMP Thu May 17 14:00:09 UTC 2007 (x86_64)
Thread System: NPTL
Java locking : Normal
State : JVM is running
Command Line : -server -Xms256m -Xmx256m -XX:MaxPermSize=128m -verbose:gc -Dweblogic.RootDirectory=/ttc/myhost/proj/weblogicApps/myproj -Dweblogic.Domain=myserver -Dweblogic.Name=myproj -Dweblogic.management.server=http://fcas1001.dearborn.ttc.com:14114 -Dweblogic_url=t3://fcas1001.dearborn.ttc.com:8114 -Dweblogic_http_url=http://fcas1001.dearborn.ttc.com:8114 -Dweblogic.ProductionModeEnabled=false -Dbea.home=/ttc/myhost/proj/weblogic10/beahome_sp1 -Djava.security.policy==/ttc/myhost/proj/weblogic10/beahome_sp1/weblogic101/server/lib/weblogic.policy -Dsun.net.inetaddr.ttl=10 -Dweblogic.system.BootIdentityFile=/ttc/myhost/proj/weblogic10/beahome_sp1/.bootProp_dev -Dweblogic.Use81StyleExecuteQueues=true -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0 -Dgts.util.datasource.password=e549f0f2da803cb118 -Dgts.util.datasource.userid=dsuser -Dgts.config.encryption_key_file=/ttc/myhost/proj/weblogic10/security/dsuserkey -Djava.security.egd=file:/dev/./urandom -Dgts.config.encryption_key_file=/ttc/myhost/proj/weblogic10/security/dsuserkeyfile -Dpath_prefix=/ttc/myhost/proj/weblogicApps/myproj/myserver/applications/myproj/WEB-INF -Dexception_logdir=/ttc/myhost/proj/weblogicApps/myproj/config/myserver/logs -Dhost.facility=G -Dims.transport=tcpip -Dtemplate_prefix=/ttc/myhost/proj/weblogicApps/myproj/myserver/applications/myproj -Dgts.property.dir=/ttc/myhost/proj/weblogicApps/myproj/config/myserver/applications/myproj/WEB-INF/properties -Djava.endorsed.dirs=/ttc/myhost/proj/weblogicApps/myproj/config/myserver/serverclasses/activeSys/endorsed -Djava.util.logging.config.file=/ttc/myhost/proj/weblogicApps/myproj/config/myserver/applications/myproj/WEB-INF/properties/loadjmslog.properties -Denvironment_type=PIT -Dgts_debug=true -Dtemplate_caching=false -Dperflogging=true -Dhttp_port=9001 -Dhttps_port=9002 -Ddb_environment=fcu@tad -Dfordcredit_company_code=1,8211,4201,4501,7431,7201,5011 -Dprimus_company_code=2,8202,6202,5602,4502,7432,7202,5512 -Dfordcreditib_company_cd=7,8217,4207 -Dprimusib_company_cd=8,8208,6208 -Dfairlanecredit_company_code=3,8203,9203,4503,7433 -Dasv_printing_level=2 -Demail_host=localhost -Dcs.disable_printing=true -Dsun.java.launcher=SUN_STANDARD weblogic.Server
java.home : /ttc/.p_weblogic10/weblogic10/beahome_sp1/JRockit5.0R27.4.0-jdk1.5.0_12/jre
j.class.path : /ttc/myhost/proj/weblogicApps/myproj/config/myserver/serverclasses/activeSys/gtsSystem.jar:
/ttc/myhost/proj/db2connect/v91/sqlj.zip:
/ttc/myhost/proj/db2connect/v91/db2jcc.jar:
/ttc/myhost/proj/db2connect/v91/db2jcc_license_cisuz.jar:
/ttc/myhost/proj/weblogic10/wlpatch/wl10consolepatch.jar:
/ttc/myhost/proj/weblogic10/wlpatch/CR271671_1000mp1.jar:
/ttc/myhost/proj/weblogic10/wlpatch/CR315390_1000mp1.jar:
/ttc/myhost/proj/weblogic10/wlpatch/CR344429_1000mp1.jar:
/ttc/myhost/proj/weblogic10/wlpatch/CR345092_1000mp1.jar:
/ttc/myhost/proj/weblogic10/beahome_sp1/weblogic101/server/lib/weblogic.jar:
/ttc/myhost/proj/weblogicApps/myproj/config/myserver/java/lib/tools.jar:
/ttc/myhost/proj/weblogic10/wlpatch/gtsRealm_patch.jar:
/ttc/myhost/proj/weblogicApps/myproj/config/myserver/serverclasses/activeSys:
/ttc/myhost/proj/weblogicApps/myproj/config/myserver/serverclasses/activeSys/gtsSystem.jar:
/ttc/myhost/proj/weblogicApps/myproj/config/myserver/serverclasses/activeSys/gts.jar:
/ttc/myhost/proj/weblogicApps/myproj/config/myserver/serverclasses/activeSys/gwRealm.jar:
/ttc/myhost/proj/weblogicApps/myproj/config/myserver/applications/gtsEJB.jar:
/ttc/myhost/proj/weblogicApps/myproj/config/myserver/serverclasses/activeSys/racf/racfAuthenticationClient.jar:
/ttc/myhost/proj/weblogicApps/myproj/config/myserver/serverclasses/activeSys/cmotma.jar:
/ttc/myhost/proj/weblogicApps/myproj/config/myserver/serverclasses/activeSys/proxyAggregate.jar:
/ttc/myhost/proj/weblogicApps/myproj/config/myserver/serverclasses/activeSys/tools.jar:
/ttc/myhost/proj/weblogicApps/myproj/config/myserver/serverclasses/activeSys/commonapi.jar:
/ttc/myhost/proj/weblogicApps/myproj/config/myserver/serverclasses/activeSys/gtsThirdParty.jar:
/ttc/myhost/proj/weblogicApps/myproj/config/myserver/serverclasses/activeSys/gtsXSSEncodingFilter.jar:
/ttc/myhost/proj/weblogicApps/myproj/config/myserver/serverclasses/activeSys/bcprov.jar:
/ttc/myhost/proj/weblogicApps/myproj/config/myserver/serverclasses/activeSys/DealerServiceClient.jar:
/opt/mqm/java/lib:
/opt/mqm/java/lib/com.ibm.mq.jar:
/opt/mqm/java/lib/com.ibm.mq.jms.Nojndi.jar:
/opt/mqm/java/lib/com.ibm.mq.soap.jar:
/opt/mqm/java/lib/com.ibm.mqjms.jar:
/opt/mqm/java/lib/commonservices.jar:
/opt/mqm/java/lib/jms.jar:
/opt/mqm/java/lib/jndi.jar:
/opt/mqm/java/lib/jta.jar:
/opt/mqm/java/lib/connector.jar:
/opt/mqm/java/lib/dhbcore.jar:
/opt/mqm/java/lib/providerutil.jar:
/opt/mqm/java/lib/fscontext.jar:
/opt/mqm/java/lib/rmm.jar:
/opt/mqm/java/lib/CL3Export.jar:
/opt/mqm/java/lib/CL3Nonexport.jar:
/ttc/myhost/proj/weblogicApps/myproj/config/myserver/serverclasses/activeSys/MQCommon.jar:
/ttc/myhost/proj/weblogicApps/myproj/myserver/applications/myproj/WEB-INF/classes:.
j.lib.path : /ttc/.p_weblogic10/weblogic10/beahome_sp1/JRockit5.0R27.4.0-jdk1.5.0_12/jre/lib/amd64/jrockit:/ttc/.p_weblogic10/weblogic10/beahome_sp1/JRockit5.0R27.4.0-jdk1.5.0_12/jre/lib/amd64:/ttc/.p_weblogic10/weblogic10/beahome_sp1/JRockit5.0R27.4.0-jdk1.5.0_12/jre/../lib/amd64:/usr/lib/lwp:/opt/mqm/java/lib64:/ttc/myhost/proj/weblogic10/beahome_sp1/weblogic101/server/native/linux/x86_64
JAVA_HOME : <not set>
_JAVA_OPTIONS: <not set>
LD_LIBRARY_PATH: /ttc/.p_weblogic10/weblogic10/beahome_sp1/JRockit5.0R27.4.0-jdk1.5.0_12/jre/lib/amd64/jrockit:/ttc/.p_weblogic10/weblogic10/beahome_sp1/JRockit5.0R27.4.0-jdk1.5.0_12/jre/lib/amd64:/ttc/.p_weblogic10/weblogic10/beahome_sp1/JRockit5.0R27.4.0-jdk1.5.0_12/jre/../lib/amd64:/usr/lib/lwp:/opt/mqm/java/lib64:/ttc/myhost/proj/weblogic10/beahome_sp1/weblogic101/server/native/linux/x86_64
LD_ASSUME_KERNEL: <not set>
C Heap : Good; no memory allocations have failed
StackOverFlow: 0 StackOverFlowErrors have occured
OutOfMemory : 0 OutOfMemoryErrors have occured
Registers (from ThreadContext: 0x40a0de50 / OS context: 0x40a0df10):
rax = 0000000000000000 rcx = ffffffffffffffff
rdx = 000000000000000c rbx = 000000000000000c
rsp = 0000000040a0e148 rbp = 0000000040a0e160
rsi = 000000000000b486 rdi = 000000000000b42d
r8 = fefefefefefefeff r9 = 7373657264646120
r10 = 656d6e67696c6120 r11 = 0000000000000286
r12 = 0000000040a0e4f0 r13 = 00002aaaacd99e90
r14 = 0000000040a0e3c0 r15 = 0000000040a0e3c0
cs = 0000000000000033 fs = 0000000400000000
gs = 0004000000000000
rip = 00002b8e6117fea3 flags = 0000000000000286
Stack:
(* marks the word pointed to by the stack pointer)
0000000040a0e148: 00002b8e618a01b8* 00002aaaacd99570 00002aaaacd99570 0000000040a0e190
0000000040a0e168: 00002b8e618f6516 0000000040a0e3c0 0000000040a0e4f0 00002aaaacd99570
0000000040a0e188: 0000000000000000 0000000040a0e1c0 00002b8e618f655b 0000000000000000
0000000040a0e1a8: 00002aaab1102600 00002aaab1102260 000000000000000b 0000000000000000
0000000040a0e1c8: 00002aaab0e7cfef 00000000000095fe 0000000000000000 0000000000000000
0000000040a0e1e8: 0000000000000000 0000000000000002 0000000000000002 0000000000000001
Code:
(* marks the word pointed to by the instruction pointer)
00002b8e6117fe40: 488824748d487846 ffffffb848240489 d02148ffffffff7f fffeffffffffba48
00002b8e6117fe60: 448948d02148ffff 90ffffff23e98824 00000090b78bf289 7ef68500000003b9
00002b8e6117fe80: f88316b1e0428d30 94253c8b64267601 000000eab8000000 6348f66348d26348
00002b8e6117fea0: f7c931c289050fff* 470ffffff0003dda 90909090c3c889ca 9090909090909090
00002b8e6117fec0: 894800000003ba53 90878b10ec8348fb e8497ec085000000 000020ba00003424
00002b8e6117fee0: 8b000000eab84100 83f189000000c8b3 c8892874ce390cc9 28740af883bbe083
Loaded modules:
(* denotes the module causing the exception)
0000000000400000-000000000041192b /ttc/.p_weblogic10/weblogic10/beahome_sp1/JRockit5.0R27.4.0-jdk1.5.0_12/bin/java
00002b8e61175000-00002b8e611866e0 */lib64/libpthread.so.0
00002b8e6128c000-00002b8e612df41b /lib64/libm.so.6
00002b8e613e1000-00002b8e613e2edb /lib64/libdl.so.2
00002b8e614e6000-00002b8e6160c58d /lib64/libc.so.6
00002b8e61059000-00002b8e61073b47 /lib64/ld-linux-x86-64.so.2
00002b8e61718000-00002b8e619b7e0f /ttc/.p_weblogic10/weblogic10/beahome_sp1/JRockit5.0R27.4.0-jdk1.5.0_12/jre/lib/amd64/jrockit/libjvm.so
00002b8e61c19000-00002b8e61c200c8 /lib64/librt.so.1
00002b8e61d22000-00002b8e61d2b2d3 /lib64/libnss_files.so.2
00002b8e61f8c000-00002b8e61f98427 /ttc/.p_weblogic10/weblogic10/beahome_sp1/JRockit5.0R27.4.0-jdk1.5.0_12/jre/lib/amd64/libverify.so
00002b8e6209b000-00002b8e620be21b /ttc/.p_weblogic10/weblogic10/beahome_sp1/JRockit5.0R27.4.0-jdk1.5.0_12/jre/lib/amd64/libjava.so
00002b8e621e6000-00002b8e621f813b /lib64/libnsl.so.1
00002b8ea238c000-00002b8ea239263f /ttc/.p_weblogic10/weblogic10/beahome_sp1/JRockit5.0R27.4.0-jdk1.5.0_12/jre/lib/amd64/native_threads/libhpi.so
00002aaaaad07000-00002aaaaad14d93 /ttc/.p_weblogic10/weblogic10/beahome_sp1/JRockit5.0R27.4.0-jdk1.5.0_12/jre/lib/amd64/libzip.so
00002aaaab875000-00002aaaab885fdf /ttc/.p_weblogic10/weblogic10/beahome_sp1/JRockit5.0R27.4.0-jdk1.5.0_12/jre/lib/amd64/libnet.so
00002aaaac600000-00002aaaac6065db /ttc/.p_weblogic10/weblogic10/beahome_sp1/JRockit5.0R27.4.0-jdk1.5.0_12/jre/lib/amd64/libnio.so
00002aaaace48000-00002aaaace5095f /ttc/.p_weblogic10/weblogic10/beahome_sp1/JRockit5.0R27.4.0-jdk1.5.0_12/jre/lib/amd64/libjmapi.so
00002aaaad053000-00002aaaad05818b /ttc/.p_weblogic10/weblogic10/beahome_sp1/JRockit5.0R27.4.0-jdk1.5.0_12/jre/lib/amd64/libmanagement.so
00002aaaad15a000-00002aaaad15c2af /ttc/.p_weblogic10/weblogic10/beahome_sp1/weblogic101/server/native/linux/x86_64/libwlfileio2.so
00002aaaae821000-00002aaaae824893 /lib64/libnss_dns.so.2
00002aaaae926000-00002aaaae9363cb /lib64/libresolv.so.2
00002aaab07f0000-00002aaab07f096b /ttc/.p_weblogic10/weblogic10/beahome_sp1/JRockit5.0R27.4.0-jdk1.5.0_12/jre/lib/amd64/librmi.so
00002aaab0a00000-00002aaab0a151b8 /opt/mqm/java/lib64/libmqjbnd05.so
00002aaab0b19000-00002aaab0b3f3c3 /opt/mqm/lib64/libmqm_r.so
00002aaab0c71000-00002aaab0d1757f /opt/mqm/lib64/libmqz_r.so
00002aaab0e24000-00002aaab0fd3c6f /opt/mqm/lib64/libmqmcs_r.so
00002aaab1104000-00002aaab110495b /opt/mqm/lib64/libmqmzse.so
00002aaab242f000-00002aaab24308b7 /opt/mqm/java/lib64/libmqjbdf02.so
"ExecuteThread: '14' for queue: " id=27 idx=0xa4 tid=46214 lastJavaFrame=(nil)
Stack 0: start=0x409ce000, end=0x40a10000, guards=0x409d3000 (ok), forbidden=0x409d1000
Thread Stack Trace:
at pthread_kill+51()@0x2b8e6117fea3
at trapiConvertToDeferredSigsegv+356()@0x2b8e618f6516
at trapiSigSegvHandler+60()@0x2b8e618f655b
at xehInterpretSavedSigaction+239(amqxerrx.c)@0x2aaab0e7cfef
-- Java stack --
Additional information is available in:
/ttc/.p_weblogicApps/weblogicApps/myproj/myserver/bin/jrockit.46125.dump
No snapshot file (core dump) will be created because core dumps have been
disabled. To enable core dumping, try "ulimit -c unlimited"
before starting JRockit again.
If you see this dump, please open a support case with BEA and
supply as much information as you can on your system setup and
the program you were running. You can also search for solutions
to your problem at http://forums.bea.com in
the forum jrockit.developer.interest.general.
Extended, platform specific info:
libc release: 2.4-development
Elf headers:
libc ehdrs: EI: 7f454c46020101000000000000000000 ET: 3 EM: 62 V: 1 ENTRY: 000000000001d250 PHOFF: 0000000000000040 SHOFF: 000000000013b628 EF: 0x0 HS: 64 PS: 56 PHN; 11 SS: 64 SHN: 69 STIDX: 66
libpthread ehdrs: EI: 7f454c46020101000000000000000000 ET: 3 EM: 62 V: 1 ENTRY: 0000000000005a20 PHOFF: 0000000000000040 SHOFF: 0000000000014510 EF: 0x0 HS: 64 PS: 56 PHN; 10 SS: 64 SHN: 36 STIDX: 33
libjvm ehdrs: EI: 7f454c46020101000000000000000000 ET: 3 EM: 62 V: 1 ENTRY: 000000000003f340 PHOFF: 0000000000000040 SHOFF: 0000000000376c30 EF: 0x0 HS: 64 PS: 56 PHN; 3 SS: 64 SHN: 22 STIDX: 19
===== END DUMP ===============================================================
|
|
|
Back to top |
|
 |
Vitor |
Posted: Mon Mar 09, 2009 2:58 pm Post subject: Re: Core dump issues |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
BDB wrote: |
If you see this dump, please open a support case with BEA and
supply as much information as you can on your system setup and
the program you were running. You can also search for solutions
to your problem at http://forums.bea.com in
the forum jrockit.developer.interest.general.
|
Did you? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
BDB |
Posted: Tue Mar 10, 2009 4:02 am Post subject: Re: Core dump issues |
|
|
Apprentice
Joined: 06 Jan 2009 Posts: 28
|
Vitor wrote: |
BDB wrote: |
If you see this dump, please open a support case with BEA and
supply as much information as you can on your system setup and
the program you were running. You can also search for solutions
to your problem at http://forums.bea.com in
the forum jrockit.developer.interest.general.
|
Did you? |
I did. The website is restructured after Oracle took it and could not find such forum in it. I was completely lost yesterday night trying to find this forum. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Mar 10, 2009 4:21 am Post subject: Re: Core dump issues |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
And what did the support desk say? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
BDB |
Posted: Tue Mar 10, 2009 5:45 am Post subject: Re: Core dump issues |
|
|
Apprentice
Joined: 06 Jan 2009 Posts: 28
|
Vitor wrote: |
And what did the support desk say? |
LOL... found the culprit. But the reason appear to be silly though.
I have a line in my code where I typecast the recieved message
msg = getReplyConsumer().receive(5000);
BytesMessage tempMsg = (BytesMessage)msg;
The receive() is returning NULL due to timeout. The very next line, I am trying to cast it to BytesMessage. I expected it to throw an Classcast exception since it is null. Instead it is causing core dump. When I put a null check before casting, it works fine. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|