This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc3.2.3 : exception caught, but still segment fault
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: lin q <linq936 at hotmail dot com>, gcc-help at gcc dot gnu dot org
- Date: Wed, 18 May 2005 18:43:24 -0500
- Subject: Re: gcc3.2.3 : exception caught, but still segment fault
- References: <BAY10-F50F95E1DCF41BA7C6301DFE9170@phx.gbl>
Hi lin q,
Use gdb to step through the problem area. Set break points inside your catch handler.
I suspect that the caller of func() is dereferecing the NULL pointer, causing a segment fault.
HTH,
--Eljay