FreeBSD Bugzilla – Attachment 193023 Details for
Bug 227213
FreeBSD 10.4 kernel deadlocks on sysctlmemlock
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
thread 257/100247
257_100247.txt (text/plain), 8.76 KB, created by
Eugene Grosbein
on 2018-05-03 15:33:53 UTC
(
hide
)
Description:
thread 257/100247
Filename:
MIME Type:
Creator:
Eugene Grosbein
Created:
2018-05-03 15:33:53 UTC
Size:
8.76 KB
patch
obsolete
>(kgdb) thread 219 >[Switching to thread 219 (Thread 100242)]#0 sched_switch (td=0xfffff80079fd3a00, > newtd=<value optimized out>, flags=<value optimized out>) > at /usr/src/sys/kern/sched_ule.c:1956 >1956 cpuid = PCPU_GET(cpuid); >(kgdb) p *(struct thread *)0xfffff80079fd3000 >$3 = {td_lock = 0xffffffff81772d48, td_proc = 0xfffff8010a807000, td_plist = {tqe_next = 0x0, > tqe_prev = 0xfffff80164b5b510}, td_runq = {tqe_next = 0x0, tqe_prev = 0xffffffff8173cda8}, > td_slpq = {tqe_next = 0x0, tqe_prev = 0xfffff8000a0d0530}, td_lockq = {tqe_next = 0x0, > tqe_prev = 0xfffffe0461eda388}, td_hash = {le_next = 0x0, le_prev = 0xfffffe00008abcb8}, > td_cpuset = 0xfffff800083a63a8, td_sel = 0xfffff8010a1f9000, td_sleepqueue = 0x0, > td_turnstile = 0xfffff800797d7cc0, td_rlqe = 0xfffff8000bb82320, td_umtxq = 0xfffff8000b889980, > td_tid = 100247, padding1 = {0, 0, 0, 0}, padding2 = {0x0, 0x0, 0x0, 0x0}, > td_lend_user_pri = 255 'Ú', td_flags = 12, td_inhibitors = 2, td_pflags = 0, td_dupfd = 0, > td_sqqueue = 0, td_wchan = 0xfffff80008546000, td_wmesg = 0xffffffff80f1fe4c "acmtx", > td_lastcpu = 0 '\0', td_oncpu = 255 'Ú', td_owepreempt = 0 '\0', td_tsqueue = 0 '\0', > td_locks = 1, td_rw_rlocks = 0, td_lk_slocks = 0, td_stopsched = 0, td_blocked = 0x0, > td_lockname = 0x0, td_contested = {lh_first = 0x0}, td_sleeplocks = 0xffffffff818bb8d8, > td_intr_nesting_level = 0, td_pinned = 0, td_ucred = 0xfffff80079edf700, td_estcpu = 0, > td_slptick = 83466, td_blktick = 0, td_swvoltick = 83466, td_cow = 93, td_ru = {ru_utime = { > tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 0}, ru_maxrss = 7512, > ru_ixrss = 2176, ru_idrss = 192, ru_isrss = 1024, ru_minflt = 498, ru_majflt = 17, > ru_nswap = 0, ru_inblock = 25, ru_oublock = 0, ru_msgsnd = 31, ru_msgrcv = 29, > ru_nsignals = 0, ru_nvcsw = 76, ru_nivcsw = 28}, td_rux = {rux_runtime = 239736682, > rux_uticks = 5, rux_sticks = 3, rux_iticks = 0, rux_uu = 0, rux_su = 0, rux_tu = 0}, > td_incruntime = 0, td_runtime = 239736682, td_pticks = 0, td_sticks = 0, td_iticks = 0, > td_uticks = 0, td_intrval = 0, td_oldsigmask = {__bits = {0, 0, 0, 0}}, td_generation = 104, > td_sigstk = {ss_sp = 0x0, ss_size = 0, ss_flags = 4}, td_xsig = 0, td_profil_addr = 0, > td_profil_ticks = 0, td_name = "hald", '\0' <repeats 15 times>, td_fpop = 0x0, td_dbgflags = 0, > td_dbgksi = {ksi_link = {tqe_next = 0x0, tqe_prev = 0x0}, ksi_info = {si_signo = 0, > si_errno = 0, si_code = 0, si_pid = 0, si_uid = 0, si_status = 0, si_addr = 0x0, > si_value = {sival_int = 0, sival_ptr = 0x0, sigval_int = 0, sigval_ptr = 0x0}, _reason = { > _fault = {_trapno = 0}, _timer = {_timerid = 0, _overrun = 0}, _mesgq = {_mqd = 0}, > _poll = {_band = 0}, __spare__ = {__spare1__ = 0, __spare2__ = {0, 0, 0, 0, 0, 0, 0}}}}, > ksi_flags = 0, ksi_sigq = 0x0}, td_ng_outbound = 0, td_osd = {osd_nslots = 0, > osd_slots = 0x0, osd_next = {le_next = 0x0, le_prev = 0x0}}, td_map_def_user = 0x0, > td_dbg_forked = 0, td_vp_reserv = 0, td_no_sleeping = 0, td_dom_rr_idx = 0, td_sigmask = { > __bits = {0, 0, 0, 0}}, td_rqindex = 32 ' ', td_base_pri = 130 '\202', > td_priority = 130 '\202', td_pri_class = 3 '\003', td_user_pri = 130 '\202', > td_base_user_pri = 130 '\202', td_pcb = 0xfffffe0462199a80, td_state = TDS_INHIBITED, > td_retval = {0, 0}, td_slpcallout = {c_links = {le = {le_next = 0x0, > le_prev = 0xfffffe0000978ad8}, sle = {sle_next = 0x0}, tqe = {tqe_next = 0x0, > tqe_prev = 0xfffffe0000978ad8}}, c_time = 366608302624, c_precision = 268435456, > c_arg = 0xfffff80079fd3000, c_func = 0xffffffff809c2ed0 <sleepq_timeout>, c_lock = 0x0, > c_flags = 0, c_iflags = 272, c_cpu = 3}, td_frame = 0xfffffe04621999c0, > td_kstack_obj = 0xfffff8010a93c900, td_kstack = 18446741893511995392, td_kstack_pages = 4, > td_critnest = 1, td_md = {md_spinlock_count = 1, md_saved_flags = 582, > md_spurflt_addr = 34428395520}, td_sched = 0xfffff80079fd34d8, td_ar = 0x0, td_lprof = {{ > lh_first = 0x0}, {lh_first = 0x0}}, td_dtrace = 0xfffff8010ad67b00, td_errno = 0, > td_vnet = 0x0, td_vnet_lpush = 0x0, td_intr_frame = 0x0, td_rfppwait_p = 0x0, td_ma = 0x0, > td_ma_cnt = 0, td_su = 0x0, td_dbg_sc_code = 0, td_dbg_sc_narg = 0, td_emuldata = 0x0, > td_sleeptimo = 0, td_sigqueue = {sq_signals = {__bits = {0, 0, 0, 0}}, sq_kill = {__bits = {0, > 0, 0, 0}}, sq_ptrace = {__bits = {0, 0, 0, 0}}, sq_list = {tqh_first = 0x0, > tqh_last = 0xfffff80079fd34b8}, sq_proc = 0xfffff8010a807000, sq_flags = 1}} >(kgdb) thread 257 >[Switching to thread 257 (Thread 100247)]#0 sched_switch (td=0xfffff80079fd3000, > newtd=<value optimized out>, flags=<value optimized out>) > at /usr/src/sys/kern/sched_ule.c:1956 >1956 cpuid = PCPU_GET(cpuid); >Current language: auto; currently minimal >(kgdb) bt >#0 sched_switch (td=0xfffff80079fd3000, newtd=<value optimized out>, flags=<value optimized out>) > at /usr/src/sys/kern/sched_ule.c:1956 >#1 0xffffffff8097ea51 in mi_switch (flags=0, newtd=0x0) at /usr/src/sys/kern/kern_synch.c:473 >#2 0xffffffff809c3312 in sleepq_switch (wchan=<value optimized out>, pri=<value optimized out>) > at /usr/src/sys/kern/subr_sleepqueue.c:553 >#3 0xffffffff809c3775 in sleepq_catch_signals (wchan=0xfffff80008546000, pri=0) > at /usr/src/sys/kern/subr_sleepqueue.c:474 >#4 0xffffffff809c33ef in sleepq_wait_sig (wchan=0x0, pri=0) > at /usr/src/sys/kern/subr_sleepqueue.c:646 >#5 0xffffffff8097e2ff in _sleep (ident=<value optimized out>, lock=<value optimized out>, > priority=<value optimized out>, wmesg=<value optimized out>, sbt=<value optimized out>, > pr=<value optimized out>) at /usr/src/sys/kern/kern_synch.c:240 >#6 0xffffffff80374265 in AcpiOsAcquireMutex (Handle=0xfffff80008546000, > Timeout=<value optimized out>) at /usr/src/sys/dev/acpica/Osd/OsdSynch.c:392 >#7 0xffffffff8035509a in AcpiUtAcquireMutex (MutexId=0) > at /usr/src/sys/contrib/dev/acpica/components/utilities/utmutex.c:332 >#8 0xffffffff80342ecb in AcpiExEnterInterpreter () > at /usr/src/sys/contrib/dev/acpica/components/executer/exutils.c:101 >#9 0xffffffff803471ab in AcpiNsEvaluate (Info=0xfffff8010a1f9500) > at /usr/src/sys/contrib/dev/acpica/components/namespace/nseval.c:275 >#10 0xffffffff80353e1c in AcpiUtEvaluateObject (PrefixNode=0xfffff800085a4f40, > Path=0xffffffff80f18850 "_HID", ExpectedReturnBtypes=3, ReturnDesc=0xfffffe04621995f8) > at /usr/src/sys/contrib/dev/acpica/components/utilities/uteval.c:100 >#11 0xffffffff803542b7 in AcpiUtExecute_HID (DeviceNode=0x0, ReturnId=0xfffffe0462199668) > at /usr/src/sys/contrib/dev/acpica/components/utilities/utids.c:85 >#12 0xffffffff8034ad5e in AcpiGetObjectInfo (Handle=<value optimized out>, > ReturnBuffer=0xfffffe04621996b0) > at /usr/src/sys/contrib/dev/acpica/components/namespace/nsxfname.c:379 >#13 0xffffffff80378e14 in acpi_child_pnpinfo_str_method (cbdev=<value optimized out>, > child=<value optimized out>, buf=0xfffff8000b71a000 "", buflen=1024) > at /usr/src/sys/dev/acpica/acpi.c:880 >#14 0xffffffff809ab0db in device_sysctl_handler (oidp=<value optimized out>, > arg1=0xfffff8000870cc00, arg2=<value optimized out>, req=0xfffffe0462199768) at bus_if.h:656 >#15 0xffffffff80980b02 in sysctl_root (arg1=<value optimized out>, arg2=<value optimized out>) > at /usr/src/sys/kern/kern_sysctl.c:1532 >#16 0xffffffff809810f2 in userland_sysctl (td=<value optimized out>, name=0xfffffe0462199830, > namelen=<value optimized out>, old=<value optimized out>, oldlenp=<value optimized out>, > inkernel=<value optimized out>, new=<value optimized out>, newlen=<value optimized out>, > retval=<value optimized out>, flags=0) at /usr/src/sys/kern/kern_sysctl.c:1642 >#17 0xffffffff80980f24 in sys___sysctl (td=0xfffff80079fd3000, uap=0xfffffe0462199940) > at /usr/src/sys/kern/kern_sysctl.c:1568 >#18 0xffffffff80db4e26 in amd64_syscall (td=0xfffff80079fd3000, traced=0) at subr_syscall.c:141 >#19 0xffffffff80d97d3b in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:398 >#20 0x0000000801bf369a in ?? () >Previous frame inner to this frame (corrupt stack?) >(kgdb) frame 16 >#16 0xffffffff809810f2 in userland_sysctl (td=<value optimized out>, name=0xfffffe0462199830, > namelen=<value optimized out>, old=<value optimized out>, oldlenp=<value optimized out>, > inkernel=<value optimized out>, new=<value optimized out>, newlen=<value optimized out>, > retval=<value optimized out>, flags=0) at /usr/src/sys/kern/kern_sysctl.c:1642 >1642 error = sysctl_root(0, name, namelen, &req); >(kgdb) p req >$1 = {td = 0xfffff80079fd3000, lock = 1, oldptr = 0x0, oldlen = 34426980224, oldidx = 0, > oldfunc = 0xffffffff80980d10 <sysctl_old_user>, newptr = 0x0, newlen = 0, newidx = 0, > newfunc = 0xffffffff80981190 <sysctl_new_user>, validlen = 34426980224, flags = 0}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 227213
:
192121
|
192122
|
192172
|
192199
| 193023 |
193116
Working