[cdesktopenv-devel] CDE 2.2.4 fails with ttsession crash on FreeBSD 11.1-RELEASE (backtrace available)

2017-07-28 Thread Douglas Carmichael
To whom it may concern: When I tried building/installing CDE 2.2.4 on FreeBSD 11.1-RELEASE using the instructions shown in the wiki (https://sourceforge.net/p/cdesktopenv/wiki/FreeBSDBuild/ ), I was not able to start CDE because the tts

Re: [cdesktopenv-devel] CDE 2.2.4 fails with ttsession crash on FreeBSD 11.1-RELEASE (backtrace available)

2017-07-28 Thread Swift Griggs
On Fri, 28 Jul 2017, Douglas Carmichael wrote: When I tried building/installing CDE 2.2.4 on FreeBSD 11.1-RELEASE using able to start CDE because the ttsession daemon would crash immediately upon starting a desktop session. Forgive me if you're already aware of this, but you need to run the T

Re: [cdesktopenv-devel] CDE 2.2.4 fails with ttsession crash on FreeBSD 11.1-RELEASE (backtrace available)

2017-07-28 Thread Marcin Cieslak
On Fri, 28 Jul 2017, Swift Griggs wrote: > On Fri, 28 Jul 2017, Douglas Carmichael wrote: > > When I tried building/installing CDE 2.2.4 on FreeBSD 11.1-RELEASE using > > able to start CDE because the ttsession daemon would crash immediately upon > > starting a desktop session. > > Forgive me if

Re: [cdesktopenv-devel] CDE 2.2.4 fails with ttsession crash on FreeBSD 11.1-RELEASE (backtrace available)

2017-07-28 Thread Marcin Cieslak
On Fri, 28 Jul 2017, Douglas Carmichael wrote: > To whom it may concern: > > When I tried building/installing CDE 2.2.4 on FreeBSD > 11.1-RELEASE using the instructions shown in the wiki > (https://sourceforge.net/p/cdesktopenv/wiki/FreeBSDBuild/ >

[cdesktopenv-devel] Quick ToolTalk troubleshooting guide (with FreeBSD commands)

2017-07-28 Thread Marcin Cieslak
For me, without tooltalk datbase running, ttsession dangerously was hanging on kevent(2), hanging a whole X session. Also not good. Here is how I got it working AKA quick ToolTalk troubleshooting guide. All of this should apply to Linux and other OS's as well, only commands will be different. 1.

Re: [cdesktopenv-devel] CDE 2.2.4 fails with ttsession crash on FreeBSD 11.1-RELEASE (backtrace available)

2017-07-28 Thread Marcin Cieslak
On Fri, 28 Jul 2017, Douglas Carmichael wrote: > Marcin: > > A log.txt from a build is attached. Thanks, unfortunately, there is nothing special there You might want to check out my ToolTalk troubleshooting guide I have just posted - I just compled CDE on my box and made it running with thi

Re: [cdesktopenv-devel] CDE 2.2.4 fails with ttsession crash on FreeBSD 11.1-RELEASE (backtrace available)

2017-07-28 Thread alx
Hi, just FYI, the problem is apparently caused by getfsstat returning -1 (which is then used to malloc) due to an invalid argument. The third argument passed to getfsstat *must* be either MNT_WAIT or MNT_NOWAIT and on FreeBSD neither of them equals 0, but it didn't get validated until 11.1 I

Re: [cdesktopenv-devel] CDE 2.2.4 fails with ttsession crash on FreeBSD 11.1-RELEASE (backtrace available)

2017-07-28 Thread Douglas Carmichael
Alex: Keep us up to date.. I’ll be eagerly awaiting the patch. —Douglas > On Jul 28, 2017, at 5:48 PM, alx wrote: > > Hi, > > just FYI, the problem is apparently caused by getfsstat returning -1 (which > is then used to malloc) due to an invalid argument. The third argument passed > to getf