Sponsored Content
Full Discussion: pthread library version
Operating Systems AIX pthread library version Post 302384350 by asutoshch on Tuesday 5th of January 2010 01:54:56 AM
Old 01-05-2010
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 the development environment and the test environment. We used lslpp -l | grep thread command to find --
bos.rte.libpthreads 5.3.0.40 COMMITTED libpthreads Library -> dev box

bos.rte.libpthreads 5.3.7.3 APPLIED libpthreads Library --> test box

The dbx on the core file shows --
pthdb_session.c, 818: 0 PTHDB_INTERNAL (internal error)
pthreaded.c, 1941: PTHDB_INTERNAL (internal error)
.() at 0x0

So we thought the pthread library has something to play in the causing core dump. I have a query ---
1) How do we make sure that the applied version is the committed version ?
2) Can a mismatch in minor version cause core dump for a C++ application ?
3) If library mismatch causes issue, how can we sync up the environments for pthread library ourselves ? We don't have support warranty with vendor.

Many thanks
Asutosh
 

10 More Discussions You Might Find Interesting

1. Programming

to check version to library

how to check the version of Library version of Program & version of file. while compile pro*c program, I got error like elf error: no string table if u have any suggestion then give me urgently. (1 Reply)
Discussion started by: dilipluhar
1 Replies

2. Programming

More about Pthread

Can someone point to a link where I can get good info about pthread? thanx.. :) (1 Reply)
Discussion started by: jyotipg
1 Replies

3. Programming

pthread

consider if the thread routine returns any void pointer while calling pthread_join, the thread resources are freed and the thread will be terminated when the main thread is exit ,that is my assumption whether it is true how do we find whether the thread is alive or terminated how do we find... (0 Replies)
Discussion started by: MKSRaja
0 Replies

4. Programming

pthread.h

hallo 2 al can anyone pls tell me where and how can i find and install the pthread.h lib ? thx :cool: (2 Replies)
Discussion started by: XinU*
2 Replies

5. UNIX for Dummies Questions & Answers

get library version

Hi, how do I get the version of an existing library (.o file) on an AIX 5.3 System. Thnx for help (0 Replies)
Discussion started by: r2k
0 Replies

6. AIX

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... (4 Replies)
Discussion started by: allthanksquery
4 Replies

7. UNIX for Advanced & Expert Users

pthread

I am so confused about the user threads and kernel threads.Suppose I created a thread using pthread create call in Linux ,whether it will be a user thread or kernel thread.If it user thread,then how its map to kernel thread. I heard about the M:1,M:N,1:1 mapping methods.Which method linux is... (1 Reply)
Discussion started by: sujith4u87
1 Replies

8. Programming

pthread()

I have a while loop like so: while (counter (file1)); how can I pass that into a pthread_create()? I was thinking ... while(pthread_create(&path, NULL, counter, file)); is that right? (1 Reply)
Discussion started by: l flipboi l
1 Replies

9. UNIX for Advanced & Expert Users

Figure out the minimum os version neede to run executable or link library.

Hello, I need to figure out the minimum OS version needed to run some executable. For the following OS: Linux, AIX, Solaris. For example how do I know the minimum OS version for /bin/ls ? "file" command does not give me much information. There are some tools that are helpful for understanding... (4 Replies)
Discussion started by: +Yan
4 Replies

10. Solaris

Global zone has an older version of package: pkg://Solaris/system/library

I try to install php-56 in a zone, but I have the following problem: pkg install php-56 Creating Plan (Running solver): \ pkg install: No solution was found to satisfy constraints maintained incorporations: None Creation Plan: dependency error (s) in proposed packages: Not... (0 Replies)
Discussion started by: ymk369
0 Replies
GCORE(1)						      General Commands Manual							  GCORE(1)

NAME
gcore - get core image of running process SYNOPSIS
gcore [-s][-c core] pid DESCRIPTION
gcore creates a core image of each specified process, suitable for use with adb(1). By default the core image is written to the file <pid>.core. The options are: -c Write the core file to the specified file instead of <pid>.core. -s Stop the process while creating the core image and resume it when done. This makes sure that the core dump will be in a consistent state. The process is resumed even if it was already stopped. Of course, you can obtain the same result by manually stopping the process with kill(1). The core image name was changed from core.<pid> to <pid>.core to prevent matching names like core.h and core.c when using programs such as find(1). FILES
<process-id>.core The core image. BUGS
If gcore encounters an error while creating the core image and the -s option was used the process will remain stopped. Swapped out processes and system processes (the swapper) may not be gcore'd. 4.2 Berkeley Distribution April 15, 1994 GCORE(1)
All times are GMT -4. The time now is 08:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy