[stunnel-users] Fix unexpected stunnel-4.10 exits on FreeBSD
vd at datamax.bg
Wed Jun 15 17:32:52 CEST 2005
-----BEGIN PGP SIGNED MESSAGE-----
On Wed, Jun 15, 2005 at 03:59:55PM +0200, Michal Trojnara wrote:
> On 2005-06-14, at 14:08, Vasil Dimov wrote:
> >>+ makecontext(&ctx_cleanup, ctx_cleanup_func, 0);
> >Changing the currently executing context (with makecontext) does not
> >seem very robust to me, but, however, I am not an ucontext expert
> >(in fact I have not heard about it before beginning to experience
> >problems with stunnel-4.10).
> makecontext(3) only prepares the structure.
> setcontext(2) modifies the context.
I meant "Changing" in the means of alter/modify/edit/mutate, not
switch/swap/replace. But however, the patch seems to work.
So we have "4.10 + some diagnostic code" that crashes in swapcontext()
under Linux. Knowing that 4.10 does not crash under Linux we are forced
to deduce that the problem is in the diagnostic code :)
I misunderstood something (again :)) and what we have is that 4.10 with
or without the diagnostic code crashes only on your "User Mode Linux"?
If this is the case what kind of Linux is that? Broken libc/ucontext
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
More information about the stunnel-users