1833462 Members
2735 Online
110052 Solutions
New Discussion

Application core dumps

 
Rhett Butler
New Member

Application core dumps

I am trying to install a C++ application into HP-UX 11.11

The GUI opens and runs properly. Once i close it and reopen the GUI the application dumps core.

Please find the GDB Stack trace
Reading symbols from /usr/lib/libnsl.1...done.
Reading symbols from /usr/lib/libxti.2...done.
Reading symbols from /usr/lib/libstd.2...done.
Reading symbols from /usr/lib/libstream.2...done.
Reading symbols from /usr/lib/libCsup.2...done.
Reading symbols from /usr/lib/libm.2...done.
Reading symbols from /usr/lib/libcl.2...done.
Reading symbols from /usr/lib/libisamstub.1...done.
Reading symbols from /usr/lib/libdld.2...done.
Reading symbols from /usr/lib/libc.2...done.
#0 0xc0197b5c in _sigfillset () from /usr/lib/libc.2
(gdb) where
#0 0xc0197b5c in _sigfillset () from /usr/lib/libc.2
#1 0xc019583c in _sscanf () from /usr/lib/libc.2
#2 0xc019af74 in malloc () from /usr/lib/libc.2
#3 0xc00f6460 in __nwa () from /usr/lib/libCsup.2
#4 0x0004c020 in ResourceFile::StrToRow ()

I understand there may be a memory corruption. Please find the system parameters that I have configured.

* Tunable parameters

STRMSGSZ 65535
dbc_max_pct 20
dnlc_hash_locks 512
maxdsiz 0X50000000
maxdsiz_64bit 0X400000000
maxfiles 2048
maxssiz 0X10000000
maxssiz_64bit 0X40000000
maxswapchunks 16384
maxtsiz 0X10000000
maxtsiz_64bit 0X40000000
maxuprc 400
maxusers 512
msgmni 256
msgseg 32767
msgssz 32
msgtql 2046
npty 75
nstrpty 75
nstrtel 75
semmni 3470
semmns 6940
semmnu 690
semume 64
shmmax 0X60000000
shmmni 512
vps_ceiling 64
msgmnb 65535


Please let me know what i should do
My application is a 32-bit application

PA-RISC2.0 shared executable dynamically linked -not stripped

Please somebody help me asap.


4 REPLIES 4
Stephen Keane
Honored Contributor

Re: Application core dumps

I've turned on my psychic powers and I will now debug your (unnamed) application without the source code. I'm getting ... Oracle? ... version 10ish? ... possibly using malloc to allocate memory and delete to free it? ... crystal ball is clouding over ...
Arunvijai_4
Honored Contributor

Re: Application core dumps

Hello,

You can see more information with tusc when it comes to system related issues, you can downloa d it from,

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.8/

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Sorrel G. Jakins
Valued Contributor

Re: Application core dumps

I don't think anyone is going to get any points here, but Stephen deserves to get 10!

As Arun said, run tusc.
Mark Greene_1
Honored Contributor

Re: Application core dumps

Run "file" on the core file produced and note which signal the process terminated on and then take that information back to the application vendor and ask them if it's a known problem. They are likely to have seen this before if it's strictly a software and not a config problem.

mark
the future will be a lot like now, only later