i386/79288: System crash (with core)
Dariusz Kulinski
takeda at takeda.tk
Sun Mar 27 20:20:06 PST 2005
The following reply was made to PR i386/79288; it has been noted by GNATS.
From: Dariusz Kulinski <takeda at takeda.tk>
To: freebsd-gnats-submit at FreeBSD.org, takeda at takeda.tk
Cc:
Subject: Re: i386/79288: System crash (with core)
Date: Sun, 27 Mar 2005 20:14:37 -0800
I just noticed I did a typo while entering line number, here is
correct output:
(kgdb) frame 24
#24 0xc04e9d3f in sigtd (p=0xc18f68d4, sig=14, prop=129) at /usr/src/sys/kern/kern_sig.c:1581
1581 if (td->td_waitset != NULL &&
(kgdb) list 1581
1576 * way to deliver signal.
1577 */
1578 signal_td = NULL;
1579 mtx_lock_spin(&sched_lock);
1580 FOREACH_THREAD_IN_PROC(p, td) {
1581 if (td->td_waitset != NULL &&
1582 SIGISMEMBER(*(td->td_waitset), sig)) {
1583 mtx_unlock_spin(&sched_lock);
1584 return (td);
1585 }
(kgdb) p *td
$1 = {td_proc = 0xc18f68d4, td_ksegrp = 0xc1a44d20, td_plist = {tqe_next = 0xc29f7960, tqe_prev = 0xc1bfe328}, td_kglist = {
tqe_next = 0x0, tqe_prev = 0xc1a44d2c}, td_slpq = {tqe_next = 0x0, tqe_prev = 0xc18bb0a0}, td_lockq = {tqe_next = 0x0,
tqe_prev = 0x0}, td_runq = {tqe_next = 0x0, tqe_prev = 0xc1a44d34}, td_selq = {tqh_first = 0x0, tqh_last = 0xc296ae40},
td_sleepqueue = 0x0, td_turnstile = 0xc1835a40, td_tid = 100229, td_flags = 8, td_inhibitors = 6, td_pflags = 8,
td_dupfd = 0, td_wchan = 0xd15b2c20, td_wmesg = 0xc06cef0b "sigwait", td_lastcpu = 0 '\0', td_oncpu = 255 'ÿ',
td_locks = 0, td_blocked = 0x0, td_ithd = 0x0, td_lockname = 0x0, td_contested = {lh_first = 0x0}, td_sleeplocks = 0x0,
td_intr_nesting_level = 0, td_pinned = 0, td_mailbox = 0x9903010, td_ucred = 0xc298f200, td_standin = 0x0, td_prticks = 0,
td_upcall = 0xc17e5120, td_sticks = 1280, td_uuticks = 0, td_usticks = 0, td_intrval = 0, td_oldsigmask = {__bits = {0, 0,
0, 0}}, td_sigmask = {__bits = {159751, 0, 0, 0}}, td_siglist = {__bits = {0, 0, 0, 0}}, td_waitset = 0xd15b2c64,
td_umtx = {tqe_next = 0x0, tqe_prev = 0x0}, td_generation = 228900, td_sigstk = {ss_sp = 0x0, ss_size = 0, ss_flags = 0},
td_kflags = 0, td_xsig = 0, td_profil_addr = 0, td_profil_ticks = 0, td_base_pri = 104 'h', td_priority = 104 'h',
td_pcb = 0xd15b2da0, td_state = TDS_INHIBITED, td_retval = {0, 137620480}, td_slpcallout = {c_links = {sle = {
sle_next = 0x0}, tqe = {tqe_next = 0x0, tqe_prev = 0xc1e61d94}}, c_time = 216910726, c_arg = 0xc296ae10, c_func = 0,
c_flags = 8}, td_frame = 0xd15b2d48, td_kstack_obj = 0xc18eece4, td_kstack = 3512406016, td_kstack_pages = 2,
td_altkstack_obj = 0x0, td_altkstack = 0, td_altkstack_pages = 0, td_critnest = 1, td_md = {md_savecrit = 582},
td_sched = 0xc296af64}
(kgdb) p sig
$2 = 14
(kgdb) p sched_lock
$3 = {mtx_object = {lo_class = 0xc06f98c4, lo_name = 0xc06d0212 "sched lock", lo_type = 0xc06d0212 "sched lock",
lo_flags = 720896, lo_list = {tqe_next = 0x0, tqe_prev = 0x0}, lo_witness = 0x0}, mtx_lock = 3243147664, mtx_recurse = 0}
More information about the freebsd-i386
mailing list