Hi guys, I've had a few reports of crashing due to the tool-tip code in the PCB +GL branch. As a workaround for now, apply this bandaid in src/hid/gtk/gui-output-events.c:
diff --git a/src/hid/gtk/gui-output-events.c b/src/hid/gtk/gui-output-events.c index 4922cb4..346a6db 100644 --- a/src/hid/gtk/gui-output-events.c +++ b/src/hid/gtk/gui-output-events.c @@ -1989,7 +1989,7 @@ describe_location (LocationType X, LocationType Y) GetLayerNumber (PCB->Data, (LayerTypePtr) ptr1) >= max_layer) return NULL; - elename = UNKNOWN (NAMEONPCB_NAME ((ElementTypePtr) ptr1)); + elename = "DUMMY"; // UNKNOWN (NAMEONPCB_NAME ((ElementTypePtr) ptr1)); pinname = ConnectionName (type, ptr1, ptr2); if (pinname == NULL) I'm rather busy at the moment, and I'm not able to chase the cause of the crash. It might be a NULL pointer, but I thought the "UNKNOWN()" macro was supposed to catch those. Possibly I'm calling NAMEONPCB_NAME() on an object where the cast of (ElementTypePtr) is incorrect on ptr1. I'm not entirely sure - just guessing. Regards, -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me) _______________________________________________ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user