From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko 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 14:24:55 +0800 Message-ID: <87a6b3wkzs.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30232"; mail-complaints-to="usenet@ciao.gmane.io" To: 55672@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 27 08:26:07 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 1nuTQF-0007iq-3F for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 May 2022 08:26:07 +0200 Original-Received: from localhost ([::1]:49310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuTQD-0002NY-FB for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 May 2022 02:26:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuTPC-0002NN-NB for bug-gnu-emacs@gnu.org; Fri, 27 May 2022 02:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38564) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuTPC-00071y-E5 for bug-gnu-emacs@gnu.org; Fri, 27 May 2022 02:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nuTPC-0005ae-A3 for bug-gnu-emacs@gnu.org; Fri, 27 May 2022 02:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2022 06:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55672 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.165363266721436 (code B ref -1); Fri, 27 May 2022 06:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 May 2022 06:24:27 +0000 Original-Received: from localhost ([127.0.0.1]:60694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuTOd-0005Zg-3c for submit@debbugs.gnu.org; Fri, 27 May 2022 02:24:27 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:56804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuTOa-0005ZX-CR for submit@debbugs.gnu.org; Fri, 27 May 2022 02:24:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuTOa-0002MS-6w for bug-gnu-emacs@gnu.org; Fri, 27 May 2022 02:24:24 -0400 Original-Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:34673) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuTOX-000707-0U for bug-gnu-emacs@gnu.org; Fri, 27 May 2022 02:24:23 -0400 Original-Received: by mail-pl1-x62a.google.com with SMTP id n8so3348454plh.1 for ; Thu, 26 May 2022 23:24:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=KWqACxH1kkwC49JkMi1c1x8YSMyG7Q8SpHisgudvi9Y=; b=bdoxx2S9SrbQDjXEp1Cy3LobYE14KtyrnUs396W0PU2xFbuG0urrhV0o6gVOYy2ypV HEUXVTloWCPDikxDw6gDmlnQ7BCKCXehWQpG+mTPYeP1Zd0LPN3ADRBNImJr1oUL+1ET sLtrCspmo1zGcqe6B40SVEoKC7Q0wFu+/sv9yDYIgx4E0UH7U7Jk/q+dlHDV2u6+L5fj exlBtSiMRRs5+Num8s+uRv/jB/nY2ylHMnLHp9Tv83ebT5zlrEfwAeDPQmh0bpOhJ8ou UxkOMUk7DIx+oVUxzb9I3SFroggcopwHUhVrY6TJ4NbwA8UyjQHHbB7GJ4xQFeTxXenU 705A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=KWqACxH1kkwC49JkMi1c1x8YSMyG7Q8SpHisgudvi9Y=; b=G9kVOInNKcHhwsSIPaJZmTpC65DXWuPbbguWZ42nURdkfNtTAEsKJvHIZV5VRxZ3re edqUTALBs91dVt/sVB5IbX8y+ry//cS/CqblpBQ0CHzKEwl2WDW8xVfm2JbIRJKI92lg YH4DoiTdK+f+DQ19FUa5yNlbQy82oZYcyLYM1LGVIHKUJGs3HhI2os2psN+g1JnL88n2 l28wZYLd4PC5dSEfJpS3uMQwnnTRCwcbLTMx2SdReFrvVN/HdjaBM6KDbMJNCj7SnVRI L/gQd8oTLLXnsszGHwWv3cFXbWcOJDe91MEA9jrwH4WTlBBMuHCmx1XRaUQGw/3m3NoO 8Zvw== X-Gm-Message-State: AOAM530b9InRpLBAr0XchQdCb+d/59A29zCSwcfNAjbLcPBBQJH3Ru7z z4rEe5B3DkCPd48NxGFkFSRWbbelLHd4u5H7 X-Google-Smtp-Source: ABdhPJyD9RYaA7/D6SJbggdU7+PttXqNAgHEXzgG6K2jcV0jh+gaDuLMcFR9SWWSpOLp45V1DEkaRg== X-Received: by 2002:a17:902:76cb:b0:15e:e178:e2eb with SMTP id j11-20020a17090276cb00b0015ee178e2ebmr41943089plt.0.1653632659209; Thu, 26 May 2022 23:24:19 -0700 (PDT) Original-Received: from localhost ([104.223.86.8]) by smtp.gmail.com with ESMTPSA id n16-20020a170902d2d000b0015e8d4eb21csm2777970plc.102.2022.05.26.23.24.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 May 2022 23:24:18 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:233150 Archived-At: Hi, I am experiencing Emacs crashes/flickering on Linux with the following: 1. Minimal init.el (require 'server) (unless (server-running-p) (server-start)) (setenv "DISPLAY" ":0.0") (define-key input-decode-map (kbd "C-[") [C-\[]) 2. ~/.local/share/applications/emacsclient-local.desktop [Desktop Entry] Type=Application Version=1.0 Name=Emacs Client Exec=emacsclient -c %f Icon=emacs-icon Terminal=false MimeType=text/css;text/english;text/html;text/plain;text/x-c;text/x-chdr;text/x-csrc;text/x-c++;text/x-c++hdr;text/x-c++src;text/x-java;text/x-makefile;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;application/pdf;inode/directory;inode/mount-point;image/png;image/tiff; 3. Executing (let ((process-connection-type nil)) (start-process-shell-command "1" nil "xdg-open ~/.bashrc")) ~/.bashrc is a normal bash script file Best, Ihor In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.16.0) of 2022-05-27 built on localhost Repository revision: bb0317442b4d62108ca40cc396f5ced467c55f25 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101003 System Description: Gentoo Linux Configured using: 'configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-silent-rules --docdir=/usr/share/doc/emacs-29.0.9999 --htmldir=/usr/share/doc/emacs-29.0.9999/html --libdir=/usr/lib64 --program-suffix=-emacs-29-vcs --includedir=/usr/include/emacs-29-vcs --infodir=/usr/share/info/emacs-29-vcs --localstatedir=/var --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --without-compress-install --without-hesiod --without-pop --with-file-notification=inotify --with-pdumper --enable-acl --with-dbus --with-modules --without-gameuser --with-libgmp --without-gpm --with-native-compilation --with-json --without-kerberos --without-kerberos5 --without-lcms2 --with-xml2 --without-mailutils --with-selinux --without-sqlite3 --with-gnutls --without-libsystemd --with-threads --with-wide-int --with-zlib --with-sound=oss --with-x --without-pgtk --without-ns --without-gconf --without-gsettings --without-toolkit-scroll-bars --with-xpm --with-xft --with-cairo --with-harfbuzz --without-libotf --without-m17n-flt --with-x-toolkit=no --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --without-webp --with-imagemagick --with-dumping=pdumper 'CFLAGS=-march=native -O3 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ IMAGEMAGICK JPEG JSON LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY OLDXMENU PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF X11 XDBE XIM XINPUT2 XPM ZLIB Important settings: value of $LC_COLLATE: C value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction