Discussion:
[X2Go-Dev] Bug#1034: Fix a segfault in x2goclient with OpenBSD
Denis Fondras
2016-05-14 10:19:12 UTC
Permalink
Package: x2goclient
Version: 4.0.5.1
Tag: patch

When compiling X2Go client on OpenBSD5.9/amd64, x2goclient will segfault in
SshMasterConnection::channelLoop(). The culprit is the declaration of buffer[]
inside the code of this function, moving it outside of channelLoop() fixes the
segfault.
Denis Fondras
2016-05-15 07:14:04 UTC
Permalink
Event better patch from Jeremie on OpenBSD mailing-list :
https://marc.info/?l=openbsd-ports&m=146327448112980&w=2
Mihai Moldovan
2018-05-26 08:18:20 UTC
Permalink
Post by Denis Fondras
https://marc.info/?l=openbsd-ports&m=146327448112980&w=2
Yeah, I had to work around that for OS X already in the past.

Thanks for the heads-up.


What about other OSes, though?

I've read that FreeBSD raised the default thread stack size to 2 MB starting
with 10.4, but I guess it wouldn't hurt to do it for that platform either.


I haven't really found any information regarding HPUX, AIX, NetBSD, OS/2,
Solaris (though I think the workaround is needed there as well), HURD (though I
think I've seen a bug report that mentions that changing the thread stack size
might not even work there, due to them using a fixed amount).

Any insights?



Mihai

Loading...