I am using SYS/BIOS 6.33.5.46, NDK 2.21.0.32, NSP 1.10.0.03 on a custom 6748 board. i am using the NDK in a fashion that i am doing the API calls myself, which means i am calling NC_Netstop, NC_Netstart, etc. i am basing this project on a previous project that used NDK 2.20 and that worked just fine. code generation is off so the SYS/BIOS NDK does not run, it is all my own task that does everything.
my problem is that when i call NC_NetStop, after my custom netstop routine returns but before NC_NetStart returns i get an error from SYS/BIOS. actually i can get one of 1 errors so far. they are:
[C674X_0] ti.sysbios.heaps.HeapMem: line 309: assertion failure: A_invalidFree: Invalid free
xdc.runtime.Error.raise: terminating execution
and
[C674X_0] ti.sysbios.family.c64p.Hwi: line 234: E_handleNotFound: Hwi handle not found: 0xc1db64b8
xdc.runtime.Error.raise: terminating execution
i do not know what the NDK is trying to free that it can't find the handle for and i have no idea what HWI is triggering that could be causing that error.
does anyone have any idea what causes these errors? am i blowing my system stack? if so how can i find that in SYS/BIOS ROV? i remember in DSP/BIOS it was under krnl but i can't find anything like that in SYS/BIOS ROV view. i know i am not blowing the heap.
any ideas?