From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#74547: 31.0.50; igc: assertion failed in buffer.c Date: Sun, 01 Dec 2024 13:39:09 +0100 Message-ID: References: <87serdu9m3.fsf@telefonica.net> <87cyibn0dz.fsf@protonmail.com> <875xo3mvqh.fsf@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22902"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 74547@debbugs.gnu.org, =?UTF-8?Q?=C3=93scar?= Fuentes To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 01 13:41:26 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 1tHjGQ-0005p2-12 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Dec 2024 13:41:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHjG5-0004JI-9q; Sun, 01 Dec 2024 07:41:05 -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 1tHjG2-0004J1-Vc for bug-gnu-emacs@gnu.org; Sun, 01 Dec 2024 07:41:03 -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 1tHjG2-0005rb-Kl for bug-gnu-emacs@gnu.org; Sun, 01 Dec 2024 07:41:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=Qq/TjlqRa+VKArBiBhWrbwG08g/6qnGUq2oq1LrC3nE=; b=MqJVUSn/7pRNArm3JJ4MGsNaN0dgQjAnkZl4ThKxCmmEsnfeus3GJLgAOD9Nn9HPjvM0dBFL+SzkhbalGLqBUcXN+XrIvm2taCsePULLJ9oV/yS1KoUkW9FCgDLKmQieZVup/29/iWdpm9dQBgFKbhcr1KByqrLHv8YEr5IXYlFWCYbLWMc/2MsK91gCXfQmLBvD6bZavQib7HiKKF2d1AZRdjGZu6FlxcOkFtCb9mkDE4Pz8/JgHV1f/tXaRBPpXQRHxrnAIpV8xHBmKk9COdRzQ1cipOTgt3Q+XFGaOmmVmIq1UMAIPsALw3FrVkNxYOyRip6f0x+7FL3jNgRT9w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHjG2-000709-6p for bug-gnu-emacs@gnu.org; Sun, 01 Dec 2024 07:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Dec 2024 12:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74547 X-GNU-PR-Package: emacs Original-Received: via spool by 74547-submit@debbugs.gnu.org id=B74547.173305682026844 (code B ref 74547); Sun, 01 Dec 2024 12:41:02 +0000 Original-Received: (at 74547) by debbugs.gnu.org; 1 Dec 2024 12:40:20 +0000 Original-Received: from localhost ([127.0.0.1]:50641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHjFM-0006yt-FJ for submit@debbugs.gnu.org; Sun, 01 Dec 2024 07:40:20 -0500 Original-Received: from mail-wm1-f53.google.com ([209.85.128.53]:45443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHjFJ-0006uD-Qg for 74547@debbugs.gnu.org; Sun, 01 Dec 2024 07:40:18 -0500 Original-Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-434aabd688fso20320015e9.3 for <74547@debbugs.gnu.org>; Sun, 01 Dec 2024 04:40:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733056752; x=1733661552; darn=debbugs.gnu.org; h=content-transfer-encoding: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=Qq/TjlqRa+VKArBiBhWrbwG08g/6qnGUq2oq1LrC3nE=; b=nTByZTBWA0DbKJ9NByTsamjVnVMd5bMHftNbXC3fcGQdjT0JSKZC8t0PxWgoET52Eq BIhhKN1zNMDrYmsVOWk49QBa2tMQ0UU2brMXMNImkV5VoQoT7Y2duMAG0AVrEOD7IObq wV6jlV+infxjUrHlrLF62ZjjInx09clI+WJDpHMQPWkRDzKkd6b8Qo6Zh/XI2XwfK76L 6HUPiNUKjdRlO5WRJBDnvycRMMuhJjFLa+MkDIUqIaIVTOhBj2bdt95tCUU1WaX6tqhW QhoV5LfqLN3YFI3tT4CcySSkP6VW4b0t5+iavO1M36v8+/ANTtKJpkZ8j3Mp0R+Em4z5 JYxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733056752; x=1733661552; h=content-transfer-encoding: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=Qq/TjlqRa+VKArBiBhWrbwG08g/6qnGUq2oq1LrC3nE=; b=jVxIjRJmhHzApLyyMvnrYSAEZm3zk4qTWcrEdOM9FlYTnuxJ29Ekb/f91EWRnY96Up rMr9ZqxaI//iemR0wyoJp8hCO7Stv3lI7vv/nXal85owmdA8M9Z4GCLMWQz6ERIojD2P FdkmcO7Vv2gK0WHBoIl0N5rTLcd/Vihg+IB6tYqSbky48GsD4RTI3lHxxGwrfDVRLx7u g68tiSIxSL/bFMy+2oSTI8b5KmEbWmaAtxEEObekAwl2+KETSRssGvC23e/hKxhjQWJD XbUU4+bwXwWbR6f7OVKOEG40xw6E9n3kEJSqlpHqGh3Fp/W7yo1ttn2lkNSpuHAzNlEg x2FA== X-Gm-Message-State: AOJu0Yzek6XKJRpi57CTaleYhi8Uc8rYWeIonvKyg06XmDM1YfIRVxiM wL6HqSBwwT+gWZCkoErYN1XAwa6KwSF/P/7qwAe/3JSlBwWF1gIM X-Gm-Gg: ASbGncudKloS1lAZgZ/QddNuozXqcJyzcBrYADbGLc/twp/UuMsXV/jofSfN4gYlrTc rd874xWCD5yqYB29M2lD/MU4LJ62OGDGZGkNvpyXHIAaBcR1JNBqTXoz4gyWi03p0jSU9T1oGi/ 3m8pAObNbpQm+avipWI5OeWEx2RrK6+Gdi6+EoLTwXzb8tOMIE5Ig+4SaIOsW/R+7uOHgTsOjcO MU03UI0pf2x87uVmQ833dAoZVyj+ynNwla25j9ofjRfmAKb+3mloF2kYX9S7SOdddfs4a0GjyWW Vd/2XkwAX18EFqInvJWVt19Tua7Yw9Fy+XvRKM+f7OWv3lfvT8qeDvEC9g== X-Google-Smtp-Source: AGHT+IEvEHJgxbyX5nzioxWnHQWUOIfFOUPoZD0JLMvPojYnSBLv1CGNpcll54UIyz+GuNmb1ae4SQ== X-Received: by 2002:a5d:6d08:0:b0:382:43ab:7d68 with SMTP id ffacd0b85a97d-385c6eb7a52mr16260264f8f.12.1733056751946; Sun, 01 Dec 2024 04:39:11 -0800 (PST) Original-Received: from pro2 (p200300e0b73e1e0079ddbf8403284f30.dip0.t-ipconnect.de. [2003:e0:b73e:1e00:79dd:bf84:328:4f30]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434aa74f1f6sm150280725e9.8.2024.12.01.04.39.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Dec 2024 04:39:10 -0800 (PST) In-Reply-To: <875xo3mvqh.fsf@protonmail.com> (Pip Cet's message of "Sun, 01 Dec 2024 12:30:28 +0000") 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:296245 Archived-At: Pip Cet writes: > Gerd M=C3=B6llmann writes: > >> Gerd M=C3=B6llmann writes: >>> Pip Cet writes: >>> >>>> I think it's unlikely this particular vector is a closure, FWIW, becau= se >>>> the first slot of a closure vector is always a fixnum. >>> >>> I agree. >>> >>> I've now checked all the possible PVEC types, and the only ones that fit >>> size 6 are normal vectors, closures, or records. I also don't believe >>> that it's a closure because of the fixnum. And records (SQLite) seem a >>> bit unlikely. >> >> Hm, reading Oscar's report again - he was using LSP. Maybe it's >> something in the parser. > > You mean the JSON code? Because I'm just looking at that and it doesn't > appear to be protecting its Lisp_Objects at all; but I'm not a hundred > percent sure LSP uses the JSON code. Yes, exactly, json.c. First thing I saw when searching for xfree static void json_parser_done (void *parser) { struct json_parser *p =3D (struct json_parser *) parser; if (p->object_workspace !=3D p->internal_object_workspace) xfree (p->object_workspace); That at least needs an explanation. I would have expected it to be allocated as root. > > In either case, we need to fix json.c, I'll try to do that next. > > Pip Thanks!