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 » IBM MQ API Support » Segmentation fault calling commit in multi threaded env

Post new topic  Reply to topic
 Segmentation fault calling commit in multi threaded env « View previous topic :: View next topic » 
Author Message
bikara
PostPosted: Fri Jul 03, 2009 5:51 pm    Post subject: Segmentation fault calling commit in multi threaded env Reply with quote

Newbie

Joined: 03 Jul 2009
Posts: 3

I have an application that is using MQI interface to put/get messages on queue. I have 10 sessions aka queue manager & queue handles that are each putting/getting and committing messages in local unit of work.

queue manager is opened with MQCNO_HANDLE_SHARE_BLOCK option.

I see once in a while commit operation is crashing with segmentation fault? Has anyone run into this problem?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Jul 03, 2009 6:11 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Quote:
I see once in a while commit operation is crashing with segmentation fault? Has anyone run into this problem?

The server crashes? The qmgr crashes? The application crashes?

If it's the server, what o/s? Look at the o/s error logs for more info.

It's the qmgr, look at the qmgrs error logs for more info. Did an FDC get created? If so, what error do you see?

What maintenance have you applied to mq?

If it's the application, did mq produce a ReasonCode? If so, what was it?

Any information will help diagnose the underlying problem.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
bikara
PostPosted: Thu Jul 09, 2009 6:04 pm    Post subject: Reply with quote

Newbie

Joined: 03 Jul 2009
Posts: 3

Found the problem. Another thread was invalidating the connection handle.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Segmentation fault calling commit in multi threaded env
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.