View Issue Details

IDProjectCategoryView StatusLast Update
0003798Far ManagerEditorpublic2020-05-26 17:43
ReporterBasyka Assigned ToDrKnS  
PriorityimmediateSeverityblockReproducibilityalways
Status closedResolutionno change required 
PlatformWindows 10 x64OS10.0.17763.2.0.0.256.1OS Version1809,b17763.1158
Product Version3.0 
Summary0003798: Editor exit causes the FAR dump and crash
DescriptionHi!
Suddenly (just today) every time I exit the native editor the whole FAR instance crashes.
FAR manager is the main working tool, especially as file manager and instant text editor.
Those crashes almost paralyze my everyday work routine. Please help investigate and fix the issue.
Thank you!

P.S. Running FAR without any plugins makes no difference. Upgrading to the freshest stable build (5561 to 5577) makes no difference.
Steps To Reproduce1. Find any non-empty plain text file, as small as you wish.
2. F4 it (open in editor).
3. Any minor activity, e.g. move the cursor to the end of the text.
4. Enjoy the red error message dialogue (attached) with its options (attached).
Additional InformationFAR manager was not actually installed from msi, but extracted from the downloaded archive, because I have no admin rights to install software.
Attached are:
the error dialogue window , the stack contents, the error message text.
The mini dump file cannot be attached - too large even compressed (over 20 MB).
Tagscrash, editor, Editor crash, win10
Build0

Activities

Basyka

2020-05-26 13:49

reporter  

20200526_FAR_err01.jpg (114,295 bytes)   
20200526_FAR_err01.jpg (114,295 bytes)   
20200526_FAR_err01_stack.jpg (144,799 bytes)   
20200526_FAR_err01_stack.jpg (144,799 bytes)   
20200526_FAR_err1.txt (636 bytes)   
Ecxeption:	0xE06D7363 - C++ exception (class far_sqlite_exception)
Details:	SQLite error 11 - [history.db] database disk image is malformed
errno:		0x00000000 - No error
LastError:	0x00000012 - ���� ������ �� �������.
NTSTATUS:	0x80000006 - {���� ��� ������}  �� ������ ������ ����, ������������� ��������� �������.
Address:	0x7FFA7AB09709 - KERNELBASE.dll!RaiseException
Source:		sqlitedb.cpp:109
Function:	`anonymous-namespace'::throw_exception
Module:		\\core-s-tsmstd01\c$\Users\gren-a-VPSilantyev\usr\FAR\Far.exe
Version:	3.0.0.5561 x64 (42d7ba5)
OS:		10.0.17763.2.0.0.256.1 (version 1809, OS build 17763.1158)
20200526_FAR_err1.txt (636 bytes)   

DrKnS

2020-05-26 13:55

administrator   bugnote:0016861

As the message says, your history.db file is malformed.
cd %FARLOCALPROFILE% and move it elsewhere, Far will re-create it.
After that you can try to recover your history from history.db if you like, using 3rd party tools.

DrKnS

2020-05-26 14:04

administrator   bugnote:0016862

P.S. It looks like you're running Far over the network, supposedly using the remote profile of Far as well. In this case SQLite can't really guarantee the proper locking during concurrent access, which is probably the root cause of the corruption.

Basyka

2020-05-26 14:17

reporter   bugnote:0016863

Hi, thanks for help!

As the message says, your history.db file is malformed.
cd %FARLOCALPROFILE% and move it elsewhere, Far will re-create it.
After that you can try to recover your history from history.db if you like, using 3rd party tools.

DrKnS
Yes, that really helped! No matter how the stuff got corrupted, I don't care too much, and the history is not a big deal.

P.S. It looks like you're running Far over the network, supposedly using the remote profile of Far as well. In this case SQLite can't really guarantee the proper locking during concurrent access, which is probably the root cause of the corruption.

DrKnS
Actually the profile is local. I wish I could use the remote profile, but I dunno (yet) how. BUT I run FAR from the full UNC path, so the executables and the libraries are all at the UNC, while the local stuff is here at the %FARLOCALPROFILE%.
Is it possible to have all the settings, history etc locally? Or have a relative (to FAR working dir) path to profile instead of the absolute one?

Thanks again! Back to life, indeed..

DrKnS

2020-05-26 14:22

administrator   bugnote:0016864

Have a look at %FARHOME%\Far.exe.example.ini and "far /?" ("-s" in particular).

Basyka

2020-05-26 15:20

reporter   bugnote:0016865

Last edited: 2020-05-26 15:22

Thanks a billion, DrKnS!
Another arse is saved.

P.S. Maybe we could close the case, or mark it solved, right? Haven't found how it should be done...

Issue History

Date Modified Username Field Change
2020-05-26 13:49 Basyka New Issue
2020-05-26 13:49 Basyka Tag Attached: crash
2020-05-26 13:49 Basyka Tag Attached: editor
2020-05-26 13:49 Basyka Tag Attached: Editor crash
2020-05-26 13:49 Basyka Tag Attached: win10
2020-05-26 13:49 Basyka File Added: 20200526_FAR_err01.jpg
2020-05-26 13:49 Basyka File Added: 20200526_FAR_err01_stack.jpg
2020-05-26 13:49 Basyka File Added: 20200526_FAR_err1.txt
2020-05-26 13:55 DrKnS Note Added: 0016861
2020-05-26 14:04 DrKnS Note Added: 0016862
2020-05-26 14:17 Basyka Note Added: 0016863
2020-05-26 14:22 DrKnS Note Added: 0016864
2020-05-26 15:20 Basyka Note Added: 0016865
2020-05-26 15:22 Basyka Note Edited: 0016865
2020-05-26 17:43 DrKnS Assigned To => DrKnS
2020-05-26 17:43 DrKnS Status new => closed
2020-05-26 17:43 DrKnS Resolution open => no change required
2020-05-26 17:43 DrKnS Build => 0