View Issue Details

IDProjectCategoryView StatusLast Update
0003940Far ManagerEditorpublic2022-04-30 10:28
ReporterPx Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformx64OSWindows 
Product Version3.0 
Summary0003940: Падение в редакторе при смене кодировки на UTF16BE
DescriptionСабж
Steps To Reproduce1. Открываем редактор, кодовая страница Default
2. Вводим единственную цифру 2
3. Вызываем меню смены кодировки, выбираем UTF16BE
4. Far падает
TagsNo tags attached.
Build

Activities

Px

2022-04-24 15:09

reporter  

bug_report.txt (17,924 bytes)   
��Exception: 0xC0000005 - EXCEPTION_ACCESS_VIOLATION

Details:   Memory at 01C08820 <unknown>! could not be read

errno:     0x00000000 - No error

LastError: 0x00000002 - The system cannot find the file specified.

NTSTATUS:  0xC0000034 - Object Name not found.

Address:   0016F602 - Far.exe!Editor::TryCodePage

Function:  main

Source:    C:\projects\FarManager\far\editor.cpp(6738)

File:      C:\Storage\Far.x86.3.0.5965.2771.5d19f033b140d26787bec80359e1bdb573678758\Far.exe

Plugin:    

Far:       3.0.5965.0 x86 (5d19f03)

OS:        6.1.7601.2.1.0.256.1

Kernel:    6.1.7601.25920 (win7sp1_ldr_escrow.220316-1740)



----------------------------------------------------------------------

Registers

----------------------------------------------------------------------

EAX = 00CBC760

EBX = 0045E5D8

ECX = 0045E550

EDX = 0045E4DC

ESI = 0028F960

EDI = 0028F8E0

EIP = 00FDF602

ESP = 0045E4F0

EBP = 0045E520

EFL = 00010297



----------------------------------------------------------------------

Exception stack

----------------------------------------------------------------------

0016F602 Far.exe!Editor::TryCodePage (C:\projects\FarManager\far\editor.cpp(6738))

001999D0 Far.exe!FileEditor::SetCodePage (C:\projects\FarManager\far\fileedit.cpp(2786))

00193744 Far.exe!FileEditor::SetCodePageEx (C:\projects\FarManager\far\fileedit.cpp(1459))

00192F33 Far.exe!FileEditor::ReProcessKey (C:\projects\FarManager\far\fileedit.cpp(1350))

00192030 Far.exe!FileEditor::ProcessKey (C:\projects\FarManager\far\fileedit.cpp(923))

00254FC7 Far.exe!Manager::ProcessKey (C:\projects\FarManager\far\manager.cpp(796))

0025475D Far.exe!Manager::ProcessMainLoop (C:\projects\FarManager\far\manager.cpp(634))

0025455E Far.exe!Manager::EnterMainLoop (C:\projects\FarManager\far\manager.cpp(611))

0024E0EC Far.exe!MainProcess (C:\projects\FarManager\far\main.cpp(319))

0025170C Far.exe!_Closure_wrapper_09d3841d_4::<lambda_invoker_cdecl> (C:\projects\FarManager\far\common\function_ref.hpp(51))

001830D7 Far.exe!detail::cpp_try (C:\projects\FarManager\far\exception_handler.cpp(1286))

00250CB4 Far.exe!cpp_try<`mainImpl'::`2'::<lambda_4>,`mainImpl'::`2'::<lambda_5>,`mainImpl'::`2'::<lambda_6> > (C:\projects\FarManager\far\exception_handler.hpp(185))

00250837 Far.exe!mainImpl (C:\projects\FarManager\far\main.cpp(809))

00250E80 Far.exe!`wmain_seh'::`2'::<lambda_1>::operator() (C:\projects\FarManager\far\main.cpp(877))

0025178F Far.exe!_Closure_wrapper_09d3841d_9::<lambda_invoker_cdecl> (C:\projects\FarManager\far\common\function_ref.hpp(51))

001830D7 Far.exe!detail::cpp_try (C:\projects\FarManager\far\exception_handler.cpp(1286))

00250FD4 Far.exe!cpp_try<`wmain_seh'::`2'::<lambda_1>,`wmain_seh'::`2'::<lambda_2>,`wmain_seh'::`2'::<lambda_3> > (C:\projects\FarManager\far\exception_handler.hpp(185))

0025188E Far.exe!_Closure_wrapper_09d3841d_11::<lambda_invoker_cdecl> (C:\projects\FarManager\far\common\function_ref.hpp(51))

00183170 Far.exe!detail::seh_try (C:\projects\FarManager\far\exception_handler.cpp(1305))

0025108C Far.exe!main (C:\projects\FarManager\far\main.cpp(898))

003276E5 Far.exe!__scrt_common_main_seh (d:\a01\_work\11\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(288))

0001344D kernel32.dll!<unknown> (get the pdb)

00039722 ntdll.dll!<unknown> (get the pdb)

000396F5 ntdll.dll!<unknown> (get the pdb)



----------------------------------------------------------------------

Exception handler stack

----------------------------------------------------------------------

0017E3BC Far.exe!get_backtrace (C:\projects\FarManager\far\exception_handler.cpp(171))

0017F418 Far.exe!collect_information (C:\projects\FarManager\far\exception_handler.cpp(387))

001807A8 Far.exe!ShowExceptionUI (C:\projects\FarManager\far\exception_handler.cpp(594))

001819DA Far.exe!handle_generic_exception (C:\projects\FarManager\far\exception_handler.cpp(869))

00182890 Far.exe!handle_seh_exception (C:\projects\FarManager\far\exception_handler.cpp(1092))

00183379 Far.exe!detail::seh_filter (C:\projects\FarManager\far\exception_handler.cpp(1352))

0025193D Far.exe!_Closure_wrapper_09d3841d_12::<lambda_invoker_cdecl> (C:\projects\FarManager\far\common\function_ref.hpp(51))

001831A0 Far.exe!detail::seh_try (C:\projects\FarManager\far\exception_handler.cpp(1307))

0025108C Far.exe!main (C:\projects\FarManager\far\main.cpp(898))

003276E5 Far.exe!__scrt_common_main_seh (d:\a01\_work\11\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(288))

0001344D kernel32.dll!<unknown> (get the pdb)

00039722 ntdll.dll!<unknown> (get the pdb)

000396F5 ntdll.dll!<unknown> (get the pdb)



----------------------------------------------------------------------

Modules

----------------------------------------------------------------------

C:\Storage\Far.x86.3.0.5965.2771.5d19f033b140d26787bec80359e1bdb573678758\Far.exe 3.0.5965.0 x86

C:\Windows\SysWOW64\ntdll.dll 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Windows\syswow64\kernel32.dll 6.1.7601.25769 (win7sp1_ldr_escrow.211102-0226)

C:\Windows\syswow64\KERNELBASE.dll 6.1.7601.25769 (win7sp1_ldr_escrow.211102-0226)

C:\Windows\syswow64\ADVAPI32.dll 6.1.7601.25920 (win7sp1_ldr_escrow.220316-1740)

C:\Windows\syswow64\msvcrt.dll 7.0.7601.23403 (win7sp1_ldr.160325-0600)

C:\Windows\SysWOW64\sechost.dll 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Windows\syswow64\RPCRT4.dll 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Windows\syswow64\SspiCli.dll 6.1.7601.25920 (win7sp1_ldr_escrow.220316-1740)

C:\Windows\syswow64\CRYPTBASE.dll 6.1.7601.25920 (win7sp1_ldr_escrow.220316-1740)

C:\Windows\syswow64\USER32.dll 6.1.7601.23403 (win7sp1_ldr.160325-0600)

C:\Windows\syswow64\GDI32.dll 6.1.7601.25822 (win7sp1_ldr_escrow.211213-1720)

C:\Windows\syswow64\LPK.dll 6.1.7601.25682 (win7sp1_ldr_escrow.210712-1746)

C:\Windows\syswow64\USP10.dll 1.0626.7601.25734 (win7sp1_ldr_escrow.210913-1723)

C:\Windows\syswow64\SHELL32.dll 6.1.7601.23403 (win7sp1_ldr.160325-0600)

C:\Windows\syswow64\SHLWAPI.dll 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Windows\syswow64\NETAPI32.dll 6.1.7601.25918 (win7sp1_ldr_escrow.220307-1724)

C:\Windows\syswow64\netutils.dll 6.1.7601.17514 (win7sp1_rtm.101119-1850)

C:\Windows\syswow64\srvcli.dll 6.1.7601.25918 (win7sp1_ldr_escrow.220307-1724)

C:\Windows\syswow64\wkscli.dll 6.1.7601.25918 (win7sp1_ldr_escrow.220307-1724)

C:\Windows\syswow64\bcrypt.dll 6.1.7601.25920 (win7sp1_ldr_escrow.220316-1740)

C:\Windows\system32\SAMCLI.DLL 6.1.7601.17514 (win7sp1_rtm.101119-1850)

C:\Windows\system32\WINSPOOL.DRV 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Windows\system32\MPR.dll 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Windows\syswow64\ole32.dll 6.1.7601.25888 (win7sp1_ldr_escrow.220209-1744)

C:\Windows\syswow64\PSAPI.DLL 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Windows\system32\Secur32.dll 6.1.7601.25920 (win7sp1_ldr_escrow.220316-1740)

C:\Windows\syswow64\SETUPAPI.dll 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Windows\syswow64\CFGMGR32.dll 6.1.7601.23403 (win7sp1_ldr.160325-0600)

C:\Windows\syswow64\OLEAUT32.dll 6.1.7601.24596

C:\Windows\syswow64\DEVOBJ.dll 6.1.7601.23403 (win7sp1_ldr.160325-0600)

C:\Windows\system32\VERSION.dll 6.1.7601.23403 (win7sp1_ldr.160325-0600)

C:\Windows\syswow64\USERENV.dll 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Windows\syswow64\profapi.dll 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Windows\syswow64\COMDLG32.dll 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.24483_none_2b200f664577e14b\COMCTL32.dll 6.10 (win7_rtm.090713-1255)

C:\Windows\system32\IMM32.DLL 6.1.7601.23403 (win7sp1_ldr.160325-0600)

C:\Windows\syswow64\MSCTF.dll 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Windows\system32\api-ms-win-core-synch-l1-2-0.DLL 10.0.14393.2990 (rs1_release_1.190410-1803)

C:\Windows\system32\uxtheme.dll 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Program Files (x86)\Common Files\microsoft shared\ink\tiptsf.dll 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Windows\system32\dwmapi.dll 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Windows\syswow64\CLBCatQ.DLL 2001.12.8531.23403 (win7sp1_ldr.160325-0600)

C:\Windows\system32\CRYPTSP.dll 6.1.7601.24499 (win7sp1_ldr.190612-0600)

C:\Windows\system32\rsaenh.dll 6.1.7601.25623 (win7sp1_ldr.210503-1700)

C:\Windows\system32\RpcRtRemote.dll 6.1.7601.17514 (win7sp1_rtm.101119-1850)

C:\Windows\system32\explorerframe.dll 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Windows\system32\DUser.dll 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Windows\system32\DUI70.dll 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Windows\SysWOW64\actxprxy.dll 6.1.7601.24000 (win7sp1_ldr.171231-1547)

C:\Windows\system32\c_is2022.dll 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Windows\system32\c_g18030.dll 6.1.7600.16385 (win7_rtm.090713-1255)

C:\Windows\system32\c_iscii.dll 6.1.7601.17514 (win7sp1_rtm.101119-1850)

C:\Windows\system32\dbghelp.DLL 6.1.7601.17514 (win7sp1_rtm.101119-1850)

bug_report.txt (17,924 bytes)   
far.mdmp (53,916 bytes)

shmuel

2022-04-24 15:30

developer   bugnote:0017319

У меня (3.0.5965 x86 Win10) не падает, а выводит окошко:
The "踀" character is not supported by the selected code page
                       1201: Unknown
                         Continue?
────────────────────────────────────────────────────────────
                 { Cancel } [ Show ] [ OK ]

Px

2022-04-30 10:28

reporter   bugnote:0017322

5966 ok

Issue History

Date Modified Username Field Change
2022-04-24 15:09 Px New Issue
2022-04-24 15:09 Px File Added: bug_report.txt
2022-04-24 15:09 Px File Added: far.mdmp
2022-04-24 15:30 shmuel Note Added: 0017319
2022-04-30 10:28 Px Note Added: 0017322