<div dir="ltr"><div><div>Thanks for reporting this.<br></div>Will move this to the Github issues, since it belongs there.<br><br><a href="https://github.com/openwrt/packages/issues/1450">https://github.com/openwrt/packages/issues/1450</a><br><br></div>Thanks<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 22, 2015 at 1:37 PM,  <span dir="ltr"><<a href="mailto:micke.prag@telldus.se" target="_blank">micke.prag@telldus.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have discovered that python is broken using musl. When a thread created<br>
using the threading library exists, python segfaults.<br>
<br>
This is a simple example application showing the issue:<br>
<br>
import time<br>
import threading<br>
<br>
def test():<br>
        print("Hello")<br>
        time.sleep(2)<br>
        print("world")<br>
<br>
t = threading.Thread(target=test)<br>
t.start()<br>
<br>
After printing "world" python segfaults.<br>
<br>
root@OpenWrt:~# python test.py<br>
Hello<br>
world<br>
Segmentation fault<br>
<br>
This has only been tested/verified by me on the ar71xx platform using AR9331. Built using r46106.<br>
_______________________________________________<br>
openwrt-devel mailing list<br>
<a href="mailto:openwrt-devel@lists.openwrt.org" target="_blank">openwrt-devel@lists.openwrt.org</a><br>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" rel="noreferrer" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
</blockquote></div><br></div>