[Pkg-privacy-maintainers] Bug#881496: Bug#881496: onioncircuits: current python3/testing breaks onioncircuits

Sascha Steinbiss satta at debian.org
Sat Nov 18 09:45:54 UTC 2017


Hi Mykola,

thanks for letting us know about the issue.

> --8<---------------cut here---------------start------------->8---
> $ onioncircuits 
> Traceback (most recent call last):
>   File "/usr/bin/onioncircuits", line 31, in <module>
>     import stem.connection
>   File "/usr/lib/python3/dist-packages/stem/connection.py", line 134, in <module>
>     import stem.control
>   File "/usr/lib/python3/dist-packages/stem/control.py", line 265, in <module>
>     import stem.descriptor.microdescriptor
>   File "/usr/lib/python3/dist-packages/stem/descriptor/__init__.py", line 55, in <module>
>     import stem.util.system
>   File "/usr/lib/python3/dist-packages/stem/util/system.py", line 68, in <module>
>     import ctypes
>   File "/usr/lib/python3.6/ctypes/__init__.py", line 7, in <module>
>     from _ctypes import Union, Structure, Array
> ImportError: /usr/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so: failed to map segment from shared object
> --8<---------------cut here---------------end--------------->8---

Unfortunately I an unable to reproduce this on a fresh testing amd64
Vagrant box with the same versions of python3 and stem that you are using:

  vagrant at testing:~$ apt show python3 python3-stem | grep Vers
  [...]
  Version: 3.6.3-2
  Version: 1.6.0-1

Onioncircuits (0.5-1) starts up fine and displays correct data. All I
did to set up my testing environment was installing onioncircuits, tor
and then adding the Vagrant user to the debian-tor group (so
onioncircuits would work as user).

Some googling for the "failed to map segment from shared object" message
seems to suggest some issue with missing filesystem execute permissions,
but given that it's /usr/lib we're looking at here and downgrading to
another python3 version fixes the problem, it's unlikely that's the cause.

Can anyone else in the team reproduce this issue or probably comment?

Cheers
Sascha


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-privacy-maintainers/attachments/20171118/f2464f9c/attachment.sig>


More information about the Pkg-privacy-maintainers mailing list