From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mikael Svahnberg Newsgroups: gmane.emacs.bugs Subject: bug#43882: 27.1; Gnus sometimes crashes emacs 27.1 during nnir search Date: Mon, 12 Oct 2020 09:12:56 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7412"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) Cc: 43882@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 12 09:31:45 2020 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 1kRsJ6-0001qG-5n for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Oct 2020 09:31:44 +0200 Original-Received: from localhost ([::1]:55710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRsJ4-00048B-NH for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Oct 2020 03:31:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRsIR-00047e-6z for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2020 03:31:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58275) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kRsIQ-0000qq-T9 for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2020 03:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kRsIQ-0005eQ-Og for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2020 03:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mikael Svahnberg Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Oct 2020 07:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43882 X-GNU-PR-Package: emacs Original-Received: via spool by 43882-submit@debbugs.gnu.org id=B43882.160248785321685 (code B ref 43882); Mon, 12 Oct 2020 07:31:02 +0000 Original-Received: (at 43882) by debbugs.gnu.org; 12 Oct 2020 07:30:53 +0000 Original-Received: from localhost ([127.0.0.1]:41580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRsIH-0005de-1u for submit@debbugs.gnu.org; Mon, 12 Oct 2020 03:30:53 -0400 Original-Received: from mail-db8eur05on2078.outbound.protection.outlook.com ([40.107.20.78]:9508 helo=EUR05-DB8-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRs15-00059l-5W for 43882@debbugs.gnu.org; Mon, 12 Oct 2020 03:13:08 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IWEk1AEdQLXb9YDf8TtYLrBMBB8mU7DaHkE2hWgqYMDgB+PNeAaRvClRqLKOmD3Intfwo1pR6yYcYYuaQzlF+V7jvjiUZYQvx31fvLdF2rMgByfcXH2D/XxBYFPARSpx9n4UFemBZRZgDh+/9B+y63VBURYofIb8NBmbvhm4iLu9DdqQa8C2qXQXj6PiY1AtG/RrMWny8/YyLa7wWl1v/XeJ7lRO5h2aznCI5ryha7jjUdSn9iIZzTOlvW1J7K60ErVbykV6tXNWSaF2PhrVicp55BkIc1ZAtkDwku/qEkjBb+wHRJEjAx6Y60cqMapVpJh60E9vWNb4pzx0co++lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HxOTHWyr465Zti4YZe2uj2E0ols1icktxCvLwvkXBTU=; b=ja9Xp5xh/i8+wbyWCkxwb60YuC9afTgcF054Tu7N4OdcZxTo4CF5LyXCcDppxrfbzdg8QJ9ct11aPMqDvN3xTp61avTOK3L4vXjAaX0r7PaY43Bzji6YDtpgTV2+fpIKL9v9huwqSTPryWQQRmSfOibW1dpEJTkgv4eXQu6JUwZja3WgrpQi0Nkvld7wWSZUg796J8lBYlpLxiwRfxn6D5Z27LNuElsKx4HFdJZW+GduP30Ad0zq+y2/70PnGwAgec4c6PVKkkNcUkdyRBNCa/cA+ETjG7FdklVffx8PqoKEgkPkv/pRQDOxcn7u3Xk5lWLZ5EW7IaZT5PwJAQErQQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=bth.se; dmarc=pass action=none header.from=bth.se; dkim=pass header.d=bth.se; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bth.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HxOTHWyr465Zti4YZe2uj2E0ols1icktxCvLwvkXBTU=; b=L8cUTirDLigfBo9HYmY5JW8QVmnAG1H0y/w+qPsA8bk0MtCLHeVXfsHtVPx3/kfbtwsGGrDfnTzmC97pFeQyHqj9wGBLYlzeAxyY4EhvmmnbHi/ge+B/8DdEQ7BjPhZ+iwdGyUI8gw+xDfqknBBZ9QeMZEf1ASI0WdoHplGOaJM= Authentication-Results: debbugs.gnu.org; dkim=none (message not signed) header.d=none;debbugs.gnu.org; dmarc=none action=none header.from=bth.se; Original-Received: from DB8PR09MB3401.eurprd09.prod.outlook.com (2603:10a6:10:108::13) by DB6PR0901MB1640.eurprd09.prod.outlook.com (2603:10a6:4:6f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.21; Mon, 12 Oct 2020 07:12:58 +0000 Original-Received: from DB8PR09MB3401.eurprd09.prod.outlook.com ([fe80::1502:4e3e:8634:a391]) by DB8PR09MB3401.eurprd09.prod.outlook.com ([fe80::1502:4e3e:8634:a391%5]) with mapi id 15.20.3455.029; Mon, 12 Oct 2020 07:12:58 +0000 X-Face: 3DBp,9zHsEaLV\D.; I4$l1=y^Z@N1%C{ylE[~)dRXI In-Reply-To: (Robert Pluim's message of "Fri, 09 Oct 2020 16:43:42 +0200") X-Originating-IP: [81.234.228.191] X-ClientProxiedBy: AM7PR03CA0023.eurprd03.prod.outlook.com (2603:10a6:20b:130::33) To DB8PR09MB3401.eurprd09.prod.outlook.com (2603:10a6:10:108::13) X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from msv-mac.local (81.234.228.191) by AM7PR03CA0023.eurprd03.prod.outlook.com (2603:10a6:20b:130::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.22 via Frontend Transport; Mon, 12 Oct 2020 07:12:57 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0c870cc6-4317-4ead-023f-08d86e7e3f54 X-MS-TrafficTypeDiagnostic: DB6PR0901MB1640: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Nqtmmm42bd1vd1N/TY33fKwo1beRjiw7Dvn2eYrZMsfQIxZi1cpxTW5QmldVcQz4GQGWaWTJeZdRszXxOVxk9eDTJJmaPXyJPEbOndAVl2I8/nIDlRzfxjk202lzHvEzRidHSHODNjSegL8hlveBWgV5DmMXbrODSEx01EMrAkN/zRZerqekqI2CvpE0pw+hwOG/EFP2ZpQAiE/sGHwIwkqi4ImDNwc36IxLMsg9T6vyLq5kRlBtBJk/V2hA8PywsJyX6mVvXwqOH6Nc9fmnIQNHis2DrgopXEs3MvAcbx+wYclPF5aqDYI1BchUNRYN7Ejm6UU+YMgPEIpd/Uoh4g== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB8PR09MB3401.eurprd09.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39850400004)(346002)(376002)(396003)(366004)(136003)(83380400001)(6486002)(6512007)(66556008)(66476007)(66946007)(86362001)(956004)(2616005)(52116002)(186003)(16526019)(26005)(6506007)(478600001)(8936002)(786003)(316002)(4326008)(5660300002)(6916009)(2906002)(36756003)(8676002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: Db4MmtHcY72Yf0p2eUBEKEvZdwMWq/Plok4rAthsqBy91RGR5YscqszjqF7obyDvznlClPRQ/aOaxt8OLw2mPZ0wZOcyRETpcb4KM1mOfG6dwEhx3/ceAdHHi1v8ec6CzyM3Ox/o4GqFNDmCa/79bQKVQxwktzzR7b3FSKtfzI1J3X0/RrlijOadhMzgkMGiNu1PTCr3ZbkITnsfW+mC351pP5SqmBsowapBKntzdYbroiSMWvpSojlN2LgZcEU73pLCbgSgL2Dy/TOk7NVr7dwhFba4t2sUccBysGnO4D7yxLwdeqwoHpHtTTiIf6O2jMUsUBQesh0bf3RcOqngfUliQP8oKtjjVkNTkLzy0/RGRd8VpHOx3R1Bnv0+n++W3oOJPL4FDa90hyjmH0voxgR/emWErYTBmi39tkxH+k8dpQ31pE5dIRjLXsI2Q4ZuDx6ibbYrpLmgpUy9ZugrKFlkI1xcsFnOJ8Oh1PYHmiDzlmpc619YSbIyPDQXj76AYVWFWK5L3ryETj+f42QKaFKwB9ODp37DFh19L54fIo9GHfWjDK8Rvsp9I0iB0vp465UFUbnAwQcz1zy0yD2kGRkhu0T6+x5IvCT+FXfU+zG3n7ua1Tf6b8ojAkGa34Fdv+Cx8OKewKQdQskyAphKQg== X-OriginatorOrg: bth.se X-MS-Exchange-CrossTenant-Network-Message-Id: 0c870cc6-4317-4ead-023f-08d86e7e3f54 X-MS-Exchange-CrossTenant-AuthSource: DB8PR09MB3401.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2020 07:12:58.5537 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 885b11db-fb41-4d7a-85b0-39967c789c5a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6Se+O26TvpAwfhJgkRFegqewcb2d75EJaXOoS98VfCT1C0QqxISzUZdcDGw9Fnsv X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0901MB1640 X-Mailman-Approved-At: Mon, 12 Oct 2020 03:30:52 -0400 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" Xref: news.gmane.io gmane.emacs.bugs:190302 Archived-At: Robert Pluim <2020-10-09 16:43> wrote: >>>>>> On Fri, 09 Oct 2020 12:14:18 +0200, Mikael Svahnberg said: > > Mikael> I upgraded to emacs 27.1 yesterday and so far it has crashed twice on me > Mikael> when I search for emails in Gnus. I use the following function to > Mikael> perform the search (there are probably better ways, but this has worked > Mikael> for me the past eight years): > > Mikael> -------------------- > Mikael> ;; Search mail from everywhere > Mikael> (defun msv-search-mail () > Mikael> (interactive) > Mikael> (with-current-buffer "*Group*" > Mikael> (save-excursion > Mikael> (beginning-of-buffer) > Mikael> (search-forward "All Mail") > Mikael> (call-interactively (gnus-group-make-nnir-group nil))))) > > Mikael> ;; <2017-08-15 Tue> > Mikael> ;; Try a better search input > Mikael> (use-package gnus-x-gm-raw :ensure t) > Mikael> -------------------- > > Mikael> What happens is that emacs freezes and (I happened to have =top= > Mikael> running in a terminal nearby) consumes 100% CPU for 5-10 seconds, before > Mikael> crashing. > > Mikael> I have done more mail searches, and it does not crash every time I > Mikael> search. The first thing I do after restarting is to perform the exact > Mikael> same search, which has worked. Intermittent bugs, yay! > > Do things improve if you increase your stack size using 'ulimit -s'? > MacOS has what is by modern standards a fairly small default stack. > > There are a couple of regexp-related fixes in master as well. Could > you try that branch? > > Robert Hi, The stack size was the default 8192 kB. I have -- reluctantly, but in the interest of debugging -- set it to 65532 kB via ulimit and then launched emacs from that shell. How can I verify from within Emacs what stack size it is running with? I will keep it like this for a couple of days and see if I get more crashes. If I do, I will report and move on and upgrade to HEAD. /Mikael