From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs without threads Date: Sat, 16 Dec 2023 21:26:47 +0200 Message-ID: <83il4ykky0.fsf@gnu.org> References: <87il516pgm.fsf@ledu-giraud.fr> <83il51qbiy.fsf@gnu.org> <877clh6jky.fsf@ledu-giraud.fr> <83edfpq6os.fsf@gnu.org> <87v890vpo0.fsf@ledu-giraud.fr> <83cyv8rbdl.fsf@gnu.org> <874jgju3ia.fsf@ledu-giraud.fr> <83zfyboec3.fsf@gnu.org> <874jgjsh26.fsf@ledu-giraud.fr> <83bkaqmgsm.fsf@gnu.org> <875y0yota0.fsf@ledu-giraud.fr> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="572"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Manuel Giraud Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 16 20:27:53 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rEaKG-000ASy-MD for ged-emacs-devel@m.gmane-mx.org; Sat, 16 Dec 2023 20:27:52 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rEaJY-00078U-1t; Sat, 16 Dec 2023 14:27:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEaJW-00071s-E1 for emacs-devel@gnu.org; Sat, 16 Dec 2023 14:27:06 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEaJV-0007AL-Oh; Sat, 16 Dec 2023 14:27:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ogKdO2JS9rKnUcDQOeci08woNU6HplLG8/rsrYAPRMQ=; b=O9h/HMBWZ/tD pplDVGsCdLhfel5NP4JjZxZ9XnZDLaDbmyGrlo83qG/ZsNXDoACU1cneHqgqdfYxwy4hbZakr0fuN Vh2lGoVgpK3sg0rWYVIBZwqjop3gbecl0oa3uMZTMkpV5btF2TiTvOs1x9+CS+c4TixBLoh4dIT6A gemph9Vc6QDkw8QJLWLyJKHqk/SlBujflSLW6jiFvEuxd1UZBT2s3wvsx8A694azkQJlDJGTXBpRw C5eqqaS+OyXhsAzVJ+E3dS6lQa3a8V9prnSsj+A128lPubIDhT7YFqhXqs3LgU6VY6mUmLCPjl+gR Mpvr3pl3+FuFVDx+vm+c5w==; In-Reply-To: <875y0yota0.fsf@ledu-giraud.fr> (message from Manuel Giraud on Sat, 16 Dec 2023 20:13:11 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:313884 Archived-At: > From: Manuel Giraud > Cc: emacs-devel@gnu.org > Date: Sat, 16 Dec 2023 20:13:11 +0100 > > Eli Zaretskii writes: > > >> FWIW, I have also noticed that even though I have closed the stuck Emacs > >> and delete the *gud* Emacs process. The system process for GDB and > >> Emacs are still there and in weird states. ps gives me the following > >> STAT: > >> > >> - GDB is DlL which means: in uninterruptible wait, ld.so has > >> syscall pinning, libc.so has syscall pinning > >> > >> - Emacs is TXlL which means: stopped process, being traced or > >> debugged, ld.so has syscall pinning, libc.so has syscall pinning > > > > Attaching a GDB to each one of those and posting a backtrace might > > give us some ideas. > > I don't know what you mean here but anyway I'll try to look into this > issue when I have some time. What I mean is: . find out the process ID of the GDB process that is DlL . attach another GDB to it, like this: $ gdb -p PID where PID is the process ID of that DlL GDB . produce backtrace (thread apply all bt") from the GDB attached to the DlL GDB This will only help of your GDB is installed with symbols, otherwise the backtrace will not be interesting.