linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #08722
[Bug 1656050] [NEW] Compression errors with zlib 1.2.10
Public bug reported:
After updating zlib to version 1.2.10, transfers randomly fail because
of compression errors. Such errors happening on uploader's side won't
reported anywhere, the upload just gets disconnected.
Based on some debugging with AirDC++, the actual location where the
error happens in zlib is
https://github.com/madler/zlib/blob/master/deflate.c#L595
I'm not sure whether that's a bug in zlib or something intended as there
are also breaking changes in version 1.2.10:
https://github.com/madler/zlib/issues/190 (avail_out is not originally
zero when the call is made)
Setting compression level at
https://sourceforge.net/p/dcplusplus/code/ci/default/tree/dcpp/ZUtils.cpp#l59
to a non-zero value seems to help with avoiding the issue.
** Affects: airdcpp
Importance: Undecided
Status: New
** Affects: apexdc
Importance: Undecided
Status: New
** Affects: dcplusplus
Importance: Undecided
Status: New
** Also affects: airdcpp
Importance: Undecided
Status: New
** Also affects: apexdc
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/1656050
Title:
Compression errors with zlib 1.2.10
Status in AirDC++:
New
Status in ApexDC++:
New
Status in DC++:
New
Bug description:
After updating zlib to version 1.2.10, transfers randomly fail because
of compression errors. Such errors happening on uploader's side won't
reported anywhere, the upload just gets disconnected.
Based on some debugging with AirDC++, the actual location where the
error happens in zlib is
https://github.com/madler/zlib/blob/master/deflate.c#L595
I'm not sure whether that's a bug in zlib or something intended as
there are also breaking changes in version 1.2.10:
https://github.com/madler/zlib/issues/190 (avail_out is not originally
zero when the call is made)
Setting compression level at
https://sourceforge.net/p/dcplusplus/code/ci/default/tree/dcpp/ZUtils.cpp#l59
to a non-zero value seems to help with avoiding the issue.
To manage notifications about this bug go to:
https://bugs.launchpad.net/airdcpp/+bug/1656050/+subscriptions
Follow ups
-
[Bug 1656050] Re: Compression errors with zlib 1.2.11
From: poy, 2017-02-01
-
[Bug 1656050] Re: Compression errors with zlib 1.2.11
From: maksis, 2017-02-01
-
[Bug 1656050] Re: Compression errors with zlib 1.2.11
From: Crise / Markus Willman, 2017-02-01
-
[Bug 1656050] Re: Compression errors with zlib 1.2.11
From: poy, 2017-01-31
-
[Bug 1656050] Re: Compression errors with zlib 1.2.11
From: maksis, 2017-01-25
-
[Bug 1656050] Re: Compression errors with zlib 1.2.10
From: maksis, 2017-01-21
-
[Bug 1656050] Re: Compression errors with zlib 1.2.10
From: Crise / Markus Willman, 2017-01-21
-
[Bug 1656050] Re: Compression errors with zlib 1.2.10
From: maksis, 2017-01-20
-
[Bug 1656050] Re: Compression errors with zlib 1.2.10
From: eMTee, 2017-01-20
-
[Bug 1656050] Re: Compression errors with zlib 1.2.10
From: maksis, 2017-01-19
-
[Bug 1656050] Re: Compression errors with zlib 1.2.10
From: poy, 2017-01-18
-
[Bug 1656050] Re: Compression errors with zlib 1.2.10
From: maksis, 2017-01-17
-
[Bug 1656050] Re: Compression errors with zlib 1.2.10
From: eMTee, 2017-01-17
-
[Bug 1656050] Re: Compression errors with zlib 1.2.10
From: eMTee, 2017-01-17
-
[Bug 1656050] Re: Compression errors with zlib 1.2.10
From: eMTee, 2017-01-15
-
[Bug 1656050] Re: Compression errors with zlib 1.2.10
From: maksis, 2017-01-15
-
[Bug 1656050] Re: Compression errors with zlib 1.2.10
From: eMTee, 2017-01-13