From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wAE5AE3nSmSBaQEASxT56A (envelope-from ) for ; Thu, 27 Apr 2023 23:21:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EG4JAE3nSmRYggAAauVa8A (envelope-from ) for ; Thu, 27 Apr 2023 23:21:17 +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 CF7BF3E8CD for ; Thu, 27 Apr 2023 23:21:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ps932-0007RS-BC; Thu, 27 Apr 2023 17:21:04 -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 1ps930-0007RI-Fh for bug-guix@gnu.org; Thu, 27 Apr 2023 17:21:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ps930-00078o-6w for bug-guix@gnu.org; Thu, 27 Apr 2023 17:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ps92z-0007ib-MK for bug-guix@gnu.org; Thu, 27 Apr 2023 17:21:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63131: Dino explodes memory, CPU usage Resent-From: "J. Sims" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 27 Apr 2023 21:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63131 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "63131@debbugs.gnu.org" <63131@debbugs.gnu.org> Cc: "dev@jpoiret.xyz" Received: via spool by 63131-submit@debbugs.gnu.org id=B63131.168263042529600 (code B ref 63131); Thu, 27 Apr 2023 21:21:01 +0000 Received: (at 63131) by debbugs.gnu.org; 27 Apr 2023 21:20:25 +0000 Received: from localhost ([127.0.0.1]:59930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ps92O-0007hL-If for submit@debbugs.gnu.org; Thu, 27 Apr 2023 17:20:24 -0400 Received: from mail-4319.protonmail.ch ([185.70.43.19]:37737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ps92M-0007h5-2f for 63131@debbugs.gnu.org; Thu, 27 Apr 2023 17:20:23 -0400 Date: Thu, 27 Apr 2023 21:19:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1682630415; x=1682889615; bh=Qm1G6GztSb7TVrDeXmw4P/dm7Zmr9v8wZiUknmm1MeA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=oAIrfjVqa3sd4vU2q2jZIiQ686F+ikjZZMVNFPd1WkfdKXyj2kVd656477NcfMyU3 llSoPySTLQy6X+bduLAkoTGAmE+sUicv2hMmSnhwST5nIDm/5gYds13sUuhmKHjOZt 7qKnF+XQ0wQW3sM7I8fT95vNmnkSyNHWL4v9SHLfpCXsqXDbp3ggLUl8sS2OP5uuLu Q23ffXYkxFLwxokzdWuDDETMaPXq5A/iH0j6N6a08R2r3rZQNRRIK5AloZgEGu0XZW 9viaCIPIphdBM8XY57tDTR7ObkJF02GP6/Xa+6HvUTmwEYSnwjd7CxLRt3McsTzl3q gm0+1WLHMV50g== Message-ID: In-Reply-To: <871qk5hy0p.fsf@jpoiret.xyz> References: <871qk5hy0p.fsf@jpoiret.xyz> Feedback-ID: 12133992:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Reply-to: "J. Sims" From: "J. Sims" via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682630476; a=rsa-sha256; cv=none; b=Gla5QD3789EwW/R1DNTdeZ3q0DUQ74mbmH6KFZPtRqcgYm0dJh/U5N+/bZ0lp5rN425pDE 1KxdU1xSIu6UvCI2Km0k/z5+XaguI7yvcpRYOBlLczpYtsjwCyBMGgak22oJwRmyAYGDJW /9Yn6WBXbZQPcROYkARNWOWm6nsQY4jgMcPRpybVhh7yltgLEQ6WiJiTvck20mUEy2E9F3 AiCao0Vti0KfdrisnHAWw6X3qhcii03q1MUjzJGlqWOwatzPPFg0iWqwqc13WiDCEAPicD e8Vo92ws2kCXWh+l9z39h9Z5md3bgNHCxOsS2j7ifHR4IhHUiced3VNLv7JkoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=oAIrfjVq; dmarc=pass (policy=none) header.from=gnu.org; 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=1682630476; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=Qm1G6GztSb7TVrDeXmw4P/dm7Zmr9v8wZiUknmm1MeA=; b=XRd8p9GR2D128JMBwm/HFayXNy/VS8sRKblFBuy1uoWeFxYvH92ZBZQBCTcU6APPbeoPEf Xh+ABYXavtUB3VKPzLyP034QUAD1rR7+yVjSzTVViHGzZcVftTKaYtVjx9OKOcV4fQkbq/ v3PbouflJuNAtFA0M4aghQyXWpE+aJthjpwT0yaA1agxzSmMj91dwacu8t7tdNST841RsM zEIAM/aB0YIo2PddUrZ8hGVv+MI6zNCN40K704kqI70DE6bm5PSAXHQwB2/Wj/X50jdcmX aU4RNYXMZo84qOF0Mrdv5/6fwt9xO4zxRsTK+p0pB1pH7wciBSHdMXx5vjAXCA== X-Migadu-Spam-Score: -0.91 X-Spam-Score: -0.91 X-Migadu-Queue-Id: CF7BF3E8CD X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=oAIrfjVq; dmarc=pass (policy=none) header.from=gnu.org; 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" X-TUID: ShnSQNSEDPAW Hey, ------- Original Message ------- On Thursday, April 27th, 2023 at 16:26, Josselin Poiret w= rote: > Hi, > > I cannot reproduce on my end with a bare `guix shell dino -- dino`. > What windowing system are you using? Does dino have logs? Have you > tried launching it in a terminal to see if it outputs anything? If dino has logs, I do not know where to find them; when launching from the= terminal, a newline is emitted and absolutely nothing else before entering= the described state. I am using GNOME. Interestingly, your comment made me curious, so I ran a `guix shell --pure = dino -- dino` to see what would happen. It launched fine, so I ran an updat= e of the home profile (where I have it installed) and tried launching dino = again - only to reproduce the same problem. I tried your command of `guix s= hell dino -- dino` - and got the same issue again. However, `guix shell --p= ure dino -- dino` still works fine. This leads me to believe the issues is = another package in my home profile... but which? I tested all of the packages in my home profile with dino in a pure shell, = and it launched fine. Okay, not packages. Environment variables? I changed some of those recently= ; let's try reverting them. Nope, works fine. The logical next consideration is services, but I'm not sure how to test th= ose without... removing them, reconfiguring home, logging out, logging in..= . each and every time. It would be nice if you could pass eg `--preserve=3D= '^DISPLAY$'` to `guix home container`. Ah well. I'll do the hard thing anyw= ay. But before I go off to do that, I wanted to send this message with previous= debug steps. Especially this interesting tidbit: Firstly, I misspoke; Dino doesn't consume an entire thread and all the syst= em's memory. It turns out gst-plugin-scanner consumes all the system's memo= ry; the CPU seems to remain unabused. With this information, I ran `dino --gst-debug-level=3D6` and found this in= teresting, repeating pattern: ``` 0:00:27.310610920 31838 0x11d8520 LOG GST_PLUGIN_LOADING gstplug= inloader.c:1150:exchange_packets: Poll res =3D 0. 0 bytes pending for write 0:00:27.310655655 31838 0x11d8520 DEBUG GST_POLL gstpoll= .c:1241:gst_poll_fd_has_error: 0x13e81e0: fd (fd:25, idx:2) 0 0:00:27.310661435 31838 0x11d8520 DEBUG GST_POLL gstpoll= .c:1266:gst_poll_fd_can_read_unlocked: 0x13e81e0: fd (fd:25, idx:2) 0 0:00:27.310667858 31838 0x11d8520 DEBUG GST_POLL gstpoll= .c:1195:gst_poll_fd_has_closed: 0x13e81e0: fd (fd:25, idx:2) 0 0:00:27.310675101 31838 0x11d8520 DEBUG GST_POLL gstpoll= .c:1414:gst_poll_wait: 0x13e81e0: timeout :0:00:01.000000000 ``` This appears to be the action upon which it locks up. As I said, I'll go test if one of my home services is causing this issue; p= erhaps this information will be useful in the meantime. Thanks, Juli