GNOME Bugzilla – Bug 631496
Crash fetching property unsupported by cast_mapi_SPropValue
Last modified: 2010-10-12 14:13:06 UTC
evolution 2.30.3 crashes just after its opened. GNU gdb (GDB) 7.2-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/local/bin/evolution...done. (gdb) handle SIG33 pass nostop noprint Signal Stop Print Pass to program Description SIG33 No No Yes Real-time event 33 (gdb) set pagination 0 (gdb) run Starting program: /usr/local/bin/evolution [Thread debugging using libthread_db enabled] (evolution:11327): e-data-server-DEBUG: Loading categories from "/home/tony/.evolution/categories.xml" (evolution:11327): e-data-server-DEBUG: Loaded 31 categories [New Thread 0x7fffe7ba3710 (LWP 11330)] [New Thread 0x7fffdffff710 (LWP 11331)] [New Thread 0x7fffdf7fe710 (LWP 11332)] [New Thread 0x7fffdd1ed710 (LWP 11333)] [New Thread 0x7fffdc9ec710 (LWP 11334)] [New Thread 0x7fffdc1eb710 (LWP 11335)] ** (evolution:11327): DEBUG: Loading Exchange MAPI Plugin ** (evolution:11327): DEBUG: MAPI listener is constructed with 1 listed MAPI accounts (evolution:11327): libexchangemapi-DEBUG: exchange-mapi-connection.c:189: exchange_mapi_connection_new: lock(connect_lock) Unknown parameter encountered: "max log size" Ignoring unknown parameter "max log size" Unknown parameter encountered: "syslog" Ignoring unknown parameter "syslog" Unknown parameter encountered: "passdb backend" Ignoring unknown parameter "passdb backend" Unknown parameter encountered: "unix password sync" Ignoring unknown parameter "unix password sync" Unknown parameter encountered: "passwd program" Ignoring unknown parameter "passwd program" Unknown parameter encountered: "pam password change" Ignoring unknown parameter "pam password change" Unknown parameter encountered: "map to guest" Ignoring unknown parameter "map to guest" Unknown parameter encountered: "usershare allow guests" Ignoring unknown parameter "usershare allow guests" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" [New Thread 0x7fffd5065710 (LWP 11336)] [Thread 0x7fffd5065710 (LWP 11336) exited] [New Thread 0x7fffd5065710 (LWP 11337)] [New Thread 0x7fffd3baa710 (LWP 11340)] [New Thread 0x7fffd33a9710 (LWP 11341)] [New Thread 0x7fffd2ba8710 (LWP 11342)] Inconsistency detected by ld.so: dl-open.c: 222: dl_open_worker: Assertion `_dl_debug_initialize (0, args->nsid)->r_state == RT_CONSISTENT' failed! [New Thread 0x7fffd1430710 (LWP 11348)] [New Thread 0x7fffd0c2f710 (LWP 11349)] (evolution:11327): e-table-WARNING **: Icon 'stock_score-lowest' not present in theme (evolution:11327): e-table-WARNING **: Icon 'stock_score-lower' not present in theme (evolution:11327): e-table-WARNING **: Icon 'stock_score-low' not present in theme (evolution:11327): e-table-WARNING **: Icon 'stock_score-normal' not present in theme (evolution:11327): e-table-WARNING **: Icon 'stock_score-high' not present in theme (evolution:11327): e-table-WARNING **: Icon 'stock_score-higher' not present in theme (evolution:11327): e-table-WARNING **: Icon 'stock_score-highest' not present in theme (evolution:11327): e-table-WARNING **: Icon 'stock_score-higher' not present in theme [New Thread 0x7fffd0227710 (LWP 11350)] [New Thread 0x7fffcfa26710 (LWP 11351)] e-data-server-ui-Message: Unable to find password(s) in keyring (Keyring reports: No matching results) e-data-server-ui-Message: Key file does not have group 'Passwords-ExchangeMAPI' evolution: libmapi/property.c:590: cast_mapi_SPropValue: Assertion `0' failed. unhandled conversion case in cast_mapi_SPropValue(): 0x610 [Thread 0x7fffd2ba8710 (LWP 11342) exited] [Thread 0x7fffd3baa710 (LWP 11340) exited] [Thread 0x7fffcfa26710 (LWP 11351) exited] [Thread 0x7fffd0227710 (LWP 11350) exited] [New Thread 0x7fffd0227710 (LWP 11352)] [New Thread 0x7fffcfa26710 (LWP 11353)] [Thread 0x7fffcfa26710 (LWP 11353) exited] [New Thread 0x7fffcfa26710 (LWP 11361)] [Thread 0x7fffcfa26710 (LWP 11361) exited] [Thread 0x7fffd5065710 (LWP 11337) exited] [Thread 0x7fffd33a9710 (LWP 11341) exited] Program received signal SIGABRT, Aborted.
+ Trace 224029
A debugging session is active. Inferior 1 [process 11327] will be killed. Quit anyway? (y or n)
originally reported at: https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/654938
Thanks for a bug report. Very similar one is bug #566874 which was supposed to be fixed with openchange 0.9. Since 0.9 were done many changes in openchange, also to support more types in cast_mapi_SPropValue, though I cannot decode what type it might be for you: > unhandled conversion case in cast_mapi_SPropValue(): 0x610 because that 0x610 is not defined in libmapi, or I do not see it at least. I believe we should do something similar as in bug #629836, to skip all "strange" properties on fetching, which we do not understand anyway.
Created attachment 172188 [details] [review] ema patch for evolution-mapi; This may fix the issue. I also recalled that this kind of crashing is enabled/disabled during configure time, and that tarball releases shouldn't have this abort enabled, but it seems it either is not true any more or your distribution is packing openchange with this enabled. Nonetheless this patch should fix it.
Created attachment 172189 [details] [review] ema patch ][ for evolution-mapi; Err, it's same as the previous patch, only the may_skip_property is done differently, by checking for properties supported by cast_mapi_SPropValue, not by "do not know these, but fine with any other".
Created commit 92d94ce in ema master (2.91.1+) Created commit 5f01b99 in ema gnome-2-32 (0.32.1+)