From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40733: 28.0.50; Emacs locks up on paste (yank) of unicode characters Date: Wed, 29 Apr 2020 15:16:12 +0300 Message-ID: <83d07qzdv7.fsf@gnu.org> References: <87mu756aen.fsf@tcd.ie> <83v9ln7jy4.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="42409"; mail-complaints-to="usenet@ciao.gmane.io" Cc: contovob@tcd.ie, rpluim@gmail.com, 40733@debbugs.gnu.org, cloos@jhcloos.com To: Will Bush Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 29 14:17:31 2020 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 1jTlec-000AVP-SH for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Apr 2020 14:17:30 +0200 Original-Received: from localhost ([::1]:33210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTleI-0003nQ-GN for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Apr 2020 08:17:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54140) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTleB-0003j3-0r for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2020 08:17:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTleA-0001hh-Jn for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2020 08:17:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59322) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTleA-0001hb-7J for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2020 08:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jTleA-0004GV-1E for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2020 08:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Apr 2020 12:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40733 X-GNU-PR-Package: emacs Original-Received: via spool by 40733-submit@debbugs.gnu.org id=B40733.158816260716372 (code B ref 40733); Wed, 29 Apr 2020 12:17:01 +0000 Original-Received: (at 40733) by debbugs.gnu.org; 29 Apr 2020 12:16:47 +0000 Original-Received: from localhost ([127.0.0.1]:42635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTldv-0004Fz-9Q for submit@debbugs.gnu.org; Wed, 29 Apr 2020 08:16:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTldr-0004Fk-QD for 40733@debbugs.gnu.org; Wed, 29 Apr 2020 08:16:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53690) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTldm-0001gB-D2; Wed, 29 Apr 2020 08:16:38 -0400 Original-Received: from [176.228.60.248] (port=3473 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jTldf-0002HB-3Q; Wed, 29 Apr 2020 08:16:38 -0400 In-Reply-To: (message from Will Bush on Wed, 29 Apr 2020 06:59:42 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 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:179304 Archived-At: > From: Will Bush > Date: Wed, 29 Apr 2020 06:59:42 -0500 > Cc: Robert Pluim , "Basil L. Contovounesios" , 40733@debbugs.gnu.org, > James Cloos > > It would be good to know what happens in Emacs during those 88 > seconds. Please try using "M-x profiler" to find out. > > Here's what I get with `M-x profiler-start`, using the default cpu sampling, > `C-y` the character into a scratch buffer, wait for the character to show up, > `M-x profiler-stop`, and start `M-x profiler-report`: You shouldn't invoke profiler-stop, it affects the profile. Just profiler-start, do what you want to profile, then profiler-report. >From what you posted, it looks like GC is a major player, but it's hard to be sure (and 88 sec is a lot of time for a GC). Please show the profile collected as suggested above. Thanks.