From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: Tab bar tabs landed on master Date: Sat, 2 Nov 2019 00:13:10 +0100 Message-ID: <20191101231310.47lgjh4bwpxsdtiu@Ergus> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="34987"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Emacs developers To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 02 00:13:45 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 1iQg6x-0008xl-6O for ged-emacs-devel@m.gmane.org; Sat, 02 Nov 2019 00:13:43 +0100 Original-Received: from localhost ([::1]:43638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQg6v-0006pu-Gr for ged-emacs-devel@m.gmane.org; Fri, 01 Nov 2019 19:13:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40318) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQg6n-0006n4-P7 for emacs-devel@gnu.org; Fri, 01 Nov 2019 19:13:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQg6k-0007kt-Qi for emacs-devel@gnu.org; Fri, 01 Nov 2019 19:13:32 -0400 Original-Received: from sonic301-3.consmr.mail.bf2.yahoo.com ([74.6.129.42]:44997) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iQg6k-0007ZK-CL for emacs-devel@gnu.org; Fri, 01 Nov 2019 19:13:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1572650006; bh=6QQQXK02J8CsUvcwSgfwoX96z8m3GUIfIDGoMsKsRLA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=cHb8GAr5agq9wT9ocakIlJPfWrdHo4M3LYnC/JpQGgRotTPs1p+fLL72l1ZZkjr+JU2BCBGNfIlfWnDLmi85PY1Z5QUtRnsh78Xpq/0ppb7lsmWvOuGTV0KI9Bi7CQt9nneJMzEOkYfe1kxh+Cm0MjACfnWyW0B0zTGlKyYWcBAHgkUTxm7gMwVyYnknA2ohWG0oTqggAi1EEQNAjSD6urmUs2ydf0fN4rSu2KoSO/Wq94DXf0i/Texcayk8Ei8ur4OGL2yYSHp6Vbvc7e8anIN3gH+W7O3DQnf/xNbmOg+EX10Y8RXPBZSe4b/idxIkGfBbPEw1jBjQvi9fhF1AVw== X-YMail-OSG: rz.NtmcVM1nAsdZF5kzH9x7dT6JN.wvq_tAz8tj2IgQXNg2kSIB4TNN5Rah.3ZL G4CXD6cPNYennnid_jYOamq.GTe0NWkJaosXdLJNlwhal392YnF7F1L.OOx_JG5AbBTQjf.H8TUB OfghQBvVwn.WxMcWpI2bKAZhDqSXKxatnHhMb4cUoBGYZ68d7se0g7fW9G_I4GbcHlu8iCuK1UcE OAdMtLe.yoaZqMg9y7E2ds6B45Lo3SKvsx7uHs3TkPijGH00YvZ8vMZv7NejRfJ7xxN4dAbCSMIJ 5g37lq0fDcIDTdfWE0MPQCHCKdyGwGU_WklwgIZ3lmwj5.4IyGUzcLZL_V_DvsvSy0prF5Nnff2G JAbaPhJME_rKbRDpmpsSh6mwGV6oJOeTSqgkTE.P4Eqco3M1y6nBX0Mkp54cvu8iWk.M7Hh6gL1N kSxldkjTsQT_iYzGEuMkpY9FhBXgS_ZMVXW5iT7rN5X4P7aBDJFHQewv3RSdQ_7Fao_dzzLAeH2x a3Mj_5pDGLLb9n_SgTnxfLxIpISXt2WWe.IFEgDeWZkRtMScPV6UoGbzM.dlRIFq6OG_xnrcQlKa zpZJm_CWo7YYzZX60O0GUyPy1TnfYj6zN1kKW.Y8bXtjambtzgJikP5qb3MGYG8FBUXIPgfSwuOI e01BplncKh4bC_qaKK_lwQLLAwT_vPSxlbDR0Pl6LH4zXzWIsvdZbb_J1MZ.AisSNi.17VaMEaC7 Hj93gUC1f2n0ETO7m3lGvfDeBpi8Mk.ok21AKISUDQUFcm9scqe5jBkwNPwhs1Fm4vTYgXgFxAvg H_mVBZPRCiCRMiH2SYbyrGUOD2vMgv24yCKYhgoEYW Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.bf2.yahoo.com with HTTP; Fri, 1 Nov 2019 23:13:26 +0000 Original-Received: by smtp417.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 025f2348958974eb5c2a6b7c9daa28df; Fri, 01 Nov 2019 23:13:24 +0000 (UTC) Content-Disposition: inline In-Reply-To: <87k18vdvpy.fsf@mail.linkov.net> X-Mailer: WebService/1.1.14638 hermes Apache-HttpAsyncClient/4.1.4 (Java/1.8.0_181) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 74.6.129.42 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:241714 Archived-At: Hi Juri: 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: I have not reported this as a bug because it only happens with my config, but I have no idea about what produces this (I don't have anything too weird in my config). ================================== 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 (repeats this until) #1968 0x000055addb2b8f0e in mark_vectorlike (header=0x7f98b167e4e0) at ../../src/alloc.c:6157 #1969 0x000055addb2b8373 in mark_object (arg=) at ../../src/alloc.c:6581 #1970 0x000055addb2b8f0e in mark_vectorlike (header=0x7f98b1bc0f28) at ../../src/alloc.c:6157 #1971 0x000055addb2b8373 in mark_object (arg=) at ../../src/alloc.c:6581 #1972 0x000055addb2b8169 in visit_vectorlike_root (type=GC_ROOT_BUFFER_LOCAL_DEFAULT, ptr=, visitor=...) at ../../src/alloc.c:5693 #1973 0x000055addb2b8169 in visit_buffer_root (type=GC_ROOT_BUFFER_LOCAL_DEFAULT, buffer=, visitor=...) at ../../src/alloc.c:5708 #1974 0x000055addb2b8169 in visit_static_gc_roots (visitor=...) at ../../src/alloc.c:5720 #1975 0x000055addb2b9761 in garbage_collect () at ../../src/alloc.c:5941 #1976 0x000055addb2ba121 in maybe_garbage_collect () at ../../src/alloc.c:5853 #1977 0x000055addb2d6475 in maybe_gc () at ../../src/lisp.h:5061 #1978 0x000055addb2d6475 in Ffuncall (nargs=4, args=0x7ffc4de5fca0) at ../../src/eval.c:2778 #1979 0x000055addb2d9164 in call3 (fn=, arg1=arg1@entry=0x55addd037973, arg2=, arg3=arg3@entry=0x0) at ../../src/eval.c:2668 #1980 0x000055addb265012 in cmd_error_internal (data=data@entry=0x55addd037973, context=context@entry=0x7ffc4de5fd00 "") at ../../src/lisp.h:3935 #1981 0x000055addb26514d in cmd_error (data=0x55addd037973) at ../../src/keyboard.c:953 #1982 0x000055addb2d5719 in internal_condition_case (bfun=bfun@entry=0x55addb26e140 , handlers=handlers@entry=0x90, hfun=hfun@entry=0x55addb265040 ) at ../../src/eval.c:1351 #1983 0x000055addb25fc24 in command_loop_2 (ignore=ignore@entry=0x0) at ../../src/lisp.h:1032 #1984 0x000055addb2d5681 in internal_catch (tag=tag@entry=0xd4d0, func=func@entry=0x55addb25fc00 , arg=arg@entry=0x0) at ../../src/eval.c:1116 #1985 0x000055addb25fbcb in command_loop () at ../../src/lisp.h:1032 #1986 0x000055addb264c56 in recursive_edit_1 () at ../../src/keyboard.c:714 #1987 0x000055addb264f82 in Frecursive_edit () at ../../src/keyboard.c:786 #1988 0x000055addb186910 in main (argc=1, argv=) at ../../src/emacs.c:2055 =================================== See that this stack is too high and it seems to be triggered by the garbage_collect call, so maybe I am just exposing some issue somewhere else (maybe in the gc?). 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 idea about where to look to fix this?