home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,754 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,015 of 2,754   
   Joshua Cranmer to rhoads@cs.rutgers.edu   
   Re: GCC/G++ compiler: Error goes away wh   
   27 Mar 11 20:45:56   
   
   From: Pidgeot18@verizon.invalid   
      
   On 03/26/2011 03:35 PM, rhoads@cs.rutgers.edu wrote:   
   > I have an C++ application program that is producing incorrect results   
   > but the error goes away when I run it through the debugger.   
      
   The last time I saw this kind of problem, it was because I did an   
   out-of-bounds array-access on a stack variable. Specifically, the   
   program segfaulted if and only if I wasn't under gdb... getting that   
   stacktrace was fun. :-)   
      
   --   
   Beware of bugs in the above code; I have only proved it correct, not   
   tried it. -- Donald E. Knuth   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca