Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows APPCRASH on opening Project Directory containing a broken symbolic link (to some missing file) #14148

Open
core-ai-bot opened this issue Aug 31, 2021 · 1 comment

Comments

@core-ai-bot
Copy link
Member

Issue by humble-poser
Friday Jan 12, 2018 at 13:30 GMT
Originally opened as adobe/brackets#14035


Description

Brackets crashes on listing the symbolic links to missing files.
The problem happens when you "Open Directory..." or use Recent Project containing such broken symlinks (targeting some missing or unavailable files).

Steps to Reproduce

  1. create folders "d:\source" and "d:\project"
  2. create empty text file "d:\source\test.htm"
  3. create symbolic link to "d:\source\test.htm"
  4. put this link to "d:\project" with the name "symlink-to-test.htm"
    command: mklink "d:\project\symlink-to-test.htm" "d:\source\test.htm"
  5. run Brackets, File> Open Directory (Ctrl+Alt+O) > "d:\project"
  6. Brackets shows the list of files in "d:\project" and runs as usual

normal

  1. now close Brackets
  2. delete or rename the linked file "d:\source\test.htm"
    the symlink (symlink-to-test.htm) becomes broken
  3. run Brackets again
  4. Brackets tries to open the last project directory
    and crashes on encountering "symlink-to-test.htm" (symlink with missing target)
    showing Windows APPCRASH error

appcrash

There is nothing you can do. Brackets crashes on each restart. The only way to brake this cycle is to
delete "symlink-to-test.htm" or rename the project folder (so that Brackets won't find "symlink-to-test.htm").

This behavior is not normal. The program should not crash on listing the corrupted symbolic link. It can show some notification allowing the user to remove the symbolic link or to skip reading this file.

Versions

Windows 7 x64, NTFS volume

Brackets
sprint 11 build 1.11.0-17524 (release 86b5e2d4e)
build timestamp: Wed Sep 20 2017 11:49:15 GMT+0100

APPCRASH details:

Version=1
EventType=APPCRASH
EventTime=131602366783992000
ReportType=2
Consent=1
ReportIdentifier=0165fc71-f79b-11e7-9c9c-001bfcbd813d
IntegratorReportIdentifier=0165fc70-f79b-11e7-9c9c-001bfcbd813d
WOW64=1
Response.type=4
Sig[0].Name=Имя приложения
Sig[0].Value=Brackets.exe
Sig[1].Name=Версия приложения
Sig[1].Value=1.11.0.0
Sig[2].Name=Отметка времени приложения
Sig[2].Value=59c24821
Sig[3].Name=Имя модуля с ошибкой
Sig[3].Value=libcef.dll
Sig[4].Name=Версия модуля с ошибкой
Sig[4].Value=3.2623.1397.0
Sig[5].Name=Отметка времени модуля с ошибкой
Sig[5].Value=5722c131
Sig[6].Name=Код исключения
Sig[6].Value=c0000005
Sig[7].Name=Смещение исключения
Sig[7].Value=00c4a64c
DynamicSig[1].Name=Версия ОС
DynamicSig[1].Value=6.1.7601.2.1.0.256.48
DynamicSig[2].Name=Код языка
DynamicSig[2].Value=1049
DynamicSig[22].Name=Дополнительные сведения 1
DynamicSig[22].Value=0a9e
DynamicSig[23].Name=Дополнительные сведения 2
DynamicSig[23].Value=0a9e372d3b4ad19135b953a78882e789
DynamicSig[24].Name=Дополнительные сведения 3
DynamicSig[24].Value=0a9e
DynamicSig[25].Name=Дополнительные сведения 4
DynamicSig[25].Value=0a9e372d3b4ad19135b953a78882e789
UI[2]=C:\Program Files (x86)\Brackets\Brackets.exe
UI[3]=Прекращена работа программы "Brackets"
UI[4]=Windows может провести поиск способа устранения этой ошибки в Интернете.
UI[5]=Искать решение проблемы в Интернете и закрыть программу
UI[6]=Проверить наличие способа исправления ошибки в Интернете позднее и закрыть программу
UI[7]=Закрыть программу
LoadedModule[0]=C:\Program Files (x86)\Brackets\Brackets.exe
LoadedModule[1]=C:\Windows\SysWOW64\ntdll.dll
LoadedModule[2]=C:\Windows\syswow64\kernel32.dll
LoadedModule[3]=C:\Program Files\AVAST Software\Avast\aswhookx.dll
LoadedModule[4]=C:\Windows\syswow64\KERNELBASE.dll
LoadedModule[5]=C:\Windows\system32\VERSION.dll
LoadedModule[6]=C:\Windows\syswow64\msvcrt.dll
LoadedModule[7]=C:\Windows\syswow64\PSAPI.DLL
LoadedModule[8]=C:\Windows\system32\WINMM.dll
LoadedModule[9]=C:\Windows\syswow64\USER32.dll
LoadedModule[10]=C:\Windows\syswow64\GDI32.dll
LoadedModule[11]=C:\Windows\syswow64\LPK.dll
LoadedModule[12]=C:\Windows\syswow64\USP10.dll
LoadedModule[13]=C:\Windows\syswow64\ADVAPI32.dll
LoadedModule[14]=C:\Windows\SysWOW64\sechost.dll
LoadedModule[15]=C:\Windows\syswow64\RPCRT4.dll
LoadedModule[16]=C:\Windows\syswow64\SspiCli.dll
LoadedModule[17]=C:\Windows\syswow64\CRYPTBASE.dll
LoadedModule[18]=C:\Windows\syswow64\SHLWAPI.dll
LoadedModule[19]=C:\Windows\system32\IPHLPAPI.DLL
LoadedModule[20]=C:\Windows\syswow64\NSI.dll
LoadedModule[21]=C:\Windows\system32\WINNSI.DLL
LoadedModule[22]=C:\Windows\syswow64\COMDLG32.dll
LoadedModule[23]=C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_41e855142bd5705d\COMCTL32.dll
LoadedModule[24]=C:\Windows\syswow64\SHELL32.dll
LoadedModule[25]=C:\Windows\syswow64\ole32.dll
LoadedModule[26]=C:\Program Files (x86)\Brackets\icuin58.dll
LoadedModule[27]=C:\Program Files (x86)\Brackets\icuuc58.dll
LoadedModule[28]=C:\Program Files (x86)\Brackets\icudt58.dll
LoadedModule[29]=C:\Program Files (x86)\Brackets\VCRUNTIME140.dll
LoadedModule[30]=C:\Program Files (x86)\Brackets\api-ms-win-crt-runtime-l1-1-0.dll
LoadedModule[31]=C:\Program Files (x86)\Brackets\ucrtbase.DLL
LoadedModule[32]=C:\Program Files (x86)\Brackets\api-ms-win-core-timezone-l1-1-0.dll
LoadedModule[33]=C:\Program Files (x86)\Brackets\api-ms-win-core-file-l2-1-0.dll
LoadedModule[34]=C:\Program Files (x86)\Brackets\api-ms-win-core-localization-l1-2-0.dll
LoadedModule[35]=C:\Program Files (x86)\Brackets\api-ms-win-core-synch-l1-2-0.dll
LoadedModule[36]=C:\Program Files (x86)\Brackets\api-ms-win-core-processthreads-l1-1-1.dll
LoadedModule[37]=C:\Program Files (x86)\Brackets\api-ms-win-core-file-l1-2-0.dll
LoadedModule[38]=C:\Program Files (x86)\Brackets\api-ms-win-crt-string-l1-1-0.dll
LoadedModule[39]=C:\Program Files (x86)\Brackets\api-ms-win-crt-heap-l1-1-0.dll
LoadedModule[40]=C:\Program Files (x86)\Brackets\api-ms-win-crt-stdio-l1-1-0.dll
LoadedModule[41]=C:\Program Files (x86)\Brackets\api-ms-win-crt-convert-l1-1-0.dll
LoadedModule[42]=C:\Program Files (x86)\Brackets\api-ms-win-crt-environment-l1-1-0.dll
LoadedModule[43]=C:\Program Files (x86)\Brackets\api-ms-win-crt-math-l1-1-0.dll
LoadedModule[44]=C:\Program Files (x86)\Brackets\api-ms-win-crt-time-l1-1-0.dll
LoadedModule[45]=C:\Program Files (x86)\Brackets\api-ms-win-crt-utility-l1-1-0.dll
LoadedModule[46]=C:\Program Files (x86)\Brackets\api-ms-win-crt-locale-l1-1-0.dll
LoadedModule[47]=C:\Program Files (x86)\Brackets\libcef.dll
LoadedModule[48]=C:\Windows\system32\WINSPOOL.DRV
LoadedModule[49]=C:\Windows\syswow64\OLEAUT32.dll
LoadedModule[50]=C:\Windows\system32\WINHTTP.dll
LoadedModule[51]=C:\Windows\system32\webio.dll
LoadedModule[52]=C:\Windows\syswow64\USERENV.dll
LoadedModule[53]=C:\Windows\syswow64\profapi.dll
LoadedModule[54]=C:\Windows\syswow64\urlmon.dll
LoadedModule[55]=C:\Windows\syswow64\api-ms-win-downlevel-ole32-l1-1-0.dll
LoadedModule[56]=C:\Windows\syswow64\api-ms-win-downlevel-shlwapi-l1-1-0.dll
LoadedModule[57]=C:\Windows\syswow64\api-ms-win-downlevel-advapi32-l1-1-0.dll
LoadedModule[58]=C:\Windows\syswow64\api-ms-win-downlevel-user32-l1-1-0.dll
LoadedModule[59]=C:\Windows\syswow64\api-ms-win-downlevel-version-l1-1-0.dll
LoadedModule[60]=C:\Windows\syswow64\api-ms-win-downlevel-normaliz-l1-1-0.dll
LoadedModule[61]=C:\Windows\syswow64\normaliz.DLL
LoadedModule[62]=C:\Windows\syswow64\iertutil.dll
LoadedModule[63]=C:\Windows\syswow64\WININET.dll
LoadedModule[64]=C:\Windows\system32\dhcpcsvc.DLL
LoadedModule[65]=C:\Windows\syswow64\WS2_32.dll
LoadedModule[66]=C:\Windows\system32\WTSAPI32.dll
LoadedModule[67]=C:\Windows\system32\OLEACC.dll
LoadedModule[68]=C:\Windows\system32\Secur32.dll
LoadedModule[69]=C:\Windows\syswow64\CRYPT32.dll
LoadedModule[70]=C:\Windows\syswow64\MSASN1.dll
LoadedModule[71]=C:\Windows\syswow64\IMM32.dll
LoadedModule[72]=C:\Windows\syswow64\MSCTF.dll
LoadedModule[73]=C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23807_none_5c02a265a011fb02\gdiplus.dll
LoadedModule[74]=C:\Program Files\Prio\prio32.dll
LoadedModule[75]=C:\Windows\system32\dwmapi.dll
LoadedModule[76]=C:\Windows\system32\dwrite.dll
LoadedModule[77]=C:\Windows\system32\uxtheme.dll
FriendlyEventName=Остановка работы
ConsentKey=APPCRASH
AppName=Brackets
AppPath=C:\Program Files (x86)\Brackets\Brackets.exe

@core-ai-bot
Copy link
Member Author

Comment by nethip
Tuesday Feb 20, 2018 at 07:27 GMT


Might be similar to adobe/brackets#13839

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant