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#74966: 31.0.50; Crash report (using igc on macOS) Date: Fri, 20 Dec 2024 09:21:38 +0100 Message-ID: References: <87y10b99nj.fsf@protonmail.com> <87plln9376.fsf@protonmail.com> <874j2z8ook.fsf@protonmail.com> <86a5cqkc2g.fsf@gnu.org> 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="15297"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: spd@toadstyle.org, pipcet@protonmail.com, Andrea Corallo , 74966@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 20 09:23:18 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 1tOYI2-0003nR-6C for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Dec 2024 09:23:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOYHp-0001lK-2Z; Fri, 20 Dec 2024 03:23: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 1tOYHm-0001kY-D5 for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 03:23:02 -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 1tOYHm-0002Py-47 for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 03:23: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=bnXB0H8ACoNAC+u37bQkBqPSxfgIa0tLimIc4JjaQV8=; b=fQ7u5nFnKh4aLCUHYF39xnNe9f2X/aZIWklWJHA68XX+39zqzJ7Z3nrmJ1st1wJjqXCUA/4WA8o0ZL1tH2QK64V/6JDLP1aTXPQ2xiahTiBxn7V7sSzD3Sc/E4brCtbjB8DBUFaSA1WuTpbMelUv5wanxkKI7fihGlo1H0ZsyoaFHjI11kVziTUAnDFmBfcsLEPXXrAiBpqHHa6+OpbqbBoXqKeDiB6QUbYG3J5jNrYGIi2wQdW7MlNrpb3ycFZ0H8hT30QHDatTJLZboSj7TZekDm9td2O8YRxNXawaWD9SU1eGxM+4c3RI5NjcqQ7djI6wZ+jDslDPw6/jZWzrFQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tOYHl-0002rh-UQ for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 03:23:01 -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: Fri, 20 Dec 2024 08:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74966 X-GNU-PR-Package: emacs Original-Received: via spool by 74966-submit@debbugs.gnu.org id=B74966.173468296710983 (code B ref 74966); Fri, 20 Dec 2024 08:23:01 +0000 Original-Received: (at 74966) by debbugs.gnu.org; 20 Dec 2024 08:22:47 +0000 Original-Received: from localhost ([127.0.0.1]:41561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOYHT-0002r1-VI for submit@debbugs.gnu.org; Fri, 20 Dec 2024 03:22:47 -0500 Original-Received: from mail-ej1-f47.google.com ([209.85.218.47]:55506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOYHR-0002qr-Cg for 74966@debbugs.gnu.org; Fri, 20 Dec 2024 03:22:42 -0500 Original-Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-aa66e4d1d5aso256178966b.2 for <74966@debbugs.gnu.org>; Fri, 20 Dec 2024 00:22:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734682900; x=1735287700; 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=bnXB0H8ACoNAC+u37bQkBqPSxfgIa0tLimIc4JjaQV8=; b=S93W/hEWeBaQItqnTWyGwg6lM8gfeDZKLqfQet8+PSQ6d4zuyPTGVKbiKaZx4+kriJ dk6gpEw3G0RlK1QO941cbAId/nvXghRqcWeYcJtUZbseiqgRsXlkWkxC0g/x5NtMqxwL QOGVXR3/4XF2u3vqTkmCsj4mIroG55+xGI/xot2oXK+Cvnor7oZtKGleJCvNLHlRjU0+ UFhhMZGeV9fMzCgChBGmjyrrGeY75Wy7kp9t6+yhzJP9oNmOyS9/pjEl1dXbjxnE3gXk Wo4OdoBBw6cJSDAgW9Xlx5bOO5dOYvhkkd/WDMF/rUhSUseafmFKs9cYuAJ/AaA2cC4A ju/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734682900; x=1735287700; 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=bnXB0H8ACoNAC+u37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HE7hw== X-Received: by 2002:a17:907:6092:b0:aab:c35e:509b with SMTP id a640c23a62f3a-aac3378bee1mr148463366b.55.1734682899914; Fri, 20 Dec 2024 00:21:39 -0800 (PST) Original-Received: from pro2 (p200300e0b70a560050feb175441df3ce.dip0.t-ipconnect.de. [2003:e0:b70a:5600:50fe:b175:441d:f3ce]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0e8951ebsm149057666b.71.2024.12.20.00.21.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Dec 2024 00:21:39 -0800 (PST) In-Reply-To: <86a5cqkc2g.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 20 Dec 2024 10:12:23 +0200") 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:297439 Archived-At: Eli Zaretskii writes: >> Cc: spd@toadstyle.org, 74966@debbugs.gnu.org >> From: Gerd M=C3=B6llmann >> Date: Fri, 20 Dec 2024 08:30:55 +0100 >>=20 >> Gerd M=C3=B6llmann writes: >>=20 >> > I think I'll read the code a bit now. >>=20 >> BTW, does C-h f x-file-dialog work on platforms !=3D macOS? > > In what version of Emacs? and with or without native compilation? master with native compilation, if possible with --enable-checking. > > It works here as follows: > > . On MS-Windows: > - emacs 31 without native compilation > - emacs 30 with and without native compilation > . On GNU/Linux: > - emacs 31 with and without native compilation > - emacs 30 with and without native compilation > >> It aborts here for the same reason. >>=20 >> And I'm asking myself now why the heck it lands in native_function_doc in >> the first place. Isn't x-file-dialog a C function everywhere? > > It is a C function, yes. My current theory is that one needs to C-h f a function with a doc string lie this one: (defun x-file-dialog (prompt dir &optional default-filename mustmatch only-dir-p) "SKIP: real doc in xfns.c." (ns-read-file-name prompt dir mustmatch default-filename only-dir-p)) And the function must be native-comp-function-p. I can't see so far how/where such "redirections" are handled.