From owner-freebsd-ports@FreeBSD.ORG Mon Jun 24 19:42:39 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AFE50F27 for ; Mon, 24 Jun 2013 19:42:39 +0000 (UTC) (envelope-from crwhipp@gmail.com) Received: from mail-qa0-x22c.google.com (mail-qa0-x22c.google.com [IPv6:2607:f8b0:400d:c00::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 7495B1BB7 for ; Mon, 24 Jun 2013 19:42:39 +0000 (UTC) Received: by mail-qa0-f44.google.com with SMTP id j8so19815qah.10 for ; Mon, 24 Jun 2013 12:42:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=EWs4vkODxD+6QLoPzL33OyWAGlUktaTapjl/Qg9KHrA=; b=vDFZLtTRUgjyell7N8JCL2+CIl3j8EvSww9aEJZ6QFsgIR7UqYlF2cwM2CuedtjjnO L91tF1KfWOvO51/Z2B2g2QMbD7nL38m5fbIK6aCteloVezlfuB6sr71EjJMpm0g8qewm YvpjT/s8142ikQ3qUzi5HL7TzXUN2iwoZVnPp1jRwSxLvs7bfF3+u/gOQnBt14nT7VJ/ 7G8DkCY1p+wqKVcXxJVQyiJk1x/B0yR/WibjLOgFu57Drc0sCGUi52eMYf3+ECr9OKFq dAYEusEXoNXnRxdNM9LPY0c3BlSS4bCzqzPMMpWNUcpwNCzP0Z/8g6XORmuiSj7nSBsg 3GKg== MIME-Version: 1.0 X-Received: by 10.224.114.207 with SMTP id f15mr20438374qaq.115.1372102958942; Mon, 24 Jun 2013 12:42:38 -0700 (PDT) Received: by 10.224.45.70 with HTTP; Mon, 24 Jun 2013 12:42:38 -0700 (PDT) In-Reply-To: <20130430081629.GA26813@sh4-5.1blu.de> References: <20130428180134.GA1770@tiny.Sisis.de> <20130429154031.GA2206@tinyCurrent> <20130429205032.GO3880@defora.org> <20130429212416.4039e3d6@gmail.com> <20130430081629.GA26813@sh4-5.1blu.de> Date: Mon, 24 Jun 2013 12:42:38 -0700 Message-ID: Subject: Re: astro/foxtrotgps (1.1.1_1 from ports SVN r315646) crashes on start From: Craig Whipp To: Matthias Apitz Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-ports@freebsd.org, Pierre Pronchery X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jun 2013 19:42:39 -0000 I submitted a PR to patch this, with the change from upstream. http://www.freebsd.org/cgi/query-pr.cgi?pr=3D179919 On Tue, Apr 30, 2013 at 1:16 AM, Matthias Apitz wrote: > El d=EDa Monday, April 29, 2013 a las 09:24:16PM -0700, Craig Whipp escri= bi=F3: > > > On Mon, 29 Apr 2013 22:50:32 +0200 > > Pierre Pronchery wrote: > > > > > Hey, > > > > > > On Mon, Apr 29, 2013 at 05:40:32PM +0200, Matthias Apitz wrote: > > > > El d=EDa Sunday, April 28, 2013 a las 08:01:35PM +0200, Matthias > > > > Apitz escribi=F3: > > > > > > > > > Foxtrotgps crashes on start on 10-CURRENT r235646 during > > > > > 'pthread_mutex_unlock', details follow below; > > > > > > > > The attached patch (to be placed in > > > > astro/foxtrotgps/files/patch-src-main before 'make install') fixes > > > > the bug; > > > > > > thank you for the patch, it fixes the reproducible crash upon startup= , > > > and I have committed it to pkgsrc-wip. > > > > > > However, I am afraid that it may break functionality, and allow only > > > the main Gtk+ thread to start. Map download in particular was > > > performed in a separate thread in TangoGPS IIRC, and here foxtrot > > > doesn't download anything... I'm afraid this issue results from the > > > patch. It may be more work than just this to get it to run properly := / > > > > > > Please let me know if it works better for you. > > I've tested the patched foxtrotgps this morning and can confirm: > - it does not crash on startup anymore > - it fetches missing tiles (I watched with TCPDUMP to make that sure); > > > > I don't have a CURRENT machine to test this on. FoxtrotGPS works fine > > on 9.1-RELEASE, without the patch. What's the difference between 9.1 > > and -CURRENT that would cause this to break? > > I have an older VM with: > > $ uname -a > FreeBSD vm-9Current 9.0-CURRENT FreeBSD 9.0-CURRENT #2 r220692: Sun Apr 1= 7 > 03:28:12 CEST 2011 > > $ head Makefile > ... > # $FreeBSD: ports/astro/foxtrotgps/Makefile,v 1.3 2011/03/25 20:30:54 > amdmi3 Exp $ > # > > PORTNAME=3D foxtrotgps > PORTVERSION=3D 1.0.0 > PORTREVISION=3D 2 > > in this older kernel + ports the foxtrotgps works as well unpatched; mayb= e > now > in -CURRENT (and ports from SVN head) there has something changed in the > Gtk shared libs; my patch contains a comment to some thread about a > discussion of the same problem in tangGPS and I have just derived as I > wild guess the change from this discussion (see the reply there from > Kirill of 9th October 2012). For sure, one could compile gdk and gtk > with debug symbols and step down with gdb to verify this. I will let > this for someone else :-) > > > For what it's worth, my initial testing shows that map tile downloads > > seem to work fine on 9.1-RELEASE with the patch applied, too. > > Good to know. I'd apply the patch to ports /head if it works for me and > Pierre and does not break 9.1-RELEASE > > Thanks > > matthias > -- > Matthias Apitz > t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 > e - w http://www.unixarea.de/ >