Search found 5 matches

by avinashbh
Mon May 17, 2021 12:01 pm
Forum: Other Boards
Topic: [MIPS] Garbage collection crash during Unix port running on MIPS
Replies: 16
Views: 9005

Re: [MIPS] Garbage collection crash during Unix port running on MIPS

Your suggested change seems to work. At least within my test setup. Do you plan to implement this changes to unix port?
by avinashbh
Thu May 06, 2021 7:05 am
Forum: Other Boards
Topic: [MIPS] Garbage collection crash during Unix port running on MIPS
Replies: 16
Views: 9005

Re: [MIPS] Garbage collection crash during Unix port running on MIPS

The peculiar thing about the issue is that it doesn't appear on intel cpu. I also managed to get a minimal working example which doesn't require mosquitto. import ffi import uctypes import random import gc gc.threshold(50 * 1024) # make it crash faster try: libc = ffi.open("libc.so.1") except: libc ...
by avinashbh
Tue May 04, 2021 8:33 am
Forum: Other Boards
Topic: [MIPS] Garbage collection crash during Unix port running on MIPS
Replies: 16
Views: 9005

Re: [MIPS] Garbage collection crash during Unix port running on MIPS

So unix port on Ubuntu works without any problem.
by avinashbh
Mon May 03, 2021 7:34 pm
Forum: Other Boards
Topic: [MIPS] Garbage collection crash during Unix port running on MIPS
Replies: 16
Views: 9005

Re: [MIPS] Garbage collection crash during Unix port running on MIPS

I have stitched together the files. The code below is the bare minimum code which crashes. I have marked point of crash as "A", this is the place where callback is being actually called; and "B" is the actual callback. Let me know if something is not clear. Thanks in advance! #####################ut...
by avinashbh
Mon May 03, 2021 3:25 pm
Forum: Other Boards
Topic: [MIPS] Garbage collection crash during Unix port running on MIPS
Replies: 16
Views: 9005

[MIPS] Garbage collection crash during Unix port running on MIPS

Hi All, This is my first post to the community. I'm pretty new to micropython and to the community. I ran into issues while running micropython unix port on MIPS32. I have cross compiled micropython for a MIPS32 and running it alongwith openwrt. The issue happens during garbage collection. When garb...