From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#55672: 29.0.50; Emacs crashes when calling start-process-shell-command xdg-open with process-connection-type set to nil Date: Fri, 27 May 2022 17:01:03 +0800 Message-ID: <87o7zjgxio.fsf@yahoo.com> References: <87a6b3wkzs.fsf@localhost> <87ilprihg0.fsf@yahoo.com> <87h75bh0zs.fsf@localhost> <877d67ieri.fsf@yahoo.com> <87k0a7l5yt.fsf@localhost> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14369"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 55672@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 27 11:03: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 1nuVsj-0003Vs-2W for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 May 2022 11:03:41 +0200 Original-Received: from localhost ([::1]:39698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuVsi-0005eG-1J for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 May 2022 05:03:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuVr9-0005ba-1O for bug-gnu-emacs@gnu.org; Fri, 27 May 2022 05:02:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuVr8-0007LH-Ov for bug-gnu-emacs@gnu.org; Fri, 27 May 2022 05:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nuVr8-0001KN-KC for bug-gnu-emacs@gnu.org; Fri, 27 May 2022 05:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2022 09:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55672 X-GNU-PR-Package: emacs Original-Received: via spool by 55672-submit@debbugs.gnu.org id=B55672.16536420855058 (code B ref 55672); Fri, 27 May 2022 09:02:02 +0000 Original-Received: (at 55672) by debbugs.gnu.org; 27 May 2022 09:01:25 +0000 Original-Received: from localhost ([127.0.0.1]:60898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuVqX-0001JW-0c for submit@debbugs.gnu.org; Fri, 27 May 2022 05:01:25 -0400 Original-Received: from sonic315-22.consmr.mail.ne1.yahoo.com ([66.163.190.148]:40740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuVqS-0001JG-Da for 55672@debbugs.gnu.org; Fri, 27 May 2022 05:01:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653642073; bh=fa4ljMaA/o2cj5/BcITg//6tukovUDC0d1znDCfVq0s=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=GqbT8VZ6WBLXT4JjGbeOkHlsA1l1VbZGokbUA8MA/DG8snUYlrWeeJWzvW3E0tZr5tQg/7VBdszJS+Dc/zHf2sD55FoXV7quRIsseHqTA6nD6MViuBPyTEHksCe/Q9GgK0Z8guV9LrcSCkWhNnpae2rDxHbwkHLmpbYD0HzUTt5zZBLdjhDnyexDlhLYJdeVgNEfAfBY81QLZpRaXo2P/7a1eCIvCtXTmyxyiPQ1Ec7Z6j4bDLNhwfR/n6+gn52VfajauiHYk2ttz9joSfQZxds4iSRMi7h7pfjvQfdmSgYe/yHZGl9AKz2c7NaPnecxLhnhe6HHvnK8pl3y1mWMpQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653642073; bh=/h9pB+IphMkzuaU8Sra4VHBhJqveMZsGqtZ5oLDsPum=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=NkNA43PZRu1J+HzwJiwv0GD1rj3/eOEp8ao7VUnWN+wLzakABo+oTS6rWqfW0qYu7N0LbZ6ygL2pL4eUXcG3UladCYf34pqU+1ON42bS/swukBld2Ipl4Hi0dJILgubq6UQfz6DhVuMyjx64Ca2CKuvAyWiFhE7pq3f9csJ3VIK5GwPiqfSP/eg+DqBOp8VF/qIoxiluKx4TXQEq4BI14W5QLKzhg5gvd9pXGxYMoqgU7VMlKo0R1ARO0EN6VUd0PssCODX4FuJK//PczMmucC5fX4V2b4tZ0LOwSV+VB+qjABfF6PEc8xMnjodxQh5riXJlHfLE0lq00WfNa9pa3A== X-YMail-OSG: k6KHKDcVM1krl_j3tuBMS0RwipURtk9QojXOJYBlnwiP6r8M9DCR1dwWQKB2SQv ZpAXyW6sbvS5Ws2s2ZDv93usOp83SdkY.wnzdLhKe1Yh83mDJpbuggcSbRio8UXo7ScuYinhQQBi a4tP0rkOvvhq5IpDCwUjirMlswsK_9Ntnv2iLsNJzqM_npajYpFBuiLpo8bMO3jXLBdYim6.Mom5 hrSaBiQeq1Fi938wGHWdR.Y1CaqITXd444y7Hfewg1tDYwb7SkxqbpJov9tGCVG99ZNmlTcqWUoM 8ObOWl5FuZE8potRT4YgLu9Ly8BsDnNg._5bhl3oNyloO95GMlKfn0CuPqjyAdQeTd89YSn956Gf _3yjQ7q2OBg1MYs1Jp90GI9x0oVIGDuimJfKk3q6OV0TtJpZKdpzFxllHGv0wuAPA6W8hMgnGuTn p7LCItbG2k1j5koLUa3kmXtG_NswDpxsvSSiZPmkBpEkaF1F_8fRi7TRGsjeNczDYWquCH1MQ0f0 2omQ1o6fnoB7o_fmiqFhg.Kc40y3WrXRd5E_zTNy6W8JJtHm2kwHFr59SaSBsm9Fys_kdEsK7jE_ AnCR_uHF91MZMjb3HEAtcCuGDYo3VkfNiQK0wMuFpz80MHVsAJtpGWbxqVhhjCnprDjMUp5.pRcV uzEJ9neVNrOBZCF0BbYAopfsmUDorBuEw8F9L9BdPcuzqphn5c0.fh8.GWHnzvbyuz8Kw29PGnij Fsnb007ZnSRmmG6GjYezplLNxPrrGNeJ_PD89_ThYB1DMP5qnba0OHSQSCVIH3BrTX1xrJaKKLe_ 7kVyJHe7KZOFxrR16hgawyIPF1Z92GkxUoDZfRHtc4 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Fri, 27 May 2022 09:01:13 +0000 Original-Received: by hermes--canary-production-sg3-5f7658c994-7rkj7 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID be2e347b7a65e5bef4ab289ae0d7bf62; Fri, 27 May 2022 09:01:08 +0000 (UTC) In-Reply-To: <87k0a7l5yt.fsf@localhost> (Ihor Radchenko's message of "Fri, 27 May 2022 16:44:58 +0800") X-Mailer: WebService/1.1.20225 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:233163 Archived-At: Ihor Radchenko writes: > Po Lu writes: > >> Please follow the instructions in the file etc/DEBUG on debugging X >> errors, and show a complete backtrace (type "bt" at the gdb prompt). > >> Unless the error happens at a very early stage of display setup, you >> should run Emacs with "-q -xrm Emacs.synchronous: true", to ensure that >> X errors are reported immediately after the call that caused them, >> instead of at the next synchronization point. > > Note that it is the first time I am using GDB. I appreciate the > guidance. > > Following your latest instructions: > >> gdb --args ./emacs -Q -xrm 'Emacs.synchronous: true' -l ~/bug.el > GNU gdb (Gentoo 12.1 vanilla) 12.1 > Copyright (C) 2022 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > Type "show copying" and "show warranty" for details. > This GDB was configured as "x86_64-pc-linux-gnu". > Type "show configuration" for configuration details. > For bug reporting instructions, please see: > . > Find the GDB manual and other documentation resources online at: > . > > For help, type "help". > Type "apropos word" to search for commands related to "word"... > Reading symbols from ./emacs... > SIGINT is used by the debugger. > Are you sure you want to change it? (y or n) [answered Y; input not from terminal] > DISPLAY = :0 > TERM = xterm-kitty > Breakpoint 1 at 0x2083b5: file emacs.c, line 420. > Breakpoint 2 at 0x1cc1d1: file xterm.c, line 21573. > (gdb) run > Starting program: /home/yantar92/Git/emacs/src/emacs -Q -xrm Emacs.synchronous:\ true -l /home/yantar92/bug.el Thanks, but this didn't work. You must run Emacs with "-q" instead of "-Q" for X resources passed as command line arguments to take effect.