X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ham02.websitewelcome.com X-Spam-Flag2999: NO X-Spam-Level2999: X-Spam-Status2999: "No, score=0.8 required=5.0 tests=BAYES_50 autolearn=ham version=3.3.1 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gibibit.com; h=Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding:X-BWhitelist:X-Source:X-Source-Args:X-Source-Dir:X-Source-Sender:X-Source-Auth:X-Email-Count:X-Source-Cap; b=axJMpmzWCpN55sXumvCBGwyRBdTa/82HsAl3o9D/VFSo6uaNbsflEexZcEBfZZ7RMEfbpRgGKnKZ4b0YgqLFrLgSl4MzOorv90E4Ep4Vcdu+hJFs5SDFjMsstBc761Jz; Date: Tue, 11 Oct 2011 12:26:51 -0700 From: Colin D Bennett To: geda-help AT delorie DOT com Subject: Re: [geda-help] PCB segfault - project too big? Message-ID: <20111011122651.0a81f656@svelte> In-Reply-To: References: <1318338356 DOT 29731 DOT 2 DOT camel AT localhost> <201110111442 DOT p9BEgtk6025142 AT envy DOT delorie DOT com> <1318353062 DOT 5503 DOT 22 DOT camel AT localhost> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator297.hostgator.com X-AntiAbuse: Original Domain - delorie.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gibibit.com X-BWhitelist: no X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: spk.venturedesignservices.com (svelte) [65.61.115.34]:43531 X-Source-Auth: colin AT gibibit DOT com X-Email-Count: 1 X-Source-Cap: c2t5bGVuO3NreWxlbjtnYXRvcjI5Ny5ob3N0Z2F0b3IuY29t Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p9BJi7ps007814 Reply-To: geda-help AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-help AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 11 Oct 2011 14:14:46 -0400 Bob Paddock wrote: > > #1  0x0806268f in find_element_by_refdes (refdes=0x89a6bc9 > > "L305") > > > The main difference is that he's running a more recent Ubuntu > > installation, whereas I'm still on an old Mandriva 2008.1 > > installation. > > Any difference in the UNICODE/UTF8 settings between the two > installs? This is certainly some corner case bug that is camping out, waiting to activate under specific rare conditions. Otherwise why would adding one more element cause the crash? Probably the reason it crashes on one machine and not another is related to specific memory layout used by the program, which depends on exact compiler version as well as exact library versions in use. I doubt we can say anything else useful about the cause of this bug except that it is a data-dependent, rarely occurring, corner case bug in pcb. Can we figure out what the other argument to strcmp() is? Maybe add a printf() to find_element_by_refdes in action.c:6944 ... it is probably a null pointer. > Random guess that came to mind as the "L" is used to prefix > UNICODDE strings. Probably not since the “L” prefix is only a compile-time aspect of C/C++ and has nothing to do with runtime strings. Regards, Colin