[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4011: simple c++ program segfaults

Guy Maor wrote:
> It is legal to explicitly call a destructor but rarely needed.  It
> certainly makes no sense in this case, as the destructor will be called
> twice.
> The question, it seems, is what was the programmer trying to do?

Well I haven't got a clue on that one as I didn't write the code.  But
I guess the more important question is that the crash did not seem to
be related to the destructor.  That is, it crashes even without the call
to the destructor.

Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
A.  B <=> True			B.  A <=> False
Email:  Herbert Xu ~{PmV>HI~} <herbert@greathan.apana.org.au>
PGP Key:  pgp-public-keys@pgp.mit.edu or any other key sites

Reply to: