New submission from Stefan Rink <stefanr...@yahoo.com>:

When trying to run dask distributed on ARM you will end with a segmentation 
fault on multiple in multiple tests;

Works on AMD64 but does not work on ARM or AARCH64 and results in a Signal 11.

Example;
# python
Python 3.6.6 (default, Sep 29 2018, 05:50:41) 
[GCC 4.2.1 Compatible FreeBSD Clang 6.0.1 (tags/RELEASE_601/final 335540)] on 
freebsd12
Type "help", "copyright", "credits" or "license" for more information.
>>> from dask.distributed import Client
>>> client = Client()
Segmentation fault (core dumped)

# gdb /usr/local/bin/python3.6 python3.6.core 
GNU gdb (GDB) 8.1 [GDB v8.1 for FreeBSD]
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "aarch64-portbld-freebsd12.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/python3.6...(no debugging symbols 
found)...done.
[New LWP 101213]
Core was generated by `python'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  testcancel (curthread=0x3e8) at /usr/src/lib/libthr/thread/thr_cancel.c:144
144     {
(gdb) bt
#0  testcancel (curthread=0x3e8) at /usr/src/lib/libthr/thread/thr_cancel.c:144
#1  _thr_cancel_enter (curthread=0x3e8) at 
/usr/src/lib/libthr/thread/thr_cancel.c:146
#2  0x00000000402a5b54 in __thr_connect (fd=3, name=0xffffffffd310, namelen=106)
    at /usr/src/lib/libthr/thread/thr_syscalls.c:179
#3  0x000000004240e23c in uuid_generate_time () from /usr/local/lib/libuuid.so.1
#4  0x0000000042382068 in ffi_call_SYSV () from /lib/libffi.so.6
#5  0x00000000423822c8 in ffi_call () from /lib/libffi.so.6
#6  0x000000004234664c in _ctypes_callproc () from 
/usr/local/lib/python3.6/lib-dynload/_ctypes.so
#7  0x00000000423403f0 in ?? () from 
/usr/local/lib/python3.6/lib-dynload/_ctypes.so
#8  0x00000000422f5720 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

----------
components: Build, Cross-Build, FreeBSD, ctypes
messages: 327527
nosy: Alex.Willmer, koobs, stefanr...@yahoo.com
priority: normal
severity: normal
status: open
title: Segementation faults on ARM and ARM64
type: crash
versions: Python 2.7, Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34957>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to