Strange occurence with File Managers

Message
Author
Charlie Brown

Re: Strange occurence with File Managers

#11 Post by Charlie Brown »

ceejayemm wrote: Tue Mar 26, 2024 6:30 am... 'Segmentation Fault'. Clue ?..
It may be a failing Ram.

Run Mem-Test on live session. (or select on Grub)

User avatar
CharlesV
Global Moderator
Posts: 7333
Joined: Sun Jul 07, 2019 5:11 pm

Re: Strange occurence with File Managers

#12 Post by CharlesV »

I think I would try the following approach using your OLD/Documents idea.

First via terminal, move all /Documents to that old folder (or a /Documents/BAD folder.

Then, *copy* files from the BAD folder back into the /Documents - but in segments. Say all the docs starting with a~g.
Test thunar / Dolphin in /Documents.
If it is ok, then copy h~l and retest.

If it is NOT ok (or .. WHEN its not ok. Look back into the segment you copied in and delete segments using just one letter until they work. Example, if you just copied in h~l and it stopped working, then delete all the l* files and retest. If thunar still locks, then delete all the k* files

Continue this process until you find what segment is stopping you. Then once you have the segment, look AT that segment and doing the same thing ( delete ha* or hg* etc.. until you find that file that is causing this.

Going to be a process, but you can / should be able to find out what the heck is causing this.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
CharlesV
Global Moderator
Posts: 7333
Joined: Sun Jul 07, 2019 5:11 pm

Re: Strange occurence with File Managers

#13 Post by CharlesV »

Another thought.. most all of these programs your mentioning have thumbnail previews... what if you turned off thumbnails in Thunar, logged out and then back in and tested? Possibly a corrupt thumbnail cache?
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

ceejayemm
Posts: 26
Joined: Sun Jul 31, 2022 5:06 am

Re: Strange occurence with File Managers

#14 Post by ceejayemm »

Hi

Full Memtest ran on each machine with no errors or either machine.

Tried turning off Thumbnail previews, not sure if I did this correctly, but made no difference.

On my XFCE laptop, I deleted the original Documents and Downloads folders and recreated new empty file sin their place. Then I copied the files from the OLD copies back to the new folders in groups of one letter at a time via the CLI but with Thunar open at the same time.

eg

cp -rv OLD/Documents/a* /home/ceejayemm/Documents
cp -rv OLD/Documents/b* /home/ceejayemm/Documents
.
.
cp -rv OLD/Documents/z* /home/ceejayemm/Documents

and

cp -rv OLD/Documents/A* /home/ceejayemm/Documents
.
.
cp -rv OLD/Documents/Z* /home/ceejayemm/Documents

Not forgetting those files starting with numbers. I repeated the same exercise for the OLD/Downloads to /home/ceejayemm/Downloads too.

Only one file caused a problem and I deleted that file for the time being. I can now access files in the Documents and Downloads folders via Thunar generally. The exception is if I search for file, eg *.txt, in the Downloads folder via the Thunar search bar. As soon as I type ANY text into the Thunar search bar, then Thunar closes with no error message. If I try to access (double click) any file from the list of files in the Download folder then I can open that file without any error - which is a step forward from my original experience. I am beginning to wonder if this is a problem with Thunar rather than a problem with the storage of the files ?

I have not as yet done the same exercise on my desktop KDE system.

Chris

User avatar
CharlesV
Global Moderator
Posts: 7333
Joined: Sun Jul 07, 2019 5:11 pm

Re: Strange occurence with File Managers

#15 Post by CharlesV »

Making progress! Excellent!

In your previous post you mentioned you had tried more FM's, so I am not convinced it is a Thunar issue - however, you have have more than one issue here. Since it sounds like you can now navigate, I would clear all application caches again (mx cleanup) , reboot and see if that thunar search issue is gone. (I know I have run into cache issues there before.)
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

ceejayemm
Posts: 26
Joined: Sun Jul 31, 2022 5:06 am

Re: Strange occurence with File Managers

#16 Post by ceejayemm »

Hi

Browsing the internet for Thunar and Segmentation Fault raises a lot of hits (many old) . One of them suggested trying 'sudo thunar' which I realise could be dangerous. I tried it purely as an experiment and hey presto searches works and no segmentation faults. I won't be doing it again though unless somebody with more experience that me says its ok. Does it give a further clue to this issue ?

Chris

User avatar
CharlesV
Global Moderator
Posts: 7333
Joined: Sun Jul 07, 2019 5:11 pm

Re: Strange occurence with File Managers

#17 Post by CharlesV »

yeah, thats not ok as it moves you into an root instance. I would suspect the fact that it works there is because your in a different profile when you do this.

So.. cache, or some other underlying issue is at play in *your* profile.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
FullScale4Me
Posts: 1076
Joined: Fri Jan 08, 2021 11:30 pm

Re: Strange occurence with File Managers

#18 Post by FullScale4Me »

Does the Dolphin Flatpack behave the same way?
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10

ceejayemm
Posts: 26
Joined: Sun Jul 31, 2022 5:06 am

Re: Strange occurence with File Managers

#19 Post by ceejayemm »

Hi

Interesting. On my KDE desktop the default version of Dolphin is 22.12.3, after installing the FlatPak version this is shown as 23.08.4. The FlatPak version, so far, shows no problems with the Documents or Downloads folder where the default version does.

ceejayemm
Posts: 26
Joined: Sun Jul 31, 2022 5:06 am

Re: Strange occurence with File Managers

#20 Post by ceejayemm »

Ok, I am back to this - and its driving me nuts.

I have had some spare time over the last few days and took the opportunity to rebuild my desktop KDE Plasma system using the latest MX Linux 23.2 ISO as well switching the system disk to an SSD (was an NVME drive) and file system to btrfs (was EXT4). I applied all the suggested Package Manager updates and before doing anything else, other than restoring my data in the HOME folders, I opened Dolphin (the default version from the new installation) to look at the newly restored Downloads folder - and behold I was back to where I started this issue. Opening the Downloads folder in Doiphin immediately closed the file manager. So no progress there.

On my XFCE laptop, which as I have noted previously has the same issues as the KDE / Plasma / Dolphin machine, I am able to use SpaceFM to look at the Downloads folder on there BUT I cannot open the Downloads folder with Thunar.

It turns out that i have, over time, inadvertently duplicated a folder (and there may be others) on both machines. This folder was independently created on each machine, so no copies of data between the two computers for this folder structure. So I have (viewed from a terminal session):

$ ls -lrt ~/Downloads/webspace
total 8
-rwxr-xr-x 1 ceejayemm ceejayemm 92 Mar 27 10:47 index.shtml
drwxr-xr-x 5 ceejayemm ceejayemm 4096 Mar 27 10:47 Geoff

ceejayemm@cmlaptop1:~/Downloads/webspace
$ ls -lrt ~/Downloads/webspace/Geoff
total 436
-rwxr-xr-x 1 ceejayemm ceejayemm 185 Mar 27 10:47 tree.json
-rwxr-xr-x 1 ceejayemm ceejayemm 44 Mar 27 10:47 robots.txt
-rwxr-xr-x 1 ceejayemm ceejayemm 2403 Mar 27 10:47 manifest.jmf
-rwxr-xr-x 1 ceejayemm ceejayemm 13254 Mar 27 10:47 lifeboat.zip
-rwxr-xr-x 1 ceejayemm ceejayemm 7816 Mar 27 10:47 index.html
-rwxr-xr-x 1 ceejayemm ceejayemm 6955 Mar 27 10:47 index7.html
-rwxr-xr-x 1 ceejayemm ceejayemm 8250 Mar 27 10:47 index6.html
-rwxr-xr-x 1 ceejayemm ceejayemm 8253 Mar 27 10:47 index5.html
-rwxr-xr-x 1 ceejayemm ceejayemm 8250 Mar 27 10:47 index4.html
-rwxr-xr-x 1 ceejayemm ceejayemm 8250 Mar 27 10:47 index3.html
-rwxr-xr-x 1 ceejayemm ceejayemm 8249 Mar 27 10:47 index2.html
-rwxr-xr-x 1 ceejayemm ceejayemm 481 Mar 27 10:47 humans.txt
-rwxr-xr-x 1 ceejayemm ceejayemm 47362 Mar 27 10:47 folderthumb.jpg
-rwxr-xr-x 1 ceejayemm ceejayemm 134327 Mar 27 10:47 folderimage.jpg
-rwxr-xr-x 1 ceejayemm ceejayemm 58269 Mar 27 10:47 data1.json
-rwxr-xr-x 1 ceejayemm ceejayemm 77238 Mar 27 10:47 album.rss
drwxr-xr-x 3 ceejayemm ceejayemm 4096 Mar 27 10:47 res
drwxr-xr-x 2 ceejayemm ceejayemm 4096 Mar 27 10:47 slides
drwxr-xr-x 2 ceejayemm ceejayemm 4096 Mar 27 10:47 thumbs

$ ls ~/Downloads/webspace/Geoff/thumbs
AS00209_1.jpg AS00216_1.jpg AS00222_3.jpg AS00230_1.jpg AS00234_2.jpg AS00239_3.jpg
AS00209_2.jpg AS00216_2.jpg AS00223_1.jpg AS00230_2.jpg AS00234_3.jpg AS00239_4.jpg
AS00209_3.jpg AS00216_3.jpg AS00223_2.jpg AS00230_3.jpg AS00235_1.jpg AS00239_5.jpg
AS00210_1.jpg AS00216_4.jpg AS00223_3.jpg AS00231_10.jpg AS00235_2.jpg AS00239_6.jpg
AS00210_2.jpg AS00217_1.jpg AS00224_1.jpg AS00231_1.jpg AS00235_3.jpg AS00239_7.jpg
AS00210_3.jpg AS00217_2.jpg AS00224_2.jpg AS00231_2.jpg AS00236_1.jpg AS00239_8.jpg
AS00211_1.jpg AS00217_3.jpg AS00224_3.jpg AS00231_3.jpg AS00236_2.jpg AS00239_9.jpg
AS00211_2.jpg AS00217_4.jpg AS00225_1.jpg AS00231_4.jpg AS00236_3.jpg AS00241_1.jpg
AS00211_3.jpg AS00218_1.jpg AS00225_2.jpg AS00231_5.jpg AS00237_1.jpg AS00241_2.jpg
AS00212_1.jpg AS00218_2.jpg AS00225_3.jpg AS00231_6.jpg AS00237_2.jpg AS00242_1.jpg
as00212_2.jpg AS00218_3.jpg AS00226_1.jpg AS00231_7.jpg AS00237_3.jpg AS00242_2.jpg
AS00212_3.jpg AS00218_4.jpg AS00226_2.jpg AS00231_8.jpg AS00238_10.jpg AS00243_1.jpg
AS00213_1.jpg AS00219_1.jpg AS00226_3.jpg AS00231_9.jpg AS00238_1.jpg AS00243_2.jpg
AS00213_2.jpg AS00219_2.jpg AS00227_1.jpg AS00232_1.jpg AS00238_2.jpg AS00244_1.jpg
AS00213_3.jpg AS00219_3.jpg AS00227_2.jpg AS00232_2.jpg AS00238_3.jpg AS00244_2.jpg
AS00214_1.jpg AS00220_1.jpg AS00227_3.jpg AS00232_3.jpg AS00238_4.jpg AS00245_1.jpg
AS00214_2.jpg AS00220_2.jpg AS00228_1.jpg AS00232_4.jpg AS00238_5.jpg AS00245_2.jpg
AS00214_3.jpg AS00220_3.jpg AS00228_2.jpg AS00232_5.jpg AS00238_6.jpg AS00246_1.jpg
AS00214_4.jpg AS00221_1.jpg AS00228_3.jpg AS00232_6.jpg AS00238_7.jpg AS00246_2.jpg
AS00215_1.jpg AS00221_2.jpg AS00229_1.jpg AS00233_1.jpg AS00238_8.jpg AS00247_1.jpg
AS00215_2.jpg AS00221_3.jpg AS00229_2.jpg AS00233_2.jpg AS00238_9.jpg
AS00215_3.jpg AS00222_1.jpg AS00229_3.jpg AS00233_3.jpg AS00239_1.jpg
AS00215_4.jpg AS00222_2.jpg AS00229_4.jpg AS00234_1.jpg AS00239_2.jpg

$ ls ~/Downloads/webspace/Geoff/slides
AS00209_1.jpg AS00216_1.jpg AS00222_3.jpg AS00230_1.jpg AS00234_2.jpg AS00239_3.jpg
AS00209_2.jpg AS00216_2.jpg AS00223_1.jpg AS00230_2.jpg AS00234_3.jpg AS00239_4.jpg
AS00209_3.jpg AS00216_3.jpg AS00223_2.jpg AS00230_3.jpg AS00235_1.jpg AS00239_5.jpg
AS00210_1.jpg AS00216_4.jpg AS00223_3.jpg AS00231_10.jpg AS00235_2.jpg AS00239_6.jpg
AS00210_2.jpg AS00217_1.jpg AS00224_1.jpg AS00231_1.jpg AS00235_3.jpg AS00239_7.jpg
AS00210_3.jpg AS00217_2.jpg AS00224_2.jpg AS00231_2.jpg AS00236_1.jpg AS00239_8.jpg
AS00211_1.jpg AS00217_3.jpg AS00224_3.jpg AS00231_3.jpg AS00236_2.jpg AS00239_9.jpg
AS00211_2.jpg AS00217_4.jpg AS00225_1.jpg AS00231_4.jpg AS00236_3.jpg AS00241_1.jpg
AS00211_3.jpg AS00218_1.jpg AS00225_2.jpg AS00231_5.jpg AS00237_1.jpg AS00241_2.jpg
AS00212_1.jpg AS00218_2.jpg AS00225_3.jpg AS00231_6.jpg AS00237_2.jpg AS00242_1.jpg
as00212_2.jpg AS00218_3.jpg AS00226_1.jpg AS00231_7.jpg AS00237_3.jpg AS00242_2.jpg
AS00212_3.jpg AS00218_4.jpg AS00226_2.jpg AS00231_8.jpg AS00238_10.jpg AS00243_1.jpg
AS00213_1.jpg AS00219_1.jpg AS00226_3.jpg AS00231_9.jpg AS00238_1.jpg AS00243_2.jpg
AS00213_2.jpg AS00219_2.jpg AS00227_1.jpg AS00232_1.jpg AS00238_2.jpg AS00244_1.jpg
AS00213_3.jpg AS00219_3.jpg AS00227_2.jpg AS00232_2.jpg AS00238_3.jpg AS00244_2.jpg
AS00214_1.jpg AS00220_1.jpg AS00227_3.jpg AS00232_3.jpg AS00238_4.jpg AS00245_1.jpg
AS00214_2.jpg AS00220_2.jpg AS00228_1.jpg AS00232_4.jpg AS00238_5.jpg AS00245_2.jpg
AS00214_3.jpg AS00220_3.jpg AS00228_2.jpg AS00232_5.jpg AS00238_6.jpg AS00246_1.jpg
AS00214_4.jpg AS00221_1.jpg AS00228_3.jpg AS00232_6.jpg AS00238_7.jpg AS00246_2.jpg
AS00215_1.jpg AS00221_2.jpg AS00229_1.jpg AS00233_1.jpg AS00238_8.jpg AS00247_1.jpg
AS00215_2.jpg AS00221_3.jpg AS00229_2.jpg AS00233_2.jpg AS00238_9.jpg
AS00215_3.jpg AS00222_1.jpg AS00229_3.jpg AS00233_3.jpg AS00239_1.jpg
AS00215_4.jpg AS00222_2.jpg AS00229_4.jpg AS00234_1.jpg AS00239_2.jpg

If I use Thunar / Dolphin to open ~/Downloads/webspace this succeeds BUT if I then use Thunar / Dolphin to look at ~/Downloads/webspace/Geoff (or any of its subfolders) the file manager closes with the 'Segmentation Fault' error. On the laptop if I use SpaceFM this can successfully show any/all of these folders/subfolders.

It would appear that Thunar / Dolphin has some sort of problem with the number of folder/files in the folder tree. Too many and they fail. I haven't as yet spent any time trying to determine what might constitute 'too many'. This has only started happening recently as I have been using Thunar/Dolphin successfully for a number of months with no hint of this kind of problem. Has an upgraded Thunar / Dolphin been released recently via the MX Updater facility as I do tend to apply these regularly ? Also, as noted above, the FlatPak version (v23.08.4) of Dolphin on my KDE/Plasma system doesn't seem to have these problems and there now appears to be an even later version in Package Manager FlatPaks (24.03.1) but I haven't tried this one yet. Is it OK to run the FlatPak version of Dolphin on my XFCE laptop ?

I would really like to get to the bottom of this issue. I just don't know where to go next.

Any help most gratefully received.

Chris

Post Reply

Return to “General”