Using net-p2p/transmission-2.84 (transmission-qt - since last July) and now it will not download unless I set the encyption mode to "Allow encryption". Have always used "Require encryption" in the past but cannot use it now. I tried to downgrading openssl and rebuilding transmission to no avail. Don't know what else to try. Reproducible: Always emerge --info transmission Portage 2.2.15 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.8.4, glibc-2.20-r1, 3.18.3-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.18.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2 KiB Mem: 32896736 total, 25483612 free KiB Swap: 6291452 total, 6291452 free Timestamp of tree: Sat, 17 Jan 2015 20:45:01 +0000 sh bash 4.3_p33 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p33 dev-java/java-config: 2.2.0 dev-lang/perl: 5.20.1-r4 dev-lang/python: 2.7.9-r1, 3.3.5-r1, 3.4.2 dev-util/cmake: 3.1.0 dev-util/pkgconfig: 0.28-r2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.7 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.10.3-r1, 1.11.6-r1, 1.12.6, 1.15 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.4 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.4 sys-devel/make: 4.1-r1 sys-kernel/linux-headers: 3.18 (virtual/os-headers) sys-libs/glibc: 2.20-r1 Repositories: gentoo desktop server ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/desktop /usr/local/portage/server" SYNC="rsync://rsync11.us.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi alsa amd64 amr apache2 audiofile avahi bash-completion berkdb bluray branding btrfs bzip2 cairo caps cdaudio cdda cddb cdparanoia cdr cdrdao chm cleartype cli corefonts cracklib crypt cups curl cxx dbus declarative designer-plugin djvu dri dts dv dvb dvd dvdr ebook emboss encode exif fam fdk ffmpeg firefox flac fortran gdbm gif glamor gmp google gphoto2 gpm gstreamer gtk gtk3 iconv icu ieee1394 imagemagick imap imlib introspection ipv6 jack java jpeg jpeg2k kde kipi kpathsea lame lash lcms libav libffi libnotify lzma mad marble midi mmap mmx mng modules mozilla mp3 mp4 mpeg mtp multilib musicbrainz ncurses network nls nodrm nptl nsplugin nvidia ofx ogg opencl openexr opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 readline rtmp sasl scanner sdl semantic-desktop session slp smp sndfile spell sse sse2 ssl startup-notification subversion svg systemd theora threads tiff tk transparency truetype type1 udev udisks unicode unwind upower usb v4l vaapi vcd vdpau vim-syntax vorbis vpx wav wavpack wayland wmf wxwidgets x264 xattr xcomposite xine xinerama xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel hdsp hpet hrtimer rtctimer seqdummy virmidi" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="author braindump flow karbon kexi krita sheets stage words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en" NGINX_MODULES_HTTP="autoindex fancyindex fastcgi gzip" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau intel modesetting" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= net-p2p/transmission-2.84 was built with the following: USE="gtk qt4 systemd (-ayatana) -lightweight -xfs" ABI_X86="64"
Same here with gtk version.
I'm seeing the same issue after upgrading to libevent-2.1.5. I see traffic being sent, but the peers never show up in the peer list and no data gets saved. The problem does not happen if I set transmission to "Allow encryption" instead of "Require encryption". Downgrading to libevent-2.0.22 makes it work again.
I opened a ticket upstream (awaiting moderation). https://trac.transmissionbt.com/ticket/8844
(In reply to Mike Gilbert from comment #3) > I opened a ticket upstream (awaiting moderation). > > https://trac.transmissionbt.com/ticket/8844 When I visit that, I get: Error: Invalid ticket number Ticket 8844 does not exist.
Looks like a deadlock in one of the objects passed to maybeEncryptBuffer() in libtransmission/peer-io.c.
(In reply to Jeroen Roovers from comment #4) > When I visit that, I get: > > Error: Invalid ticket number > Ticket 8844 does not exist. When I created the ticket, Trac told me that it was awaiting "moderation" and gave me a page with that number on it. I have no idea how moderation actually works, or if anyone is paying attention to it.
I switched over to qbittorrent in the meantime, seems to work fine with the new libevent.
Had the wrong ticket number. I have updated the URL.
(In reply to Chris Smith from comment #7) > I switched over to qbittorrent in the meantime, seems to work fine with the > new libevent. Please stay on topic.
This problem might be related to this one: http://archives.seul.org/libevent/users/Feb-2012/msg00053.html. You may also be interested in reading the changelog from libevent 2.1 available here: https://github.com/libevent/libevent/blob/master/whatsnew-2.1.txt, e.g. section 1.3.1. I don't know if this is fixed.
It is now fixed in upstream.
(In reply to moikkis from comment #11) > It is now fixed in upstream. https://trac.transmissionbt.com/ticket/5456
(In reply to Michael Weber from comment #12) > https://trac.transmissionbt.com/ticket/5456 I've just tested 2.84-r1 with changeset_14542, 14544 and 14545 via epatch_user and can confirm it's functionality with various torrents.
commit 1b505e00478484bf701d2dbc26e48b0b07a3b6c2 Author: Mike Gilbert <floppym@gentoo.org> Date: Sat Oct 3 14:56:15 2015 -0400 net-p2p/transmission: Fix issue with encryption with libevent-2.1.5 Backported upstream patches. Bug: https://bugs.gentoo.org/536922 Package-Manager: portage-2.2.22_p5 .../transmission/files/2.84-libevent-2.1.5.patch | 112 ++++++++++++++ net-p2p/transmission/transmission-2.84-r2.ebuild | 164 +++++++++++++++++++++ 2 files changed, 276 insertions(+)