http://bugs.winehq.org/show_bug.cgi?id=21891
Summary: info zip 3.0 won't apppend to existing archive Product: Wine Version: 1.1.39 Platform: x86 URL: ftp://ftp.info-zip.org/pub/infozip/win32/ OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd AssignedTo: wine-bugs@winehq.org ReportedBy: htl10@users.sourceforge.net
ftp://ftp.info-zip.org/pub/infozip/win32/zip232xn.zip ftp://ftp.info-zip.org/pub/infozip/win32/zip300xn.zip
info zip is supposed to add files if the zip file speecifies already exists.
with 2.32, it works as advertised as follows. With 3.0,
del a.zip zip.exe a.zip file1 (creating new zip archive) zip.exe a.zip file2 (adding file to existing zip archive)
the 2nd step fails with "zip error: Interrupted (aborting)"
(FWIW, the above is a simplified version of part of the windows binary packaging procedure for ghostscript)
I think it is unlikely a bug/regression with zip 3.0 , so I am filing it here. If somebody verifies that zip 3.0 doesn't work on genuine windows either, please close as invalid and I'll contact info-zip.
http://bugs.winehq.org/show_bug.cgi?id=21891
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=21891
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source CC| |aeikum@codeweavers.com Component|cmd |-unknown Summary|info zip 3.0 won't apppend |info zip 3.0 won't append |to existing archive |to existing archive
http://bugs.winehq.org/show_bug.cgi?id=21891
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |00cpxxx@gmail.com Ever Confirmed|0 |1
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com 2011-11-19 20:15:58 CST --- I can confirm this error in 1.3.33. The proposed test works in XP but not in wine.
http://bugs.winehq.org/show_bug.cgi?id=21891
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com 2011-11-19 20:31:52 CST --- Created attachment 37538 --> http://bugs.winehq.org/attachment.cgi?id=37538 +seh,+tid,+file
Wine seems to be segfaulting in lseek. +seh,+tid seems to detect the segfault but don't show anything (no bt, no crash info).
Running with strace shows: _llseek(12, 126, [126], SEEK_SET) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
The zip file is called "teste.zip".
Steps to reproduce (inside the zip.exe folder):
touch file1 file2 wine zip.exe test.zip file1 wine zip.exe test.zip file2
Current result: adding: file1 (stored 0%) zip error: Interrupted (aborting)
Expected result: adding: file1 (stored 0%) adding: file2 (stored 0%)
http://bugs.winehq.org/show_bug.cgi?id=21891
--- Comment #3 from Austin English austinenglish@gmail.com --- austin@aw25 ~/z $ wine zip.exe a.zip zipnote.txt wine: created the configuration directory '/home/austin/.wine' fixme:storage:create_storagefile Storage share mode not implemented. err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot fixme:storage:create_storagefile Storage share mode not implemented. fixme:iphlpapi:NotifyAddrChange (Handle 0xdbe8b0, overlapped 0xdbe8bc): stub wine: configuration in '/home/austin/.wine' has been updated. adding: zipnote.txt (148 bytes security) (deflated 60%) austin@aw25 ~/z $ wine zip.exe a.zip zipnote.exe
zip error: Interrupted (aborting)
still present.
austin@aw25 ~ $ wine --version wine-1.7.11-206-g82b3813 austin@aw25 ~ $ du -h zip300xn.zip 348K zip300xn.zip austin@aw25 ~ $ sha1sum zip300xn.zip e5b6648f37486bd98e323c01aebed0f0968db829 zip300xn.zip
https://bugs.winehq.org/show_bug.cgi?id=21891
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/user32-CharToO | |em CC| |dmitry@baikal.ru, | |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Status|NEW |STAGED
https://bugs.winehq.org/show_bug.cgi?id=21891
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |NEW
--- Comment #4 from Sebastian Lackner sebastian@fds-team.de --- This issue should be fixed with the following two patches, please retest.
http://source.winehq.org/git/wine.git/commit/80d655ca75eb697cd5e32af1a4c2ecd... http://source.winehq.org/git/wine.git/commit/59ba31d1fc36d04f6e69db6533411a1...
https://bugs.winehq.org/show_bug.cgi?id=21891
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |80d655ca75eb697cd5e32af1a4c | |2ecd1847a6ab3 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Sebastian Lackner from comment #4)
This issue should be fixed with the following two patches, please retest.
http://source.winehq.org/git/wine.git/commit/ 80d655ca75eb697cd5e32af1a4c2ecd1847a6ab3 http://source.winehq.org/git/wine.git/commit/ 59ba31d1fc36d04f6e69db6533411a1c120329d0
Yes, thanks =)
https://bugs.winehq.org/show_bug.cgi?id=21891
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |user32
https://bugs.winehq.org/show_bug.cgi?id=21891
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.15.