From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#37671: 27.0.50; Segmentation fault with --fg-daemon on Linux Date: Thu, 10 Oct 2019 14:03:57 +0300 Message-ID: <83h84gsvz6.fsf@gnu.org> References: <87mueavg1g.fsf@ft.bewatermyfriend.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="238083"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37671@debbugs.gnu.org To: Frank Terbeck Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 10 13:05:19 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iIWFx-000zeU-IT for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Oct 2019 13:05:17 +0200 Original-Received: from localhost ([::1]:36030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIWFr-0004it-3O for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Oct 2019 07:05:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46977) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIWFk-0004iN-5H for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2019 07:05:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIWFj-0000Zh-1b for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2019 07:05:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46299) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIWFi-0000ZR-UH for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2019 07:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iIWFi-0004wy-OQ for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2019 07:05: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: Thu, 10 Oct 2019 11:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37671 X-GNU-PR-Package: emacs Original-Received: via spool by 37671-submit@debbugs.gnu.org id=B37671.157070546018826 (code B ref 37671); Thu, 10 Oct 2019 11:05:02 +0000 Original-Received: (at 37671) by debbugs.gnu.org; 10 Oct 2019 11:04:20 +0000 Original-Received: from localhost ([127.0.0.1]:55116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIWF2-0004tZ-6O for submit@debbugs.gnu.org; Thu, 10 Oct 2019 07:04:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIWF0-0004t1-4C for 37671@debbugs.gnu.org; Thu, 10 Oct 2019 07:04:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iIWEu-0000Ec-NR; Thu, 10 Oct 2019 07:04:12 -0400 Original-Received: from [176.228.60.248] (port=1062 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iIWEu-0006mK-3u; Thu, 10 Oct 2019 07:04:12 -0400 In-reply-to: <87mueavg1g.fsf@ft.bewatermyfriend.org> (message from Frank Terbeck on Wed, 09 Oct 2019 03:55:23 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:168861 Archived-At: > From: Frank Terbeck > Date: Wed, 09 Oct 2019 03:55:23 +0200 > > > I am running emacs in Linux. The base system is an up-to-date Debian > sid. Right now I am starting emacs via systemd and emacs' --fg-daemon > flag. I am mostly attaching GUI clients to this server instance. The > graphical user interface is a non-reparenting window manager (namely > xmonad). This build uses --with-x-toolkit=lucid --with-cairo as well as > --with-libsystemd. > > The issue is emacs crashing, plainly. And I have not been able to iso- > late and specifics that are required for crashes to happen. I've seen > this sporadically with different builds of emacs from its master branch. > To look into it more closely, I rebuilt emacs with debugging symbols. > And luckily, I didn't have to wait very long. Emacs crashed within a > day. > > I didn't so anything spectacular either. I think I was just switching > from a buffer to another. And emacs' uptime was pretty low too. Like an > hour or two, if I'd have to wager a guess. > > Here is the stack-trace, as recorded by systemd's coredumpctl: > > Stack trace of thread 1679: > #0 0x00007f34412112a7 __pthread_kill (libpthread.so.0) > #1 0x000055d90de0f632 deliver_process_signal (emacs-27.0.50) > #2 0x000055d90df7be10 deliver_child_signal (emacs-27.0.50) > #3 0x00007f3441214510 __restore_rt (libpthread.so.0) > #4 0x00007f3440f92d2f __GI___poll (libc.so.6) > #5 0x00007f3441e3809e n/a (libglib-2.0.so.0) > #6 0x00007f3441e38403 g_main_loop_run (libglib-2.0.so.0) > #7 0x00007f34420a3726 n/a (libgio-2.0.so.0) > #8 0x00007f3441e60d0d n/a (libglib-2.0.so.0) > #9 0x00007f3441209fb7 start_thread (libpthread.so.0) > #10 0x00007f3440f9d2ef __clone (libc.so.6) Thanks. Looks like the crash was in Glib? It is strange that you see a problem that no one else sees, and you say you have had it for quite some time. Can you run Emacs under GDB? I hope it will show a better backtrace if you do so.