Re: [tor-bugs] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-10-24 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+
 Reporter:  toralf|  Owner:  nickm
 Type:  defect| Status:  closed
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.3.1.7
 Severity:  Normal| Resolution:  fixed
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+
Changes (by nickm):

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


Comment:

 It is indeed expected that this is happening in 0.3.1.7: the fix is
 scheduled for 0.3.1.8. It should be out later this week or early next.

--
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] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-10-17 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+
 Reporter:  toralf|  Owner:  nickm
 Type:  defect| Status:  reopened
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.3.1.7
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+
Changes (by yurivict271):

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


Comment:

 FreeBSD also still hits this bug in 0.3.1.7:
 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223033

 I reopened it.

--
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] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-10-10 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+
 Reporter:  toralf|  Owner:  nickm
 Type:  defect| Status:  closed
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.3.1.7
 Severity:  Normal| Resolution:  fixed
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+

Comment (by weasel):

 We are hitting this in 0.3.1.7 on Debian.  cf.
 https://bugs.debian.org/878172

--
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] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-10-01 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+
 Reporter:  toralf|  Owner:  nickm
 Type:  defect| Status:  closed
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.3.1.7
 Severity:  Normal| Resolution:  fixed
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+
Changes (by nickm):

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


Comment:

 Please reopen this if it happens in 0.3.2.2-alpha or 0.3.1.8 ?  We believe
 that those versions, when released, will not have this bug.

--
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] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-09-29 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+
 Reporter:  toralf|  Owner:  nickm
 Type:  defect| Status:  reopened
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.3.1.7
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+
Changes (by Hello71):

 * status:  closed => reopened
 * version:  Tor: unspecified => Tor: 0.3.1.7
 * resolution:  fixed =>


Comment:

 I am hitting this assertion now in the released stable on Arch Linux.

--
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] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-06-27 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+
 Reporter:  toralf|  Owner:  nickm
 Type:  defect| Status:  closed
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: unspecified
 Severity:  Normal| Resolution:  fixed
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+
Changes (by nickm):

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


--
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] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-06-27 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+
 Reporter:  toralf|  Owner:  nickm
 Type:  defect| Status:  merge_ready
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: unspecified
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+

Comment (by nickm):

 I have merged this to maint-0.3.1 and master.  But please let us know if
 there are remaining bugs, and reopen if this bug is not in fact fixed?

--
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] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-06-26 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+
 Reporter:  toralf|  Owner:  nickm
 Type:  defect| Status:  merge_ready
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: unspecified
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+
Changes (by ahf):

 * status:  needs_review => merge_ready


--
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] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-06-26 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+
 Reporter:  toralf|  Owner:  nickm
 Type:  defect| Status:  needs_review
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: unspecified
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+

Comment (by nickm):

 Replying to [comment:11 toralf]:
 > Replying to [comment:10 ahf]:
 > > I think the patch looks good, but I think it would be useful to see if
 toralf can reproduce the issue even after the patch is applied to their
 Tor instance.
 > It is ok now for about 4 hours - but eventually after 24 hours I can
 tell, whether it is fixed.

 Awesome! Please let us know how it goes.

 > FWIW I do argue that the issue started here immediately when I switched
 from vanilla kernel 4.11.5 to 4.11.7 (I skipped 4.11.6, that had no
 impressive fixes IMO). Given that, could the issue be uncovered by the
 stack-gap-CVE-thingy ?

 I don't think so; I can't imagine how.  I believe the reason this started
 appearing was probably just 9328bd524e38befe240fd729a9febb4dfe8b5be4 from
 last tuesday.

--
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] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-06-26 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+
 Reporter:  toralf|  Owner:  nickm
 Type:  defect| Status:  needs_review
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: unspecified
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+

Comment (by toralf):

 Replying to [comment:10 ahf]:
 > I think the patch looks good, but I think it would be useful to see if
 toralf can reproduce the issue even after the patch is applied to their
 Tor instance.
 It is ok now for about 4 hours - but eventuallly after 24 hours I can
 tell, whether it is fixed.

 FWIW I do argue that the issue started here immediately when I switched
 from vanilla kernel 4.11.5 to 4.11.7 (I skipped 4.11.6, that had no
 impressive fixes IMO). Given that, could the issue be uncovered by the
 stack-gap-CVE-thingy ?

--
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] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-06-26 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+
 Reporter:  toralf|  Owner:  nickm
 Type:  defect| Status:  needs_review
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: unspecified
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+
Changes (by ahf):

 * cc: ahf (added)


Comment:

 I think the patch looks good, but I think it would be useful to see if
 toralf can reproduce the issue even after the patch is applied to their
 Tor instance.

--
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] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-06-26 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+
 Reporter:  toralf|  Owner:  nickm
 Type:  defect| Status:  needs_review
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: unspecified
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+
Changes (by nickm):

 * status:  accepted => 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] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-06-26 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+
 Reporter:  toralf|  Owner:  nickm
 Type:  defect| Status:  accepted
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: unspecified
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+

Comment (by nickm):

 I have attached a patch which _might_ fix the problem.  It's based on
 0.3.1 but it should apply fine to master as well.  It's also in my branch
 `bug22719_031`.

 Please let me know if this patch fixes the problem for you?  And if not,
 what do the error logs look like now?

--
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] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-06-26 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+
 Reporter:  toralf|  Owner:  nickm
 Type:  defect| Status:  accepted
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: unspecified
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+
Changes (by nickm):

 * owner:   => nickm
 * status:  new => accepted


Comment:

 Okay; it's "deflated" so it's not a new problem; it's probably some
 longstanding bug.  It's probably not a harmful bug in this case, but we
 should clean it up, so that we can keep the warning check in the code:
 that warning check prevents a pretty damaging class of bugs.

 The issue here is that finish == 0 and in_len == 0; we don't actually
 expect any progress in that case.

--
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] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-06-24 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+
 Reporter:  toralf|  Owner:
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: unspecified
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+

Comment (by toralf):

 {{{
 Jun 24 20:04:38.000 [warn] tor_bug_occurred_(): Bug:
 src/common/compress.c:576: tor_compress_process: Non-fatal assertion !((rv
 == TOR_COMPRESS_OK) && *in_len == in_len_orig && *out_len == out_len_orig)
 failed. (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 20:04:38.000 [warn] Bug: Non-fatal assertion !((rv ==
 TOR_COMPRESS_OK) && *in_len == in_len_orig && *out_len == out_len_orig)
 failed in tor_compress_process at src/common/compress.c:576. Stack trace:
 (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 20:04:38.000 [warn] Bug: /usr/bin/tor(log_backtrace+0x51)
 [0x564206ca39f1] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 20:04:38.000 [warn] Bug: /usr/bin/tor(tor_bug_occurred_+0xc5)
 [0x564206cbe0c5] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 20:04:38.000 [warn] Bug:
 /usr/bin/tor(tor_compress_process+0x154) [0x564206cc7414] (on Tor 0.3.2.0
 -alpha-dev dc47d936d47ffc25)
 Jun 24 20:04:38.000 [warn] Bug:
 /usr/bin/tor(write_to_buf_compress+0xd5) [0x564206bf3615] (on Tor 0.3.2.0
 -alpha-dev dc47d936d47ffc25)
 Jun 24 20:04:38.000 [warn] Bug:
 /usr/bin/tor(connection_write_to_buf_impl_+0xbd) [0x564206c3914d] (on Tor
 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 20:04:38.000 [warn] Bug:
 /usr/bin/tor(connection_dirserv_flushed_some+0x1aa) [0x564206c6faaa] (on
 Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 20:04:38.000 [warn] Bug: /usr/bin/tor(+0x102e4d)
 [0x564206c33e4d] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 20:04:38.000 [warn] Bug: /usr/bin/tor(+0x10ca4d)
 [0x564206c3da4d] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 20:04:38.000 [warn] Bug: /usr/bin/tor(+0x4c7dd)
 [0x564206b7d7dd] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 20:04:38.000 [warn] Bug: /usr/lib64/libevent-2.1.so.6(+0x2369a)
 [0x7f83424be69a] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 20:04:38.000 [warn] Bug:
 /usr/lib64/libevent-2.1.so.6(event_base_loop+0x57f) [0x7f83424bf5ef] (on
 Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 20:04:38.000 [warn] Bug: /usr/bin/tor(do_main_loop+0x24d)
 [0x564206b7e98d] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 20:04:38.000 [warn] Bug: /usr/bin/tor(tor_main+0x1c2d)
 [0x564206b8236d] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 20:04:38.000 [warn] Bug: /usr/bin/tor(main+0x28)
 [0x564206b79d68] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 20:04:38.000 [warn] Bug:
 /lib64/libc.so.6(__libc_start_main+0xfc) [0x7f834104e6fc] (on Tor 0.3.2.0
 -alpha-dev dc47d936d47ffc25)
 Jun 24 20:04:38.000 [warn] Bug: /usr/bin/tor(_start+0x29)
 [0x564206b79db9] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 20:04:38.000 [warn] More info on the bug: method == deflated,
 finish == 0,  *in_len == in_len_orig == 0, *out_len == out_len_orig ==
 4048
 Jun 24 20:04:38.000 [warn] write_to_buf failed. Closing connection (fd
 -1).
 }}}

--
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] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-06-24 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+
 Reporter:  toralf|  Owner:
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: unspecified
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+

Comment (by nickm):

 That's certainly strange.  I've added more logging, to see where this is
 happening. I wonder what the value of "finish" and "method" are here.

--
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] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-06-24 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+
 Reporter:  toralf|  Owner:
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: unspecified
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+

Comment (by toralf):

 {{{
 Jun 24 17:55:15.000 [notice] Tor 0.3.2.0-alpha-dev (git-dc47d936d47ffc25)
 opening log file.
 Jun 24 17:55:20.000 [warn] tor_bug_occurred_(): Bug:
 src/common/compress.c:576: tor_compress_process: Non-fatal assertion !((rv
 == TOR_COMPRESS_OK) && *in_len == in_len_orig && *out_len == out_len_orig)
 failed. (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 17:55:20.000 [warn] Bug: Non-fatal assertion !((rv ==
 TOR_COMPRESS_OK) && *in_len == in_len_orig && *out_len == out_len_orig)
 failed in tor_compress_process at src/common/compress.c:576. Stack trace:
 (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 17:55:20.000 [warn] Bug: /usr/bin/tor(log_backtrace+0x51)
 [0x55e739e3f9f1] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 17:55:20.000 [warn] Bug: /usr/bin/tor(tor_bug_occurred_+0xc5)
 [0x55e739e5a0c5] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 17:55:20.000 [warn] Bug:
 /usr/bin/tor(tor_compress_process+0x146) [0x55e739e63406] (on Tor 0.3.2.0
 -alpha-dev dc47d936d47ffc25)
 Jun 24 17:55:20.000 [warn] Bug:
 /usr/bin/tor(write_to_buf_compress+0xd5) [0x55e739d8f615] (on Tor 0.3.2.0
 -alpha-dev dc47d936d47ffc25)
 Jun 24 17:55:20.000 [warn] Bug:
 /usr/bin/tor(connection_write_to_buf_impl_+0xbd) [0x55e739dd514d] (on Tor
 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 17:55:20.000 [warn] Bug:
 /usr/bin/tor(connection_dirserv_flushed_some+0x1aa) [0x55e739e0baaa] (on
 Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 17:55:20.000 [warn] Bug: /usr/bin/tor(+0x138577)
 [0x55e739e05577] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 17:55:20.000 [warn] Bug:
 /usr/bin/tor(connection_dir_process_inbuf+0x728) [0x55e739dff758] (on Tor
 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 17:55:20.000 [warn] Bug: /usr/bin/tor(+0x10c969)
 [0x55e739dd9969] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 17:55:20.000 [warn] Bug: /usr/bin/tor(+0x4c7dd)
 [0x55e739d197dd] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 17:55:20.000 [warn] Bug: /usr/lib64/libevent-2.1.so.6(+0x2369a)
 [0x7fb181d8969a] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 17:55:20.000 [warn] Bug:
 /usr/lib64/libevent-2.1.so.6(event_base_loop+0x57f) [0x7fb181d8a5ef] (on
 Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 17:55:20.000 [warn] Bug: /usr/bin/tor(do_main_loop+0x24d)
 [0x55e739d1a98d] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 17:55:20.000 [warn] Bug: /usr/bin/tor(tor_main+0x1c2d)
 [0x55e739d1e36d] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 17:55:20.000 [warn] Bug: /usr/bin/tor(main+0x28)
 [0x55e739d15d68] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 17:55:20.000 [warn] Bug:
 /lib64/libc.so.6(__libc_start_main+0xfc) [0x7fb1809196fc] (on Tor 0.3.2.0
 -alpha-dev dc47d936d47ffc25)
 Jun 24 17:55:20.000 [warn] Bug: /usr/bin/tor(_start+0x29)
 [0x55e739d15db9] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 17:55:20.000 [warn] More info on the bug: *in_len == in_len_orig ==
 0, *out_len == out_len_orig == 4048
 Jun 24 17:55:20.000 [warn] write_to_buf failed. Closing connection (fd
 -1).
 }}}

--
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] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-06-24 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+
 Reporter:  toralf|  Owner:
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |Version:  Tor: unspecified
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+
Changes (by nickm):

 * milestone:   => Tor: 0.3.1.x-final


Comment:

 I introduced that check in 9328bd524e38befe240fd729a9febb4dfe8b5be4,
 thinking that it should never trigger: if it's happening, it does
 represent a real bug of some type, I think.

 I've added a log statement in 6caf924605fd that might help diagnose this.
 If you're running from latest master, and you see the bug again, please
 past the output here, including the line that starts with "More info on
 the bug: ".

--
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] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-06-24 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+--
 Reporter:  toralf|  Owner:
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:
Component:  Core Tor/Tor  |Version:  Tor: unspecified
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+--

Comment (by toralf):

 I should mention that the logged git commit id is wrong. I do use patched
 version, meaning on top of 0.3.1.-alpha I putted :
 {{{
 git diff tor-0.3.1.3-alpha..remotes/origin/master -- . ':!scripts/maint'
 ':!doc' ':!contrib' ':!changes' ':!ChangeLog' ':!Release*' | sudo tee
 /etc/portage/patches/net-vpn/tor/maint.patch
 }}}
 The same Bug occurs with
 {{{
 git diff tor-0.3.1.3-alpha..remotes/origin/maint-0.3.1 ...
 }}}

--
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] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-06-24 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+--
 Reporter:  toralf|  Owner:
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:
Component:  Core Tor/Tor  |Version:  Tor: unspecified
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+--

Comment (by toralf):

 FWIW:
 {{{
 Jun 24 11:34:08.000 [warn] tor_bug_occurred_(): Bug:
 src/common/compress.c:576: tor_compress_process: Non-fatal assertion !((rv
 == TOR_COMPRESS_OK) && *in_len == in_len_orig && *out_len == out_len_orig)
 failed. (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 11:34:08.000 [warn] Bug: Non-fatal assertion !((rv ==
 TOR_COMPRESS_OK) && *in_len == in_len_orig && *out_len == out_len_orig)
 failed in tor_compress_process at src/common/compress.c:576. Stack trace:
 (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 11:34:08.000 [warn] Bug: /usr/bin/tor(log_backtrace+0x51)
 [0x56431e2839f1] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 11:34:08.000 [warn] Bug: /usr/bin/tor(tor_bug_occurred_+0xc5)
 [0x56431e29e0c5] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 11:34:08.000 [warn] Bug:
 /usr/bin/tor(tor_compress_process+0x146) [0x56431e2a7406] (on Tor 0.3.2.0
 -alpha-dev dc47d936d47ffc25)
 Jun 24 11:34:08.000 [warn] Bug:
 /usr/bin/tor(write_to_buf_compress+0xd5) [0x56431e1d3615] (on Tor 0.3.2.0
 -alpha-dev dc47d936d47ffc25)
 Jun 24 11:34:08.000 [warn] Bug:
 /usr/bin/tor(connection_write_to_buf_impl_+0xbd) [0x56431e21914d] (on Tor
 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 11:34:08.000 [warn] Bug:
 /usr/bin/tor(connection_dirserv_flushed_some+0x1aa) [0x56431e24faaa] (on
 Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 11:34:08.000 [warn] Bug: /usr/bin/tor(+0x102e4d)
 [0x56431e213e4d] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 11:34:08.000 [warn] Bug: /usr/bin/tor(+0x10ca4d)
 [0x56431e21da4d] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 11:34:08.000 [warn] Bug: /usr/bin/tor(+0x4c7dd)
 [0x56431e15d7dd] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 11:34:08.000 [warn] Bug: /usr/lib64/libevent-2.1.so.6(+0x2369a)
 [0x7fe302f4b69a] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 11:34:08.000 [warn] Bug:
 /usr/lib64/libevent-2.1.so.6(event_base_loop+0x57f) [0x7fe302f4c5ef] (on
 Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 11:34:08.000 [warn] Bug: /usr/bin/tor(do_main_loop+0x24d)
 [0x56431e15e98d] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 11:34:08.000 [warn] Bug: /usr/bin/tor(tor_main+0x1c2d)
 [0x56431e16236d] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 11:34:08.000 [warn] Bug: /usr/bin/tor(main+0x28)
 [0x56431e159d68] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 11:34:08.000 [warn] Bug:
 /lib64/libc.so.6(__libc_start_main+0xfc) [0x7fe301adb6fc] (on Tor 0.3.2.0
 -alpha-dev dc47d936d47ffc25)
 Jun 24 11:34:08.000 [warn] Bug: /usr/bin/tor(_start+0x29)
 [0x56431e159db9] (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 Jun 24 11:34:08.000 [warn] write_to_buf failed. Closing connection (fd
 -1).
 }}}

--
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

[tor-bugs] #22719 [Core Tor/Tor]: Bug: src/common/compress.c:576: tor_compress_process:

2017-06-24 Thread Tor Bug Tracker & Wiki
#22719: Bug: src/common/compress.c:576: tor_compress_process:
--+--
 Reporter:  toralf|  Owner:
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:
Component:  Core Tor/Tor  |Version:  Tor: unspecified
 Severity:  Normal|   Keywords:
Actual Points:|  Parent ID:
   Points:|   Reviewer:
  Sponsor:|
--+--
 Got this today (used latest git version) at a stable Gentoo Linux server:
 {{{
 Jun 24 11:01:47.000 [warn] tor_bug_occurred_(): Bug:
 src/common/compress.c:576: tor_compress_process: Non-fatal assertion !((rv
 == TOR_COMPRESS_OK) && *in_len == in_len_orig && *out_len == out_len_orig)
 failed. (on Tor 0.3.2.0-alpha-dev dc47d936d47ffc25)
 }}}

--
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