|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  Coredump when getting mqconnection | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | vadivel | 
		  
		    
			  
				 Posted: Wed Apr 09, 2003 7:28 pm    Post subject: Coredump when getting mqconnection | 
				     | 
			   
			 
		   | 
		 
		
		    Voyager
 
 Joined: 05 Aug 2002 Posts: 79 Location: US 
  | 
		  
		    
			  
				Hi,
 
 
   I'm using MQ Series v5.2 on solaris. My application is multi threaded and in my MQGet method, if there is no data found I close my connection and open it again. And there is no wait time specified in the program. If my process runs for some time, then it generates a coredump and terminates.
 
 
The content is:
 
 
SIGSEGV 11 segmentation violation
 
    si_signo [11]: SEGV
 
    si_errno [0]:
 
    si_code [1]: SEGV_MAPERR [addr: 0x0]
 
 
        stackpointer=F94913C8
 
"Thread-273942" (TID:0x88f1c8, sys_thread_t:0x88f100, state:MW, thread_t: t@2739
 
52, threadID:0xf94d1d70, stack_bottom:0xf94d1d70, stack_size:0x1fd70) prio=5
 
 
[1] com.ibm.mq.server.MQSESSION._MQCONN(Native Method)
 
[2] com.ibm.mq.server.MQThread.run(MQThread.java:981)
 
-------------------
 
"Thread-273941" (TID:0x89e640, sys_thread_t:0x89e578, state:MW, thread_t: t@2739
 
51, threadID:0xf9451d70, stack_bottom:0xf9451d70, stack_size:0x1fd70) prio=5
 
 
[1] com.ibm.mq.server.MQSESSION._MQCONN(Native Method)
 
[2] com.ibm.mq.server.MQThread.run(MQThread.java:981)
 
-------------------
 
"Thread-273939" (TID:0x88ef50, sys_thread_t:0x88ee88, state:R, thread_t: t@27394
 
9, threadID:0xf9491d70, stack_bottom:0xf9491d70, stack_size:0x1fd70) prio=5 *cur
 
rent thread*
 
 
[1] com.ibm.mq.server.MQSESSION._MQCONN(Native Method)
 
[2] com.ibm.mq.server.MQThread.run(MQThread.java:981)
 
-------------------
 
"Thread-6" (TID:0x757058, sys_thread_t:0x756f90, state:CW, thread_t: t@16, threa
 
dID:0xf97b1d70, stack_bottom:0xf97b1d70, stack_size:0x1fd70) prio=5
 
 
[1] java.lang.Object.wait(Object.java:424)
 
[2] com.ibm.mq.server.MQThread.waitForCompletion(MQThread.java:943)
 
[3] com.ibm.mq.server.MQThread.MQCONN(MQThread.java:267)
 
[4] com.ibm.mq.server.MQSESSION.MQCONN(MQSESSION.java:904)
 
[5] com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:125)
 
[6] com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._createManagedConnection(MQ
 
BindingsManagedConnectionFactoryJ11.java:114)
 
[7] com.ibm.mq.MQBindingsManagedConnectionFactoryJ11.createManagedConnection(MQB
 
indingsManagedConnectionFactoryJ11.java:154)
 
[8] com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:72)
 
[9] com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionMa
 
nager.java:115)
 
[10] com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager(MQQueueManager.java:623)
 
[11] com.ibm.mq.MQQueueManager.construct(MQQueueManager.java:574)
 
[12] com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:371)
 
[13] com.citibank.zbank.messaging.mq.MQHelper.openConnection(MQHelper.java:230)
 
[14] com.citibank.zbank.messaging.mq.MQHelper.getMessage(MQHelper.java:571)
 
[15] com.citibank.zbank.messaging.process.PollerTask.process(PollerTask.java:239
 
 
Any ideas!!!!
 
Thanks & Regards
 
Vels | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | bower5932 | 
		  
		    
			  
				 Posted: Fri Apr 11, 2003 11:57 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Jedi Knight
 
 Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA 
  | 
		  
		    
			  
				| My initial guess would be that you are running out of resources because java garbage collection isn't running.  Were there any *.FDC files produced along with the core? | 
			   
			 
		   | 
		 
		
		  | 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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |