Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2011 15:13:13 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        David Woodhouse <dwmw2@infradead.org>
Cc:        gnome@freebsd.org, evolution-list@gnome.org
Subject:   Re: [Evolution] evolution-2.32.1 (FreeBSD HEAD) && calendar not working
Message-ID:  <20110428131312.GA17412@sh4-5.1blu.de>
In-Reply-To: <20110428073857.GB4359@sh4-5.1blu.de>
References:  <1303819852.6417.100.camel@macbook.infradead.org> <20110426122621.GB2913@sh4-5.1blu.de> <1303821491.6417.108.camel@macbook.infradead.org> <20110426135234.GA1336@sh4-5.1blu.de> <1303827472.6417.113.camel@macbook.infradead.org> <20110426145506.GA20059@sh4-5.1blu.de> <1303831016.6417.132.camel@macbook.infradead.org> <20110426213920.GA15678@sh4-5.1blu.de> <20110427062214.GA1159@sh4-5.1blu.de> <20110428073857.GB4359@sh4-5.1blu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Thursday, April 28, 2011 a las 09:38:58AM +0200, Matthias Apitz escribió:

> Compiling evo-exchange 2.32.3 works fine with gcc466:
> 
> # make CFLAGS='-g' CC=gcc46 STRIP=' ' install
> 
> but crashes with the same backtrace when calendar is picked up in Evo.

I think I have localizated the bug in
evolution-exchange-2.32.3/server/lib/e2k-autoconfig.c

it will read some config file in function

e2k_autoconfig_lookup_option (const gchar *option)
{
        if (!config_options)
                read_config ();
        return g_hash_table_lookup (config_options, option);
}

but read_config () can't find the file /usr/local/etc/connector.conf
and just returns (line 1412) to e2k_autoconfig_lookup_option() which
makes the g_hash_table_lookup() crashing later;

I touched the file (as zero bytes) which does not helped and I changed
the code to let e2k_autoconfig_lookup_option() always return NULL; this
helped a bit further but it crashes later on too:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 29804300 (LWP 100647/initial thread)]
0x29f582eb in e2k_http_parse_date (
    date=0x29b31b00 "Thu, 28 Apr 2011 13:09:20 GMT") at _ctype.h:125
125             return (_c < 0 || _c >= 128) ? 0 :
(gdb) 

(I don't understand why the gdb is presenting the code as at
_ctype.h:125 ???)

HIH

	matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru@unixarea.de> - w http://www.unixarea.de/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110428131312.GA17412>