All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] xeno_sigwinch_handler causes segfault with readline
@ 2010-03-16 12:29 Peter Soetens
  2010-03-16 17:02 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Soetens @ 2010-03-16 12:29 UTC (permalink / raw)
  To: xenomai-help

I'm testing with (don't shoot me)
* 2.6.31.1-ipipe-2.4-07 #3 SMP
* Xenomai 2.4.93 (please!)

But a user reported with:
* Kernel 2.6.32.7
* Xenomai 2.5.1 

the same issue. When we first shadow the main thread and then call into 
readline code, we get segfaults, pointing to xeno_sigwinch_handler.

According to docs, we need to be careful when installing a signal handler on 
winch after shadowing. Is this still the issue (I suppose so), or why don't we 
get a nice( that's relative) 'abort' explaining what to do instead of a 
segfault ? 

I'll delve into libreadline to see on how to override/disable the winching by 
readline, but I hope there is some standard solution, maybe by one of the 
Xenomai users.

Cheers,
Peter


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-07-06 19:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-16 12:29 [Xenomai-help] xeno_sigwinch_handler causes segfault with readline Peter Soetens
2010-03-16 17:02 ` Gilles Chanteperdrix
2010-03-16 21:32   ` Peter Soetens
2010-03-17  5:14     ` Gilles Chanteperdrix
2010-03-17  9:09       ` Peter Soetens
2010-07-06 19:00       ` Peter Soetens
2010-07-06 19:17         ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.