Alex: Keep us up to date.. I’ll be eagerly awaiting the patch.
—Douglas > On Jul 28, 2017, at 5:48 PM, alx <a...@fastestcode.org> 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 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'll have to check this and make a patch. > > Regards > Alex > > On 07/28/17 20:00, 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/), I was not >> able to start CDE because the ttsession daemon would crash immediately >> upon starting a desktop session. >> >> I was able to gather a backtrace from the ttsession core file… are there >> any clues to what could cause the issue? >> >> Thanks in advance! >> >> —Douglas >> >> — >> >> (gdb) where >> #0 0x0000000801bb0c8e in memset () from /lib/libc.so.7 >> #1 0x000000080097b368 in _Tt_file_system::updateFileSystemEntries ( >> this=0x7fffffffd318) at tt_file_system.C:523 >> #2 0x000000080097b06f in _Tt_file_system::bestMatchToPath ( >> this=0x7fffffffd318, path=@0x7fffffffd3b8) at tt_file_system.C:263 >> #3 0x0000000800933889 in _tt_db_network_path (path=@0x7fffffffd5a0, >> local_path=@0x7fffffffd3b8, hostname=@0x7fffffffd3b0, >> partition=@0x7fffffffd3a8, network_path=@0x7fffffffd438) >> at tt_db_network_path.C:62 >> #4 0x0000000800931cf6 in _Tt_db_file::getNetworkPath (file=@0x7fffffffd5a0) >> at tt_db_file.C:565 >> #5 0x0000000800961cd9 in _Tt_pattern::add_netfile (this=0x80305f240, >> filepath=@0x7fffffffd5a0, fallback_2_local_netfile=1) at >> mp_pattern.C:228 >> #6 0x000000000041eed4 in _Tt_s_mp::_observe_Saved (this=0x803025380) >> at mp_s_mp.C:307 >> #7 0x000000000041e5ec in _Tt_s_mp::init_self (this=0x803025380) >> at mp_s_mp.C:213 >> #8 0x000000000040f656 in main (argc=4, argv=0x7fffffffe0e8) >> at mp_server.C:569 >> (gdb) frame 1 >> #1 0x000000080097b368 in _Tt_file_system::updateFileSystemEntries ( >> this=0x7fffffffd318) at tt_file_system.C:523 >> 523memset ((void *)buf,0,bufsize); >> (gdb) frame 2 >> #2 0x000000080097b06f in _Tt_file_system::bestMatchToPath ( >> this=0x7fffffffd318, path=@0x7fffffffd3b8) at tt_file_system.C:263 >> 263updateFileSystemEntries(); >> (gdb) frame 3 >> #3 0x0000000800933889 in _tt_db_network_path (path=@0x7fffffffd5a0, >> local_path=@0x7fffffffd3b8, hostname=@0x7fffffffd3b0, >> partition=@0x7fffffffd3a8, network_path=@0x7fffffffd438) >> at tt_db_network_path.C:62 >> 62 file_system.bestMatchToPath(local_path); >> (gdb) frame 4 >> #4 0x0000000800931cf6 in _Tt_db_file::getNetworkPath (file=@0x7fffffffd5a0) >> at tt_db_file.C:565 >> 565 _tt_db_network_path(file, >> (gdb) frame 5 >> #5 0x0000000800961cd9 in _Tt_pattern::add_netfile (this=0x80305f240, >> filepath=@0x7fffffffd5a0, fallback_2_local_netfile=1) at >> mp_pattern.C:228 >> 228abspath = _Tt_db_file::getNetworkPath(filepath); >> (gdb) frame 6 >> #6 0x000000000041eed4 in _Tt_s_mp::_observe_Saved (this=0x803025380) >> at mp_s_mp.C:307 >> 307status = pat->add_netfile( *pathC, 1 ); >> (gdb) frame 7 >> #7 0x000000000041e5ec in _Tt_s_mp::init_self (this=0x803025380) >> at mp_s_mp.C:213 >> 213status = _observe_Saved(); >> (gdb) frame 8 >> #8 0x000000000040f656 in main (argc=4, argv=0x7fffffffe0e8) >> at mp_server.C:569 >> 569_tt_s_mp->init_self(); >> >> — >> >> —Douglas >> >> >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> >> >> >> _______________________________________________ >> cdesktopenv-devel mailing list >> cdesktopenv-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel >> > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ cdesktopenv-devel mailing list cdesktopenv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel