Search found 2 matches

by srmppd
Fri May 15, 2020 9:32 pm
Forum: Development of MicroPython
Topic: Python output causes segfault
Replies: 1
Views: 1599

Re: Python output causes segfault

Adding

Code: Select all

#define MICROPY_QSTR_EXTRA_POOL (mp_qstr_frozen_const_pool)
to my mpconfigport.h seems to have solved my problem.
by srmppd
Mon May 11, 2020 1:50 pm
Forum: Development of MicroPython
Topic: Python output causes segfault
Replies: 1
Views: 1599

Python output causes segfault

I'm creating my own port and now have the following problem: When I execute a frozen MPY using pyexec_frozen_module() it runs fine as long as the module does not create any output. But as soon as there is a print() or a raise in the python code I get something like the following output followed by a...