View Issue Details

IDProjectCategoryView StatusLast Update
0001851Double CommanderPluginspublic2020-11-30 07:44
Reportercordylus Assigned Tocordylus  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
ProjectionnoneETAnone 
Product Version0.7.8 
Summary0001851: Access violation when trying to unpack a file by dropping it on a disk button when zip archives are opened in both panels
DescriptionВ обеих панелях открыты архивы. Если нажать кнопку Extract files, пишет Function not supported. Если перетащить файл на кнопку диска, чтобы скопировать его в корень - Access violation.
Additional Information--------------- 26-05-2017, 05:39:54 ---------------
| DC v0.8.0 alpha Rev. 7587 -- i386-Win32-win32/win64
| Windows XP SP3 i386 | PID 1576
Unhandled exception: EAccessViolation: Access violation
  Stack trace:
  $08E54244 in ...\plugins\wcx\zip\zip.wcx
  $08E545E8 in ...\plugins\wcx\zip\zip.wcx
  $08E50033 in ...\plugins\wcx\zip\zip.wcx
  $08E4C82C in ...\plugins\wcx\zip\zip.wcx
  $08E4B69B in ...\plugins\wcx\zip\zip.wcx
  $08E47FF3 in ...\plugins\wcx\zip\zip.wcx
  $006D02AA line 265, column 28 of uwcxmodule.pas in ...\doublecmd.exe
  $0083015B line 250, column 23 of filesources/wcxarchive/uwcxarchivecopyinoperation.pas in ...\doublecmd.exe
  $0062C5D8 line 598, column 7 of filesources/ufilesourceoperation.pas in ...\doublecmd.exe
  $0076F32F line 49, column 5 of filesources/uoperationthread.pas in ...\doublecmd.exe
  $0041F715 in ...\doublecmd.exe
  $00412C5E in ...\doublecmd.exe
  $7C80B729 in C:\WINDOWS\system32\kernel32.dll

Дальше собрал плагин в отладке, хотя все равно не указан column и путь к исполняемому файлу, как это настроить?

--------------- 26-05-2017, 05:44:23 ---------------
| DC v0.8.0 alpha Rev. 7588M -- i386-Win32-win32/win64
| Windows XP SP3 i386 | PID 3352
Unhandled exception: EAccessViolation: Access violation
  Stack trace:
  $0DA2A385 line 843 of ../fparchive/abutils.pas
  $0DA2A75B line 972 of ../fparchive/abutils.pas
  $0DA25FBB line 1969 of ../fparchive/abziptyp.pas
  $0DA22076 line 1847 of ../fparchive/abarctyp.pas
  $0DA20D4F line 1073 of ../fparchive/abarctyp.pas
  $0DA1D1D7 line 358 of ZipFunc.pas
  $00748246 line 265 of uwcxmodule.pas
  $008FDE9F line 250 of filesources/wcxarchive/uwcxarchivecopyinoperation.pas
  $0068CB7D line 598 of filesources/ufilesourceoperation.pas
  $0081CE6F line 49 of filesources/uoperationthread.pas
  $004223C5
  $00412B8E
  $7C80B729
TagsNo tags attached.
Fixed in Revision7953
Operating system
Widgetset
Architecture

Activities

cordylus

2017-12-23 23:09

developer   ~0002472

Здесь TfrmMain.dskLeftRightToolButtonDragDrop вызывает версию Self.CopyFiles без указания FileSource, а та пытается скопировать в FileSource второй панели вместо FileSource диска, путь неверный, от этого и ошибка (в случае zip пытается запаковать по некорректному адресу и падает).

Поэтому для воспроизведения архивы не обязательно должны быть с двух сторон, достаточно одного в неактивной панели.

К сожалению, не разобрался, как получить FileSource диска, он ведь не обязательно локальный, а может быть и примонтированный сетевой или WFX. В случае WFX FTP, кстати, попытка скопировать через кнопку диска проваливается даже если в противоположной панели и находится этот FTP, поскольку в пути не хватает слеша между сетевым адресом диска и путём к файлу.

Alexx2000

2017-12-24 18:05

administrator   ~0002475

По адресу, типа как сделано в ChooseFileSource.

cordylus

2017-12-26 02:07

developer   ~0002476

Готово. Но без обработки на Not Supported, которое выскакивает при попытке обычного копирования из, допустим, архива напрямую на FTP.

Issue History

Date Modified Username Field Change
2017-05-26 06:19 cordylus New Issue
2017-12-23 23:09 cordylus Note Added: 0002472
2017-12-24 18:05 Alexx2000 Note Added: 0002475
2017-12-24 18:05 Alexx2000 Status new => acknowledged
2017-12-26 02:07 cordylus Fixed in Revision => 7953
2017-12-26 02:07 cordylus Note Added: 0002476
2017-12-26 02:07 cordylus Status acknowledged => resolved
2017-12-26 02:07 cordylus Resolution open => fixed
2017-12-26 02:07 cordylus Assigned To => cordylus
2020-11-30 07:44 Alexx2000 Status resolved => closed