Subj : Segfault in SyncTERM To : Deuce From : Digital Man Date : Wed Mar 23 2005 03:43 pm Re: Segfault in SyncTERM By: Deuce to Deuce on Wed Mar 23 2005 09:29 am > > Well, on this system here, it appears that SyncTERM segfaults when you > > drag-select past the end of the screen (Win32) > > > > Running it under the turbo debugger shows that the segfault is happening > > malloc() at conio/win32cio.c:513 > > > > bs.X == 80 and bs.Y == 24 (Not sure of sizeof(CHAR_INFO)) > > > > Any ideas why that would cause a segfault? > > Well, I fixed it I suppose... still not sure why the malloc() was causing a > segfault. If the malloc chain gets corrupted (by an errant memory write), then a call to malloc() can can an exception/segfault. digital man Snapple "Real Fact" #190: Thailand means "Land of the Free." .