doublecmd / doublecmd

Double Commander is a free cross platform open source file manager with two panels side by side.
https://doublecmd.sourceforge.io
GNU General Public License v2.0
2.68k stars 202 forks source link

"Disk full" failure, disk not full #361

Open m5k8 opened 2 years ago

m5k8 commented 2 years ago

Hi, fresh problem here: "disk full" message on start. Disk ABSOLUTELY isn't full. "df" says so, I also tried to copy some large file to exclude some other peculiar issue. Disk just isn't full.

Filesystem                Size  Used Avail Use% Mounted on
dev                        16G     0   16G   0% /dev
run                        16G  1,7M   16G   1% /run
tmpfs                      16G   24K   16G   1% /dev/shm
/dev/nvme0n1p1            488M  117M  372M  24% /boot
/dev/nvme0n1p3             92G   75G   13G  86% /
/dev/nvme0n1p4            275G  151G  110G  58% /home
10.24.1.1:/usr/home/data  3,0T  516G  2,5T  18% /home/data.m5k8.net

Screenshot_20220220_122015

Pressing OK to ignore doesn't work, program fails to start - error message and splash screen with version disappears and nothing else happens.

doublecmr.err contents:

--------------- 20-02-2022, 10:59:26 ---------------
| DC v1.0.4 beta Rev. 84 -- x86_64-Linux-qt5
| Arch Linux -- Qt 5.15.2, libQt5Pas 5.6.1 | PID 254836
Unhandled exception: EInOutError: Disk Full
  Stack trace:
  $0000000000A524C9 line 159, column 3 of platform/unix/linux/uudisks.pas in /usr/bin/doublecmd
alexx2000 commented 2 years ago

Looks like something wrong with STDOUT.

m5k8 commented 2 years ago

Hmm... Everything else works fine, only Double Commander refuses to start, so it's really isolated case.

alexx2000 commented 2 years ago

Try to execute DC from console.

m5k8 commented 2 years ago

After rebooting the system, it stopped complaining. For short time. Now it reports "disk full" failure after some time of inactivity. It stays in background, not touched, and out of the blue after an hour or few hours, or another day, the message reappears. After closing the error message window, main window is completely unresponsive. It must be killed. Now the strange part: when starting it from system menu (Arch Linux, KDE Plasma), it compains right on the start and there's no possibility to start it. When running from console, it starts properly! Tried several times, results are consistent. But it works only for some time, then after some random time it complains again with popup message and becomes dead. Here go console messages, but it's after successful start, so maybe not of any help. Now I'll wait for any console message when error reappears.

[mk@cml ~]$ doublecmd 
SystemLocale C
SystemLanguage C
SystemEncoding UTF-8
DefaultSystemCodePage 65001
DefaultFileSystemCodePage 65001
DefaultRTLFileSystemCodePage 65001
Starting GuiMessageQueue
Starting Double Commander
Double Commander 1.0.4 beta
Revision: 84
Commit: a1d58d4dd
Build: 2022/02/05
Lazarus: 2.2.0.4
Free Pascal: 3.2.2
Platform: x86_64-Linux-qt5
System: Arch Linux
Desktop Environment: KDE
Widgetset library: Qt 5.15.2, libQt5Pas 5.6.1
This program is free software released under terms of GNU GPL 2
(C)opyright 2006-2022 Alexander Koblov (alexx2000@mail.ru)
   and contributors (see about dialog)
Executable directory: /usr/lib/doublecmd/
Loading configuration from /home/mk/.config/doublecmd/
Error loading configuration file /home/mk/.config/doublecmd/favoritetabs.xml
PollThread: Start polling
PollThread: AddPoll 14
Creating PixmapManager
Loading icon theme Breeze
Loading icon theme Hicolor
Loading icon theme DCTheme
Loading icon theme DCTheme
TColumnsFileView.Create components
Creating TFileSystemFileSource
TColumnsFileView.Create components
TColumnsFileView.Create components
UDisks: Service found running.
UDisks: Version 1.0.5
FileSystemWatcher thread starting
frmMain.frmMainShow
Saving configuration
PollThread: RemovePoll 14
PollThread: AddPoll 14
Finished Double Commander
Destroying main form
Drive watcher finished
Waiting for FileSystemWatcher thread
FileSystemWatcher thread finished
Main form destroyed
Waiting for workers thread 0000000002FFB738
Finalized workers thread   0000000002FFB738
Waiting for workers thread 0000000002FFA818
Finalized workers thread   0000000002FFA818
Destroying TFileSystemFileSource when refcount=0
Finishing GuiMessageQueue
PollThread: RemovePoll 14
PollThread: Finish polling
Shutting down PixmapManager
Warning: Skip libKF5IconThemes exit handler

I'l add that there is no other visible problem with the system, any other app works properly, and I have many of them. Looks like isolated DC trouble.

blackadderkate commented 2 years ago

I have the same issue: Disk Full error message when I have 38Gb of disk space free, but the application runs fine when run from the Konsole.

doublecmd.err file contents:

--------------- 01-03-2022, 22:31:32 ---------------
| DC v1.0.4 beta Rev. 84 -- x86_64-Linux-qt5
| Ubuntu 20.04.4 LTS -- Qt 5.12.8, libQt5Pas 5.6.1 | PID 254969
Unhandled exception: EInOutError: Disk Full
  Stack trace:
  $0000000000AE86CC line 52, column 3 of platform/unix/upollthread.pas in /usr/bin/doublecmd
  $00000000004ACD5F line 149, column 3 of include/customform.inc in /usr/bin/doublecmd
  $00000000004E30C6 line 2838, column 3 of fmain.pas in /usr/bin/doublecmd
edmundlaugasson commented 2 years ago

I can confirm that bug since 08-12-2021 I had DC v1.0.1 beta Rev. 35 -- x86_64-Linux-qt5 Now I have: Double Commander Version: 1.0.6 beta Revision: 120 Commit: b1d0f2f15 Build date: 2022/06/08 Lazarus: 2.2.2.0 FPC: 3.2.2 Platform: x86_64-Linux-qt5 OS version: EndeavourOS Linux Widgetset library: Qt 5.15.5, libQt5Pas 5.6.1

doublecmd.err file contents:

--------------- 30-08-2022, 13:35:35 ---------------
| DC v1.0.6 beta Rev. 120 -- x86_64-Linux-qt5
| EndeavourOS Linux -- Qt 5.15.5, libQt5Pas 5.6.1 | PID 12589
Unhandled exception: EInOutError: Disk Full
  Stack trace:
  $0000000000AEA7C9 line 52, column 3 of platform/unix/upollthread.pas in /usr/bin/doublecmd
  $00000000004B6917 line 77, column 3 of include/customform.inc in /usr/bin/doublecmd
  $00000000004EC896 line 2838, column 3 of fmain.pas in /usr/bin/doublecmd

--------------- 30-08-2022, 21:16:15 ---------------
| DC v1.0.6 beta Rev. 120 -- x86_64-Linux-qt5
| EndeavourOS Linux -- Qt 5.15.5, libQt5Pas 5.6.1 | PID 12589
Unhandled exception: EInOutError: Disk Full
  Stack trace:
  $0000000000AEA7C9 line 52, column 3 of platform/unix/upollthread.pas in /usr/bin/doublecmd
izll commented 1 year ago

+1

i4004 commented 9 months ago

Same issue here, latest Manjaro Linux. The problem appears only after some time of inactivity (30 minutes).

alexx2000 commented 9 months ago

It should be better with DC 1.1.9.