GNU bug report logs - #56869
29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed"

Previous Next

Package: emacs;

Reported by: Joe Corneli <joseph.corneli <at> hyperreal.enterprises>

Date: Mon, 1 Aug 2022 13:09:02 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Joe Corneli <joseph.corneli <at> hyperreal.enterprises>
Cc: luangruo <at> yahoo.com, 56869 <at> debbugs.gnu.org
Subject: bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed"
Date: Fri, 12 Aug 2022 15:35:18 +0300
> Cc: 56869 <at> 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" <bug-gnu-emacs <at> gnu.org>
> 
> 
> Po Lu writes:
> 
> > Joe Corneli <joseph.corneli <at> hyperreal.enterprises> 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?




This bug report was last modified 1 year and 264 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.