[OpenWrt-Devel] musl breaks python

Alexandru Ardelean ardeleanalex at gmail.com
Mon Jun 22 06:59:39 EDT 2015


Thanks for reporting this.
Will move this to the Github issues, since it belongs there.

https://github.com/openwrt/packages/issues/1450

Thanks

On Mon, Jun 22, 2015 at 1:37 PM, <micke.prag at telldus.se> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150622/f66e4557/attachment.htm>
-------------- next part --------------
_______________________________________________
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