From owner-freebsd-gnome@FreeBSD.ORG Mon Jan 7 18:57:12 2008 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AB3016A418 for ; Mon, 7 Jan 2008 18:57:12 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from av-tac-rtp.cisco.com (bantam.cisco.com [64.102.19.199]) by mx1.freebsd.org (Postfix) with ESMTP id 22CD613C459 for ; Mon, 7 Jan 2008 18:57:11 +0000 (UTC) (envelope-from marcus@FreeBSD.org) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost [127.0.0.1]) by av-tac-rtp.cisco.com (8.11.7p3+Sun/8.11.7) with ESMTP id m07Ivff00510; Mon, 7 Jan 2008 13:57:41 -0500 (EST) Received: from [64.102.221.168] (dhcp-64-102-221-168.cisco.com [64.102.221.168]) by rooster.cisco.com (8.11.7p3+Sun/8.11.7) with ESMTP id m07Iveu00501; Mon, 7 Jan 2008 13:57:40 -0500 (EST) Message-ID: <4782767F.2060506@FreeBSD.org> Date: Mon, 07 Jan 2008 13:59:11 -0500 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: paul beard References: <4782737B.9000203@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: gnome@FreeBSD.org Subject: Re: how to add debug symbols in evolution? (was Fwd: [Bug 507579] crash in Evolution:) X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2008 18:57:12 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 paul beard wrote: | On 1/7/08, Joe Marcus Clarke wrote: |> -----BEGIN PGP SIGNED MESSAGE----- |> Hash: SHA1 |> |> paul beard wrote: |> | I'd like to be able to help here, but I have no idea how to add debug |> | symbols to a port. Can you advise? |> |> See http://www.freebsd.org/gnome/docs/bugging.html and pay attention to |> the section about backtraces. |> | Seemed hard to find this information last night, but I figured it out | eventually. I don't think that page ever came back in a search result. | I documented it for myself and anyone else similar situated. | | http://paulbeard.org/wordpress/index.php/archives/2008/01/07/building-debugging-symbol-enabled-software-in-freebsd/ | | This is as close as I came | (http://live.gnome.org/GettingTraces/DistroSpecificInstructions#head-604f4aa9d55d55ec1a1c9265b752c811f37fd4f6) | and it doesn't really help unless you want global debugging. Maybe | someone could clarify or refine that? The FreeBSD page indicates how to build one port with debugging symbols. FYI, I submitted a patch for your problem to freebsd-gnome just a little while ago. The problem is calloc(0, sizeof(time_t)) returns NULL on FreeBSD 6.X. Joe - -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHgnZ+b2iPiv4Uz4cRAkcNAJ9DA5g3SOIIfoA2jz5ANTZjqK1HmgCgoWT+ RdOWGfQgAMlkOoOKDadMtj8= =9DPK -----END PGP SIGNATURE-----