version 1.1, 2018/06/18 12:30:36
|
version 1.2, 2018/06/18 12:42:27
|
Line 8 investigation in order to write proper P
|
Line 8 investigation in order to write proper P
|
|
|
At least by running: |
At least by running: |
|
|
```` |
# usbhidctl -f uhid4 -r |
# usbhidctl -f uhid4 -r |
|
```` |
|
|
|
it is possible to crash the Pinebook. Investigate why and if possible get a |
it is possible to crash the Pinebook. Investigate why and if possible get a |
complete backtrace. |
complete backtrace. |
Line 19 complete backtrace.
|
Line 17 complete backtrace.
|
## `mpv` and NetBSD crashes |
## `mpv` and NetBSD crashes |
Just by invoking `mpv` via: |
Just by invoking `mpv` via: |
|
|
```` |
$ mpv |
$ mpv |
|
```` |
|
|
|
It is possible to completely crash NetBSD on aarch64. Investigate why and if |
It is possible to completely crash NetBSD on aarch64. Investigate why and if |
possible get a complete backtrace. |
possible get a complete backtrace. |
Line 32 possible get a complete backtrace.
|
Line 28 possible get a complete backtrace.
|
## Python `import requests` SIGILLs |
## Python `import requests` SIGILLs |
Doing a (please note that also `python36` is affected): |
Doing a (please note that also `python36` is affected): |
|
|
```` |
$ python2.7 -c 'import requests' |
$ python2.7 -c 'import requests' |
Illegal instruction (core dumped) |
Illegal instruction (core dumped) |
Exit 132 |
Exit 132 |
|
```` |
|
|
|
leads to a SIGILL. Trying to reduce the test case this also happens with just a: |
leads to a SIGILL. Trying to reduce the test case this also happens with just a: |
|
|
```` |
$ python2.7 -c 'import OpenSSL' |
$ python2.7 -c 'import OpenSSL' |
Illegal instruction (core dumped) |
Illegal instruction (core dumped) |
Exit 132 |
Exit 132 |
|
```` |
|
|
|
Trying to debug this a bit further we can see: |
Trying to debug this a bit further we can see: |
|
|
```` |
% cat asi.py |
% cat asi.py |
import OpenSSL |
import OpenSSL |
% python2.7 -m trace --trace asi.py |
% python2.7 -m trace --trace asi.py |
[...] |
[...] |
binding.py(88): for attr in dir(lib): |
binding.py(88): for attr in dir(lib): |
binding.py(89): if attr not in excluded_names: |
binding.py(89): if attr not in excluded_names: |
binding.py(90): setattr(conditional_lib, attr, getattr(lib, attr)) |
binding.py(90): setattr(conditional_lib, attr, getattr(lib, attr)) |
binding.py(88): for attr in dir(lib): |
binding.py(88): for attr in dir(lib): |
binding.py(89): if attr not in excluded_names: |
binding.py(89): if attr not in excluded_names: |
binding.py(90): setattr(conditional_lib, attr, getattr(lib, attr)) |
binding.py(90): setattr(conditional_lib, attr, getattr(lib, attr)) |
binding.py(88): for attr in dir(lib): |
binding.py(88): for attr in dir(lib): |
binding.py(89): if attr not in excluded_names: |
binding.py(89): if attr not in excluded_names: |
binding.py(90): setattr(conditional_lib, attr, getattr(lib, attr)) |
binding.py(90): setattr(conditional_lib, attr, getattr(lib, attr)) |
binding.py(88): for attr in dir(lib): |
binding.py(88): for attr in dir(lib): |
binding.py(92): return conditional_lib |
binding.py(92): return conditional_lib |
binding.py(126): cls._lib_loaded = True |
binding.py(126): cls._lib_loaded = True |
binding.py(128): cls.lib.SSL_library_init() |
binding.py(128): cls.lib.SSL_library_init() |
Illegal instruction (core dumped) |
Illegal instruction (core dumped) |
Exit 132 |
Exit 132 |
|
```` |
|