|
From: Sebastian K. <Seb...@so...> - 2005-08-08 14:13:07
|
Christian Parpart wrote: > On Monday 08 August 2005 06:12, Paul Pluzhnikov wrote: > >>On 8/7/05, Christian Parpart <tr...@ge...> wrote: >>... >> >> >>>having a look at that line 241 that caused the "invalid read of size 1", >>>I see my code like this: >>> >>>if (foo) >> >>Most likely 'foo' is an instance variable and 'this' is NULL. >>If not, you'll need to establish a bit more context. > > > heh, yeah, it *is* an instance variable; but wether 'this' is NULL or not may > remain hidden :( Just add cerr << "this == " << (void*)this << endl; just before that 241 line, and you'll know. But since 0x3c means only 60 bytes above zero, I'd guess this is NULL. rgds -- Sebastian Kaliszewski |