From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 298193858D28; Thu, 28 Mar 2024 14:19:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 298193858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1711635555; bh=cvstbaB9EOhsXooHErIPJwo6zOPOK4DImyb8PgCbt2w=; h=From:To:Subject:Date:From; b=ZlsyHgaaN7bcphaSeQUPAzhcMWScPOMEO7sBN4wUvvyfaZIoPVtotzvpDnSBCZxj6 0KXEIF08dsmgmE01KtrpcFIHipSMRJz9nzJCER+rwiDQ7lObtVaLRo4iLJQPFKXmdI aNPzStCx1d6e75bj9tQl26yiZls/EE3WUCQk8Lxc= From: "rvansa at azul dot com" To: gdb-prs@sourceware.org Subject: [Bug threads/31568] New: GDB fails with raw clone syscalls Date: Thu, 28 Mar 2024 14:19:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: threads X-Bugzilla-Version: 12.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rvansa at azul dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31568 Bug ID: 31568 Summary: GDB fails with raw clone syscalls Product: gdb Version: 12.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: threads Assignee: unassigned at sourceware dot org Reporter: rvansa at azul dot com Target Milestone: --- I am trying to debug into CRIU (https://criu.org/), though I have seen this problem in other instances where the clone/clone3 syscall is invoked direct= ly. When this is executed GDB prints ``` Cannot find user-level thread for LWP 341734: generic error ``` After this, `info thread` won't show the new thread. It is marked as being traced (but I guess that all threads from traced process show that). ``` $ cat /proc/341519/task/341734/status Name: java Umask: 0002 State: t (tracing stop) Tgid: 341519 Ngid: 0 Pid: 341734 PPid: 341503 TracerPid: 341503 ... ``` I can switch back to the original thread using `thread 1` but is is marked = as running and I cannot interrupt it (neither using ctrl+C nor with signal SIGINT). --=20 You are receiving this mail because: You are on the CC list for the bug.=