View Issue Details

IDProjectCategoryView StatusLast Update
0003808Far ManagerDrive Menupublic2020-06-27 20:02
Reporterpepak Assigned ToDrKnS  
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformx64OSWindows 
Product Version3.0 
Fixed in Version3.0 
Summary0003808: Build 5627 crash in disk menu with CD drive
DescriptionIn build 5627, FAR will crash when opening a disk menu on my computer. This happens in the official build as well as in mine, even with a clean profile.

After compiling a debug build, it became apparent that there's a problem with reading information about the optical drive (see the attached crash dump).

I was able to isolate the issue to commit 0c6f044b0abb703c06f0ce8fccc7b21fd61e633c. If I checkout the latest commit (0cbb7388579276bcaafdd60ca66c8de2c88a8005) and revert 0c6f044b0abb703c06f0ce8fccc7b21fd61e633c, the crash disappears. Unfortunately, it's such a huge commit :-(.
Steps To Reproduce1) Install FAR 5627, delete all custom plugins and all profiles, run it.
2) Press ALT+F1 or ALT+F2.
Additional InformationCrash dump from my compile:

Exception: 0xC0000005 - EXCEPTION_ACCESS_VIOLATION
Details: Memory at 0000150038030000 could not be read
errno: 0x00000000 - No error
LastError: 0x00000000 - Operace byla dokončena úspěšně.
NTSTATUS: 0x00000000 - STATUS_SUCCESS
Address: 0x000B80CD - Far.exe!capatibilities_from_scsi_configuration
Function: main
Source: D:\Tmp\FarManager\far\cddrv.cpp:256
Plugin: D:\Tmp\FarManager\far\Release.64.vc\Far.exe
File:
Far: 3.0.0.5627 (Private) x64 (0cbb738)
OS: 10.0.19041.2.0.0.256.1 (version 2004, OS build 19041.264)

0x000B80CD Far.exe!capatibilities_from_scsi_configuration (D:\Tmp\FarManager\far\cddrv.cpp:256)
0x000B91BD Far.exe!get_cdrom_type (D:\Tmp\FarManager\far\cddrv.cpp:467)
0x0016D6EA Far.exe!ChangeDiskMenu (D:\Tmp\FarManager\far\diskmenu.cpp:760)
0x001709E7 Far.exe!ChangeDisk (D:\Tmp\FarManager\far\diskmenu.cpp:1390)
0x002123DC Far.exe!FilePanels::ProcessKey (D:\Tmp\FarManager\far\filepanels.cpp:639)
0x0029A232 Far.exe!Manager::ProcessKey (D:\Tmp\FarManager\far\manager.cpp:816)
0x00299BD2 Far.exe!Manager::ProcessMainLoop (D:\Tmp\FarManager\far\manager.cpp:647)
0x002999C6 Far.exe!Manager::EnterMainLoop (D:\Tmp\FarManager\far\manager.cpp:617)
0x002917BA Far.exe!MainProcess (D:\Tmp\FarManager\far\main.cpp:313)
0x0029584C Far.exe!mainImpl (D:\Tmp\FarManager\far\main.cpp:752)
0x00295D90 Far.exe!wmain_seh (D:\Tmp\FarManager\far\main.cpp:786)
0x00295EA7 Far.exe!<lambda_3b7a6e5cc46b70dbf1758f2eaa2e21b0>::operator() (D:\Tmp\FarManager\far\main.cpp:822)
0x00295EEE Far.exe!seh_invoke<<lambda_3b7a6e5cc46b70dbf1758f2eaa2e21b0>,<lambda_8ecd9dd10f7547fbd026599253321717>,<lambda_5d6335d49d004c35b8eb65a77033f087> > (D:\Tmp\FarManager\far\exception_handler.hpp:88)
0x00295E66 Far.exe!main (D:\Tmp\FarManager\far\main.cpp:829)
0x0037C9C0 Far.exe!__scrt_common_main_seh (d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
0x00016FD4 KERNEL32.DLL!BaseThreadInitThunk
0x0004CEC1 ntdll.dll!RtlUserThreadStart
TagsNo tags attached.
Build5628

Activities

pepak

2020-06-27 07:50

reporter  

far.txt (2,020 bytes)   
Exception:  0xC0000005 - EXCEPTION_ACCESS_VIOLATION
Details:    Memory at 0000150038030000 could not be read
errno:      0x00000000 - No error
LastError:  0x00000000 - Operace byla dokon�ena �sp�n�.
NTSTATUS:   0x00000000 - STATUS_SUCCESS
Address:    0x000B80CD - Far.exe!capatibilities_from_scsi_configuration
Function:   main
Source:     D:\Tmp\FarManager\far\cddrv.cpp:256
Plugin:     D:\Tmp\FarManager\far\Release.64.vc\Far.exe
File:       
Far:        3.0.0.5627 (Private) x64 (0cbb738)
OS:         10.0.19041.2.0.0.256.1 (version 2004, OS build 19041.264)

0x000B80CD Far.exe!capatibilities_from_scsi_configuration (D:\Tmp\FarManager\far\cddrv.cpp:256)
0x000B91BD Far.exe!get_cdrom_type (D:\Tmp\FarManager\far\cddrv.cpp:467)
0x0016D6EA Far.exe!ChangeDiskMenu (D:\Tmp\FarManager\far\diskmenu.cpp:760)
0x001709E7 Far.exe!ChangeDisk (D:\Tmp\FarManager\far\diskmenu.cpp:1390)
0x002123DC Far.exe!FilePanels::ProcessKey (D:\Tmp\FarManager\far\filepanels.cpp:639)
0x0029A232 Far.exe!Manager::ProcessKey (D:\Tmp\FarManager\far\manager.cpp:816)
0x00299BD2 Far.exe!Manager::ProcessMainLoop (D:\Tmp\FarManager\far\manager.cpp:647)
0x002999C6 Far.exe!Manager::EnterMainLoop (D:\Tmp\FarManager\far\manager.cpp:617)
0x002917BA Far.exe!MainProcess (D:\Tmp\FarManager\far\main.cpp:313)
0x0029584C Far.exe!mainImpl (D:\Tmp\FarManager\far\main.cpp:752)
0x00295D90 Far.exe!wmain_seh (D:\Tmp\FarManager\far\main.cpp:786)
0x00295EA7 Far.exe!<lambda_3b7a6e5cc46b70dbf1758f2eaa2e21b0>::operator() (D:\Tmp\FarManager\far\main.cpp:822)
0x00295EEE Far.exe!seh_invoke<<lambda_3b7a6e5cc46b70dbf1758f2eaa2e21b0>,<lambda_8ecd9dd10f7547fbd026599253321717>,<lambda_5d6335d49d004c35b8eb65a77033f087> > (D:\Tmp\FarManager\far\exception_handler.hpp:88)
0x00295E66 Far.exe!main (D:\Tmp\FarManager\far\main.cpp:829)
0x0037C9C0 Far.exe!__scrt_common_main_seh (d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
0x00016FD4 KERNEL32.DLL!BaseThreadInitThunk
0x0004CEC1 ntdll.dll!RtlUserThreadStart
far.txt (2,020 bytes)   

Issue History

Date Modified Username Field Change
2020-06-27 07:50 pepak New Issue
2020-06-27 07:50 pepak File Added: far.txt
2020-06-27 20:02 DrKnS Assigned To => DrKnS
2020-06-27 20:02 DrKnS Status new => closed
2020-06-27 20:02 DrKnS Resolution open => fixed
2020-06-27 20:02 DrKnS Fixed in Version => 3.0
2020-06-27 20:02 DrKnS Build => 5628