delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/04/30/22:46:41

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:date:message-id:subject:from:to:content-type;
bh=ADWGBKOCgNbXuAEHFGyEyooJKSNuUcMSOS3HH3Issec=;
b=AaIaM162dGz0wQGIEyVLzOdB2cbIFPx7IOCbFU5zYt4lzBYX8lpgJu8GXoH4aBgnAY
aMxiE0cceC3UvF46c7wjLwY4su782iK1Pm4LQ80LCN+68CvIjAvuF2JNS0DtnLqEe7aV
1gmq4XtZoAJveDPZrT/gnSOMGj4jM2WRkHTCr2RNg/GNbY4wyFvFMH3+5HGSgKJj5rRu
HI7m/OfAFiA+eI33/1hl4AudjtXqu+ntRdZaWVx0hkhg4U3wvaEZ32rU4fAFjdgf/066
z1q/+uzkK5pqXOqnkyvkiKUMKGEfRP3sD6xUvRx5Pa7G2aKEGR+Q9U0aaPDDM1Pfnj1g
d5zQ==
MIME-Version: 1.0
Date: Mon, 30 Apr 2012 22:46:01 -0400
Message-ID: <CACPio-7BaZJ5ZirPVEjHEfWbXjC5gENX6rhJcmfdw0KcCL7WBw@mail.gmail.com>
Subject: [geda-user] crash connecting to nets
From: Nathan Stewart <therealnathanstewart AT gmail DOT com>
To: geda-user AT delorie DOT com
Reply-To: geda-user AT delorie DOT com

Encountered a crash trying to connect nets on a hierarchical
schematic. Looking at the stack trace, trying to figure it out
s_conn.c:407 - (in s_conn_update_line_object)

407          if (object->line->x[j] == other_object->line->x[k] &&
408	              object->line->y[j] == other_object->line->y[k] &&
409	              check_direct_compat (object, other_object)) {
...

it appears that other_object->line is null, trying to connect to a pin
on the symbol I created for one of my sub schematics. It seems to
happen when I make a two part connection between two nodes. In other
words, I start the net at Sub Comp A, pin 1, and stop it somewhere
short of connection to Sub Comp B, pin 1. Then I come back and connect
to the net I just drew, to Sub Comp B, pin 1 and BAM!.   What's
interesting is that I can make the connection the other way around
(from the pin to the existing net line).

in this case object->type is OBJ_NET, and other_object->type is 198
(which doesn't appear to map to any known object type that I found in
o_types.h).

What is object->type == 198, and does there need to be a special case
in s_conn_update_line_object for other_object->type ==
SOMETHING_OTHER_THAN_PIN_OR_LINE?

Nate

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019