pthread library on AIX 5.3 64 bit


 
Thread Tools Search this Thread
Operating Systems AIX pthread library on AIX 5.3 64 bit
# 1  
Old 11-21-2005
Error 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.
# 2  
Old 11-22-2005
start by checking if there's thread support on the other box
Code:
lslpp -l | grep thread

# 3  
Old 04-12-2006
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
# 4  
Old 02-26-2007
Error 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.
# 5  
Old 02-27-2007
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

32 bit app on aix 6.1

We have our in house developed software running on AIX 6.1 (6100-06-06-1140). The application is a 32 bit application and the operating system is 64 bit. We are running this application without any issue on AIX 5.3 32-bit on P5. We are facing issue with this application after moving on P7 with aix... (4 Replies)
Discussion started by: vjm
4 Replies

2. AIX

Unix 64-bit AIX V6.1 Standard Edition

Unix 64bit AIX v6.1 standard edition what do you mean ? function ? pls, help me... (1 Reply)
Discussion started by: khanhphv
1 Replies

3. AIX

convert 32 bit shared library to 64bit

Hi I have .so & .o files which got compiled in 32bit environment; Is there any way to translate the above files to 64bit ; We are using AIX version 6 Thanks (1 Reply)
Discussion started by: mKarri
1 Replies

4. AIX

valgrind - pthread memory leaks on AIX

Hi all, I have written a small code just to invoke main and return immediately. When built with libpthread on AIX box, valgrind throws lots of memory leak errors. But when built without libpthread, no issues at all. Here is the sample run for your look. Any idea where I might be going wrong?... (3 Replies)
Discussion started by: visionofarun
3 Replies

5. AIX

pthread library version

Hi, I am encountering a strange problem. We have a COREBA based C++ application running on an AIX box. The application crashes at times at the test environment causing core dump. Analyzing the core file, we found that it points to the pthread. So we thought of checking the pthread version at... (0 Replies)
Discussion started by: asutoshch
0 Replies

6. AIX

AIX OS bit info

Hi All, How do i find a bit info whether 32 bit or 64 bit of AIX operating system? Please help R (6 Replies)
Discussion started by: tenderfoot
6 Replies

7. AIX

porting an application on 64-bit AIX version 5

Hi all, I am facing problem in porting to 64 bit AIX especially with compiling options to compile and run under 64 bit kernel.Can any one put some light on the issue thanks in advance vishal (14 Replies)
Discussion started by: vishalzone2002
14 Replies

8. Programming

AIX 5.3 64-bit program crashes with AIX 5.1

I have an AIX 64-bit program which uses following from AIX5.3 /usr/lib/libc.a(shr_64.o) /usr/lib/libpthread.a(shr_xpg5_64.o) /home/jeet_xp/export/power/usr/lib/libsarpc.a(shr.o) /unix /usr/lib/libcrypt.a(shr_64.o) /usr/lib/libc_r.a(shr_64.o) ... (3 Replies)
Discussion started by: jeet_xp
3 Replies

9. UNIX for Advanced & Expert Users

building a 64-bit archive library

I'm trying to build an archive library using the following script. It builds fine on 32-bit architectures, but when I try to build on a computer with 64-bit architecture I get this error message: /usr/bin/ld: warning: i386 architecture of input file `../lpdlib/lpdlib_byteswapio.a(system.o)' is... (1 Reply)
Discussion started by: echorak
1 Replies

10. AIX

AIX 5.3 , gensyms command, translate 32 bit addr to 64 bit addr

I am trying to map the information from the gensyms command, Its gives information about the various symbols info like symbol type, addr offset, and the main libraries addr starting point. My problem is , how do I map this 32 bit addr to a 64 bit addr, I am trying to extract Segment # information... (0 Replies)
Discussion started by: mrmeswani
0 Replies
Login or Register to Ask a Question