mem leak on slab size-1024 with Xenomai processes
Sigh, this is not my day: Can anyone confirm that we are leaking memory with current SVN head? I'm seeing a constant increase on slab "size-1024" on a x86_64 box when running arbitrary Xenomai apps in a loop.
[ Besides that, I have an occasional deadlock in xnpipe_wakeup_proc due to an inconsistent xnpipe_sleepq - likely a different story... :-/ ]
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux
Quoted 3 lines · Jan Kiszka
Sigh, this is not my day: Can anyone confirm that we are leaking memory with current SVN head? I'm seeing a constant increase on slab "size-1024" on a
x86_64box when running arbitrary Xenomai apps in a loop.
I loose 1k per invocation, and this already from applying "-lrtdm" to an innocent application (which just means xeno_bind_skin_opt). Strange. Digging deeper.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux
Quoted 7 lines · Jan Kiszka
Sigh, this is not my day: Can anyone confirm that we are leaking memory with current SVN head? I'm seeing a constant increase on slab "size-1024" on a
x86_64box when running arbitrary Xenomai apps in a loop.[ Besides that, I have an occasional deadlock in
xnpipe_wakeup_procdue to an inconsistentxnpipe_sleepq- likely a different story... :-/ ]
Any luck with CONFIG_XENOMAI_OPT_DEBUG_QUEUES on?
Quoted 2 lines
Jan
Signature · 1 line
Philippe.
Quoted 10 lines · Philippe Gerum
Quoted 7 lines · Jan Kiszka
Sigh, this is not my day: Can anyone confirm that we are leaking memory with current SVN head? I'm seeing a constant increase on slab "size-1024" on a
x86_64box when running arbitrary Xenomai apps in a loop.[ Besides that, I have an occasional deadlock in
xnpipe_wakeup_procdue to an inconsistentxnpipe_sleepq- likely a different story... :-/ ]Any luck with
CONFIG_XENOMAI_OPT_DEBUG_QUEUESon?
As usual no luck: the bug disappeared (likely some race). Will dig into that next after fixing this leak:
xnshadow_sys_event()XNSHADOW_CLIENT_ATTACH -> xnarch_alloc_host_mem(xnsys_ppd) XNSHADOW_CLIENT_DETACH -> ???
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux
Quoted 9 lines · Jan Kiszka
Quoted 8 lines · Philippe Gerum
Quoted 7 lines · Jan Kiszka
Sigh, this is not my day: Can anyone confirm that we are leaking memory with current SVN head? I'm seeing a constant increase on slab "size-1024" on a
x86_64box when running arbitrary Xenomai apps in a loop.[ Besides that, I have an occasional deadlock in
xnpipe_wakeup_procdue to an inconsistentxnpipe_sleepq- likely a different story... :-/ ]
Quoted 8 lines
Quoted 1 line
Any luck with
CONFIG_XENOMAI_OPT_DEBUG_QUEUESon?As usual no luck: the bug disappeared (likely some race). Will dig into that next after fixing this leak:
xnshadow_sys_event()XNSHADOW_CLIENT_ATTACH->xnarch_alloc_host_mem(xnsys_ppd)XNSHADOW_CLIENT_DETACH-> ???
That was the key, now fixed with #4218.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux
Quoted 11 lines · Jan Kiszka
Quoted 10 lines · Jan Kiszka
Quoted 9 lines · Philippe Gerum
Quoted 7 lines · Jan Kiszka
Sigh, this is not my day: Can anyone confirm that we are leaking memory with current SVN head? I'm seeing a constant increase on slab "size-1024" on a
x86_64box when running arbitrary Xenomai apps in a loop.[ Besides that, I have an occasional deadlock in
xnpipe_wakeup_procdue to an inconsistentxnpipe_sleepq- likely a different story... :-/ ]Any luck with
CONFIG_XENOMAI_OPT_DEBUG_QUEUESon?
Quoted 8 lines
Quoted 6 lines
As usual no luck: the bug disappeared (likely some race). Will dig into that next after fixing this leak:
xnshadow_sys_event()XNSHADOW_CLIENT_ATTACH->xnarch_alloc_host_mem(xnsys_ppd)XNSHADOW_CLIENT_DETACH-> ???That was the key, now fixed with #4218.
Ok. I think this one is mine. Sorry.
Signature · 1 line
Gilles.