Re: [tor-bugs] #22502 [Core Tor/Tor]: Investigate Zstandard decompression error

2017-06-20 Thread Tor Bug Tracker & Wiki
#22502: Investigate Zstandard decompression error
-+
 Reporter:  ahf  |  Owner:  nickm
 Type:  defect   | Status:  closed
 Priority:  Medium   |  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor |Version:  Tor: 0.3.1.2-alpha
 Severity:  Normal   | Resolution:  fixed
 Keywords:  review-group-18  |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:  Sponsor4
-+
Changes (by nickm):

 * status:  merge_ready => closed
 * resolution:   => fixed


Comment:

 Merged `bug22502_redux_031`.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #22502 [Core Tor/Tor]: Investigate Zstandard decompression error

2017-06-20 Thread Tor Bug Tracker & Wiki
#22502: Investigate Zstandard decompression error
-+
 Reporter:  ahf  |  Owner:  nickm
 Type:  defect   | Status:  merge_ready
 Priority:  Medium   |  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor |Version:  Tor: 0.3.1.2-alpha
 Severity:  Normal   | Resolution:
 Keywords:  review-group-18  |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:  Sponsor4
-+
Changes (by ahf):

 * status:  needs_review => merge_ready


Comment:

 LGTM. Let's get this in together with the changes for #22629.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #22502 [Core Tor/Tor]: Investigate Zstandard decompression error

2017-06-20 Thread Tor Bug Tracker & Wiki
#22502: Investigate Zstandard decompression error
-+
 Reporter:  ahf  |  Owner:  nickm
 Type:  defect   | Status:  needs_review
 Priority:  Medium   |  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor |Version:  Tor: 0.3.1.2-alpha
 Severity:  Normal   | Resolution:
 Keywords:  review-group-18  |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:  Sponsor4
-+
Changes (by nickm):

 * status:  assigned => needs_review


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #22502 [Core Tor/Tor]: Investigate Zstandard decompression error

2017-06-20 Thread Tor Bug Tracker & Wiki
#22502: Investigate Zstandard decompression error
-+
 Reporter:  ahf  |  Owner:  nickm
 Type:  defect   | Status:  assigned
 Priority:  Medium   |  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor |Version:  Tor: 0.3.1.2-alpha
 Severity:  Normal   | Resolution:
 Keywords:  review-group-18  |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:  Sponsor4
-+

Comment (by nickm):

 My branch `bug22502_redux_031` now tries to fix the root causes here.  I'm
 going to clean up infelicities in the logging and warning code for
 handling decompression in a separate ticket (#22670)

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #22502 [Core Tor/Tor]: Investigate Zstandard decompression error

2017-06-20 Thread Tor Bug Tracker & Wiki
#22502: Investigate Zstandard decompression error
-+
 Reporter:  ahf  |  Owner:  nickm
 Type:  defect   | Status:  assigned
 Priority:  Medium   |  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor |Version:  Tor: 0.3.1.2-alpha
 Severity:  Normal   | Resolution:
 Keywords:  review-group-18  |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:  Sponsor4
-+

Comment (by nickm):

 The other bug here is that, although we are trying two methods, we warn
 when only one fails.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #22502 [Core Tor/Tor]: Investigate Zstandard decompression error

2017-06-20 Thread Tor Bug Tracker & Wiki
#22502: Investigate Zstandard decompression error
-+
 Reporter:  ahf  |  Owner:  nickm
 Type:  defect   | Status:  assigned
 Priority:  Medium   |  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor |Version:  Tor: 0.3.1.2-alpha
 Severity:  Normal   | Resolution:
 Keywords:  review-group-18  |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:  Sponsor4
-+

Comment (by nickm):

 I can confirm that the object is a vote, and is arriving with zlib
 compression, but is labeled as having been compressed with zstd.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #22502 [Core Tor/Tor]: Investigate Zstandard decompression error

2017-06-20 Thread Tor Bug Tracker & Wiki
#22502: Investigate Zstandard decompression error
-+
 Reporter:  ahf  |  Owner:  nickm
 Type:  defect   | Status:  assigned
 Priority:  Medium   |  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor |Version:  Tor: 0.3.1.2-alpha
 Severity:  Normal   | Resolution:
 Keywords:  review-group-18  |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:  Sponsor4
-+

Comment (by nickm):

 So, I see those warnings happening still, but they happen as part of this:
 {{{
 Jun 20 10:35:55.522 [info] HTTP body from server '127.0.0.1:7000' was
 labeled as Zstandard compressed, but it seems to be deflated.  Trying
 both.
 Jun 20 10:35:55.522 [warn] Zstandard decompression didn't finish: Unknown
 frame descriptor.
 Jun 20 10:35:55.522 [warn] Error while uncompresing data: bad input?
 Jun 20 10:35:55.522 [info] handle_response_fetch_status_vote(): Got votes
 (body size 10366) from server 127.0.0.1:7000
 }}}

 To me that looks as if we tried with both zstd and deflate, and zstd
 failed, and deflate succeeded?  I'll add more logs and try again.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #22502 [Core Tor/Tor]: Investigate Zstandard decompression error

2017-06-20 Thread Tor Bug Tracker & Wiki
#22502: Investigate Zstandard decompression error
-+
 Reporter:  ahf  |  Owner:  nickm
 Type:  defect   | Status:  assigned
 Priority:  Medium   |  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor |Version:  Tor: 0.3.1.2-alpha
 Severity:  Normal   | Resolution:
 Keywords:  review-group-18  |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:  Sponsor4
-+

Comment (by nickm):

 Okay. My branch for #22629 has an additional fix; at this point, I'm going
 to try to debug harder and see what's up.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #22502 [Core Tor/Tor]: Investigate Zstandard decompression error

2017-06-20 Thread Tor Bug Tracker & Wiki
#22502: Investigate Zstandard decompression error
-+
 Reporter:  ahf  |  Owner:  nickm
 Type:  defect   | Status:  assigned
 Priority:  Medium   |  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor |Version:  Tor: 0.3.1.2-alpha
 Severity:  Normal   | Resolution:
 Keywords:  review-group-18  |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:  Sponsor4
-+
Changes (by nickm):

 * owner:  ahf => nickm
 * status:  needs_review => assigned


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #22502 [Core Tor/Tor]: Investigate Zstandard decompression error

2017-06-20 Thread Tor Bug Tracker & Wiki
#22502: Investigate Zstandard decompression error
-+
 Reporter:  ahf  |  Owner:  ahf
 Type:  defect   | Status:  needs_review
 Priority:  Medium   |  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor |Version:  Tor: 0.3.1.2-alpha
 Severity:  Normal   | Resolution:
 Keywords:  review-group-18  |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:  Sponsor4
-+

Comment (by nickm):

 Note to self; I can fix this as needed.

 952c9073ad255442adcf4e85f7b2150c3bbe91de:
   - I wonder whether this is quite right; does it keep us from handling
 concatenated objects correctly? Let's add a unit test for that.

 All other commits here look okay.  I'm going to merge the branch to 0.3.1,
 add the unit test mentioned above, and then start trying to hunt down any
 remaining issues.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #22502 [Core Tor/Tor]: Investigate Zstandard decompression error

2017-06-16 Thread Tor Bug Tracker & Wiki
#22502: Investigate Zstandard decompression error
--+
 Reporter:  ahf   |  Owner:  ahf
 Type:  defect| Status:  needs_review
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.3.1.2-alpha
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:  Sponsor4
--+
Changes (by nickm):

 * status:  needs_revision => needs_review


Comment:

 Putting this in needs_review to try to review and merge what there is,
 under the assumption it's an improvement and will help us isolate the
 remaining problems.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #22502 [Core Tor/Tor]: Investigate Zstandard decompression error

2017-06-15 Thread Tor Bug Tracker & Wiki
#22502: Investigate Zstandard decompression error
--+
 Reporter:  ahf   |  Owner:  ahf
 Type:  defect| Status:  needs_revision
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.3.1.2-alpha
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:  Sponsor4
--+
Changes (by teor):

 * status:  assigned => needs_revision


Comment:

 My branch bug22502 on https://github.com/teor2345 has fixes for this
 issue, and all child issues.

 They don't work yet, but they are a start: they allow chutney to get at
 least some consensuses decompressed.

 I'm going to leave any further fixes and the changes file to someone else.

 {{{
 $ ./configure --enable-zstd --disable-lzma && make clean test-network
 ...
 Warning: Error while uncompresing data: bad input? Number: 21
 ...
 Warning: Zstandard decompression didn't finish: Unknown frame descriptor.
 Number: 21
 ...
 }}}

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #22502 [Core Tor/Tor]: Investigate Zstandard decompression error

2017-06-15 Thread Tor Bug Tracker & Wiki
#22502: Investigate Zstandard decompression error
--+
 Reporter:  ahf   |  Owner:  ahf
 Type:  defect| Status:  assigned
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.3.1.2-alpha
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:  Sponsor4
--+

Comment (by teor):

 This issue sometimes goes away when lzma is enabled, I can reliably
 reproduce some error using `./configure --enable-zstd --disable-lzma`, and
 then I get a chutney failure wslightly different output:
 {{{
 $ make test-network
 ...
 Warning: Unable to decompress HTTP body (server '127.0.0.1:5000'). Number:
 15
 Warning: Unable to decompress HTTP body (server '127.0.0.1:5001'). Number:
 12
 Warning: Unable to decompress HTTP body (server '127.0.0.1:5002'). Number:
 14
 Warning: Unable to decompress HTTP body (server '127.0.0.1:7000'). Number:
 12
 Warning: Unable to decompress HTTP body (server '127.0.0.1:7001'). Number:
 14
 Warning: Unable to decompress HTTP body (server '127.0.0.1:7002'). Number:
 10
 $ src/or/tor --version
 Tor version 0.3.1.3-alpha-dev (git-80ad374b8457e4c9).
 }}}

 `make test-network` works with `--disable-lzma --disable-zstd` and
 `--enable-lzma --disable-zstd`.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #22502 [Core Tor/Tor]: Investigate Zstandard decompression error

2017-06-10 Thread Tor Bug Tracker & Wiki
#22502: Investigate Zstandard decompression error
--+
 Reporter:  ahf   |  Owner:  ahf
 Type:  defect| Status:  assigned
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.3.1.2-alpha
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:  Sponsor4
--+

Comment (by teor):

 This also happens for me on macOS 10.12 (x86_64):
 {{{
 Tor 0.3.1.2-alpha-dev (git-5955b63a9a4182f8) running on Darwin with
 Libevent 2.1.8-stable, OpenSSL 1.0.2l, Zlib 1.2.11, Liblzma 5.2.3, and
 Libzstd 1.2.0.
 }}}

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #22502 [Core Tor/Tor]: Investigate Zstandard decompression error

2017-06-05 Thread Tor Bug Tracker & Wiki
#22502: Investigate Zstandard decompression error
--+
 Reporter:  ahf   |  Owner:  ahf
 Type:  defect| Status:  assigned
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.3.1.2-alpha
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:  Sponsor4
--+
Changes (by ahf):

 * owner:   => ahf
 * status:  new => assigned


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs