From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Ponce Newsgroups: gmane.emacs.bugs Subject: bug#69287: 30.0.50; Pasting text from KDE clipboard sometimes crashes Emacs Date: Thu, 22 Feb 2024 10:14:01 +0100 Message-ID: References: <1f683fcb-bfb6-4d06-b0a2-40efda029649@orange.fr> <87bk8a8trc.fsf@yahoo.com> <86msrtn8am.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33599"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: luangruo@yahoo.com, 69287@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 22 10:15:08 2024 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 1rd5Aa-0008Xe-15 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Feb 2024 10:15:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rd5AA-0003If-9L; Thu, 22 Feb 2024 04:14:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rd5A8-0003IL-7M for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2024 04:14:40 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rd5A7-0000nM-Tp for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2024 04:14:39 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rd5AU-0000CJ-BE for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2024 04:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: David Ponce Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Feb 2024 09:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69287 X-GNU-PR-Package: emacs Original-Received: via spool by 69287-submit@debbugs.gnu.org id=B69287.1708593271642 (code B ref 69287); Thu, 22 Feb 2024 09:15:02 +0000 Original-Received: (at 69287) by debbugs.gnu.org; 22 Feb 2024 09:14:31 +0000 Original-Received: from localhost ([127.0.0.1]:38328 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rd59x-0000AE-Ux for submit@debbugs.gnu.org; Thu, 22 Feb 2024 04:14:30 -0500 Original-Received: from smtp-28.smtpout.orange.fr ([80.12.242.28]:61559 helo=smtp.smtpout.orange.fr) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rd59u-00009y-Jz for 69287@debbugs.gnu.org; Thu, 22 Feb 2024 04:14:28 -0500 Original-Received: from [192.168.1.15] ([2.7.71.181]) by smtp.orange.fr with ESMTPA id d59VrYvMJeF0Xd59VrnX9f; Thu, 22 Feb 2024 10:14:02 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.fr; s=t20230301; t=1708593242; bh=KrjahRPqoCrmxjYEiM54Vnd+LxvETwIlpZw2QiGmr1w=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=D1iV9797px2pb7zpruDQgxIKAlj1JepOqAwR7H2MvUF+s0PDOzO4V1zmx4fcCFR3k O3vQnAjscmbD+vKEPG6523SOJB25BtBSxpnxjTncCQiFacw3tVFzom/zDLovwbIUMx prKKcMGeS/rJpDIBZlWY039bqRV9uMw9AZCpDRVTwDn7zQa2kLYBW1dmYuypTlKwUG F0Lx4z5EmnXpoDKXJwhpK07V4WnafHBks9b+SipUcXfBuxYzJTGtulRCt8UaVEw4tl L5xlnOf74picHwSlX6hpBxeocOwr1zguSSpp7QjhO4DcXlG7lUNpc2Oq/LQ2GSqNDZ 8r9ZFbUx6W7sw== X-ME-Helo: [192.168.1.15] X-ME-Auth: ZGFfdmlkQHdhbmFkb28uZnI= X-ME-Date: Thu, 22 Feb 2024 10:14:02 +0100 X-ME-IP: 2.7.71.181 Content-Language: fr, en-US In-Reply-To: <86msrtn8am.fsf@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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:280442 Archived-At: On 21/02/2024 16:31, Eli Zaretskii wrote: >> Cc: 69287@debbugs.gnu.org >> Date: Wed, 21 Feb 2024 10:58:47 +0100 >> From: David Ponce >> >> xdisp.c:21778: Emacs fatal error: assertion failed: w->window_end_valid >> >> Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) >> at emacs.c:442 >> 442 signal (sig, SIG_DFL); >> (gdb) bt >> #0 terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:442 >> #1 0x0000000000436698 in die >> (msg=msg@entry=0x717fce "w->window_end_valid", file=file@entry=0x717900 "xdisp.c", line=line@entry=21778) at alloc.c:8061 >> #2 0x0000000000427006 in find_first_unchanged_at_end_row (delta_bytes=, delta=, w=0x1065950) >> at xdisp.c:21778 >> #3 try_window_id (w=w@entry=0x1065950) at xdisp.c:22342 >> #4 0x00000000004c2dad in redisplay_window (window=, just_this_one_p=just_this_one_p@entry=true) at xdisp.c:20433 >> #5 0x00000000004c563e in redisplay_window_1 (window=window@entry=XIL(0x1065955)) at xdisp.c:18019 > > Do you have some optional feature enabled that resizes the mini-window > at random points in time? Like some optional completion package that > sinerts a lot of stuff into the mini-window and thus causes it to > resize? No. However I use my own library that provides tabs in the tab-line (kind of alternative implementation of tab-line.el), and I noticed that the "assertion failed: w->window_end_valid" only occurs when the tab-line is used (globally set). My tab-line extensively uses text properties: display (images, space), help-echo and keymap, plus some other specific properties. > > IOW, we need a reproducible recipe for debugging this assertion > violation. If you can trigger this from "emacs -Q", it would be even > better. I am trying to get a reproducible recipe as simple as possible from "emacs -Q". I will post news here, if I manage to get something interesting. > > However, please note that this is assertion violation has nothing > apparent to do with the previous crashes, which were inside GC. I agree. Unfortunately this display issue prevent me to go further with the previous crash in GC. Thanks