ftp -n on hpux 11

1. seg-fault in p_mutex_lock on HPUX 11

I'm trying to port some code from Solaris to HPUX.  I managed to get
it to compile, but now I'm getting a seg fault in a bizzare place,
Any idea on what I should check?

Program received signal SIGSEGV, Segmentation fault.
0x7f7b605c in _p_mutex_lock () from /usr/lib/libc.1
(gdb) where
#0  0x7f7b605c in _p_mutex_lock () from /usr/lib/libc.1
#1  0x75ae67f8 in HPMutexWrapper::lock () from /usr/lib/libstd.1
#2  0x75bbf1b0 in RWReference::removeReference () from
#3  0x75b84198 in RWCString::~RWCString () from
#4  0x75a6b460 in ICIFileParser::checkFileStatus (this=0x7f7f19fc) at
#5  0x75a6ae7c in ICIFileParser::GetValue (this=0x7f7f19fc,

    at iciflprs.cpp:603
#6  0x75a6c0e8 in get_private_profile_string (section=0x75a1d95b
"Integration", entry=0x34064 "DebugLevel",
    def=0x75a1d967 "", buffer=0x7f7f1574 "", buffer_len=1024,
    file_name=0x33fd0 "/home/infodba/ugiq.hpux/config/iqtagmap.ini")
at profile.cpp:46
#7  0x75a2eae0 in IQIntIniFiles::ReadIniIntegrationSetting
    file=0x33fd0 "/home/infodba/ugiq.hpux/config/iqtagmap.ini",

#8  0x75a2e910 in IQIntIniFiles::GetIniIntegrationSetting
(this=0x33ee8, name=0x760805b8 "DebugLevel",

at iqintinifiles.cpp:56
#9  0x76090b78 in ufsta (param=0x7aa5fed0 "", retcod=0x7f7f1320,
param_len=0) at ugiface_actions.cpp:342
#10 0x7b158114 in UGOPEN_load_library () from

-Greg G

2. SCSI disk I/O error

3. Apache +proxy +hpux 11

4. Ethernet PCMCIA Eth driver problem: HW adress slotdependent?

5. Errors encountered while configuring Apache on HPux 11

6. Custom drivers designed for real-time industrial systems - FIX/DMACS, Wonderware, TCP/IP Datapump

7. Prob with ftp;ing from tsx-11 ftp site.

8. Newbie Question concerning AWK script

9. mysterious NFS problems with linux<->hpux-11.0

10. Num Lock key not working since using HPUX-11

11. posix4 and socket libs on hpux 11.x

12. Problem using DHCP w/HPUX 11

13. cannot compile Apache on HPUX 11 using gcc 2.95.3 and binutils 2.11