GNU bug report logs -
#58569
[PATCH] gnu packages gnome-console: Remove nautilus extension
Previous Next
Reported by: Mája Tomášek <maya.tomasek <at> disroot.org>
Date: Sun, 16 Oct 2022 17:35:01 UTC
Severity: normal
Tags: moreinfo, patch
Fixed in version 99ba4ddb03b396f56764a25317f40d4501380704
Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58569 in the body.
You can then email your comments to 58569 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#58569
; Package
guix-patches
.
(Sun, 16 Oct 2022 17:35:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Mája Tomášek <maya.tomasek <at> disroot.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 16 Oct 2022 17:35:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
this patch removes the gnome-console nautilus extension as it crashes nautilus
(at least on my machine). In my opinion it is safe to remove it, as this
feature is implemented directly into nautilus-43 and the original code is
purged from the gnome-console repo. (see
https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/911 and
https://gitlab.gnome.org/GNOME/console/-/commit/c4bd2312f4b432a33810a8dcdf3cadabae5169d7)
This sadly means, that in nautilus-42 there will be no "Open in Console", but
the issue is on some code that is already deprecated in the Console repo. (I
have studied gdb info and it appears that kgx_nautilus_get_background_items()
returns a GList* that is { .next = NULL, .prev = NULL, .data = NULL } but
nautilus does only perform a check that GList* is NULL, otherwise it expects a
valid list)
I can maybe supply a patch to gnome-console, but I don't see a reason to.
Kind regards,
Maya
[0001-gnu-packages-gnome-console-Remove-nautilus-extension.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58569
; Package
guix-patches
.
(Mon, 17 Oct 2022 08:19:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 58569 <at> debbugs.gnu.org (full text, mbox):
Am Sonntag, dem 16.10.2022 um 19:34 +0200 schrieb Mája Tomášek:
>
> Hi,
>
> this patch removes the gnome-console nautilus extension as it crashes
> nautilus (at least on my machine).
I can confirm it working as intended on at least two separate machines,
both configured
> In my opinion it is safe to remove it, as this
> feature is implemented directly into nautilus-43 and the original
> code is purged from the gnome-console repo. (see
> https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/911 and
> https://gitlab.gnome.org/GNOME/console/-/commit/c4bd2312f4b432a33810a8dcdf3cadabae5169d7
> )
>
> This sadly means, that in nautilus-42 there will be no "Open in
> Console", but the issue is on some code that is already deprecated in
> the Console repo. (I have studied gdb info and it appears that
> kgx_nautilus_get_background_items() returns a GList* that is { .next
> = NULL, .prev = NULL, .data = NULL } but nautilus does only perform a
> check that GList* is NULL, otherwise it expects a valid list)
>
> I can maybe supply a patch to gnome-console, but I don't see a reason
> to.
In my opinion, it'd be better to find out why it crashes in the first
place. See [1] for the breaking code. My suspicion is that item ends
up NULL, which would be big if true.
Cheers
[1]
https://gitlab.gnome.org/GNOME/console/-/blob/42.2/nautilus/kgx-nautilus.c#L48
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58569
; Package
guix-patches
.
(Mon, 17 Oct 2022 16:32:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 58569 <at> debbugs.gnu.org (full text, mbox):
Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at> writes:
> Am Sonntag, dem 16.10.2022 um 19:34 +0200 schrieb Mája Tomášek:
>>
>> Hi,
>>
>> this patch removes the gnome-console nautilus extension as it crashes
>> nautilus (at least on my machine).
> I can confirm it working as intended on at least two separate machines,
> both configured
I have pinpointed the issue! I tried the debugging steps and suddenly
nautilus opened fine.
So, the issue is that I have some deffective version of
libkgx-nautilus.so, which does return NULL list.
But, if I provide a different version of gnome-console
(ie. --with-debug-info=gnome-console) nautilus suddenly opens fine.
I have run multiple guix pulls, guix system reconfigure, guix gc
--verify=contents but it has not fixed it.
It even works when I use run guix shell --pure nautilus gnome-console.
I am now completely lost.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58569
; Package
guix-patches
.
(Tue, 18 Oct 2022 06:21:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 58569 <at> debbugs.gnu.org (full text, mbox):
Am Montag, dem 17.10.2022 um 18:20 +0200 schrieb Mája Tomášek:
> Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at> writes:
>
> > Am Sonntag, dem 16.10.2022 um 19:34 +0200 schrieb Mája Tomášek:
> > >
> > > Hi,
> > >
> > > this patch removes the gnome-console nautilus extension as it
> > > crashes nautilus (at least on my machine).
> > I can confirm it working as intended on at least two separate
> > machines, both configured
>
> I have pinpointed the issue! I tried the debugging steps and suddenly
> nautilus opened fine.
>
> So, the issue is that I have some deffective version of
> libkgx-nautilus.so, which does return NULL list.
>
> But, if I provide a different version of gnome-console
> (ie. --with-debug-info=gnome-console) nautilus suddenly opens fine.
>
> I have run multiple guix pulls, guix system reconfigure, guix gc
> --verify=contents but it has not fixed it.
>
> It even works when I use run guix shell --pure nautilus gnome-
> console.
>
> I am now completely lost.
IIRC you have to --verify=contents,repair. Note that repair might
still not work due to gnome-console – like all gnome packages –
receiving grafts, which is known to mess with guix build --repair.
If everything else fails, you can try rolling back to a generation
before gnome-console was built, delete all future generations, gc, and
then rebuild gnome-console. This should definitely make nautilus work,
under the assumption that your gnome-console build succeeds this time
and no spurious hardware failure turns up.
Cheers
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58569
; Package
guix-patches
.
(Tue, 18 Oct 2022 21:51:01 GMT)
Full text and
rfc822 format available.
Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at> writes:
> IIRC you have to --verify=contents,repair. Note that repair
> might
> still not work due to gnome-console – like all gnome packages –
> receiving grafts, which is known to mess with guix build
> --repair.
I'm encountering the same issue, so it seems strange for it to be
a spurious corruption. Just chiming in in case this doesn't work.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58569
; Package
guix-patches
.
(Tue, 18 Oct 2022 21:51:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58569
; Package
guix-patches
.
(Thu, 20 Oct 2022 19:59:01 GMT)
Full text and
rfc822 format available.
Message #23 received at submit <at> debbugs.gnu.org (full text, mbox):
Dominic Martinez <dom <at> dominicm.dev> writes:
> Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at> writes:
>
>> IIRC you have to --verify=contents,repair. Note that repair
>> might
>> still not work due to gnome-console – like all gnome packages –
>> receiving grafts, which is known to mess with guix build
>> --repair.
>
> I'm encountering the same issue, so it seems strange for it to be
> a spurious corruption. Just chiming in in case this doesn't work.
I have tested everything that has been suggested, but nothing really
worked. When I try apply transform on gnome
(options->transformation
'((with-debug-info . "gnome-console")))
it does not allow me to do so. (Apparently there is a version conflict.
I know that this issue is not present on
guix shell --pure nautilus gnome-console
And is also fixed with
guix shell --with-debug-info=gnome-console nautilus gnome-console
But I cannot upgrade gnome-console, or at least when I tried rollbacking
to a previous version (about a month ago) then deleting all generations,
running guix gc. But the issue is back when I ran guix system
reconfigure.
I have now verified, that it is indeed not a binary corruption issue. As both
in normal and in the pure environment the libkgx-nautilus.so are the
same file.
The fact that it does not occur when using the
--with-debug-info=gnome-console option is kind of a bummer, as I cannot
use gdb to debug gnome-console :D
Regards
Maya
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58569
; Package
guix-patches
.
(Thu, 20 Oct 2022 19:59:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58569
; Package
guix-patches
.
(Fri, 21 Oct 2022 06:11:02 GMT)
Full text and
rfc822 format available.
Message #29 received at 58569 <at> debbugs.gnu.org (full text, mbox):
Am Donnerstag, dem 20.10.2022 um 21:58 +0200 schrieb Mája Tomášek:
> I have now verified, that it is indeed not a binary corruption issue.
> As both in normal and in the pure environment the libkgx-nautilus.so
> are the same file.
Your nautilus could still be corrupted, though, linking to the wrong
libkgx-nautilus.so
Cheers
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58569
; Package
guix-patches
.
(Mon, 24 Oct 2022 21:51:01 GMT)
Full text and
rfc822 format available.
Message #32 received at submit <at> debbugs.gnu.org (full text, mbox):
Dominic Martinez <dom <at> dominicm.dev> writes:
> Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at> writes:
>
>> IIRC you have to --verify=contents,repair. Note that repair
>> might
>> still not work due to gnome-console – like all gnome packages –
>> receiving grafts, which is known to mess with guix build
>> --repair.
>
> I'm encountering the same issue, so it seems strange for it to be
> a spurious corruption. Just chiming in in case this doesn't work.
Just an fyi, I have temporarily fixed the issue by unsetting
NAUTILUS_EXTENSION_PATH environment variable
This is only a temporary fix, but it means that you can use your desktop
normally in the meantime.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58569
; Package
guix-patches
.
(Mon, 24 Oct 2022 21:51:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58569
; Package
guix-patches
.
(Mon, 24 Oct 2022 21:55:02 GMT)
Full text and
rfc822 format available.
Message #38 received at 58569 <at> debbugs.gnu.org (full text, mbox):
Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at> writes:
> Am Donnerstag, dem 20.10.2022 um 21:58 +0200 schrieb Mája Tomášek:
>> I have now verified, that it is indeed not a binary corruption issue.
>> As both in normal and in the pure environment the libkgx-nautilus.so
>> are the same file.
> Your nautilus could still be corrupted, though, linking to the wrong
> libkgx-nautilus.so
>
> Cheers
I think that nautilus loads this library by checking for objects in
NAUTILUS_EXTENSION_PATH and loading them into the system at
runtime. Simply unsetting the variable fixes the issue. So in my opinion
nautilus cannot link the wrong file, as it does on runtime and that is
set to a variable that essentialy links it to the same file.
Sidenote, nautilus is actually not involved in the process, as
gnome-console is not it's input. (It's actually the other way around)
Cheers
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58569
; Package
guix-patches
.
(Tue, 25 Oct 2022 06:01:02 GMT)
Full text and
rfc822 format available.
Message #41 received at 58569 <at> debbugs.gnu.org (full text, mbox):
Am Montag, dem 24.10.2022 um 23:54 +0200 schrieb Mája Tomášek:
> I think that nautilus loads this library by checking for objects in
> NAUTILUS_EXTENSION_PATH and loading them into the system at
> runtime. Simply unsetting the variable fixes the issue. So in my
> opinion nautilus cannot link the wrong file, as it does on runtime
> and that is set to a variable that essentialy links it to the same
> file.t
Ahh, you're right of course. Still, when debugging against guix shell,
you ought to take the shell cache into account, which can obscure bugs.
In either case, check very carefully that the two libkgx-nautilus
actually point to the same file.
Cheers
Added tag(s) moreinfo.
Request was from
Christopher Baines <mail <at> cbaines.net>
to
control <at> debbugs.gnu.org
.
(Sat, 05 Nov 2022 10:28:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 99ba4ddb03b396f56764a25317f40d4501380704, send any further explanations to
58569 <at> debbugs.gnu.org and Mája Tomášek <maya.tomasek <at> disroot.org>
Request was from
Liliana Marie Prikler <liliana.prikler <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sat, 26 Nov 2022 12:46:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 25 Dec 2022 12:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 178 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.