jgarff / rpi_ws281x

Userspace Raspberry Pi PWM library for WS281X LEDs
BSD 2-Clause "Simplified" License
1.78k stars 622 forks source link

Segfault on 4.2.4 #403

Closed jasminhacker closed 4 years ago

jasminhacker commented 4 years ago

With version 4.2.4 python scripts segfault after creating an Adafruit_NeoPixel instance.

Python 3.7.5 (default, Nov  7 2019, 10:50:52)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import rpi_ws281x
>>> rpi_ws281x.Adafruit_NeoPixel(0, 0)
<rpi_ws281x.rpi_ws281x.Adafruit_NeoPixel object at 0x7f2fff132110>
>>> exit()
zsh: segmentation fault (core dumped)  python

Same behavior in the python:3 container from dockerhub (python version 3.8.2).

jasminhacker commented 4 years ago

Moved to https://github.com/rpi-ws281x/rpi-ws281x-python/issues/46.