--- wikisrc/users/leot/aarch64_problems.mdwn 2018/06/18 12:30:36 1.1 +++ wikisrc/users/leot/aarch64_problems.mdwn 2018/06/18 13:16:53 1.3 @@ -4,24 +4,10 @@ Here a list of possible problems of NetB investigation in order to write proper PR or better yet to fix them! -## `usbhidctl` and NetBSD crashes on Pinebook - -At least by running: - -```` -# usbhidctl -f uhid4 -r -```` - -it is possible to crash the Pinebook. Investigate why and if possible get a -complete backtrace. - - ## `mpv` and NetBSD crashes Just by invoking `mpv` via: -```` -$ mpv -```` + $ mpv It is possible to completely crash NetBSD on aarch64. Investigate why and if possible get a complete backtrace. @@ -32,40 +18,34 @@ possible get a complete backtrace. ## Python `import requests` SIGILLs Doing a (please note that also `python36` is affected): -```` -$ python2.7 -c 'import requests' -Illegal instruction (core dumped) -Exit 132 -```` + $ python2.7 -c 'import requests' + Illegal instruction (core dumped) + Exit 132 leads to a SIGILL. Trying to reduce the test case this also happens with just a: -```` -$ python2.7 -c 'import OpenSSL' -Illegal instruction (core dumped) -Exit 132 -```` + $ python2.7 -c 'import OpenSSL' + Illegal instruction (core dumped) + Exit 132 Trying to debug this a bit further we can see: -```` -% cat asi.py -import OpenSSL -% python2.7 -m trace --trace asi.py -[...] -binding.py(88): for attr in dir(lib): -binding.py(89): if attr not in excluded_names: -binding.py(90): setattr(conditional_lib, attr, getattr(lib, attr)) -binding.py(88): for attr in dir(lib): -binding.py(89): if attr not in excluded_names: -binding.py(90): setattr(conditional_lib, attr, getattr(lib, attr)) -binding.py(88): for attr in dir(lib): -binding.py(89): if attr not in excluded_names: -binding.py(90): setattr(conditional_lib, attr, getattr(lib, attr)) -binding.py(88): for attr in dir(lib): -binding.py(92): return conditional_lib -binding.py(126): cls._lib_loaded = True -binding.py(128): cls.lib.SSL_library_init() -Illegal instruction (core dumped) -Exit 132 -```` + % cat asi.py + import OpenSSL + % python2.7 -m trace --trace asi.py + [...] + binding.py(88): for attr in dir(lib): + binding.py(89): if attr not in excluded_names: + binding.py(90): setattr(conditional_lib, attr, getattr(lib, attr)) + binding.py(88): for attr in dir(lib): + binding.py(89): if attr not in excluded_names: + binding.py(90): setattr(conditional_lib, attr, getattr(lib, attr)) + binding.py(88): for attr in dir(lib): + binding.py(89): if attr not in excluded_names: + binding.py(90): setattr(conditional_lib, attr, getattr(lib, attr)) + binding.py(88): for attr in dir(lib): + binding.py(92): return conditional_lib + binding.py(126): cls._lib_loaded = True + binding.py(128): cls.lib.SSL_library_init() + Illegal instruction (core dumped) + Exit 132