The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
pthread problem vijlak SUN Solaris 2 01-30-2007 02:53 PM
Where are the pthread functions?? bigblop UNIX for Dummies Questions & Answers 2 03-22-2005 04:04 AM
pthread.h XinU* High Level Programming 2 03-10-2005 04:21 AM
pthread MKSRaja High Level Programming 0 02-23-2005 02:10 AM
More about Pthread jyotipg High Level Programming 1 06-17-2003 06:34 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-21-2005
Registered User
 

Join Date: Sep 2000
Location: Bangalore,India
Posts: 3
Exclamation pthread library on AIX 5.3 64 bit

Hi,
I am running my application on two AIX 5.3 64 bit boxes. In one of the boxes it is running fine without any problems. But on the other box it fails as soon as it is started and it core dumps. When I was analysing the core I was able to find the below two lines in addition to other information.

pthdb_session.c, 818: 0 PTHDB_INTERNAL (internal error)
pthreaded.c, 1914: PTHDB_INTERNAL (internal error)

Does this mean that the box where the application is crashing doesn't have proper Installation of the pthread libraries. Please let me know. My application uses pthread functions.

Thanks in advance.
Reply With Quote
Forum Sponsor
  #2  
Old 11-21-2005
andryk's Avatar
Registered User
 

Join Date: Sep 2003
Posts: 448
start by checking if there's thread support on the other box
Code:
lslpp -l | grep thread
Reply With Quote
  #3  
Old 04-11-2006
Registered User
 

Join Date: Apr 2006
Posts: 1
Debuging Core

I am also trying to debug a core file in AIX box . It is also giving the same error as

pthdb_session.c, 778: 16 PTHDB_INTERNAL (internal error)
pthreaded.c, 1778: PTHDB_INTERNAL (internal error)

I am not able to see any stack trace too. Please help me to solve this issue.

--pkpnair
Reply With Quote
  #4  
Old 02-26-2007
Registered User
 

Join Date: Feb 2007
Posts: 1
Exclamation Core debugging

Hi,

I'm experiencing the same problem. After migration of my application from AIX 4.3 to AIX 5.3 if began to crash from time to time and coredump. Core analysis gave the following result:

pthreaded.c, 6405: PTHDB_CALLBACK (callback failed)
Illegal instruction (illegal opcode) in . at 0x0. warning: Unable to access address 0x0 from core.

Does anyone know what's causing this?

Currently the application is compiled on AIX 4.3, would compiling on AIX 5.3 be a solution?

Your help is much appreciated.
Reply With Quote
  #5  
Old 02-26-2007
andryk's Avatar
Registered User
 

Join Date: Sep 2003
Posts: 448
Quote:
Currently the application is compiled on AIX 4.3, would compiling on AIX 5.3 be a solution?
I believe so, binaries differ (system calls among other things?) from version to version on AiX, you defenitly need to re-compile
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:58 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0