Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ooniprobe-agent: crashes under grsec: MemoryError in ctypes #37

Open
hellais opened this issue Sep 17, 2018 · 0 comments
Open

ooniprobe-agent: crashes under grsec: MemoryError in ctypes #37

hellais opened this issue Sep 17, 2018 · 0 comments
Labels
bug Something isn't working
Projects

Comments

@hellais
Copy link
Member

hellais commented Sep 17, 2018

@pabs3 commented on Mon Nov 28 2016

Description

ooniprobe-agent crashes under grsec with a MemoryError in the ctypes code

Steps to Reproduce

  1. Install Debian stretch
  2. Install linux-image-4.8.0-1-grsec-amd64 4.8.7-1+grsec201611102210+1
  3. Reboot into the new kernel
  4. Install ooniprobe 2.0.1-2

Expected behavior: ooniprobe systemd service starts as per normal

Actual behavior: ooniprobe systemd service crashes

Versions

How did you install ooniprobe

Debian packages

What version of ooniprobe are you running?

2.0.1-2

What operating system are you running and what version is it?

Debian stretch (8) with systemd

Details

systemd[1]: Starting Probe for Open Observatory for Network Interference...
ooniprobe-agent[726]: Traceback (most recent call last):
ooniprobe-agent[726]:   File "/usr/bin/ooniprobe-agent", line 11, in <module>
ooniprobe-agent[726]:     load_entry_point('ooniprobe==2.0.1', 'console_scripts', 'ooniprobe-agent')()
ooniprobe-agent[726]:   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 564, in load_entry_point
ooniprobe-agent[726]:     return get_distribution(dist).load_entry_point(group, name)
ooniprobe-agent[726]:   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2608, in load_entry_point
ooniprobe-agent[726]:     return ep.load()
ooniprobe-agent[726]:   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2268, in load
ooniprobe-agent[726]:     return self.resolve()
ooniprobe-agent[726]:   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2274, in resolve
ooniprobe-agent[726]:     module = __import__(self.module_name, fromlist=['__name__'], level=0)
ooniprobe-agent[726]:   File "/usr/lib/python2.7/dist-packages/ooni/scripts/ooniprobe_agent.py", line 9, in <module>
ooniprobe-agent[726]:     from twisted.scripts import twistd
ooniprobe-agent[726]:   File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 13, in <module>
ooniprobe-agent[726]:     from twisted.application import app
ooniprobe-agent[726]:   File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 17, in <module>
ooniprobe-agent[726]:     from twisted import copyright, plugin, logger
ooniprobe-agent[726]:   File "/usr/lib/python2.7/dist-packages/twisted/plugin.py", line 36, in <module>
ooniprobe-agent[726]:     from twisted.python.modules import getModule
ooniprobe-agent[726]:   File "/usr/lib/python2.7/dist-packages/twisted/python/modules.py", line 75, in <module>
ooniprobe-agent[726]:     from twisted.python.filepath import FilePath, UnlistableError
ooniprobe-agent[726]:   File "/usr/lib/python2.7/dist-packages/twisted/python/filepath.py", line 38, in <module>
ooniprobe-agent[726]:     from twisted.python.win32 import ERROR_FILE_NOT_FOUND, ERROR_PATH_NOT_FOUND
ooniprobe-agent[726]:   File "/usr/lib/python2.7/dist-packages/twisted/python/win32.py", line 172, in <module>
ooniprobe-agent[726]:     formatError = _ErrorFormatter.fromEnvironment().formatError
ooniprobe-agent[726]:   File "/usr/lib/python2.7/dist-packages/twisted/python/win32.py", line 132, in fromEnvironment
ooniprobe-agent[726]:     from ctypes import WinError
ooniprobe-agent[726]:   File "/usr/lib/python2.7/ctypes/__init__.py", line 552, in <module>
ooniprobe-agent[726]:     _reset_cache()
ooniprobe-agent[726]:   File "/usr/lib/python2.7/ctypes/__init__.py", line 276, in _reset_cache
ooniprobe-agent[726]:     CFUNCTYPE(c_int)(lambda: None)
ooniprobe-agent[726]: MemoryError
systemd[1]: ooniprobe.service: Control process exited, code=exited status=1
systemd[1]: Failed to start Probe for Open Observatory for Network Interference.
systemd[1]: ooniprobe.service: Unit entered failed state.
systemd[1]: ooniprobe.service: Failed with result 'exit-code'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
OONI-Verse
  
Icebox
Development

No branches or pull requests

1 participant