www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2021/05/27/13:56:11

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7+dev
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
From: "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] errors in git gschem
In-reply-to: <alpine.DEB.2.21.2105271814260.1069@nimbus>
References: <20210527152030 DOT 03D81832CA7E AT turkos DOT aspodata DOT se> <alpine DOT DEB DOT 2 DOT 21 DOT 2105271814260 DOT 1069 AT nimbus>
Comments: In-reply-to Roland Lutz <rlutz AT hedmen DOT org>
message dated "Thu, 27 May 2021 18:24:13 +0200."
Mime-Version: 1.0
Message-Id: <20210527175449.C205C83B0DC2@turkos.aspodata.se>
Date: Thu, 27 May 2021 19:54:49 +0200 (CEST)
X-Virus-Scanned: ClamAV using ClamSMTP
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Roland:
> On Thu, 27 May 2021, karl AT aspodata DOT se [via geda-user AT delorie DOT com] wrote:
> > (gschem:7419): libgedacairo-CRITICAL **: 17:15:42.563: file 
> > edarenderer.c: line 585 (eda_renderer_draw_hatch): should not be reached
...
> My guess would be some kind of memory corruption.  Maybe you could run 
> gschem under memcheck (valgrind) and see if there's anything suspicious?

$ valgrind --tool=memcheck /usr/local/bin/gschem > log 2>&1 (and similar)

a, http://aspodata.se/tmp/valgrind_memcheck_gschem_log
b, http://aspodata.se/tmp/valgrind_memcheck_gschem_1.9.2_log
c, http://aspodata.se/tmp/valgrind_memcheck_lepton_log

a and b compares the same (the adresses are different) up to half the 
log file, they begin to differ at the "Thread 3:" line in a.
c is almost empty.

///
$ egrep -v ' (by|at) ' valgrind_memcheck_gschem_log | grep ^== | grep -v '== $'| sed -ne '1,/HEAP/p' | grep -v '  '| sort | uniq -c | sort -rn
     62 ==8548== Conditional jump or move depends on uninitialised value(s)
     57 ==8548== Use of uninitialised value of size 8
      3 ==8548== Thread 1:
      2 ==8548== Thread 3:
      2 ==8548== Invalid read of size 8
      1 ==8548== will still be recorded, but in less detail than before.
      1 ==8548== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info
      1 ==8548== Thread 2:
      1 ==8548== Process terminating with default action of signal 11 (SIGSEGV)
      1 ==8548== Memcheck, a memory error detector
      1 ==8548== HEAP SUMMARY:
      1 ==8548== Command: /usr/local/bin/gschem

Regards,
/Karl Hammar

- Raw text -


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