View Single Post
Old 05 February 2023, 19:39   #19
tygre
Returning fan!
 
tygre's Avatar
 
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
Hi Phx!

Thanks for checking!

I was doing as you suggested: removing everything and adding it back little by little and I found the cause of the problem!

I use __stack to enforce a stack size:

Code:
size_t            __stack            = GLOBALS_TASK_STACK_SIZE;
with

Code:
#define GLOBALS_TASK_STACK_SIZE            65535
Frankly, I don't know why I chose 65535 but this odd number was the problem! After some experiments, it turns out that 65536 (any even number, really) allows AmiModRadio to run Now, AmiModRadio doesn't crash but it doesn't run because of some missing libraries, I'm going to test it fully...

Cheers!
tygre is offline  
 
Page generated in 0.06269 seconds with 11 queries