From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: MPS: hash tables / obarrays Date: Sun, 19 May 2024 22:36:29 +0200 Message-ID: <871q5xr12q.fsf@gmail.com> References: <87a5kmqgeo.fsf@gmail.com> <875xvaqel1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32764"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Emacs Devel To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 19 22:37:21 2024 Return-path: Envelope-to: ged-emacs-devel@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 1s8nHV-0008Oi-Af for ged-emacs-devel@m.gmane-mx.org; Sun, 19 May 2024 22:37:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8nGp-0007SE-0H; Sun, 19 May 2024 16:36:39 -0400 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 1s8nGl-0007Rs-VD for emacs-devel@gnu.org; Sun, 19 May 2024 16:36:36 -0400 Original-Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s8nGk-0003gi-Cj; Sun, 19 May 2024 16:36:35 -0400 Original-Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a59c448b44aso645200166b.2; Sun, 19 May 2024 13:36:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716150991; x=1716755791; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=8awF1hSxRmsOyOl/xCC4QNdqb7yC5cexhc3Guw1Heo0=; b=DQ3QVf9AhjlJguWuMzIxxdl7WKDVWji0CDA+3nfSmECKm/uAj5dliL9Mq3LykzVCHt zN1lLNMbfz0GAd7OoqFxlOfvx3iYuMLcjkJYF95bAA6gwJy9pWf9wB4oMn3R3H+RtQfF y6tBc1hhGC49rSM8vp7A802gtOQ96aT20s5hx9n9R0WaibiWUf9GSmXWlJUlQ+RFs1C9 YbwB/Phur6HHWJT592meeMz/pSja/8wG0Kq6qQBV9OVrXpbTMlGQiEifMrg1pIjGAFkn u+gdnPCEUn9NoGBCRq6S5dKXNmaJt5kEoszvtr81dN7bcIqPjcCmbZpsSSq9E7zRNLq0 LS6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716150991; x=1716755791; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=8awF1hSxRmsOyOl/xCC4QNdqb7yC5cexhc3Guw1Heo0=; b=aqGMWsul/NKVpAJyqCColt0i/Te+1RbU/EiaVTJeV7Npny9Je4WwQ/ONDH+5qaLaoT rKNziIEtFL8GjW3DGrWLZBH+qQ3oo+fGPCNBsPX6qLtzkbparIfcbqxsLFvjyA8WMR9E WAopb0dhfKxFq0DPdreAyp5XoWq/DQPX79UnMHQ+dSklhwb0NpiN+RSBfnHl8rnNoHbY vr/qf33kTGWdcR2d4rpiyoCgeB7XTeOXjTJaA2nK8eoS+xLeXnJcEBiezHRNgQd9eLty 4jxEYKfks6AgRmf84H25lzbA+yWwYI8GYkQoWoHJpByGpGzoIYgJuap0ByBJg1IndfUG zc1A== X-Forwarded-Encrypted: i=1; AJvYcCWu3PpQ/70BmJSN6M00qChizZrd6xo/Bk1X/XbzKQKDO4XIEV0AP9DuffJfCUMytIuEU2/VJ9kzHE3Eego3IWcdL6vl X-Gm-Message-State: AOJu0Yx+yWxkGtSSsdvJe0K5/Z0dZ7K00f8baJTzyNQVnuLQVOJSozbI wVkpEbTWKaDGSFhzV4GZnsQPhnyxM9tXxamMp3kenY1VpTItmI42P/iY2A== X-Google-Smtp-Source: AGHT+IFFtgO21+bs5HsqFurYIzGlYjbkGUO4+ZDhTUj7+tKxyj7yN/XTfCjOMKGdoLlE+08QfVtYOQ== X-Received: by 2002:a17:907:9625:b0:a59:db0f:6bdd with SMTP id a640c23a62f3a-a5a2d5d56b7mr2196852666b.44.1716150991131; Sun, 19 May 2024 13:36:31 -0700 (PDT) Original-Received: from caladan ([89.107.106.224]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a179c7e2bsm1384269866b.110.2024.05.19.13.36.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 13:36:30 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Sun, 19 May 2024 13:21:09 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::636; envelope-from=eller.helmut@gmail.com; helo=mail-ej1-x636.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:319382 Archived-At: > I'd say a reference we didn't scan :-(. > > The is_mps with a Lisp_Object doesn't work with symbols, BTW, because > the Lisp_Object doesn't contain a pointer, but an offset from lispsym. The function that tries to print is comp--final and the argument is the expr. When I call safe_debug_print on that it goes on for many pages and ends with this: #2314# 635 #2194# 636 #2181# 637 #2022# 638 #1949# 639 #1891# 640 #1640#)) #s(comp-data-container nil #s(hash-table test igc.c:343: Emacs fatal error: assertion failed: h->obj_type != IGC_OBJ_FWD Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:443 443 signal (sig, SIG_DFL); The program being debugged stopped while in a function called from GDB. Evaluation of the expression containing the function (safe_debug_print) will be abandoned. When the function is done executing, GDB will silently stop. (gdb) So it could have something to do with hash tables after all.