From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Tab bar tabs landed on master Date: Sat, 02 Nov 2019 09:20:41 +0200 Message-ID: <83sgn6kaly.fsf@gnu.org> References: <8736gci5jn.fsf@mail.linkov.net> <87zhikp0ba.fsf@mail.linkov.net> <87lfu4jbbu.fsf@Ergus.i-did-not-set--mail-host-address--so-tickle-me> <87tv8myi8m.fsf@mail.linkov.net> <87k18vdvpy.fsf@mail.linkov.net> <20191101231310.47lgjh4bwpxsdtiu@Ergus> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="37579"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org, juri@linkov.net To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 02 08:20:47 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iQniI-0009fT-Nn for ged-emacs-devel@m.gmane.org; Sat, 02 Nov 2019 08:20:46 +0100 Original-Received: from localhost ([::1]:45456 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQniG-0005f8-Rj for ged-emacs-devel@m.gmane.org; Sat, 02 Nov 2019 03:20:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43569) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQniB-0005ey-4x for emacs-devel@gnu.org; Sat, 02 Nov 2019 03:20:40 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iQniA-0007YN-Eh; Sat, 02 Nov 2019 03:20:38 -0400 Original-Received: from [176.228.60.248] (port=4636 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iQni8-0006yB-He; Sat, 02 Nov 2019 03:20:36 -0400 In-reply-to: <20191101231310.47lgjh4bwpxsdtiu@Ergus> (message from Ergus on Sat, 2 Nov 2019 00:13:10 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241719 Archived-At: > Date: Sat, 2 Nov 2019 00:13:10 +0100 > From: Ergus > Cc: Emacs developers > > I am trying the tabs in the master branch and with my config it works > fine in tui. But for some reason in GUI, when I create a new tab, emacs > freezes: Can we please use the bug tracker for reporting and investigating bugs? This list is not the right place for that. > In gdb the bt shows: > > #0 0x000055addb2b837f in mark_object (arg=) at ../../src/alloc.c:6583 > #1 0x000055addb2b8f0e in mark_vectorlike (header=0x7f98b16ae700) at ../../src/alloc.c:6157 > #2 0x000055addb2b8373 in mark_object (arg=) at ../../src/alloc.c:6581 > #3 0x000055addb2b8f0e in mark_vectorlike (header=0x7f98b16ae660) at ../../src/alloc.c:6157 > #4 0x000055addb2b8373 in mark_object (arg=) at ../../src/alloc.c:6581 > #5 0x000055addb2b8f0e in mark_vectorlike (header=0x7f98b16ab3f8) at ../../src/alloc.c:6157 Are you saying that Emacs starts GC and never finishes it? If you set garbage-collection-messages non-nil, do you see the message announcing GC displayed once or many times one after the other? > I thought that this happened because I have this in the config: > > ``` > (defun my/minibuffer-setup-hook () > (setq gc-cons-threshold most-positive-fixnum)) > > (defun my/minibuffer-exit-hook () > (setq gc-cons-threshold 800000) > (garbage-collect)) > > (add-hook 'minibuffer-setup-hook #'my/minibuffer-setup-hook) > (add-hook 'minibuffer-exit-hook #'my/minibuffer-exit-hook) > ``` > > But I commented it and it didn't change anything. Do you have any other GC-related customizations? They could be in packages you load, not necessarily in your init files. What are the values of gc-cons-threshold and gc-cons-percentage after you comment out the above parts? > Do you have any idea about where to look to fix this? Bisect your init file, if nothing else gives a clue. And once again, please report this as a bug, and let's continue discussion on the bug tracker. Thanks.