From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#45277: SELECTION_CLEAR_EVENT crashes Date: Wed, 14 Jul 2021 00:34:38 +0200 Message-ID: <87o8b5n8qp.fsf@gnus.org> References: <87zh2dijdl.fsf@mail.linkov.net> <874kkkz3a9.fsf@gmx.de> <87lfdwhzek.fsf@mail.linkov.net> <87pn37xvkv.fsf@gmx.de> <877dpcp9yg.fsf@mail.linkov.net> <87k0tc9qkx.fsf@gmx.de> <87r1narllw.fsf@mail.linkov.net> <87lfdhyg0u.fsf@gmx.de> <874kk5lrdi.fsf@mail.linkov.net> <87a6txxbj6.fsf@gmx.de> <87mtxxnf11.fsf@mail.linkov.net> <871rf8yj29.fsf@gmx.de> <83bleck5hp.fsf@gnu.org> <87r1n8l9zk.fsf@mail.linkov.net> <87mtxv8uh6.fsf@gmx.de> <87mtxm6k51.fsf_-_@mail.linkov.net> <87v97illpi.fsf@gnus.org> <878s4e7eab.fsf@mail.linkov.net> <877djxlaor.fsf@gnus.org> <8735si54f4.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26471"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Michael Albinus , Paul Eggert , 45277@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 14 00:35:16 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 1m3Qzj-0006gn-Vq for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Jul 2021 00:35:16 +0200 Original-Received: from localhost ([::1]:53472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3Qzi-0008AA-TP for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Jul 2021 18:35:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3QzW-00088I-0O for bug-gnu-emacs@gnu.org; Tue, 13 Jul 2021 18:35:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59031) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3QzV-0007JV-OT for bug-gnu-emacs@gnu.org; Tue, 13 Jul 2021 18:35:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m3QzV-0007Ss-Mi for bug-gnu-emacs@gnu.org; Tue, 13 Jul 2021 18:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Jul 2021 22:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45277 X-GNU-PR-Package: emacs Original-Received: via spool by 45277-submit@debbugs.gnu.org id=B45277.162621569328675 (code B ref 45277); Tue, 13 Jul 2021 22:35:01 +0000 Original-Received: (at 45277) by debbugs.gnu.org; 13 Jul 2021 22:34:53 +0000 Original-Received: from localhost ([127.0.0.1]:42344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3QzM-0007SR-Sm for submit@debbugs.gnu.org; Tue, 13 Jul 2021 18:34:53 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:36094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3QzI-0007S9-Sj for 45277@debbugs.gnu.org; Tue, 13 Jul 2021 18:34:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=s7QHeUz5Tc8aTKFsEaZVLr8JaU5RWLWcChnBMbR8AQU=; b=K+maigzwAvPRkKJ5n4BcRjIDiw RnYFgF5W80eO7nVLx1o5Gc0KAf443CTYYKnuYnJFKMy9tKXKXwb1COTSIncyYttZxgyPC+fHez3/P 2T6vHo1U0L5tzZZvJCCHLzcU7VTkPeOHsWvKTHP5OY10gletdaWSDAzGQDP4vnkCPkXA=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m3Qz8-0005Ed-Sx; Wed, 14 Jul 2021 00:34:41 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEXyxS3ho3z53xf+ 8AP///94BMXfAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UHDRUxBWbNtvoAAAGmSURBVDjLbVSLsYQw CCSmgaAN5NMAB/339vgEvXt3zsioG9jsQoRyisioIoyXhaUBpFRAtFdFXxEU7dCxKbAUaPZNwzA0 AS1lr3RnEEwFSMsLa2Xpesu0sKQv6Ic9CjWGKnG9UJ/AKutVEBpsoFi9NwASQAfG6S8D579SHIRc g9fDISxgvLmUF9liwoknWPkHcIEDB+IXcD0A3ayywsSmVoCKdombXNe5C0u98t119efcKsxuMzGE QgmpbAA5MAKAyLiBcpIREsjenLcUavrDtgPyUFO5C3Ax3rTSCBYcO2OV4sBSgxro5wfADXBpXRkS MHL1wnkPHZ+53oC+ciNG9bRz6/CmXe/AVn73/H45fmd8cLTgYEjlHXK4Ss1GdVgmuluVsN2+2bRE KEFET2t3BoXF7FMSczXD3b0ZV06Q2/HsElhyJIBxYL6Ajn7EAqCPjFpaZujNdor8KIHEEfMMrHi+ 0E2yZbbWtzvQZyg6OBkgBVorsPwAdilTjio2S+lQzyDnONVOTiv17H+Jz1V4tfXsX4bP7tJnfADK oW5Bfo8A51BHqT9fV6QLXnUydQAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0wNy0xM1QyMTo0OTow NSswMDowMN3onA8AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDctMTNUMjE6NDk6MDUrMDA6MDCs tSSzAAAAAElFTkSuQmCC X-Now-Playing: Blackrachas's _Kompakt Total 19 (2)_: "Rotary" In-Reply-To: <8735si54f4.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 13 Jul 2021 23:49:19 +0300") 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:209895 Archived-At: Juri Linkov writes: >>> I have exactly the same crashes on completely different computers. >>> What surprises me is that no one else has these crashes. >> >> OK, then it can hardly be a hardware issue. I can't recall seeing any >> other bug reports (from others) in this area, though, so it does seem >> like nobody else experiences these problems. > > It seems these crashes are GC-related. They started to appear after Sep 2020. > And after recent GC-related changes there are no more crashes, but after > every screen lock/unlock, a produced DBUS event causes random errors. > Here are some examples: [...] > Debugger entered--Lisp error: (wrong-type-argument listp "#ffffffffffff") > dbus-handle-event((dbus-event background-color . "#ffffffffffff")) > funcall-interactively(dbus-handle-event (dbus-event background-color > . "#ffffffffffff")) > call-interactively(dbus-handle-event nil [(dbus-event > background-color . "#ffffffffffff")]) > command-execute(dbus-handle-event nil [(dbus-event background-color > . "#ffffffffffff")] t) > > The last error contains part of (frame-parameter nil > 'background-color) => "#ffffffffffff" > > And after doing 'M-x garbage-collect' there are no more errors on > screen lock/unlock. > > Maybe GC-related changes didn't cause these errors, but just changed > the behavior of some memory leak in DBUS-related code? Hm, might be. I've added Paul to the CCs -- perhaps he has some input here? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no