ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/01/29/19:29:12

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=gamma;
h=date:from:to:subject:message-id:references:mime-version
:content-type:content-disposition:content-transfer-encoding
:in-reply-to:user-agent;
bh=SnxnU7pOgRw4B2v+2vwsdCVimqXOBFJtDk4GsncJ4bE=;
b=PUv1ENin3IGuXoBuonRHPE29JObCDPs/bJQpsUwi0sYgmwEthM8AP2oO9YmPZbFwOj
9zpDzGCNyMrsGaHPg6TUcSJb8kaX8lNLULIVyRAU8S6m977KvLZkFFORojJMiABVnvfS
LsGAsLCvRZWvY5IcX8ourlk8UrgEYE+opa4x0=
Date: Mon, 30 Jan 2012 01:00:30 +0100
From: Krzysztof =?utf-8?Q?Ko=C5=9Bciuszkiewicz?= <k DOT kosciuszkiewicz AT gmail DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] gschem segfault
Message-ID: <20120130000030.GC8575@localdomain>
References: <20120129215810 DOT GA21496 AT localhost DOT localdomain>
MIME-Version: 1.0
In-Reply-To: <20120129215810.GA21496@localhost.localdomain>
User-Agent: Mutt/1.5.18 (2008-05-17)
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

Dnia 2012-01-30 o godzinie 01:58 Vladimir Zhbanov napisaƂ(a):

> I've found gschem bug in git head. gschem segfaults when I close two
> windows with unsaved pages.

... 

> After bisecting I've got the following result:
> 
> 8342bddce4487edf4a7214d5d6ab83cb73a066d4 is the first bad commit

Thanks for the report and for finding the bad commit!  Long story
short - the commit adds a "new toplevel" hook with hardcoded w_current
pointing to the first gschem window.

When next window is created, hooks will still run with "old" w_current
- it's a miracle this blows up only when gschem exits and frees the
original w_current - but hooks for the subsequent windows still try to
access it.

Patch is in the works :-)

Best regards,
Krzysztof

- Raw text -


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