[tor-bugs] #23551 [Core Tor/Tor]: src/common/compress.c:576: tor_compress_process: Non-fatal assertion

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Sep 23 07:09:55 UTC 2017


#23551: src/common/compress.c:576: tor_compress_process: Non-fatal assertion
--------------------------+------------------------------------
 Reporter:  cypherpunks   |          Owner:  ahf
     Type:  defect        |         Status:  assigned
 Priority:  High          |      Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |        Version:  Tor: 0.3.1.5-alpha
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by cypherpunks):

 this is hitting all my Debian 9 based relays:
 {{{
 Tor 0.3.1.7 (git-5fa14939bca67c23) running on Linux with Libevent
 2.0.21-stable, OpenSSL 1.1.0f, Zlib 1.2.8, Liblzma 5.2.2, and Libzstd
 1.1.2.
 }}}


 {{{
  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.1.7 )
  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.1.7 )
      /usr/bin/tor(log_backtrace+0x44) [0x557fdd02e194] (on Tor 0.3.1.7 )
      /usr/bin/tor(tor_bug_occurred_+0xb9) [0x557fdd047029] (on Tor 0.3.1.7
 )
      /usr/bin/tor(tor_compress_process+0x135) [0x557fdd04ffa5] (on Tor
 0.3.1.7 )
      /usr/bin/tor(+0x18e171) [0x557fdd050171] (on Tor 0.3.1.7 )
      /usr/bin/tor(tor_uncompress+0x31) [0x557fdd050631] (on Tor 0.3.1.7 )
      /usr/bin/tor(connection_dir_reached_eof+0x118c) [0x557fdcff266c] (on
 Tor 0.3.1.7 )
      /usr/bin/tor(+0x1089bc) [0x557fdcfca9bc] (on Tor 0.3.1.7 )
      /usr/bin/tor(+0x4d85e) [0x557fdcf0f85e] (on Tor 0.3.1.7 )
      /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5(event_base_loop+0x6a0)
 [0x7f2bebf2a5a0] (on Tor 0.3.1.7 )
      /usr/bin/tor(do_main_loop+0x29d) [0x557fdcf1098d] (on Tor 0.3.1.7 )
      /usr/bin/tor(tor_main+0x1c35) [0x557fdcf144d5] (on Tor 0.3.1.7 )
      /usr/bin/tor(main+0x19) [0x557fdcf0c189] (on Tor 0.3.1.7 )
      /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)
 [0x7f2bea98c2b1] (on Tor 0.3.1.7 )
      /usr/bin/tor(_start+0x2a) [0x557fdcf0c1da] (on Tor 0.3.1.7 )
 }}}

 It does NOT affect my Debian 8 relays since they have no zstd:
 {{{
 Tor 0.3.1.7 (git-5fa14939bca67c23) running on Linux ..., and Libzstd
 **N/A.**
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23551#comment:10>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list