Crashes when "balloons" enabled

Keith Seitz keiths@redhat.com
Wed Apr 2 18:01:00 GMT 2008


Doug Graham wrote:
> #7  0x08175e79 in gdb_value_fetch_lazy (val=0x97e94e8)
>     at ../../insight-6.5/gdb/wrapper.c:64

This function is a call wrapper: it "wraps" the gdb call, 
value_fetch_lazy (which will longjmp) with a version which catches the 
exception and returns a value indicating success or failure:

int
gdb_value_fetch_lazy (struct value *val)
{
   volatile struct gdb_exception except;

   TRY_CATCH (except, RETURN_MASK_ERROR)
     {
       value_fetch_lazy (val);
     }

   if (except.reason < 0)
     return 0;
   return 1;
}

So somewhere underneath this there is a disconnect about error handling, 
because this exception should have been caught here. I don't see 
anything obvious by just perusing the sources, so I'll have to dig in to 
see what could be happening.

Keith



More information about the Insight mailing list