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.bugs Subject: bug#58104: 29.0.50; Emacs crushers in console probably by M-w Date: Tue, 27 Sep 2022 09:42:51 +0300 Message-ID: <83mtaljp1w.fsf@gnu.org> References: <868rm55pwi.fsf@protected.rcdrun.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28227"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58104@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 27 09:25:42 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1od4yM-0007Bo-4G for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Sep 2022 09:25:42 +0200 Original-Received: from localhost ([::1]:38380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1od4yL-0007mg-2c for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Sep 2022 03:25:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1od4K2-0007aW-R0 for bug-gnu-emacs@gnu.org; Tue, 27 Sep 2022 02:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53221) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1od4K2-0003Gs-Hq for bug-gnu-emacs@gnu.org; Tue, 27 Sep 2022 02:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1od4K2-0007yc-DW for bug-gnu-emacs@gnu.org; Tue, 27 Sep 2022 02:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Sep 2022 06:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58104 X-GNU-PR-Package: emacs Original-Received: via spool by 58104-submit@debbugs.gnu.org id=B58104.166426098530571 (code B ref 58104); Tue, 27 Sep 2022 06:44:02 +0000 Original-Received: (at 58104) by debbugs.gnu.org; 27 Sep 2022 06:43:05 +0000 Original-Received: from localhost ([127.0.0.1]:52294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1od4J7-0007x0-3l for submit@debbugs.gnu.org; Tue, 27 Sep 2022 02:43:05 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1od4J6-0007w4-5O for 58104@debbugs.gnu.org; Tue, 27 Sep 2022 02:43:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50960) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1od4J0-00037C-T4; Tue, 27 Sep 2022 02:42:58 -0400 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=vIvRXmmVNwdRbmaJVUYYgsx7yQU829PmsR+rYQe7tmk=; b=CBpKXcIRGPfd V9d9fMMcGZINdYaaj5sgjVwnROk8HJG8kOgUydIoSAX6JXKak8qjZNaJCnseWoZRZp/+Wq/VX4LOe PpHSUnVBKEyfqgAIU6C+MFv5VtBlNOr91W3SbQKi4DVLPY9YN23biLo8GjjecV4yZ6moAAXStuLUy CQ1e+LzUzfq6Vo4/V1at2cIbxd3+YbA2w8wGwiHtZ3Dmk+7D6tDCowEMunV90sek79GhVlB9KBnZ7 BMvHH9ue03R5rnoDR3e3VCud24bsR3oJOykyecYo+Wd3wbnjwVrKpR2uEcfgFqmftz9gN0jrcnon4 d5b6NPrUTSAmOUD/QAPGgg==; Original-Received: from [87.69.77.57] (port=2457 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1od4J0-0000Fe-Au; Tue, 27 Sep 2022 02:42:58 -0400 In-Reply-To: <868rm55pwi.fsf@protected.rcdrun.com> (message from Jean Louis on Tue, 27 Sep 2022 08:48:13 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:243697 Archived-At: > From: Jean Louis > Date: Tue, 27 Sep 2022 08:48:13 +0300 > > > I am running Emacs from console by using gdb, so it crashed when I used > M-w but cannot remember how exactly. I select something, I can see > selected text in blue, and I run gdb in console with gdb --args emacs -Q > -nw then Emacs receives some signal, sometimes, I caught something: > > (gdb) backtrace > #0 0x00007ffff60192b1 in pselect () at /usr/lib/libc.so.6 > #1 0x00005555557db811 in really_call_select (arg=0x7fffffffca10) at thread.c:612 > #2 0x00005555557dbf8f in flush_stack_call_func (arg=0x7fffffffca10, func=0x5555557db7a0 ) > at /home/data1/protected/Programming/Software/emacs/src/lisp.h:4225 > #3 thread_select > (func=, max_fds=max_fds@entry=9, rfds=rfds@entry=0x7fffffffcb10, wfds=wfds@entry=0x7fffffffcb90, efds=efds@entry=0x0, timeout=timeout@entry=0x7fffffffd170, sigmask=) at thread.c:644 > #4 0x00005555557ffe0d in xg_select > (fds_lim=9, rfds=0x7fffffffd2a0, wfds=0x7fffffffd320, efds=0x0, timeout=, sigmask=0x0) at xgselect.c:184 > #5 0x00005555557b332b in wait_reading_process_output > (time_limit=time_limit@entry=30, nsecs=nsecs@entry=0, read_kbd=read_kbd@entry=-1, do_display=do_display@entry=true, wait_for_cell=wait_for_cell@entry=0x0, wait_proc=wait_proc@entry=0x0, just_wait_proc=) at process.c:5685 > #6 0x00005555555afe90 in sit_for (timeout=timeout@entry=0x7a, reading=reading@entry=true, display_option=display_option@entry=1) > at dispnew.c:6238 > #7 0x00005555556dd8b7 in read_char > (commandflag=1, map=0x555555fb4c93, prev_event=0x0, used_mouse_menu=0x7fffffffda6b, end_time=0x0) > at /home/data1/protected/Programming/Software/emacs/src/lisp.h:761 Is this a backtrace from the crash, or is this just a backtrace after attaching GDB to a running Emacs? It doesn't look to me as a crash. It looks like Emacs is idle waiting for input. Is the crash reproducible?