Re: [PHP4BETA] TSRM problems... UMBRs everywhere:-((

From: Date: Thu, 23 Dec 1999 15:37:51 +0000
Subject: Re: [PHP4BETA] TSRM problems... UMBRs everywhere:-((
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-8447@lists.php.net to get a copy of this message
On Thu, 23 Dec 1999, Thies C. Arntzen wrote: > remember - global variables are usually zeroed when the program loads: > > #include <stdio.h> > int not_reported; > main() > { > int reported; > printf("%d\n",not_reported); > printf("%d\n",reported); > } > > purify will not report not_reported 'cause the crt *will* initialize it to > zero! I think it's a purify bug then. > agreed again. but what would be your strategy to find those problems? we > could initialize all memory in DEBUG-node with 0xff to make debugging > easier and to increase chances that we'll see some instability when those > things happen. (to then pinpoint the bugs). We could do that... Zeev

« previous php.version4 (#8447) next »