GNOME Bugzilla – Bug 664265
Error while sending using MAPI when personal address book is empty
Last modified: 2011-12-16 10:07:48 UTC
Created attachment 201588 [details] an error occurred while sending Summary: Evolution won't send e-mail when using MAPI connection to exchange server in ubuntu 11.10 amd64 Steps to reproduce: 1) Fresh install of xubuntu 11.10 amd64 2) sudo apt-get install evoluiton 3) sudo apt-get install mapi 4) set up my mail account selecting mapi protocol 5) everything appears to work for reading e-mail, calendar, contact-book 6) try sending an e-mail Actual response: "An error occurred while sending. How do you want to proceed? The reported error was "Could not send message.". [continue editing][save to outbox][try again] Desired response: 1) e-mail sends successfully {or at least a more helpful error message} Build date and platform: xubuntu 11.10 amd64 evolution (3.2.1-0ubuntu1) Additional builds and platforms: bug doesn't occur on xubuntu 10.04 Additional information: Other bad behaviour noticed at the same time of the current bug included: * Evolution crashing * Not remembering password when remember password is ticked * On start of app, does not authenticate when you type in your password, but it authenticates in preferences when testing authentication on the same password None of the above occurred in xubuntu 10.04
Please provide debug output as described on http://projects.gnome.org/evolution/bugs.shtml
backtrace upon trying to send an e-mail as requested: chi139@marinade-mm:~$ gdb /usr/bin/evolution GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08 Copyright (C) 2011 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://bugs.launchpad.net/gdb-linaro/>... Reading symbols from /usr/bin/evolution...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/evolution [Thread debugging using libthread_db enabled] [New Thread 0x7fffe81b4700 (LWP 5467)] [New Thread 0x7fffe79b3700 (LWP 5468)] [New Thread 0x7fffd52f0700 (LWP 5469)] [New Thread 0x7fffcb88f700 (LWP 5471)] [Thread 0x7fffcb88f700 (LWP 5471) exited] [New Thread 0x7fffcb88f700 (LWP 5473)] [New Thread 0x7fffc9fbc700 (LWP 5474)] [New Thread 0x7fffc97bb700 (LWP 5475)] (evolution:5464): libexchangemapi-CRITICAL **: exchange_mapi_connection_find: assertion `profile != NULL' failed [New Thread 0x7fffc8d61700 (LWP 5476)] [New Thread 0x7fffc7b3d700 (LWP 5477)] 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" [Thread 0x7fffc7b3d700 (LWP 5477) exited] [Thread 0x7fffc97bb700 (LWP 5475) exited] [New Thread 0x7fffc97bb700 (LWP 5478)] [Thread 0x7fffc97bb700 (LWP 5478) exited] [Thread 0x7fffcb88f700 (LWP 5473) exited] [Thread 0x7fffc9fbc700 (LWP 5474) exited] [New Thread 0x7fffc9fbc700 (LWP 5490)] [Thread 0x7fffc9fbc700 (LWP 5490) exited] [Thread 0x7fffc8d61700 (LWP 5476) exited] [New Thread 0x7fffc8d61700 (LWP 5560)] [New Thread 0x7fffc9fbc700 (LWP 5561)] [New Thread 0x7fffcb88f700 (LWP 5562)] [Thread 0x7fffc9fbc700 (LWP 5561) exited] [Thread 0x7fffcb88f700 (LWP 5562) exited] [New Thread 0x7fffcb88f700 (LWP 5565)] [New Thread 0x7fffc9fbc700 (LWP 5566)] [New Thread 0x7fffc97bb700 (LWP 5567)] [Thread 0x7fffc97bb700 (LWP 5567) exited] [Thread 0x7fffcb88f700 (LWP 5565) exited] [Thread 0x7fffc8d61700 (LWP 5560) exited] (evolution:5464): libexchangemapi-CRITICAL **: exchange_mapi_connection_find: assertion `profile != NULL' failed ^C Program received signal SIGINT, Interrupt. 0x00007ffff5ccc773 in poll () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) thread apply all bt
+ Trace 229075
Thread 2 (Thread 0x7fffe81b4700 (LWP 5467))
Which version of the package "evolution-mapi" is installed? Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols (for evolution, glib2, gtk3)? Please see http://live.gnome.org/GettingTraces for more information on how to do so and reopen this bug. Thanks in advance!
I think I could narrow down the root cause of the problem a bit: This seems to happen only as long as the personal address book is empty. After creating a random entry the problem vanishes. Before the debug output shows: (evolution:15870): evolution-mail-WARNING **: search_address_in_addressbooks: Unable to open addressbook 'Persönlich': Cannot open book: db error 0x2 (No such file or directory)
@Johannes Engel - That was lovely! I had an entry in my address book; Cleaned that up, and Voila! Message Sent! Thanks again for the pointer :)
Thanks for a bug report. The issue with personal addressbook should be unrelated. The right cause is this error: (evolution:5464): libexchangemapi-CRITICAL **: exchange_mapi_connection_find: assertion `profile != NULL' failed and it had been fixed recently in bug #664062, thus I'm marking this as a duplicate of it. *** This bug has been marked as a duplicate of bug 664062 ***