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#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" Date: Fri, 12 Aug 2022 15:35:18 +0300 Message-ID: <83bkspod15.fsf@gnu.org> References: <87sfmgjelt.fsf@Proteus> <87a68nfnp4.fsf@yahoo.com> <87bkt24tng.fsf@Proteus> <87zggmcxpb.fsf@Proteus> <875yjadt7j.fsf@yahoo.com> <87y1vvaysh.fsf@Proteus> <87r11nvw44.fsf@yahoo.com> <87h72ihpk7.fsf@Proteus> <87edxmw98w.fsf@yahoo.com> <87edxlfzwz.fsf@Proteus> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23355"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 56869@debbugs.gnu.org To: Joe Corneli Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 12 14:36:10 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 1oMTta-0005u5-Cs for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Aug 2022 14:36:10 +0200 Original-Received: from localhost ([::1]:60966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMTtZ-00040E-5n for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Aug 2022 08:36:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMTtS-000402-99 for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2022 08:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37860) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMTtS-0002YT-0n for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2022 08:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMTtR-0003EZ-T5 for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2022 08:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Aug 2022 12:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56869 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 56869-submit@debbugs.gnu.org id=B56869.166030773912402 (code B ref 56869); Fri, 12 Aug 2022 12:36:01 +0000 Original-Received: (at 56869) by debbugs.gnu.org; 12 Aug 2022 12:35:39 +0000 Original-Received: from localhost ([127.0.0.1]:55842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMTt5-0003Dx-9K for submit@debbugs.gnu.org; Fri, 12 Aug 2022 08:35:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMTt1-0003Di-N0 for 56869@debbugs.gnu.org; Fri, 12 Aug 2022 08:35:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42540) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMTsv-0002W1-GL; Fri, 12 Aug 2022 08:35:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=6tNBeQGZD6EDAW3snMKqICkKQ6DxJc1pAgLpYruDf9k=; b=FvOGxbftmHDk74o5br8D rjehtOS9KDgTRTDAI6fxKIrrZlHWJT3xOlilZyunzzr37r6Ps8CdMEldBnA+O3rqoDCEFuiwbN2Bg K/MCkspM3Utt9reCIl9esBZzeWOqpaiPFn+trlaA/14zCEz5JVmMf2S5WOoUkFmQXOeej1nh6B+UG rdXQUohuTLBwqXLDXpitAV2z1j9f1QInJLg6w09enn4uIxobl19O1TVohy1TAuIEU22WSI9xlvmgI F/w8LlgYo4GlwsDit8ohM+rmD9l9PEFwcgiaTgHlX+PuoTZqhqlhfd47ppZLcf+oohVC9RFoMqpez O69zT6aYiPwtPg==; Original-Received: from [87.69.77.57] (port=1296 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 1oMTso-0004kx-EP; Fri, 12 Aug 2022 08:35:29 -0400 In-Reply-To: <87edxlfzwz.fsf@Proteus> (bug-gnu-emacs@gnu.org) 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:239402 Archived-At: > Cc: 56869@debbugs.gnu.org > Date: Fri, 12 Aug 2022 12:45:48 +0100 > From: Joe Corneli via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > Po Lu writes: > > > Joe Corneli writes: > > > >> Now it’s produced the following, alongside the crash. I’m happy to > >> adapt the instrumentation further if this is not yet sufficiently > >> useful! > > > > Could you please type "coredumpctl debug emacs", and then in the > > debugger prompt, type "bt", and send the complete backtrace? > > My core file was produced via running Emacs under GDB and running > generate-core-file, hopefully the result is the same! The backtrace is > below. The backtrace says: . the main loop called some command . that command signaled an error . the error caused the Lisp debugger to be called . the debugger was invoked and entered recursive-edit . while waiting for user input, a timer fired . the timer function called write-region . write-region called lock-file . lock-file called a Lisp function, probably to report some conflict with another process(??) locking the file . Emacs prompted the user, probably about the lock . while waiting for user response, Emacs checked timers, and as result called process_pending_signals . one of the pending signals was SIGIO, so Emacs called read-socket, which segfaulted inside GTK Does the above sound reasonable for your Emacs sessions?