Re: [Evolution] evolution-2.32.1 (FreeBSD HEAD) && calendar not working



On Thu, 2011-04-28 at 15:13 +0200, Matthias Apitz wrote:


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 don't understand. The *first* think that read_config() does, before it
even tries to open the connector.conf file, is:

        config_options = g_hash_table_new (e2k_ascii_strcase_hash,
                                            e2k_ascii_strcase_equal);

So config_options should *never* be NULL and the call to
g_hash_table_lookup() should not crash.

When it crashes and it's sitting at a gdb prompt, can you type
 up
 up
 p config_options


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 ???)

Got a backtrace for this one too? At first glance I have no idea how any
of the code in the e2k_http_parse_date() function would end up using
ctype functions either.

-- 
David Woodhouse                            Open Source Technology Centre
David Woodhouse intel com                              Intel Corporation




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]