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 <g...@unixarea.de> - w http://www.unixarea.de/ _______________________________________________ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list