ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Exit Error

Post new topic  Reply to topic
 Exit Error « View previous topic :: View next topic » 
Author Message
basa_bbc
PostPosted: Fri Feb 25, 2005 6:44 am    Post subject: Exit Error Reply with quote

Apprentice

Joined: 20 Jan 2004
Posts: 35

Hello all,

We have written an API Exit running on MQ Version 5.2.1 and CSD07. We are getting the below FDC. As mentioned by dgolding, we are getting the XC130004 error. This error is too often and the queue manager listener goes down. I require an urgent help from experts as this error is coming on our production server.

The generated FDC is :

+-----------------------------------------------------------------------------+
| |
| MQSeries First Failure Symptom Report |
| ===================================== |
| |
| Date/Time :- Friday February 25 17:18:37 GMT 2005 |
| Host Name :- FR100TF2CARDS51 (SunOS 5.6) |
| PIDS :- 5765B75 |
| LVLS :- 520 |
| Product Long Name :- MQSeries for Sun Solaris 2 (Sparc) |
| Vendor :- IBM |
| Probe Id :- XC130004 |
| Application Name :- MQM |
| Component :- xehExceptionHandler |
| Build Date :- Jun 24 2003 |
| CMVC level :- p520-CSD07G |
| Build Type :- IKAP - (Production) |
| UserID :- 00000100 (mqm) |
| Program Name :- runmqlsr_nd |
| Process :- 00003818 |
| Thread :- 00000560 |
| QueueManager :- QM!CYCMSGREG |
| Major Errorcode :- STOP |
| Minor Errorcode :- OK |
| Probe Type :- HALT6109 |
| Probe Severity :- 1 |
| Probe Description :- AMQ6109: An internal MQSeries error has occurred. |
| Arith1 :- 11 b


---------{ zstVerifyPCD
---------} zstVerifyPCD rc=OK
---------{ ziiMQCLOSE
----------{ ziiCreateIPCCMessage
-----------{ zcpCreateMessage
-----------} zcpCreateMessage rc=OK
----------} ziiCreateIPCCMessage rc=OK
----------{ ziiSendReceiveAgent
-----------{ zcpSendOnPipe
------------{ xcsResetEventSem
------------} xcsResetEventSem rc=OK
------------{ xcsPostEventSem
------------} xcsPostEventSem rc=OK
-----------} zcpSendOnPipe rc=OK
-----------{ zcpReceiveOnPipe
------------{ xcsWaitEventSem
------------} xcsWaitEventSem rc=OK
-----------} zcpReceiveOnPipe rc=OK
----------} ziiSendReceiveAgent rc=OK
----------{ zcpDeleteMessage
----------} zcpDeleteMessage rc=OK
---------} ziiMQCLOSE rc=OK
--------} zstMQCLOSE rc=OK
-------} MQCLOSE rc=OK
-------{ MQXEP
-------} MQXEP rc=OK
------} APIExit rc=OK
-----} zutCallApiExitsAfterOpen rc=OK
----} zstMQOPEN rc=OK
---} MQOPEN rc=OK
---{ ccxSend
----{ cciTcpSend
-----{ send
-----} send rc=Unknown(D
----} cciTcpSend rc=OK
---} ccxSend rc=OK
---{ ccxFreeMem
---} ccxFreeMem rc=OK
---{ ccxReceive
----{ cciTcpReceive
-----{ ccxAllocMem
-----} ccxAllocMem rc=OK
-----{ recv
-----} recv rc=Unknown(FFFF)
-----{ select
------{ xcsSelect
------} xcsSelect rc=Unknown(1)
-----} select rc=Unknown(1)
-----{ recv
-----} recv rc=Unknown(3C)
----} cciTcpReceive rc=OK
---} ccxReceive rc=OK
---{ MQINQ
----{ zstMQINQ
-----{ zstVerifyPCD
-----} zstVerifyPCD rc=OK
-----{ zutCallApiExitsBeforeInq
-----} zutCallApiExitsBeforeInq rc=OK
-----{ xcsCheckPointer
-----} xcsCheckPointer rc=OK
-----{ xcsCheckPointer
-----} xcsCheckPointer rc=OK
-----{ ziiMQINQ
------{ ziiCreateIPCCMessage
-------{ zcpCreateMessage
-------} zcpCreateMessage rc=OK
------} ziiCreateIPCCMessage rc=OK
------{ ziiSendReceiveAgent
-------{ zcpSendOnPipe
--------{ xcsResetEventSem
--------} xcsResetEventSem rc=OK
--------{ xcsPostEventSem
--------} xcsPostEventSem rc=OK
-------} zcpSendOnPipe rc=OK
-------{ zcpReceiveOnPipe
--------{ xcsWaitEventSem
--------} xcsWaitEventSem rc=OK
-------} zcpReceiveOnPipe rc=OK
------} ziiSendReceiveAgent rc=OK
------{ zcpDeleteMessage
------} zcpDeleteMessage rc=OK
-----} ziiMQINQ rc=OK
-----{ zutCallApiExitsAfterInq
------{ APIExit
-------{ MQOPEN
--------{ zstMQOPEN
---------{ zstVerifyPCD
---------} zstVerifyPCD rc=OK
---------{ ziiMQOPEN
----------{ ziiCreateIPCCMessage
-----------{ zcpCreateMessage
-----------} zcpCreateMessage rc=OK
----------} ziiCreateIPCCMessage rc=OK
----------{ ziiSendReceiveAgent
-----------{ zcpSendOnPipe
------------{ xcsResetEventSem
------------} xcsResetEventSem rc=OK
------------{ xcsPostEventSem
------------} xcsPostEventSem rc=OK
-----------} zcpSendOnPipe rc=OK
-----------{ zcpReceiveOnPipe
------------{ xcsWaitEventSem
------------} xcsWaitEventSem rc=OK
-----------} zcpReceiveOnPipe rc=OK
----------} ziiSendReceiveAgent rc=OK
----------{ zcpDeleteMessage
----------} zcpDeleteMessage rc=OK
---------} ziiMQOPEN rc=OK
--------} zstMQOPEN rc=OK
-------} MQOPEN rc=OK
-------{ xcsBuildDumpPtr
--------{ xcsGetMem
--------} xcsGetMem rc=OK
-------} xcsBuildDumpPtr rc=OK
-------{ xcsBuildDumpPtr
-------} xcsBuildDumpPtr rc=OK
-------{ xcsBuildDumpPtr
-------} xcsBuildDumpPtr rc=OK
-------{ xcsBuildDumpPtr
-------} xcsBuildDumpPtr rc=OK
-------{ xcsBuildDumpPtr
-------} xcsBuildDumpPtr rc=OK
-------{ xcsFFST

We are using Single Linked list in out code.

Thanks for any immediate help on the above issue.

Regards,

bbc
Back to top
View user's profile Send private message
bower5932
PostPosted: Fri Feb 25, 2005 7:18 am    Post subject: Re: Exit Error Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

basa_bbc wrote:

We have written an API Exit running on MQ Version 5.2.1 and CSD07.


My advice would be to move to a supported version of the code. I can't even remember when 5.2 went out of support.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
basa_bbc
PostPosted: Fri Feb 25, 2005 7:20 am    Post subject: API Exit Reply with quote

Apprentice

Joined: 20 Jan 2004
Posts: 35

Hello ,

The problem is it is an production environment and we cannot change the mq version that easily.

We have tested the same code locally on MQ 5.3 CSD05 and we are having the same issue.

Regards,

bbc
Back to top
View user's profile Send private message
Nigelg
PostPosted: Fri Feb 25, 2005 7:42 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

The error is in your code. See the MQM Function History, where it says
Quote:

-----{ zutCallApiExitsAfterInq
------{ APIExit

After that point it is your code that is executing, and causing the exception to be raised, a SIGSEGV. You will have to debug your code to find the point where the error occurs.
Back to top
View user's profile Send private message
basa_bbc
PostPosted: Fri Feb 25, 2005 8:05 am    Post subject: Reply with quote

Apprentice

Joined: 20 Jan 2004
Posts: 35

Hello Nigel,

I do understand from your point that the bug is in the code, Can you tell me at least couple of points of what to look out for. Do we have any debug tool using which we can accomplish this.

Regards,

bbc
Back to top
View user's profile Send private message
basa_bbc
PostPosted: Fri Feb 25, 2005 8:10 am    Post subject: Reply with quote

Apprentice

Joined: 20 Jan 2004
Posts: 35

Hello,

Please refer the FDC part,

APIExit rc=OK
-----} zutCallApiExitsAfterOpen rc=OK
----} zstMQOPEN rc=OK
---} MQOPEN rc=OK
---{ ccxSend
----{ cciTcpSend
-----{ send
-----} send rc=Unknown(D
----} cciTcpSend rc=OK
---} ccxSend rc=OK
---{ ccxFreeMem
---} ccxFreeMem rc=OK
---{ ccxReceive
----{ cciTcpReceive
-----{ ccxAllocMem
-----} ccxAllocMem rc=OK
-----{ recv
-----} recv rc=Unknown(FFFF)
-----{ select
------{ xcsSelect
------} xcsSelect rc=Unknown(1)
-----} select rc=Unknown(1)
-----{ recv
-----} recv rc=Unknown(3C)
----} cciTcpReceive rc=OK
---} ccxReceive rc=OK
---{ MQINQ
----{ zstMQINQ
-----{ zstVerifyPCD
-----} zstVerifyPCD rc=OK
-----{ zutCallApiExitsBeforeInq
-----} zutCallApiExitsBeforeInq rc=OK
-----{ xcsCheckPointer
-----} xcsCheckPointer rc=OK
-----{ xcsCheckPointer
-----} xcsCheckPointer rc=OK
-----{ ziiMQINQ
------{ ziiCreateIPCCMessage
-------{ zcpCreateMessage
-------} zcpCreateMessage rc=OK
------} ziiCreateIPCCMessage rc=OK
------{ ziiSendReceiveAgent
-------{ zcpSendOnPipe
--------{ xcsResetEventSem
--------} xcsResetEventSem rc=OK
--------{ xcsPostEventSem
--------} xcsPostEventSem rc=OK
-------} zcpSendOnPipe rc=OK

I do understand that an MQ open is called from the EXIT, but i am unable to understand the below issue and what in the code can lead to this issue.

---{ ccxSend
----{ cciTcpSend
-----{ send
-----} send rc=Unknown(D
----} cciTcpSend rc=OK
---} ccxSend rc=OK


Due to the above error the Queue Manager Listener is hanging. After deploying the API Exit the Queue Manager works for at couple of hours before throwing this error.

Regards,

bbc
Back to top
View user's profile Send private message
clindsey
PostPosted: Fri Feb 25, 2005 10:13 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

I am fairly certain you can ignore the rc from sned and rcv. This is the number of bytes written or read, and not an error.

You problem is in your MQINQ after code. Looks like you do an MQOPEN call. The MQOPEN is successful. Somewhere between here and the end of the function, you are accessing illegal memory and you get SIGSEGV. You need to force a core and look at the stacktrace or insert some logging in your exit.

Charlie
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Mon Feb 28, 2005 9:01 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

Splitting this post from the original FDC post to Tips & best practices forum!
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Exit Error
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.