On 25/05/2012 7:54 p.m., Kamarudin Samsudin wrote:
Hi Amos, I'm looking into this now. Could you guide me, how to get the "two values in those FD" form the core dump file. I did something... hope will give you clues. This is from Solaris.
Sorry, I dont have much time any more. Will do what I can though.
pflags core_mib01_01-19_04_2012 core 'core-19_04_2012' of 22938: (squid) -f /squid_dir/etc/squid.conf data model = _ILP32 flags = MSACCT|MSFORK /1: flags = 0 sigmask = 0xffffbefc,0x0000ffff cursig = SIGABRT pstack core_mib01_01-19_04_2012 core 'core-19_04_2012' of 22938: (squid) -f /squid_dir/etc/squid.conf ----------------- lwp# 1 / thread# 1 -------------------- feccc5f8 _lwp_kill (6, 0, fed34f98, fecabf18, ffffffff, 6) + 8 fec4194c abort (23dd4e28, 1, 286790, eeb60, fed333d8, 0) + 110 000c2aa4 xassert (23b3b0, 23aca0, 1f0, 49, 1, 2) + c4 000d6d10 _ZN8FwdState12serverClosedEi (1f706cd0, e, 0, fed392a4, 3, 47c) + 48
They should show up in the parameters where xassert function parameters are listed. if not there then as local parameters to _ZN8FwdState12serverClosedEi (aka FwdState::serverClosed).
GDB shows a good display format for these things if you have it available. I can't help with pstack sorry.
Amos