Assertion violation when unzipping similar to #1298 #1416

Please post support and help requests here.
stevek
Posts: 3
Joined: 16 Feb 2017, 04:31

Assertion violation when unzipping similar to #1298 #1416

Postby stevek » 16 Feb 2017, 04:59

Hi.
We are using poco 1.7.7 to (try to) unzip the attached zip file (on Ubuntu).
Our analysis of the zip file appears it is all correct.
(Unfortunately this zip is created by an external source so we have no visibility to the tools used.)
Like earlier issues #1298 and #1416 (which were resolved in 1.7.6) we get an assertion exception when poco checks the header:
std::memcmp(_rawInfo, HEADER, ....) == 0
in the ZipDataInfo class constructor.

If someone could please verify that it is not something silly we are doing, and please let us know how to get around or fix this problem?

Any help would be appreciated, and thank you in advance.
Best regards.

guenter
Posts: 1256
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: Assertion violation when unzipping similar to #1298 #1416

Postby guenter » 16 Feb 2017, 18:58

If possible, please file a bug report on GitHub and attach the Zip file. And please also check with the current 1.7.8 branch, there have been a few fixes in the Zip library in this release branch.

stevek
Posts: 3
Joined: 16 Feb 2017, 04:31

Re: Assertion violation when unzipping similar to #1298 #1416

Postby stevek » 17 Feb 2017, 00:42

Thanks Guenter. Will do. PS. I had attached the incorrect file to that request, and before I read your feedback here I posted another request with the corrected file. Feel free to discard that if I am posting in the wrong place.
Cheers.

guenter
Posts: 1256
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: Assertion violation when unzipping similar to #1298 #1416

Postby guenter » 17 Feb 2017, 17:45

Seems we have some issue with attachments in the forum. Please send me the Zip file via email (guenter at pocoproject.org). Also, have you checked if the error still happens with the poco-1.7.8 branch? There have been lots of fixes in the Zip library.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 4 guests

cron