Operating System - HP-UX
1753775 Members
7340 Online
108799 Solutions
New Discussion

Re: Getting core dumps daily at 00.03 to 00.13 on zeus process

 
Dennis Handly
Acclaimed Contributor

Re: Getting core dumps daily at 00.03 to 00.13 on zeus process

>ksh: unpackcore:  not found

 

unpackcore and getcore are gdb commands.

 

#0 0xc0000000003b46f0:0 in strcmp+0x50 /usr/lib/hpux64/libc.so.1
#1 0xc00000000050e1c0:0 in do_getconfig+0x3e0 libc.so.1
#6 0xc0000000005b1af0:0 in getpwuid+0xf0 libc.so.1
#7 0x400000000006a940:0 in <unknown_procedure> + 0x170

 

This indicates you are either:

1) Passing something bad to getpwuid, hard to believe since only a uid_t.

2) Something wrong with getpwuid and what it calls

3) You corrupted the libc globals

laxmia
Occasional Advisor

Re: Getting core dumps daily at 00.03 to 00.13 on zeus process

Hi Dannis,

 

Please find the unpackcore report

 

hhtst010:/tmp> gdb packcore.tar.Z
Detected PA executable.
Invoking /usr/ccs/bin/gdbpa.
HP gdb 6.2 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11i
and target hppa1.1-hp-hpux11.00.
Copyright 1986 - 2011 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 6.2 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
.."/tmp/packcore.tar.Z": not in executable format: File format not recognized

(gdb) unpackcore
packcore.tar.Z: Not owner
Unpackcore of packcore.tar is done!.
Do you want to remove packcore.tar ?(y or n) n

Detected IPF core-file.
Invoking /opt/langtools/bin/gdb

warning: Load module /tmp/packcore/modules/eq has been stripped.
Debugging information is not available.

(no debugging symbols found)...Core was generated by `eq'.
Program terminated with signal 11, Segmentation fault.
SEGV_MAPERR - Address not mapped to object
#0  0xc0000000003b46f0:0 in strcmp+0x50 () from packcore/modules//libc.so.1
(gdb)
(gdb) getcore
warning: Load module /tmp/packcore/modules/eq has been stripped.
Debugging information is not available.

(no debugging symbols found)...Core was generated by `eq'.
Program terminated with signal 11, Segmentation fault.
SEGV_MAPERR - Address not mapped to object
#0  0xc0000000003b46f0:0 in strcmp+0x50 () from __milli_div32U
(gdb)

(gdb) bt
#0  0xc0000000003b46f0:0 in strcmp+0x50 () from __milli_div32U
#1  0xc00000000050e1c0:0 in do_getconfig ()
    at ../../../../../core/libs/libc/shared_em_64_perf/../net/net/nsparse.c:281
#2  0xc00000000050eea0:0 in __nsw_getconfig ()
    at ../../../../../core/libs/libc/shared_em_64_perf/../net/net/nsparse.c:542
#3  0xc000000000510350:0 in _nss_db_state_constr ()
    at ../../../../../core/libs/libc/shared_em_64_perf/../net/net/nss_common.c:332
#4  0xc000000000510c70:0 in nss_search ()
    at ../../../../../core/libs/libc/shared_em_64_perf/../net/net/nss_common.c:473
#5  0xc0000000005b10d0:0 in __getpwuid_r ()
    at ../../../../../core/libs/libc/shared_em_64_perf/../core/gen/getpwent.c:188
#6  0xc0000000005b1af0:0 in getpwuid ()
    at ../../../../../core/libs/libc/shared_em_64_perf/../core/gen/getpwent.c:213
warning: Unwind failed since the load module descriptor
of /tmp/packcore/modules/eq is not available. This
might happen due to a mismatch between the core file
and executable.
#7  0x400000000006a940:0 in <unknown_procedure> + 0x170 ()

 

 

Also as you mentioned the below points

This indicates you are either:

1) Passing something bad to getpwuid, hard to believe since only a uid_t.

2) Something wrong with getpwuid and what it calls

3) You corrupted the libc globals

 

The libc.so files are provide by HP to us. so do we need to contact HP for the same issue.

 

Thanks

 

Laxmi

Dennis Handly
Acclaimed Contributor

Re: Getting core dumps daily at 00.03 to 00.13 on zeus process

>(gdb) getcore

 

Only needed if you exit gdb and want to continue later.

 

>The libc.so files are provided by HP. so do we need to contact HP for the issue?

 

Yes, libc is part of the core system.  They are going to want that packcore.

And they are going to want you to get your patches up to date.

laxmia
Occasional Advisor

Re: Getting core dumps daily at 00.03 to 00.13 on zeus process

Hi Dannis,

 

Thanks for the response.

 

Will contact HP support & provide the details to them.

 

Thanking you.

 

Laxmi

Dennis Handly
Acclaimed Contributor

Re: Getting core dumps daily at 00.03 to 00.13 on zeus process

>Thanks for the response.

 

If any answers were helpful, please click on the Kudos star.