Operating System - HP-UX
1832351 Members
2451 Online
110041 Solutions
New Discussion

Pthread internal error on hp-ux 11.0

 
balamurugant
New Member

Pthread internal error on hp-ux 11.0

We have hp-ux 11.0 server with latest patches installed. One of our application program runs gives following error when we try to execute it.

$ ./tcserveradm

Pthread internal error: message: __libc_reinit() failed, file: /ux/core/kern/pth
reads/pthread.c, line: 1093
Return Pointer is 0xc1889103
Quit



This program was compiled on another HP-UX 11.0 server and was given as a package.

We have installed all the required libc patches (superseded )on target server. Can someone help me to resolve this issue. I am attaching swlist of both the servers.

libc patches on target server:
------------------------------
$ /usr/sbin/swlist -l patch | grep libc
# PHCO_18228 1.0 libc man page cumulative
patch
# PHCO_20493 1.0 cumulative 10.20 libc com
patibility support
# PHCO_21017 1.0 libc cumulative header fi
le patch
# PHCO_22076 1.0 libc cumulative patch
# PHCO_23963 1.0 libc cumulative header fi
le patch
# PHCO_25883 1.0 cumulative 10.20 libc com
patibility support
# PHCO_26111 1.0 libc cumulative header fi
le patch
# PHCO_27608 1.0 libc cumulative patch
# PHCO_27731 1.0 libc cumulative patch


And libpthread patches on target server.

# PHCO_19666 1.0 libpthreads cumulative pa
tch
# PHCO_23792 1.0 libpthreads cumulative pa
tch.


On Source Server:
-----------------
$/usr/sbin/swlist | grep libc
PHCO_18102 1.0 cumulative 10.20 libc compatibility support
PHCO_18227 1.0 libc cumulative patch
PHCO_22314 1.0 libc cumulative patch
PHCO_22923 1.0 libc cumulative patch
PHCO_23092 1.0 libc cumulative header file patch
PHCO_23432 1.0 cumulative 10.20 libc compatibility support
PHCO_25707 1.0 libc cumulative patch
PHCO_25883 1.0 cumulative 10.20 libc compatibility support
PHCO_26111 1.0 libc cumulative header file patch
PHCO_27608 1.0 libc cumulative patch
PHCO_27731 1.0 libc cumulative patch

$/usr/sbin/swlist | grep libpthread
PHCO_23792 1.0 libpthreads cumulative patch.
PHKL_17935 1.0 libpthreads cumulative patch


Thanks
Bala.
Practice makes a man perfect
2 REPLIES 2
Elena Leontieva
Esteemed Contributor

Re: Pthread internal error on hp-ux 11.0

Bala,

I would guess you have to recompile your application on a target machine. Take a look at this document:
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066917843

Elena.
Paddy_1
Valued Contributor

Re: Pthread internal error on hp-ux 11.0

The most likely cause of the error is that the program has somehow pulled in both threading packages.
This usually means you have also linked it with libcma. You'll need to remove libcma from the link line to resolve this.
The sufficiency of my merit is to know that my merit is NOT sufficient