Re: [OpenWrt-Devel] musl breaks python
@micke.prag : mind to re-test. I could not reproduce it with an x86 VM. I don't have an ar71xx around to test with; i.e. I have pre-CC firmware on them. This issue could be a temp-issue. At the moment the OpenWRT trunk with musl is shifting like an earth-quake, and this could have been fixed already. There was an issue with Ruby 2.2 and musl (segfault) which was resolved with an update to musl. https://github.com/openwrt/packages/issues/1440 On Tue, Jun 23, 2015 at 1:48 PM, Szabolcs Nagy wrote: > * micke.p...@telldus.se [2015-06-22 12:37:47 > +0200]: > > 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: > > fwiw i cant reproduce this on alpine-linux > so this is either arch specific, openwrt specific > or python version specific. > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] musl breaks python
* micke.p...@telldus.se [2015-06-22 12:37:47 +0200]: > 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: fwiw i cant reproduce this on alpine-linux so this is either arch specific, openwrt specific or python version specific. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] musl breaks python
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, 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@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 > ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] musl breaks python
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