* Alistair John Strachan <[email protected]> wrote: > I guess also, as you suggested elsewhere in this thread, I could try > an 8K stacks kernel, let openvpn run (even just for 5 minutes, then > close it) and see if I get a stack-footprint dump *for openvpn*, which > so far I've not been able to observe. > > Hopefully this would negate the possibility that there's a > stack-footprint waiting to be generated, but just masked by the crash. indeed, you are right. I think we can exclude the stack-overflow for now. (also, the likelyhood of it not being detected and printed in a safe manner as it happens is very low. We do a stack-overflow test for every function entered, and the threshold is 1024 bytes - more than the biggest (realistic) offenders could cause.) > Is this actually useful to you? yeah. You are triggering a type of crash that is hard to debug. Those are always important to track down, so that we can see whether the debug infrastructure can be improved to make the debugging process much quicker. Next time such a bug could be sporadic, making it close to impossible to debug. if you still have some debugging stamina left then i'd now suggest to try an 'all debugging options enabled' (including the enabling DEBUG_STACK_POISON in kernel/latency.c) run with the latest -51-20 kernel. I've attached a .config with all the debug options set that may matter - it should be ready-to-use for you. Ingo
Attachment:
config2.bz2
Description: BZip2 compressed data
- References:
- Realtime Preemption, 2.6.12, Beginners Guide?
- From: Alistair John Strachan <[email protected]>
- Re: Realtime Preemption, 2.6.12, Beginners Guide?
- From: Alistair John Strachan <[email protected]>
- Re: Realtime Preemption, 2.6.12, Beginners Guide?
- From: Ingo Molnar <[email protected]>
- Re: Realtime Preemption, 2.6.12, Beginners Guide?
- From: Alistair John Strachan <[email protected]>
- Realtime Preemption, 2.6.12, Beginners Guide?
- Prev by Date: [patch] compress the stack layout of do_page_fault(), x86
- Next by Date: Re: linux-2.6.12-RT-V0.7.51-18: RT task yield()-ing!
- Previous by thread: Re: Realtime Preemption, 2.6.12, Beginners Guide?
- Next by thread: Re: Realtime Preemption, 2.6.12, Beginners Guide?
- Index(es):