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#51864: 28.0.60; Emacs crashes in a few days under native-compilation Date: Mon, 15 Nov 2021 19:41:16 +0800 Message-ID: <87bl2lve77.fsf@yahoo.com> References: <87bl2lve77.fsf.ref@yahoo.com> 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="10728"; mail-complaints-to="usenet@ciao.gmane.io" To: 51864@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 15 12:42:11 2021 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 1mmaNG-0002Zc-S5 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Nov 2021 12:42:10 +0100 Original-Received: from localhost ([::1]:37256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmaNF-0003hs-I5 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Nov 2021 06:42:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmaN9-0003hj-AI for bug-gnu-emacs@gnu.org; Mon, 15 Nov 2021 06:42:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41303) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmaN8-0002do-W7 for bug-gnu-emacs@gnu.org; Mon, 15 Nov 2021 06:42:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mmaN8-0002uc-Nr for bug-gnu-emacs@gnu.org; Mon, 15 Nov 2021 06:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Nov 2021 11:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51864 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.163697650011153 (code B ref -1); Mon, 15 Nov 2021 11:42:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Nov 2021 11:41:40 +0000 Original-Received: from localhost ([127.0.0.1]:52849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmaMl-0002to-PL for submit@debbugs.gnu.org; Mon, 15 Nov 2021 06:41:40 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:38910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmaMj-0002tg-TW for submit@debbugs.gnu.org; Mon, 15 Nov 2021 06:41:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmaMj-0003eS-NM for bug-gnu-emacs@gnu.org; Mon, 15 Nov 2021 06:41:37 -0500 Original-Received: from sonic304-21.consmr.mail.ne1.yahoo.com ([66.163.191.147]:46801) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmaMc-0002Zw-0M for bug-gnu-emacs@gnu.org; Mon, 15 Nov 2021 06:41:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636976488; bh=Kme/qCnnnYqG8RI9hFuP1jQjO49XIwflHmevCM5XCgg=; h=From:To:Subject:Date:References:From:Subject:Reply-To; b=cugK2Jbvo/HsvUWwfrKuQKwIEDDpc1AJOEv7GFSqDigxVQiqBsRpw6bxyAoURbKBU4Bem18xfL0xZuEl/ts75BEF4Wm8+LCWv06o+eshGF/Q4aZvrlF6YbpRziMqgoa8c+iQr/gDfoGLhR6cf68I737JSkpVnIerMIg0+5t76Pf5Gj7/yEHQbu4nBij8aaacr9QQl18Ofw9qc1vybx9MSQHglUlsh9URFYnluYcIVz7FMbyde48MSWKOrCHpFeAVwT6M5MB/OWGQ8JpidJZb+Ud/qsn6DMWtnNb/tgErgCwsYOikGhTU9PN7wmHo8sUoGMKNMbJQsQOSUPpDP987BA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636976488; bh=D5orQpkHx+cee18tKXHYV0lBWVm45c2hEbqA9Sl5CnB=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=BlDu2G0zKepGBgx9Y6wEU7tS4hISHwvO8n2Hh5j/hhjXJqhMJkJ1Bti2pndCgbjizIfz281tUomhbg4krZYeTJ3EKWiFntKWDpOT9d73h07QuikqIfZqjBfadDkSzostSLy0o3ImG2+6ucNMFNcv0AIS7974Tv4AVgvuPAVsY5Gp6KxTJdIziEExlJ/UQJGuvy/vYQyVqYvdmZzuQSSZauJMJj1z2XBhiWBcprHTxdReXiRpQL0WCwGkH6SK8u0TqQbYYPFjAfCYFXax/iDRg1RmMeyOijsm+ZXn8Z+l2tPqjLy4q22LeK31YpEFS1C5Ec9cXq7H+XF9b90grlfgJw== X-YMail-OSG: Id5XBWgVM1n2H9gHadCyFJKqNelaMK6FklJrkmkWqngJVQNXijuGU3QGcE3Zuwn m73mcmLxtkGTpfZ0VGtbSKVa1OJDRdlv4zDr8NgdUwwGDYKyC0.R5heXGt4ypRaAs0F7xocobtBQ jDS4CwK0Np5x2v0N.kGR7.f4oQcA8nntq7QG8G4f7VZTKYrEmXXJ04Wscm1ofxE1KIXMAZNKLY15 ZBjr2XlJBWvb7yOc8d5KaIw4zdhx0m0TaTZi3Vk1naLgCfVMIiVpI9gUKbRm7s8XDPecKb6MHpoM HWEpja0LqXWaznyrgS976ISMnqAmME69GC9nTKbJ2sBRXso0uNePB9nXKlRtoiJ2ZmIaWTR9UGJz _UL3DrjMWpZVScE9s6gJnxdEW9oFSGNz7rmz8x4Y6mYOAYVYhHykiThKm73DZnX6Ew9PR9xRKb2j 3_M3jkPnX_1n7T2YTdOxqB9GPekFCKaX9HFxRzwHfCse9psybFJIKzrTGF4GzSe2cYh.lyUZS136 5hjNw6tyBV3UjbWyLqA5N5CQu6RqGljlDLeSb_FuV7G3J2.W07x1l1k.KXEQe7je0A84NSyoAnKX AOqWgNdE7y_b1oTxnyET_P8nWDCYxlL29r8ldwvWhmoHx3RKUNtOrLYjO_.a6x.zFa2he.5PWSO_ DwSsTB5f6ubnYcES9QbEuaL7Rx4VO82cYR11haha4rBlzqeuq29oz8aiv._3HaWzWw8mlX9_OEsj TwE4UCKmRdnHqUKIH5O.3lnREOtVokt7gDWfEXp8IwJIB3VcB4LuAeybrstO2GDySAFvNtD6eGZT VgVQiheOrBS1XaPABNPSEtKvOVSGoIkZDtAhSa5x0L X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Mon, 15 Nov 2021 11:41:28 +0000 Original-Received: by kubenode508.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 52f41ff6deaea0b7e55e7d467abbb2d6; Mon, 15 Nov 2021 11:41:20 +0000 (UTC) X-Mailer: WebService/1.1.19306 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.191.147; envelope-from=luangruo@yahoo.com; helo=sonic304-21.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=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:220045 Archived-At: After around the 3 to 4 day mark of running a build with native compilation, Emacs crashes with a mysterious backtrace consisting of a NULL pointer dereference at some random spot: #0 0x00007fdf7d9bb8b2 in raise () at /lib64/libpthread.so.0 #1 0x000000000041db0a in terminate_due_to_signal (sig=sig@entry=11, backtrace_limit=backtrace_limit@entry=40) at emacs.c:437 #2 0x000000000041df7d in handle_fatal_signal (sig=sig@entry=11) at sysdep.c:1762 #3 0x000000000051a6b8 in deliver_thread_signal (sig=sig@entry=11, handler=0x41df72 ) at sysdep.c:1754 #4 0x000000000051a729 in deliver_fatal_thread_signal (sig=11) at sysdep.c:1774 #5 handle_sigsegv (sig=11, siginfo=, arg=) at sysdep.c:1867 #6 0x00007fdf7d9bba20 in () at /lib64/libpthread.so.0 #7 face_at_buffer_position (w=w@entry=0xf754d38, pos=pos@entry=263485, endptr=endptr@entry=0x7ffec4579f48, limit=, mouse=, base_face_id=base_face_id@entry=-1, attr_filter=) at xfaces.c:6438 #8 0x0000000000594f06 in font_range (pos=pos@entry=263485, pos_byte=pos_byte@entry=271717, limit=limit@entry=0x7ffec4579fe8, w=w@entry=0xf754d38, face=face@entry=0x0, string=string@entry=0x0, ch=62) at font.c:3909 #9 0x00000000005e43c3 in autocmp_chars (rule=0x5b428bd, charpos=charpos@entry=263485, bytepos=271717, limit=263488, limit@entry=263492, win=win@entry=0xf754d38, face=face@entry=0x0, string=0x0, direction=0x0, ch=62) at composite.c:924 #10 0x00000000005e7d72 in find_automatic_composition (pos=pos@entry=263491, limit=263491, limit@entry=-1, backlim=backlim@entry=-1, start=start@entry=0x7ffec457a118, end=end@entry=0x7ffec457a120, gstring=gstring@entry=0x7ffec457a128, string=0x0) at composite.c:1682 #11 0x00000000005e8a9d in composition_adjust_point (last_pt=last_pt@entry=263491, new_pt=new_pt@entry=263491) at composite.c:1769 #12 0x0000000000512c33 in command_loop_1 () at keyboard.c:1608 #13 0x000000000057c807 in internal_condition_case (bfun=bfun@entry=0x511ba0 , handlers=handlers@entry=0x90, hfun=hfun@entry=0x5086d0 ) at eval.c:1453 #14 0x0000000000502a6a in command_loop_2 (handlers=handlers@entry=0x90) at keyboard.c:1133 #15 0x000000000057c761 in internal_catch (tag=tag@entry=0xe7f0, func=func@entry=0x502a50 , arg=arg@entry=0x90) at eval.c:1184 #16 0x0000000000502a0f in command_loop () at keyboard.c:1111 #17 0x00000000005082cc in recursive_edit_1 () at keyboard.c:720 #18 0x0000000000508613 in Frecursive_edit () at keyboard.c:803 #19 0x0000000000425a73 in main (argc=2, argv=) at emacs.c:2310 I don't know how to debug these problems with native compilation, and it always takes a few days for the bug to appear, but I've never seen it in a build without native compilation. While builds with native compilation reliably crash after 3 to 4 days. Thanks. In GNU Emacs 28.0.60 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.4, Xaw3d scroll bars) of 2021-11-09 built on computer Repository revision: 307d164c9c053501df8159719b3b502d720a945a Repository branch: emacs-28 Windowing system distributor 'The X.Org Foundation', version 11.0.12101002 System Description: Fedora 34 (Workstation Edition) Configured using: 'configure --with-x-toolkit=lucid --with-native-compilation --cache-file=/tmp/ccache' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XAW3D XDBE XIM XPM LUCID ZLIB