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@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@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to