Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: mortegai on November 03, 2020, 04:11:38 AM

Title: Something weird happens in piCore64 (aarch64)
Post by: mortegai on November 03, 2020, 04:11:38 AM
When trying to access (e.g. to open a file) to the /tmp/tcloop directory with any application (firefox, leafpad, ...)  the error occurs:
Code: [Select]
Could not read the contents of tcloop.
Error when getting information for file "xxxxxxx". Numerical result out of range.
This does not happen in piCore (armv7)
Title: Re: Something weird happens in piCore64 (aarch64)
Post by: Juanito on November 03, 2020, 04:20:46 AM
Hmm - I'm able to open a file under /tmp/tcloop with beaver and emelfm, but not firefox..
Title: Re: Something weird happens in piCore64 (aarch64)
Post by: mortegai on November 03, 2020, 04:45:51 AM
beaver and emelfm are gtk1.
leafpad and firefox are gtk2/gtk3 applications.
...?
Title: Re: Something weird happens in piCore64 (aarch64)
Post by: Juanito on November 03, 2020, 04:55:48 AM
..and the same problem occurs with firefox in wayland/weston.
Title: Re: Something weird happens in piCore64 (aarch64)
Post by: Rich on November 03, 2020, 08:01:45 AM
Hi Juanito
There recently was some talk about a very large block size being used by squashfs tools instead of 4096. Maybe related?
If I remember correctly, it only affected aarch64.
Title: Re: Something weird happens in piCore64 (aarch64)
Post by: Rich on November 03, 2020, 09:20:38 AM
Hi Juanito
beaver and emelfm are gtk1.
leafpad and firefox are gtk2/gtk3 applications.
GTK1 uses glib1, GTK2 and 3 use glib2. I found this for glib 2.65.2 which is what aarch64 uses:
https://gitlab.gnome.org/GNOME/glib/-/issues/2189
Title: Re: Something weird happens in piCore64 (aarch64)
Post by: Rich on November 03, 2020, 09:25:59 AM
Hi mortegai
...
Code: [Select]
Could not read the contents of tcloop.
Error when getting information for file "xxxxxxx". Numerical result out of range.
...
Is that the exact error message? When I say exact, I mean word for word, punctuation, uppercase/lowercase, etc.
Title: Re: Something weird happens in piCore64 (aarch64)
Post by: mortegai on November 03, 2020, 09:53:41 AM
Yes, that is the exact message. Juanito can confirm it.
The xxxxxxx varies in different boots.
Title: Re: Something weird happens in piCore64 (aarch64)
Post by: Rich on November 03, 2020, 09:58:38 AM
Hi mortegai
OK, so the  "xxxxxxx "  is just a file name?
Title: Re: Something weird happens in piCore64 (aarch64)
Post by: mortegai on November 03, 2020, 10:04:42 AM
That's !
e.g.: /tmp/tcloop/graphics-5.4.51-piCore-v8
Title: Re: Something weird happens in piCore64 (aarch64)
Post by: Juanito on November 03, 2020, 10:18:45 AM
glib-2.66.2 fixes it - I'll upload shortly.
Title: Re: Something weird happens in piCore64 (aarch64)
Post by: Juanito on November 03, 2020, 10:29:19 AM
uploaded - well spotted Rich
Title: Re: Something weird happens in piCore64 (aarch64)
Post by: Rich on November 03, 2020, 10:31:54 AM
Hi Juanito
... well spotted Rich
Thanks. I did the easy part, you had to fix it. ;D
Title: Re: Something weird happens in piCore64 (aarch64)
Post by: mortegai on November 03, 2020, 10:41:28 AM
Confirmed, now it works properly. 
Thank you very much to both.