This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

DDD dies on me


A while ago (beginning of June, I think), I posted a note to this group that
I was having a problem with one program (DDD) suddenly dieing on me when I
ran it.  I was able to track down which version the problem started in.
Unfortunately for me, I did not have a useful core or stack dump and nobody
else was seeing the problem and it was suggested that I try debugging it.
Having finally scrounged up a little time, I got the required tools on my
machine, downloaded the CMS tree and compiled a debug version.  I was able
to figure out that the program occurred in winScaleXBitmapToWindows in
winmultiwindowicons.c.  I ran three consecutive tests and two of those three
caused a segfault in the free at the end of the procedure (actually in
mktime??? called by free).  The iconData mallocs at the beginning of the
procedure seem to align correctly with the frees at the end.  The last
caused a segfault in fb24_32BltUp which is called from the miGetImage at the
beginning of the procedure.  Seeing that, I decided to try the program in 16
bit color and everything was fine.  For the first time, I was able to see
that this program does display its own icon on the title bar.  Does anyone
(Earle?) have any suggestions about where I should start digging?  In any
case, I will try to do a little more digging over the next week or so.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]