Diff for /wikisrc/users/leot/aarch64_problems.mdwn between versions 1.1 and 1.4

version 1.1, 2018/06/18 12:30:36 version 1.4, 2018/06/28 09:10:49
Line 4  Here a list of possible problems of NetB Line 4  Here a list of possible problems of NetB
 investigation in order to write proper PR or better yet to fix them!  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  ## `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 18  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  
 ````  Please also note that this problem seems limited to `OpenSSL`, `ssl` module
   works.

Removed from v.1.1  
changed lines
  Added in v.1.4


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb