Package: python3-stem
Version: 1.7.1-1.1
Severity: serious

Hi,

onioncircuits fails to start on current sid:

Traceback (most recent call last):
  File "/bin/onioncircuits", line 657, in <module>
    app = OnionCircuitsApplication()
  File "/bin/onioncircuits", line 633, in __init__
    self.connect_controller()
  File "/bin/onioncircuits", line 647, in connect_controller
    self.controller = stem.connection.connect(**connect_args)
  File "/usr/lib/python3/dist-packages/stem/connection.py", line 291, in connect
    return _connect_auth(control_connection, password, password_prompt, 
chroot_path, controller)
  File "/usr/lib/python3/dist-packages/stem/connection.py", line 375, in 
_connect_auth
    return controller(control_socket, is_authenticated = True)
  File "/usr/lib/python3/dist-packages/stem/control.py", line 1057, in __init__
    super(Controller, self).__init__(control_socket, is_authenticated)
  File "/usr/lib/python3/dist-packages/stem/control.py", line 585, in __init__
    self._post_authentication()
  File "/usr/lib/python3/dist-packages/stem/control.py", line 3902, in 
_post_authentication
    owning_pid = self.get_conf('__OwningControllerProcess', None)
  File "/usr/lib/python3/dist-packages/stem/control.py", line 2170, in get_conf
    entries = self.get_conf_map(param, default, multiple)
  File "/usr/lib/python3/dist-packages/stem/control.py", line 2273, in 
get_conf_map
    for key in reply:
RuntimeError: dictionary keys changed during iteration


onionshare-gui fails to start with the same error since I upgraded to
python 3.8.

I think that's https://trac.torproject.org/projects/tor/ticket/30882,
which was fixed upstream with this commit:
https://gitweb.torproject.org/stem.git/commit/stem/control.py?id=b5aecb743d33db1a6378d59792d8e57305b6c6f2

I confirm that this commit fixes the problem I'm experiencing with
onioncircuits and onionshare.

Until you, or someone else, finds time to package the 1.8.0 upstream
release, could you please import that fix as a Debian patch?
Alternatively, would you mind if someone else did that as an NMU?


In passing, this was not caught by the autopkgtest, that I think
should be marked as superficial like this:

  Tests: version
  Restrictions: allow-stderr, superficial
  Depends: @

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (2, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-4-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_USER
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-stem depends on:
ii  python3            3.8.2-1
ii  python3-distutils  3.8.2-2

python3-stem recommends no packages.

python3-stem suggests no packages.

-- no debconf information

Reply via email to