[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: gschem crash
Hi Levente,
I could reproduce it, although I didn't get the same trace as you.
Could you try the following patch and see what happens?
--------------------------------------- cut here
Index: gschem/src/g_hook.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/g_hook.c,v
retrieving revision 1.5
diff -u -r1.5 g_hook.c
--- gschem/src/g_hook.c 15 Jul 2006 18:51:40 -0000 1.5
+++ gschem/src/g_hook.c 21 Jul 2006 19:53:08 -0000
@@ -439,6 +439,9 @@
SCM_ASSERT (g_get_data_from_object_smob (object_smob, &w_current,
&object),
object_smob, SCM_ARG1, "get-object-pins");
+ if (!object) {
+ return (returned);
+ }
if (object->complex && object->complex->prim_objs) {
prim_obj = object->complex->prim_objs;
while (prim_obj != NULL) {
--------------------------------------- cut here
Thanks,
Carlos
El vie, 21-07-2006 a las 14:17 +0200, Levente escribiÃ:
> Hi,
>
>
> If I select two or more attribute in gschem, and I do add->attribute, select some attribute, enter some value, after pressing OK, gschem crashes. Please find stack information attached.
>
> Levente
>
> --
> http://web.interware.hu/lekovacs
>
> _______________________________________________
> geda-user mailing list
> geda-user@xxxxxxxxxxxxxx
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user