From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GDF3A+aja2PeQAEAbAwnHQ (envelope-from ) for ; Wed, 09 Nov 2022 13:58:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6DNjA+aja2OrDAEA9RJhRA (envelope-from ) for ; Wed, 09 Nov 2022 13:58:14 +0100 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 D5E40AF4B for ; Wed, 9 Nov 2022 13:58:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oskea-0003Ps-Qa; Wed, 09 Nov 2022 07:58:04 -0500 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 1oskeY-0003O2-5x for bug-guix@gnu.org; Wed, 09 Nov 2022 07:58:02 -0500 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 1oskeX-0006IY-Sl for bug-guix@gnu.org; Wed, 09 Nov 2022 07:58:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oskeX-0008Q2-Jn for bug-guix@gnu.org; Wed, 09 Nov 2022 07:58:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#58221: nautilus: Crashes loading KgxNautilus plugin twice (problems with NAUTILUS_EXTENSION_PATH) Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 09 Nov 2022 12:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58221 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Tobias Kortkamp Cc: 58221@debbugs.gnu.org Received: via spool by 58221-submit@debbugs.gnu.org id=B58221.166799865432328 (code B ref 58221); Wed, 09 Nov 2022 12:58:01 +0000 Received: (at 58221) by debbugs.gnu.org; 9 Nov 2022 12:57:34 +0000 Received: from localhost ([127.0.0.1]:39239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oske5-0008PJ-L1 for submit@debbugs.gnu.org; Wed, 09 Nov 2022 07:57:33 -0500 Received: from mira.cbaines.net ([212.71.252.8]:41824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oske3-0008PB-Sz for 58221@debbugs.gnu.org; Wed, 09 Nov 2022 07:57:32 -0500 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:3a91:a0a4:ecee:f157]) by mira.cbaines.net (Postfix) with ESMTPSA id 80F7027BBE9; Wed, 9 Nov 2022 12:57:30 +0000 (GMT) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id dcdef097; Wed, 9 Nov 2022 12:57:29 +0000 (UTC) References: User-agent: mu4e 1.8.9; emacs 28.1 From: Christopher Baines Date: Wed, 09 Nov 2022 13:54:32 +0100 In-reply-to: Message-ID: <87sfisjnew.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667998693; 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; bh=q6/JdgyyOLrp69ag01A7a8XzeTSFMzbepQGDye5ItJw=; b=ZNLJU65EesOvlIrz2Wgf37Xq3jhBnVTF/BMMma5vppKmXS/9SC/jbF2pTOK84l8ffwGuBH HUVE3NOzCdO1bnVrggCpf0f3EZ5iJ57U5w7htwY1z5YfKA17bXGanzBssnDD7QBI+AzXHt OkZFMSfBxpJVMZhmF9QT7SYorUCjvkORNEuOQblpIbuAEq8WMeofDj42lbPvQZtiEKAsoZ Gw2CW6RIYnHF0W5AhU4hteV57I2Bx9fzxhW3snVEg+d+nXDR5N1UIiProHCLykQOD14vB4 hV1f5+CzZ0yMYxJAClNBLiIDtsMHiCxrwYKTSbyxfFKJM4ylj+E+6PauSbRNNw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667998693; a=rsa-sha256; cv=none; b=hD8RCcOxV4j3AWoN7QP/27/M9aN1vKwCj+8jPqA5BuvMa/cj75W+e1o/XrAUPwuZJ3+7cc UNI/sLt1ge8t6k7HHMT60VULLDkcOd7wPp3NeCVH200HDjczDztHLkAM7zK8tMJYOSmqGP IAOM3wGvu679Kg8ZVL/Irmt1G+Jf0BTpK+Tsd6c/ZX3aPOatlTeh7KMfqzMJVwsz8INe8J Ko+XyQjGxwkuuorDg+plp5e2ebq02546hlbv0yyLKVfBjjylXUAo3riZhUOQWLzYMVIMxM mLrMp0F6bGV+DvFLkP+Vy+4NIYIMP5PwqT+3wpo3WS+NYw2erMUO20vMKjuSxQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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" X-Migadu-Spam-Score: -6.42 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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" X-Migadu-Queue-Id: D5E40AF4B X-Spam-Score: -6.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: fuvbztyoUuRK --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Tobias Kortkamp writes: > I updated from c8112f3bd95269ce4aca12dedbfe61bb6b37acae to > 0dec41f329c37a4293a2a8326f1fe7d9318ec455 and now Nautilus crashes > with: > > (org.gnome.Nautilus:3664): GLib-GObject-WARNING **: 13:25:09.877: Two dif= ferent plugins tried to register 'KgxNautilus'. > > (org.gnome.Nautilus:3664): GLib-GObject-CRITICAL **: 13:25:09.877: g_type= _add_interface_dynamic: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)= ' failed > > (org.gnome.Nautilus:3664): GLib-GObject-WARNING **: 13:25:09.877: Two dif= ferent plugins tried to register 'KgxNautilusMenuItem'. > > ** (org.gnome.Nautilus:3664): WARNING **: 13:25:09.882: Tracker 2 migrati= on: Couldn't run `tracker3`: Failed to execute child process =E2=80=9Ctrack= er3=E2=80=9D (No such file or directory) > > (org.gnome.Nautilus:3664): GLib-GObject-WARNING **: 13:25:10.222: invalid= cast from 'KgxNautilus' to '' > > (org.gnome.Nautilus:3664): GLib-GObject-CRITICAL **: 13:25:10.222: g_obje= ct_new_valist: assertion 'G_TYPE_IS_OBJECT (object_type)' failed > > (org.gnome.Nautilus:3664): GLib-GObject-CRITICAL **: 13:25:10.222: g_obje= ct_get: assertion 'G_IS_OBJECT (object)' failed > > The problem seems to be that NAUTILUS_EXTENSION_PATH contains the same > path twice and that it tries to load KgxNautilus from each of the paths: > > $ echo $NAUTILUS_EXTENSION_PATH > /run/current-system/profile/lib/nautilus/site-extensions:/run/current-sys= tem/profile/lib/nautilus/site-extensions > > Running Nautilus like this works fine: > > $ NAUTILUS_EXTENSION_PATH=3D/run/current-system/profile/lib/nautilus/site= -extensions nautilus Thanks for investigating Tobi, I've been experiencing this too, but didn't get anywhere trying to use GDB, so thanks for tracking it down! This NAUTILUS_EXTENSION_PATH is a Guix specific modification made to nautilus at build time, so yeah, something is up here and it's down to us to fix it. Maybe the duplication of the directory in the search path is something to fix, but I guess the code in nautilus using the search path probalbly needs to be smarter to avoid loading plugins twice. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmNro7dfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdI4w//eIMKSsd7hyHN7TZt8R+ndQbTswJBr9kV DnnZRkmmNYiUchiMzKqoH3/YlIz8+oShDxMyPnw3AZNebea16CFvnd/v+b1JA814 Tdi0V1pa+6jv4wG7A0DGMLqNzcMx4ImigKgk8JX4quydV9iKmXORVCqZr8oYWxfD oPzWZGqi4/NJYTyTIE46qLLv6ZJJfl63BnrF47lnImZ0JhQs2l6YDGu+AX0ICku8 wORxzM8faDkMege3uzixeN1hx+8WVXpC2RY+blsJdnfsp6TFhfi/ItRNHiwOu/gK og7bGed27w39CvxUP73QZ83MoOqa/H4iboZoOAcq7jDaBxVkjAKe3oaO207ZAth9 GbOsPcEG6DeUmf/fHjHxsGNhXVSYgf5YOuyEbNYQVf6vxY9jWdPyPqhZmD30KgSV woE4eZNd1hxdgQR4U2G6aQBqUEcPd2HryWypl6lcjgxO8XArptAdc6oG739cLRW/ W4dcVi7XIz0qVBRickGk82KrQ5bY5cZvUC2bsMuPvcSkVA0bPqLIWgpnIcK4vh8E aMssEm8IsrQDjaneGSYv14rSg1MakNnG7YGoou8b6TMQaxkTIBOkpbmBQPCrjzoi RD432z/oeBeAaT27/R0Ay5whjpoIx9Poda9EIilxSBk+SLpJT+3/WEodzg3v5kNr udDFYueG7YE= =/iT/ -----END PGP SIGNATURE----- --=-=-=--