[Bug 283101] pthread_cancel() doesn't cancel a thread that's currently in pause()
[email protected] Thu, 19 Dec 2024 09:57:52 +0000
| Newsgroups | gmane.os.freebsd.devel.threading |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283101 --- Comment #13 from [email protected] --- Local *curthread from the frame #2: (gdb) print *curthread $3 =3D {tid =3D 100557, lock =3D {m_owner =3D 0, m_flags =3D 0, m_ceilings = =3D {0, 0}, m_rb_lnk =3D 0, m_spare =3D {0, 0}}, cycle =3D 0, locklevel =3D 0, critical= _count =3D 0, sigblock =3D 0, fsigblock =3D 0, tle =3D {tqe_next =3D 0x0, tqe_prev =3D 0x= 3a2768013540}, gcle =3D {tqe_next =3D 0x0, tqe_prev =3D 0x0}, hle =3D {le_next =3D 0x0, le_prev =3D 0x822694db0}, = wle =3D {tqe_next =3D 0x0, tqe_prev =3D 0x0}, refcount =3D 0, start_routine =3D 0x0= , arg =3D 0x0, attr =3D {sched_policy =3D 2, sched_inherit =3D 4, prio =3D 0, suspend =3D = 0, flags =3D 258, stackaddr_attr =3D 0x800819000, stacksize_attr =3D 536870912, guardsize_attr =3D 4096, cpuset =3D 0x0, = cpusetsize =3D 0}, cancel_enable =3D 1, cancel_pending =3D 0, cancel_point =3D 1, no_c= ancel =3D 0, cancel_async =3D 0, cancelling =3D 0, sigmask =3D {__bits =3D {0, 0, 0, 0}}, unblock_sigcancel =3D 0, in_sigsuspend =3D 0, deferred_siginfo =3D {si_signo =3D 0, si_errno =3D 0, si_code =3D 0, si_p= id =3D 0, si_uid =3D 0, si_status =3D 0, si_addr =3D 0x0, si_value =3D {sival_int =3D= 0, sival_ptr =3D 0x0, sigval_int =3D 0, sigval_ptr =3D 0x0}, _reason =3D {_fault =3D {_t= rapno =3D 0}, _timer =3D {_timerid =3D 0, _overrun =3D 0}, _mesgq =3D {_mqd =3D 0}, _poll =3D {_band =3D 0}, _capsicum =3D {_sys= call =3D 0}, __spare__ =3D {__spare1__ =3D 0, __spare2__ =3D {0, 0, 0, 0, 0, 0, 0}}}}, deferred_sigmask =3D {__bits =3D {0, 0, 0, 0}}, deferred_sigact =3D {__siga= ction_u =3D {__sa_handler =3D 0x0, __sa_sigaction =3D 0x0}, sa_flags =3D 0, sa_mask =3D {__bits =3D {0, 0, 0, 0}}}, deferred_run = =3D 0, force_exit =3D 0, state =3D PS_RUNNING, error =3D 0, joiner =3D 0x0, flags = =3D 0, tlflags =3D 2, mq =3D {{tqh_first =3D 0x0, tqh_last =3D 0x3a27680121a8}, {tqh_first= =3D 0x0, tqh_last =3D 0x3a27680121b8}, { tqh_first =3D 0x0, tqh_last =3D 0x3a27680121c8}, {tqh_first =3D 0x0, = tqh_last =3D 0x3a27680121d8}, {tqh_first =3D 0x0, tqh_last =3D 0x3a27680121e8}, {tqh_fir= st =3D 0x0, tqh_last =3D 0x3a27680121f8}}, ret =3D 0x0, specific =3D 0x0, specific_data_count =3D 0, rdlock_count =3D 0, rtld_bits =3D 0, tcb =3D 0x3a2767c1c120, cleanup =3D 0x820817da0, ex =3D {exception_class =3D 0, exception_cleanup =3D 0x0, private_1 =3D 0, private= _2 =3D 0}, unwind_stackend =3D 0x820819000, unwind_disabled =3D 0, magic =3D 349986024= 5, report_events =3D 0, event_mask =3D 0, event_buf =3D { event =3D TD_EVENT_NONE, th_p =3D 0, data =3D 0}, wchan =3D 0x0, mutex_= obj =3D 0x0, will_sleep =3D 0, nwaiter_defer =3D 0, robust_inited =3D 0, robust_list =3D= 0, priv_robust_list =3D 0, inact_mtx =3D 0, defer_waiters =3D {0x0 <repeats 50= times>}, wake_addr =3D 0x8226950e0, sleepqueue =3D 0x3a2768019000, name =3D 0x0, dlerror_msg =3D "Invalid sha= red object handle 0x822694bf0", '\000' <repeats 471 times>, dlerror_seen =3D 1} --=20 You are receiving this mail because: You are the assignee for the bug.=