View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002353 | Double Commander | File operations | public | 2019-09-06 19:48 | 2020-01-07 01:51 |
Reporter | tex | Assigned To | Alexx2000 | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Projection | none | ETA | none | ||
Platform | x86_64 | OS | Linux | OS Version | Arch |
Product Version | 0.9.6 | Product Build | 9018 | ||
Target Version | 0.9.7 | Fixed in Version | 0.9.7 | ||
Summary | 0002353: Unhandled exception: EAccessViolation: Access violation (when comparing same file in zip archive) | ||||
Description | I compared 3 files in 2 similar zip archives (difference was in 1 file) which were created by TV (backup of TV channel list). I opened one archive in panel in left side and second archive in right side panel. Then compare files one by one (files which have same filename between archives) by command cm_CompareContents (I created shortcut Ctrl+, for this action), and when I compare second or third times file "sat" double commander crashed with error "Access violation" and give 2 options: Ignore or close program and inform to report this as bug. I include this 2 archives and doublecmd.err file. | ||||
Steps To Reproduce | 1. Open archive (but not extract!) Channel_list_T-MSLDEUC-1040.4.zip in one panel. 2. Open second archive Channel_list_T-MSLDEUC-1040.4_.zip (or extract somewhere if you want) in second panel. 3. Compare "sat" files from this archives by command cm_CompareContents few times until crash (for me second or third time was enough). | ||||
Additional Information | So it's comparing two same files when at least one is compressed. When both are decompressed everything is good. I tried to create other archive with same file(s) to crash double commander, but had no luck - it didn't crash. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Fixed in Revision | 9217, 9230 | ||||
Operating system | Linux | ||||
Widgetset | GTK2 | ||||
Architecture | 64-bit | ||||
|
Looks like it may have something to do with file dates in archives; they are all below 1980 which may be not legal in zip archive (don't know specification): 1979.12.31 23:00:00 Comparing binary file "sat" in that archive with the same file but unpacked (wich has different date than original) produce error (from doublecmd.err file): DC v0.9.6 beta Rev. 9018 -- x86_64-Linux-gtk2 | Arch Linux \r (\l) -- GTK 2.24.32 | PID 3355 Unhandled exception: EAccessViolation: Access violation Stack trace: $0000000002FD47F0 in $0000000000A85140 line 335, column 3 of ushowform.pas in /usr/lib/doublecmd/doublecmd $00000000004E8076 line 398, column 3 of include/application.inc in /usr/lib/doublecmd/doublecmd $00000000004EA56A line 1283, column 10 of include/application.inc in /usr/lib/doublecmd/doublecmd $00000000004EAACD line 1419, column 9 of include/application.inc in /usr/lib/doublecmd/doublecmd $0000000000646208 line 54, column 6 of include/interfacebase.inc in /usr/lib/doublecmd/doublecmd $00000000004EAA74 line 1407, column 21 of include/application.inc in /usr/lib/doublecmd/doublecmd |
|
You can upload a .zip archive to https://uploadfiles.io or https://filebin.net and give a link. |
|
I managed to upload file here (there was a problem from my side), but you don't need it. I do some tests and there is simple way to reproduce this error with any binary file compressed as zip, 7z or maybe any format that doublecmd can extract. New steps to reproduce crash: 1. Open zip/7z/any archive with any binary file in one panel. 2. Extract that file to other panel. 3. Compare this files (file extracted with the same file in archive) with command cm_CompareContents. Compared files have to be the same to recreate the crash. |
|
Is https://doublecmd.sourceforge.io/forum/viewtopic.php?p=27934#p27934 the same problem? Is building with Lazarus 1.8.x not supported? |
|
It looks similar as in your link, but doublecmd was build with Lazarus 2.0.4.0 |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-09-06 19:48 | tex | New Issue | |
2019-09-06 19:48 | tex | File Added: err.zip | |
2019-09-07 13:26 | tex | File Added: err_.zip | |
2019-09-07 13:30 | tex | Status | new => closed |
2019-09-07 19:47 | tex | Note Added: 0003260 | |
2019-09-07 19:47 | tex | Status | closed => assigned |
2019-09-07 19:47 | tex | Resolution | open => reopened |
2019-09-07 20:49 | Alexx2000 | Note Added: 0003261 | |
2019-09-07 20:49 | Alexx2000 | Status | assigned => feedback |
2019-09-07 20:49 | Alexx2000 | Note Edited: 0003261 | |
2019-09-07 20:50 | Alexx2000 | Note Edited: 0003261 | |
2019-09-09 00:56 | tex | File Added: Channel_list_T-MSLDEUC-1040.4_.zip | |
2019-09-09 01:33 | tex | Note Added: 0003262 | |
2019-09-09 01:33 | tex | Status | feedback => new |
2019-09-09 01:38 | tex | Note Edited: 0003262 | |
2019-09-09 01:53 | tex | Note Edited: 0003262 | |
2019-09-09 02:39 | Skif_off | Note Added: 0003263 | |
2019-09-09 02:41 | Skif_off | Note Edited: 0003263 | |
2019-09-09 16:44 | tex | Note Added: 0003264 | |
2019-09-09 23:37 | Alexx2000 | Status | new => confirmed |
2019-09-09 23:37 | Alexx2000 | Target Version | => 0.9.7 |
2019-09-09 23:37 | Alexx2000 | File Deleted: err_.zip | |
2019-09-09 23:37 | Alexx2000 | File Deleted: err.zip | |
2020-01-02 23:06 | Alexx2000 | Fixed in Revision | => 9217 |
2020-01-02 23:06 | Alexx2000 | Assigned To | => Alexx2000 |
2020-01-02 23:06 | Alexx2000 | Status | confirmed => resolved |
2020-01-02 23:06 | Alexx2000 | Resolution | reopened => fixed |
2020-01-07 01:51 | Alexx2000 | Fixed in Revision | 9217 => 9217, 9230 |
2020-01-07 01:51 | Alexx2000 | Fixed in Version | => 0.9.7 |