Philippe Gerum wrote:
>Fillod Stephane wrote:
>> For the legacy RTAI application to load, the attached patch was
>> necessary.
>> The patch against ksrc/skins/rtai/shm.c is somewhat defeating the
>> purpose
>> of a lower XNCORE_PAGE_SIZE, so a better fix might be expected.
>This one should prevent -EINVAL from being returned. Hopefully.

Nope, it doesn't :-(
Most probably because still (hdrsize + 2 * pagesize > heapsize).

>> In the mean time, does anyone have a clue where to look particularly?
>Hard to say at this point. Since the nucleus watchdog does not trigger,
>you may want to try disabling X86_UP_IOAPIC while keeping X86_UP_APIC,
>and arm the kernel NMI watchdog on the LAPIC (nmi_watchdog=2). You may
>be lucky and have a backtrace after the freeze.
>PS: maybe enabling all the nucleus debug options would catch something

Thanks for the ideas. It looks like part of the problem came from memory
corruption (access beyond heap) in the application (not so stable app
in the end, he!). I'm still experiencing random freeze when freeing
resources when stopping application, but runtime is stable.
To be honest, the freeze was not a perfect freeze, I got just a one line
trace from do_page_fault(), with no backtrace or pointer. Unhelpful.
I have updated


Xenomai-core mailing list

Reply via email to