From owner-freebsd-gnome@FreeBSD.ORG Wed May 4 09:46:13 2011 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 D2F8C106566B for ; Wed, 4 May 2011 09:46:13 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from sh4-5.1blu.de (sh4-5.1blu.de [213.83.63.54]) by mx1.freebsd.org (Postfix) with ESMTP id 61C4A8FC0A for ; Wed, 4 May 2011 09:46:12 +0000 (UTC) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.50) id 1QHYdT-0003G3-UZ; Wed, 04 May 2011 11:44:48 +0200 Date: Wed, 4 May 2011 11:44:47 +0200 From: Matthias Apitz To: David Woodhouse , gnome@freebsd.org, evolution-list@gnome.org Message-ID: <20110504094447.GA30294@sh4-5.1blu.de> References: <20110426213920.GA15678@sh4-5.1blu.de> <20110427062214.GA1159@sh4-5.1blu.de> <20110428073857.GB4359@sh4-5.1blu.de> <20110428131312.GA17412@sh4-5.1blu.de> <1303998164.2912.123.camel@macbook.infradead.org> <20110428140106.GA5664@sh4-5.1blu.de> <1303999409.2912.129.camel@macbook.infradead.org> <20110428145451.GA25158@sh4-5.1blu.de> <1304003620.4772.16.camel@macbook.infradead.org> <20110429084846.GA2763@sh4-5.1blu.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20110429084846.GA2763@sh4-5.1blu.de> X-Operating-System: FreeBSD 7.0-RELEASE (i386) User-Agent: Mutt/1.5.9i Cc: Subject: Re: [Evolution] evolution-2.32.1 (FreeBSD HEAD) && calendar not working X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2011 09:46:14 -0000 El día Friday, April 29, 2011 a las 10:48:46AM +0200, Matthias Apitz escribió: > El día Thursday, April 28, 2011 a las 04:13:40PM +0100, David Woodhouse escribió: > > > On Thu, 2011-04-28 at 16:54 +0200, Matthias Apitz wrote: > > > > > > I've rebuild glib-2.26.1 and evo-exchange 2.32.3 (removing my changes) > > > with gcc46; the problem remains: > > > > > > Server is up and running... > > > [Thread 2997d200 (LWP 100749/e-calendar-factory) exited] > > > > > > Program received signal SIGSEGV, Segmentation fault. > > > [Switching to Thread 29804300 (LWP 100639/initial thread)] > > > 0x29e28d87 in ?? () > > > (gdb) bt > > > #0 0x29e28d87 in ?? () > > > #1 0x290edaf8 in g_hash_table_lookup () from > > > /usr/local/lib/libglib-2.0.so.0 > > > #2 0x29f9e43e in e2k_autoconfig_lookup_option ( > > > option=0x29fcf520 "Disable-Plaintext") at _ctype.h:106 > > > > Can you do that with debugging symbols for glib? That just *shouldn't* > > crash; g_hash_table_lookup() is being given a valid, but empty, hash > > table and should return NULL. > > > > The world is broken. I have inserted some fprintf's in read_conf() to print in hex the memory of the hash_table (see below); it matches what gdb reads about the hash_table (values marked with ^^^); but the function pointer 0x29ed1e8b seems to point to no where; and now? any other hints to follow? Thanks matthias Server is up and running... DEBUG e2k-autoconfig: entered read_config() DEBUG e2k-autoconfig: read_config() return, fd=-1 DEBUG e2k-autoconfig: read_config() config_options=2995e830: ^^^^^^^^ 00000008 00000007 00000007 00000000 00000000 2995f460 29ed1e8b 29ed1e59 ^^^^^^^^ Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 29804300 (LWP 100085/initial thread)] 0x29ed1e8b in ?? () ^^^^^^^^^^ (gdb) up #1 0x2913eb4d in g_hash_table_lookup_node (hash_table=0x2995e830, ^^^^^^^^^^ key=0x2a088560) at ghash.c:252 252 for (i = 0; i < shift; i++) (gdb) bt #0 0x29ed1e8b in ?? () #1 0x2913eb4d in g_hash_table_lookup_node (hash_table=0x2995e830, key=0x2a088560) at ghash.c:252 #2 0x2913f67b in g_hash_table_lookup (hash_table=0x2995e830, key=0x2a088560) at ghash.c:252 #3 0x2a057484 in e2k_autoconfig_lookup_option ( option=0x2a088560 "Disable-Plaintext") at _ctype.h:106 #4 0x2a05505c in e2k_autoconfig_new ( (gdb) p *hash_table $1 = {size = 8, mod = 7, mask = 7, nnodes = 0, noccupied = 0, nodes = 0x2995f460, hash_func = 0x29ed1e8b, key_equal_func = 0x29ed1e59, ^^^^^^^^^^ ref_count = 1, version = 0, key_destroy_func = 0, value_destroy_func = 0} (gdb) -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/