Opened 2 years ago

Closed 2 years ago

#23779 closed defect (duplicate)

Bug message of tor 3.1.7

Reported by: h4b Owned by:
Priority: Medium Milestone:
Component: Core Tor/Tor Version: Tor: 0.3.1.7
Severity: Normal Keywords: tor_compress_process
Cc: h4b Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Just updated my "server" which works as a relay and client mode with different configurations and processes and just got this bug report:

Oct 7 16:26:10 Tor[6759]: Performing bandwidth self-test...done.
Oct 7 16:27:06 Tor[6759]: 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.1.7 6babd3d9ba9318b3)
Oct 7 16:27:06 Tor[6759]: 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.1.7 6babd3d9ba9318b3)
Oct 7 16:27:06 Tor[6759]: Bug: /usr/bin/tor(log_backtrace+0x33) [0x5b9cdc] (on Tor 0.3.1.7 6babd3d9ba9318b3)
Oct 7 16:27:06 Tor[6759]: Bug: /usr/bin/tor(tor_bug_occurred_+0x6d) [0x5d0f6a] (on Tor 0.3.1.7 6babd3d9ba9318b3)
Oct 7 16:27:06 Tor[6759]: Bug: /usr/bin/tor(tor_uncompress+0x1d1) [0x5d93e2] (on Tor 0.3.1.7 6babd3d9ba9318b3)
Oct 7 16:27:06 Tor[6759]: Bug: /usr/bin/tor(connection_dir_reached_eof+0x109f) [0x587888] (on Tor 0.3.1.7 6babd3d9ba9318b3)
Oct 7 16:27:06 Tor[6759]: Bug: /usr/bin/tor(+0x1311cc) [0x5661cc] (on Tor 0.3.1.7 6babd3d9ba9318b3)
Oct 7 16:27:06 Tor[6759]: Bug: /usr/bin/tor(+0x8852e) [0x4bd52e] (on Tor 0.3.1.7 6babd3d9ba9318b3)
Oct 7 16:27:22 Tor[6759]: 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.1.7 6babd3d9ba9318b3)
Oct 7 16:27:2Z Tor[6759]: 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.1.7 6babd3d9ba9318b3)
Oct 7 16:27:22 Tor[6759]: Bug: /usr/bin/tor(log_backtrace+0x33) [0x5b9cdc] (on Tor 0.3.1.7 6babd3d9ba9318b3)
Oct 7 16:27:22 Tor[6759]: Bug: /usr/bin/tor(tor_bug_occurred_+0x6d) [0x5d0f6a] (on Tor 0.3.1.7 6babd3d9ba9318b3)
Oct 7 16:27:22 Tor[6759]: Bug: /usr/bin/tor(tor_uncompress+0x1d1) [0x5d93e2] (on Tor 0.3.1.7 6babd3d9ba9318b3)
Oct 7 16:27:22 Tor[6759]: Bug: /usr/bin/tor(connection_dir_reached_eof+0x109f) [0x587888] (on Tor 0.3.1.7 6babd3d9ba9318b3)
Oct 7 16:27:22 Tor[6759]: Bug: /usr/bin/tor(+0x1311cc) [0x5661cc] (on Tor 0.3.1.7 6babd3d9ba9318b3)
Oct 7 16:27:22 Tor[6759]: Bug: /usr/bin/tor(+0x8852e) [0x4bd52e] (on Tor 0.3.1.7 6babd3d9ba9318b3)

System runs on ARMv7 hardware with cryptodev acceleration with following compiler settings and armbian 8.9 kernel:

Linux 4.13.5-sunxi #9 SMP Fri Oct 6 00:08:20 CEST 2017 armv7l GNU/Linux

CFLAGS=-O3 -I/usr/local/include -L/usr/local/lib -L/usr/local/lib/arm-linux-gnueabihf -pipe -DHAVE_CRYPTODEV -DUSE_CRYPTDEV_DIGESTS -fstack-protector-strong -march=armv7ve -mtune=cortex-a7 -mfpu=neon-vfpv4 -ftree-vectorize -mfloat-abi=hard -funsafe-math-optimizations

./configure --enable-systemd --prefix=/usr --enable-static-openssl --with-openssl-dir=/usr/local/lib/arm-linux-gnueabihf --enable-static-libevent --with-libevent-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib --mandir=/usr/share/man --infodir=/usr/share/info --localstatedir=/var --sysconfdir=/etc --disable-silent-rules

ldd /usr/bin/tor

linux-vdso.so.1 (0xbefe1000)
libz.so.1 => /usr/local/lib/libz.so.1 (0xb6b2d000)
libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6aaa000)
libsystemd.so.0 => /lib/arm-linux-gnueabihf/libsystemd.so.0 (0xb6a83000)
liblzma.so.5 => /lib/arm-linux-gnueabihf/liblzma.so.5 (0xb6a5b000)
libzstd.so.1 => /usr/local/lib/libzstd.so.1 (0xb69fa000)
libscrypt.so => /usr/local/lib/libscrypt.so (0xb69e5000)
libseccomp.so.0 => /usr/local/lib/libseccomp.so.0 (0xb69b4000)
libcap.so.2 => /lib/arm-linux-gnueabihf/libcap.so.2 (0xb69a0000)
libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb697d000)
libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb696a000)
libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb6941000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6851000)
/lib/ld-linux-armhf.so.3 (0xb6f52000)
librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb683b000)
libgcrypt.so.20 => /usr/local/lib/libgcrypt.so.20 (0xb6770000)
libresolv.so.2 => /lib/arm-linux-gnueabihf/libresolv.so.2 (0xb6750000)
libattr.so.1 => /lib/arm-linux-gnueabihf/libattr.so.1 (0xb673c000)
libgpg-error.so.0 => /usr/local/lib/libgpg-error.so.0 (0xb671d000)

Used libs:
openssl-1.1.0f (with cryptodev flag)
libevent-2.0.22-stable
libevent-2.1.8-stable
ibgcrypt-1.6.5
libgcrypt-1.7.7
libgpg-error-1.27
libscrypt-master
libseccomp-2.3.2
zlib-1.2.11
zstd-1.3.1

Child Tickets

Attachments (1)

Installation_Upgrade_Guide._Cubitruck.pdf (122.4 KB) - added by h4b 2 years ago.
Installation HowTo

Download all attachments as: .zip

Change History (4)

comment:1 Changed 2 years ago by h4b

Cc: h4b added
Component: - Select a componentCore Tor/Tor

comment:2 Changed 2 years ago by h4b

Update: This bug creates three tor threads with max. of cpu usage ... have to restart service with NumCPUs 1 option set.

comment:3 Changed 2 years ago by cypherpunks

Resolution: duplicate
Status: newclosed

Duplicate #23551 (it has been fixed FWIW)

Changed 2 years ago by h4b

Installation HowTo

Note: See TracTickets for help on using tickets.