¿ªÔÆÌåÓý

Re: KBD on v3 screen


 

On Mon, Jan 15, 2024 at 07:24 PM, barry halterman wrote:
Dave, what I ended up with.

That makes it clear where the failure is, but not why.

?is the spot (in the current code, which may or may not be 100% the same as what is in the image):

This code looks like:




So the sbitx code is asking for memory, the request fails, so the sbitx application prints that message then exits.

The request fails either because either:
(a) the calculation for how much memory to ask for is in error (maybe f->height is absurdly big?), or
(b) the system really doesn't have enough memory to satisfy the request
?
Maybe mine is working because my sbitx v3 is using a Pi 4 with 4GB, I don't know.?

Or maybe some other code path is tying down a lot of memory when you happen to press that button, that would explain it working in some cases and not in others.

I'll try to poke around some more, but hopefully this clue gives others some ideas as well.

But thanks for providing that big clue!

--
Regards,
Dave, N1AI

Join [email protected] to automatically receive all group messages.