From nobody Thu Dec 19 09:57:52 2024 X-Original-To: threads@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YDQw03ZG9z5gx5R for ; Thu, 19 Dec 2024 09:57:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YDQw011BMz4G19 for ; Thu, 19 Dec 2024 09:57:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734602272; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0lZcMKWSx3NNalmehXmlTBgS4JvmABVhcm682sGG9XU=; b=lodYsCFtSaieZ4YDBlybNvZZceJodWaTKHoquBlv9qjBkdDVq2Y14MhKvXRFDttWwFGL31 PdbVh5qeCQw4JpiUNEdPXzH6JnyKW8ZeEJfYsSytptHEe7l/lT++xbIeEg4hJ+Nk1HeTXN J/NToSnIWEtFVkxcDL/9Gf3nn5BFOFJnnLp0UIyOi3uWnkbS+XcpVKeQwgOHR6pohVzqMI XfO99bDMAi/ulQmz7L9wnr+wzRKmkvB6zb+L0PpK/Ybv9DKqlB0qney0I3MJF4SAMJrUiZ dQavnP4LloaY24xZU7NEN9BQIKpi1M1NHQuwyauANXQ7myS4eDdI71WE5ewb5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734602272; a=rsa-sha256; cv=none; b=FT4MWPsErYXF7yT8Z/U/3mmYiPnTZF6izsW5knYWwCzY4bpWeTJtJh7ToRC5V9tkgenEmb NAuQm2mtIn4jWTNshsu6Cdp7pnJVDasDcN07Jxda8eCpBz/BADO6B8DFY9zevqm6LBbYkO KGJcFkAiAQdGsxhJPVSTBrnXKax7celwkGgUe6Nq0c2i6bBvTr+8jZaDRHtra9EOT/n+4O hraAlx0v0suQJbAXt1I9df5GRJ843cVWZ0srf0vj2lZ47n8xK2g6g7s4rzQ+TDRyb7rOi+ sQH+SGPMr2hhSPGiQNMMl1t6znx2672G0QBWMvzrcE/FQu0DPKXKyRe/51/1mg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YDQw00SXszp32 for ; Thu, 19 Dec 2024 09:57:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BJ9vpgY053041 for ; Thu, 19 Dec 2024 09:57:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BJ9vpn9053040 for threads@FreeBSD.org; Thu, 19 Dec 2024 09:57:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: threads@FreeBSD.org Subject: [Bug 283101] pthread_cancel() doesn't cancel a thread that's currently in pause() Date: Thu, 19 Dec 2024 09:57:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: threads X-Bugzilla-Version: 13.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vedad@kajtaz.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: threads@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Threading List-Archive: https://lists.freebsd.org/archives/freebsd-threads List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-threads@freebsd.org Sender: owner-freebsd-threads@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283101 --- Comment #13 from vedad@kajtaz.net --- 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 }, wake_addr =3D 0x8226950e0, sleepqueue =3D 0x3a2768019000, name =3D 0x0, dlerror_msg =3D "Invalid sha= red object handle 0x822694bf0", '\000' , dlerror_seen =3D 1} --=20 You are receiving this mail because: You are the assignee for the bug.=