[OpenWrt-Devel] musl breaks python
micke.prag at telldus.se
micke.prag at telldus.se
Mon Jun 22 06:37:47 EDT 2015
Hi,
I have discovered that python is broken using musl. When a thread
created
using the threading library exists, python segfaults.
This is a simple example application showing the issue:
import time
import threading
def test():
print("Hello")
time.sleep(2)
print("world")
t = threading.Thread(target=test)
t.start()
After printing "world" python segfaults.
root at OpenWrt:~# python test.py
Hello
world
Segmentation fault
This has only been tested/verified by me on the ar71xx platform using
AR9331. Built using r46106.
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list