From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wGHgILaGJGWDVAAAauVa8A:P1 (envelope-from ) for ; Tue, 10 Oct 2023 01:03:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wGHgILaGJGWDVAAAauVa8A (envelope-from ) for ; Tue, 10 Oct 2023 01:03:18 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1188364806 for ; Tue, 10 Oct 2023 01:03:16 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=cQlms6no; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696892598; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=eXYZxkzDhWa1qvxBQSuWoMXSdboyuCemMKrWbvOuCgs=; b=sim3VJpbMFUc2xbykVnP2VVRdxragP/XO5Ly6Tu4+StpG18vrBsFA+4m312dyQ5WScyYCu dCD6KNkIuLAm9fWFp+ZG9QXz+e+6GqYekK18iWfv7GlStpvMpBSxFn3Oxkmt8xosCyxMeX QMtMBNbHoyIMLpBZtGHHQZmvVJP5ZhLy9XWGL8EFQ2HCrko36dzpyRUXod2pK0NCkoLZ/F jpJQV31kgvu/NuY8TJ16E985SEtc1Vc5ZGbOhia9qCWsVmdaZLLWuaJeGwVGW5UgKG3Mqn h4aMWEtkrjNzdxKWGrc9Af5OeOXJUKZNYeU3FtpYSpCfX1RQ2nplqOko8GvQYw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696892598; a=rsa-sha256; cv=none; b=T+xYvitcIpe76g5Es3bfH3GsW19LLqVH872wcGyCmlQ/tzqn5rQIrA0knyhh5oNpFXVpUd cSsFDoRde6KTE1M79rwrK57UBe+ymXqv63p2dIxvnOCMYNXyb9DBt6UTE29dt3MLn9+TIl TSqWJD5KsTuqKnpid3zpyA9+gX+mAg5TtBfuKshrtExNIPhXlcUdhhPuRrrCVBquTsyYGM sWXGvhazBRh5PsSZPQCgwyUiDe0AHQBQOtqRSo6Wx6DH1DGC9IPZDn5UikEUxjmQuDOnz8 XQwSjkpUKE0brIGFdTEOqW8VC6NEWC437hjrMpCZmLZ+ghqWpVZSDqZ/cWDq5Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=cQlms6no; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qpzGu-0006KF-CY; Mon, 09 Oct 2023 19:02:44 -0400 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 1qpzGs-0006Jd-TI for bug-guix@gnu.org; Mon, 09 Oct 2023 19:02:42 -0400 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 1qpzGr-0004Zq-Eb for bug-guix@gnu.org; Mon, 09 Oct 2023 19:02:42 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qpzHB-0002vJ-U3 for bug-guix@gnu.org; Mon, 09 Oct 2023 19:03:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65858: mumi crashes Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 09 Oct 2023 23:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65858 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer , 65858@debbugs.gnu.org Cc: guix-sysadmin Received: via spool by 65858-submit@debbugs.gnu.org id=B65858.169689258011230 (code B ref 65858); Mon, 09 Oct 2023 23:03:01 +0000 Received: (at 65858) by debbugs.gnu.org; 9 Oct 2023 23:03:00 +0000 Received: from localhost ([127.0.0.1]:33643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpzH9-0002v3-OR for submit@debbugs.gnu.org; Mon, 09 Oct 2023 19:02:59 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:55882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpzH4-0002uq-Bw for 65858@debbugs.gnu.org; Mon, 09 Oct 2023 19:02:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=eXYZxkzDhWa1qvxBQSuWoMXSdboyuCemMKrWbvOuCgs=; b=cQlms6noA0I6WHBBMhjkPHvVCK RE0wwkJbrTg/d5SVKp93wPy/IbUj7e0fX4zfJ3XMMJc4+yZCUynvY3z8o0SYbGMXDT3MRVt5XI/u/ Wtgf31toESDtQJs13IJ6He+eIK+1Itle6QWNStfiBRijcfMgy2J/RaUxx2oMkPTbSkMkIGttpABNk AqezBnvJvpti7162mZxelIc7we7eSMfUFRDMNjFPedAf4xEXncYkbYsbOhYOBkQ7/nPSgQ56sVCHO ORSKE2AiSwx8K7UlUK/HWex/1tXLBa2zEOInJkCkydszRb9UhQZ70BifdMq01cfi2CiRGeAWbsPTr wqTTeYdw==; Received: from [192.168.2.1] (port=46750 helo=localhost) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qpzGb-0005d3-29; Tue, 10 Oct 2023 00:02:26 +0100 From: Arun Isaac In-Reply-To: <87jzrxhkmn.fsf@gmail.com> References: <87leddv6p2.fsf@gmail.com> <87jzrxhkmn.fsf@gmail.com> Date: Tue, 10 Oct 2023 00:02:21 +0100 Message-ID: <874jizcsci.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -2.24 X-Spam-Score: -2.24 X-Migadu-Queue-Id: 1188364806 X-TUID: E4dGwqX50zTU Hi Maxim, Thanks for monitoring mumi. I'm not sure why these mumi crashes are happening. I can think of two leads to start working on. 1. I see many lines such as those below that warn of garbage collection issues with "repeated allocations of large blocks". I am not sure, but this sounds like some limitation of the guile garbage collector. I suspect these warnings arise because the guile-email parser thrashes the garbage collector too much. I could look into rewriting parts of guile-email to be more careful with memory use. --8<---------------cut here---------------start------------->8--- 2023-09-09 16:21:00 GC Warning: Repeated allocation of very large block (appr. size 16777216): 2023-09-09 16:21:00 May lead to memory leak and poor performance 2023-09-09 16:30:24 GC Warning: Repeated allocation of very large block (appr. size 16138240): 2023-09-09 16:30:24 May lead to memory leak and poor performance 2023-09-09 16:39:11 GC Warning: Repeated allocation of very large block (appr. size 16781312): 2023-09-09 16:39:11 May lead to memory leak and poor performance --8<---------------cut here---------------end--------------->8--- 2. If there is a specific query that causes mumi to crash, I'd like to find out. This could be a GraphQL query. Unfortunately the actual GraphQL document lives in the query part of the URI, and we don't log the query part. I can patch mumi to log the query part. WDYT? Regards, Arun