Bug 712144

Summary: [abrt] evolution-data-server-3.0.2-1.fc15: find_SPropValue_data: Process /usr/libexec/e-calendar-factory was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: james.glenn
Component: evolution-data-serverAssignee: Matthew Barnes <mbarnes>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: mbarnes, mcrha
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:7033c8219542f3420a9630dc6928469bf432c011
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-16 10:09:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: maps
none
File: backtrace
none
Log output per request
none
Log output per request
none
Log output per request with debuginfo packages
none
Log output per request with debuginfo packages none

Description james.glenn 2011-06-09 15:13:47 UTC
abrt version: 2.0.1
architecture:   x86_64
cmdline:        /usr/libexec/e-calendar-factory
component:      evolution-data-server
crash_function: find_SPropValue_data
executable:     /usr/libexec/e-calendar-factory
kernel:         2.6.38.7-30.fc15.x86_64
os_release:     Fedora release 15 (Lovelock)
package:        evolution-data-server-3.0.2-1.fc15
rating:         4
reason:         Process /usr/libexec/e-calendar-factory was killed by signal 11 (SIGSEGV)
time:           Thu Jun  9 09:26:16 2011
uid:            500
username:       jglenn

backtrace:      Text file, 26324 bytes
maps:           Text file, 54810 bytes

build_ids:
:8931ab3c073ffb8513aa5e95e6df924ee22b3691
:85df0c0efc3d7a5ccb3df5c8c219f9952fe688dc
:f65baade131f67f424c4167cb2f046cb63a96c01
:aaf7ed41612348bd1141db06cadd428244aa6ea5
:626246b7fa35acdbe984bf80a9ed50ba6803c03b
:1ba57a696637c1e23edecbd851a292f85214b29c
:89017ab0b75e533e4294f74ee8f7db3daceea536
:1fab8487c26b58492fa207ab73b1350a47592d6e
:bb7996b3d02c22931c25af1a467597f49d471732
:35b28d014659e2dbca460859b84c985e03695724
:dfc765524f25549563ed4816f3d16df6ae043e90
:d0c6e13f00a20952a72a945c929efb175fd760e3
:9cd020ec2107c08febe2c8fcabd158212c207854
:364faaf3d30d881cac9ec6058ff9af221bf81790
:0b1f69c75c16ae2ee963cec0721f0e67e2b0f630
:03604334281bb0fd8ccfea12e1b44c068c1a5a1f
:21ad5b8ca30ad4dbb2190cfd19b03c69958ad013
:5dddbb646db3ca0f93a9848c66c8a6dd1b335466
:a2960147ad19dd5da7908715cddbc33e005dd309
:aaf62304b0fc10611d35b4f56005479d4c58868d
:cdd87cfe38115dcd04c1503689de2a4f5913d6ef
:475ee088755895afc66a8ce42a95329f19656eb8
:d5207bbebd3e7d72907094ba5957964a806a3360
:b1eea0775d2e530d8001aaee7063f3f6a411c7a2
:14d91be4230b12edbaa989ebc0739005392e8733
:0b509ba0261dcc0d9a77b310f0ff97aceedc166b
:3e87da6c0907f001a173d4a13e2c55070ff76b83
:bb12133ef3ea4be2432983db3514ec4720f0487c
:a7f1c18b1ea74748c739d5dc04cf55c46358f641
:8cf4ad92061e1bb07f45bafd6f3737ff13828192
:57cbb0afbaa275acda7b7f1d8305d3ef80e88c5a
:0a8882236b18dcf804008c84a5d69043e57afb0d
:4a454327c50910e88ee0ef426da306038a748e57
:91689252818532ec13597b6528d38be93b2706c4
:f6320d3a9d2dccb9d48d2bf7e87b335f336e4123
:d548c8f99ca1dd93454e048c41c8e1a207b4aedb
:c08ee75747f49663df26be3e321cb24fbf70a426
:3d26f2858003fab85b6439a79d6ed86a3dcc4b7c
:4c287f2d57ec48e50751ecbbfdfea9b96dc77b57
:5247dd94e5eb5d90145d7a6b86ccc3e7a2624b23
:b06863e37ed8553f282a929588a1453c52630bcd
:e10b92bc851cfeb7fae30227813f5dc4aeda7d17
:538606afa7344fa9d97745f595dc5854788ce08b
:6de338b049b1fb2090f77e8efb1122d540c3ffde
:7de8a33c476c18081927aa8df39d2c055d67ee59
:12fe921fa6ce903fb44dbd1e37cd24e26cc920a6
:7317a31c3637d79d964b4a65f578eb34d4fbeab6
:e56a1c53a3cc7096355bdae521a2bf98041de78d
:ee2e9edde7fe91da3975e2fd2327293641f5b71b
:dba03e0f0cc71f8de9ba64da4c9740ac0fbe08f0
:a16b0670d7225713927fe76b775bdc157c105b51
:a594ab36356a9b6dc6ecf25a6124463ccbfd0a29
:124de97cc231d97642d188082763cc087e020d45
:bbefa67b435e14db0f347b4b1579d7e5b75cfe10
:b86f00a668ca8dd79d7508fa5cd1894986085fd2
:411258dd13bfde5ebeba996eaa5703942827c374
:d83f52ed9dfe5d1f2914404c798e6b2579b15c40
:a07a121002425bb39c1f54c29bfce32d34cea2c1
:f952662bc1e468db5be0d68ccd8e107424d3d4f1
:48aea888319e1848137073c9cbde54a4c2a731c9
:c5e453fe5d6318e6edd7588a5b50cb13611e2b32
:3c8bf111d9fa14f86a24f99b51a4bbd59f1ec89d
:a7158bee1dfaecfbd81d16bc6b31b082b0d5244a
:e9fb7221d2cf5954b3c29b250f53e6e7f3552b2f
:1055e62099500981301b63d6b8d4c452484d18af
:f277cf8af7532168ab476e5f7bddaa44e74ff642
:f98a1f0f4c60ad34cecde1a3b697bfbde6a7046f
:491c7ad109d751508a100e2f33fdacdebeceb8ad
:9b3af3c4e04ceb5aaa350786fd48189771cc5d0c
:13110e8b350c1a3bd2097f130b9d1cbbc50931a0
:0eaf2a4803128234a910b7adefa6fc9d5ab5db21
:8c1fee7545665c8b2e0d39ad53744122210e6d69
:aff33db0695aec8da4b1ae0ff3ae4e48d4f70c20
:1c6a95451ee19617be5abea3d121f0226d21ddda
:6433c36cdbe08f882cab3bb6fcb79459f915f389
:5dd4750ed8c17dae16c32c34afab7787629bdaa1
:e103cad47ec6886d6bc49bf6a555f48dbc314dd9
:36a149d1e2c29890b616402f6bc5e3f69ca2738e
:415dd94df0672c555dd4b2a4ef9dbf530694c82c
:3acb93428e329704accad547bd66b53ddee15b39
:585e18f56063dab8934660820f0c63765c6c1a1f
:9f5b258b070e5afa6b190dc4562e217404d8141c
:0911ea7c180d733724f89037b8e8a34e64024aec
:46ea35b97be2e49def4a7acbe21d683db1798acc
:e5f626726497a81807681ed0088dbce6d6a1f17b
:eccdb0ecc4ad7dd0a33d063a389a7981c45dc6d9
:e49dde950fb0d47952e77460fb78cdd88ba4b831
:9ef41f9ca0eabaf3a03dd77eb180e202ab4fe956
:d8a9e85a09eb3f1d4c6fd20268edb664623f7c55
:4c842320387ff7f6f91b7842b223c16518be909f
:7c4077752ff43f64a483ba9bea9a09c83ddc3537
:b6daf4d6231567e779f59e3ab5e7909ed5eb2cdf
:fbd958413c75ae3fbfb88847de94dd68e58336a7
:c2d49d72ec1a1e68b39c3724693f83f44d80a259
:e6bce650243bc5114cdbc786a739134db554bb10
:79d2d2a3e3d39fcde3bea274434562ecbc41b360
:8164c04fe43680778d29c2775cef453f494ab62b
:dfde75e866954bd7fcb13b625d1de70047694f90
:b3900bee00b584ef0bfe2adc2f9b9aed93870bc0
:a7058457616c8548e784de3ed1b2c37259c62ca7
:4e07b77adb145cc6404542708f22dc48ded94731
:48b9e02d2199527bf0b51390ce501d804d2e447b
:f5ec3acf7a37b20456de7fec24e073c22a70e32d
:2bfe05550a30b9724bb908494b3e12f30e56a722
:565735b0f5d149a9a3ac8aa9023d8fa098045a9d
:74d56d8081dbddfee69a599e8e29c40cddf40af2
:2c51b45ccf030cc3dca9d86a87c7b450fa33eef4
:547e314dc79170ad6118d9da45e7bba9a2d0f174
:fc4ea781fa38eda7d7ed0b1ff2099ab5a1709ebb
:7e8cc94e424debed5b06862cb82ae606f89fc263
:0c2ac55e63d2ab3734c468a9dcde1e23c48319c5
:34fdb31481906f347f8dd8215f0df5d3f074167b
:3be552c66037f19b01b9f6799a96f8120e4ddc11
:6e58994b7c99a0b62d0bd4e7928c4b6dbd667319
:76db0daee3d411dbd87f3a6180e5ada8de213d1a
:5c94d34eef463a380dece1eac0811d6cb2dea2f9
:3ce85d53804dcbb098349a9a425ffcc666ca9525
:2c35820baaea8571d8a8dc977f23cc7f629ddcb4
:f357a1b18bde41975c15355fc430b5493558c6c5
:7176d4fc81535533495ad9584f61a529e5c46f22
:e9daf980789f68a9735b674aeaccdc94362bd1ad
:0ce100fc93044ccb33a8e8eace17b78060e5472c
:ddaccb07249c19d72544053590a31401e305a762
:e567a4b498aa9dfc484575e666a17925f0944318
:e63f2dd05e6fcc56ec3bd61d5177cfced504fecb
:ccda0d37b6bd1f39ffd20c5fe84f2724a1dc87bf
:b038838c10d38141b6ec19b40168be9caaa78286
:bb1384e54002c1c06cddc3945fffe75a93828516
:189c7475c0490584f314acd7377d00adc0fc2b1a
:2371d3cd2d7f4ae5fc1aae837abe7e921ebc2885
:dd5dada4600e9f496abc0deecd6fa5be4597cfaf
:9eb3646a4d95b88c0d8b57aa8b2a0ca01569cc6d

dsos:
:/usr/lib64/sasl2/libdigestmd5.so.2.0.23 cyrus-sasl-md5-2.1.23-16.fc15.x86_64 (Fedora Project) 1307053657
:/usr/lib64/sasl2/libcrammd5.so.2.0.23 cyrus-sasl-md5-2.1.23-16.fc15.x86_64 (Fedora Project) 1307053657
:/usr/lib64/libsamba-hostconfig.so.0.0.1 samba4-libs-4.0.0-25.alpha11.fc15.x86_64 (Fedora Project) 1307116829
:/usr/lib64/libndr.so.0.0.1 samba4-libs-4.0.0-25.alpha11.fc15.x86_64 (Fedora Project) 1307116829
:/lib64/libnss_dns-2.14.so glibc-2.14-2.x86_64 (Fedora Project) 1307551191
:/usr/lib64/libmapi-openchange.so.0.9 openchange-0.9-17.fc15.x86_64 (Fedora Project) 1307116829
:/usr/lib/locale/locale-archive glibc-common-2.14-2.x86_64 (Fedora Project) 1307551185
:/usr/lib64/gconv/UTF-16.so glibc-2.14-2.x86_64 (Fedora Project) 1307551191
:/usr/lib64/sasl2/libanonymous.so.2.0.23 cyrus-sasl-lib-2.1.23-16.fc15.x86_64 (Fedora Project) 1307053511
:/usr/lib64/evolution-data-server/calendar-backends/libecalbackendcaldav.so evolution-data-server-3.0.2-1.fc15.x86_64 (Fedora Project) 1307115304
:/usr/lib64/evolution-data-server/calendar-backends/libecalbackendfile.so evolution-data-server-3.0.2-1.fc15.x86_64 (Fedora Project) 1307115304
:/usr/lib64/evolution-data-server/calendar-backends/libecalbackendcontacts.so evolution-data-server-3.0.2-1.fc15.x86_64 (Fedora Project) 1307115304
:/usr/lib64/evolution-data-server/calendar-backends/libecalbackendmapi.so evolution-mapi-3.0.2-1.fc15.x86_64 (Fedora Project) 1307116830
:/usr/lib64/libdcerpc.so.0.0.1 samba4-libs-4.0.0-25.alpha11.fc15.x86_64 (Fedora Project) 1307116829
:/usr/lib64/sasl2/libgssapiv2.so.2.0.23 cyrus-sasl-gssapi-2.1.23-16.fc15.x86_64 (Fedora Project) 1307053570
:/usr/lib64/gconv/gconv-modules.cache glibc-2.14-2.x86_64 (Fedora Project) 1307551191
:/usr/lib64/libexchangemapi-1.0.so.0.0.0 evolution-mapi-3.0.2-1.fc15.x86_64 (Fedora Project) 1307116830
:/usr/lib64/evolution-exchange/3.0/libevolution-exchange-shared.so evolution-exchange-3.0.2-1.fc15.x86_64 (Fedora Project) 1307116832
:/usr/lib64/evolution-data-server/calendar-backends/libecalbackendweather.so evolution-data-server-3.0.2-1.fc15.x86_64 (Fedora Project) 1307115304
:/usr/lib64/sasl2/libplain.so.2.0.23 cyrus-sasl-plain-2.1.23-16.fc15.x86_64 (Fedora Project) 1307053574
:/usr/lib64/evolution-data-server/calendar-backends/libecalbackendexchange.so evolution-exchange-3.0.2-1.fc15.x86_64 (Fedora Project) 1307116832
:/usr/lib64/evolution-data-server/calendar-backends/libecalbackendhttp.so evolution-data-server-3.0.2-1.fc15.x86_64 (Fedora Project) 1307115304
:/usr/lib64/evolution-data-server/calendar-backends/libecalbackendgroupwise.so evolution-data-server-3.0.2-1.fc15.x86_64 (Fedora Project) 1307115304
:/usr/lib64/sasl2/liblogin.so.2.0.23 cyrus-sasl-plain-2.1.23-16.fc15.x86_64 (Fedora Project) 1307053574
:/lib64/libnss_files-2.14.so glibc-2.14-2.x86_64 (Fedora Project) 1307551191
:/usr/lib64/gconv/IBM850.so glibc-2.14-2.x86_64 (Fedora Project) 1307551191
:/usr/lib64/sasl2/libsasldb.so.2.0.23 cyrus-sasl-lib-2.1.23-16.fc15.x86_64 (Fedora Project) 1307053511

environ:
:SHELL=/bin/bash
:DBUS_STARTER_ADDRESS=unix:abstract=/tmp/dbus-RCUGVqEC0e,guid=ea8a39863d75149a7026d5dc0000005e
:XDG_SESSION_COOKIE=7a401abb418e67a3f5d56b40000000bb-1307626098.504788-1307733414
:XDG_RUNTIME_DIR=/run/user/jglenn
:DISPLAY=:0
:DESKTOP_SESSION=gnome
:SSH_AUTH_SOCK=/tmp/keyring-9mS25B/ssh
:SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/1585,unix/unix:/tmp/.ICE-unix/1585
:WINDOWPATH=1
:PATH=/usr/local/bin:/usr/bin:/bin
:GNOME_DESKTOP_SESSION_ID=this-is-deprecated
:GDMSESSION=gnome
:USERNAME=jglenn
:XDG_SESSION_ID=1
:GPG_AGENT_INFO=/tmp/keyring-9mS25B/gpg:0:1
:DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-RCUGVqEC0e,guid=ea8a39863d75149a7026d5dc0000005e
:XAUTHORITY=/var/run/gdm/auth-for-jglenn-OaEVBf/database
:USER=jglenn
:DBUS_STARTER_BUS_TYPE=session
:GNOME_KEYRING_PID=1577
:SHLVL=1
:PWD=/home/jglenn
:GDM_LANG=en_US.utf8
:GNOME_KEYRING_CONTROL=/tmp/keyring-9mS25B
:LANG=en_US.utf8
:_=/usr/bin/dbus-launch
:LOGNAME=jglenn
:HOME=/home/jglenn

event_log:
:2011-06-09-10:13:08> Analyzing coredump 'coredump'
:2011-06-09-10:13:13  All 132 debuginfo files are available
:2011-06-09-10:13:20  Backtrace is generated and saved, 26324 bytes

Comment 1 james.glenn 2011-06-09 15:13:50 UTC
Created attachment 503921 [details]
File: maps

Comment 2 james.glenn 2011-06-09 15:13:53 UTC
Created attachment 503922 [details]
File: backtrace

Comment 3 james.glenn 2011-06-09 15:15:47 UTC
Please let me know if I can provide anything else.

Thanks,
James Glenn

Comment 4 Milan Crha 2011-06-10 06:02:41 UTC
Thanks for a bug report. A similar one had been reported in bug #701955 and is also filled as an upstream bug [1]. The thing is that the bug is not reproducible on my machine, thus I asked, in the upstream bug, for a help with this. If you are able to reproduce this reliable, then it would be great if you could give it a try. I see that this happens when the calendar factory is fetching events from your Exchange server. I would like to ask you to try following steps:
a) close evolution, and invoke on a console: evolution --force-shutdown
b) remove local cache of events from the exchange server; it is located in
   $ ~/.cache/evolution/calendar/mapi*
   All this stuff is stored on the server and the cache serves as a local copy
   for quicker operations, this it can be removed safely.
c) run e-calendar-factory under valgrind, like this:
   G_SLICE=always-malloc valgrind --num-callers=50 \
       /usr/libexec/e-calendar-factory &>log.txt
d) finally run evolution from another console, go to calendar and let it fetch
   all items from the Exchange server. You may see higher CPU usage, due to all
   memory checking in valgrind.

In a case the calendar factory will not crash after full synchronization of events, as valgrind can avoid certain types of crashes, then please use evolution for some time, say half an hour, and then close it. It may close also the e-calendar-factory process after about 10 seconds. If not, then press Ctrl+C in the console you run it, but press it only once. It'll stop valgrind and finish writing into the log.txt file.

After this all the log.txt file may contain some useful information, hopefully. It may not contain any private information, like server names, user names or passwords, but check for that, just to be sure. Then upload it here, please.
Thanks in advance.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=613209

Comment 5 james.glenn 2011-06-10 14:41:24 UTC
Created attachment 504128 [details]
Log output per request

Comment 6 james.glenn 2011-06-10 14:41:47 UTC
Created attachment 504129 [details]
Log output per request

Comment 7 james.glenn 2011-06-10 14:46:00 UTC
Milan,

I am able to reproduce this every time I try to load my calendar.

Not sure if this is useful information, but I work in a very mixed environment with lots of different clients creating Appointments / Meetings. If you told me that one or more of the Meetings is corrupted some how, I would believe you.

Please let me know if you need anything else.

Thanks,
James Glenn

Comment 8 Milan Crha 2011-06-13 09:29:32 UTC
Thanks for the update. This is what I was looking for, it shows memory issues. I would like to ask you for one more update, though, because there are missing line numbers for the crash, thus if you could install debug info packages for samba4, openchange, evolution-data-server, evolution and evolution-mapi, then it'll be very helpful. With line numbers shown I'll be able to identify critical places more easily and I'll be able to provide a test package for you.

I do not believe the event on the server is broken as such, it's rather about a usage on evolution-mapi/libmapi side, than about different clients creating events differently. But that's only my personal opinion, the actual code in use can have different opinion ;)

Comment 9 james.glenn 2011-06-13 13:55:03 UTC
Created attachment 504448 [details]
Log output per request with debuginfo packages

Thanks for your help with this.

Comment 10 Milan Crha 2011-06-14 05:41:41 UTC
> at 0xBCA0840: find_SPropValue_data (in /usr/lib64/libmapi-openchange.so.0.9)
> by 0xBA30C46: exchange_mapi_util_find_row_propval (in /usr/lib64
> /libexchangemapi-1.0.so.0.0.0)

Thanks for the update. Did it install correct debuginfo packages for openchange and evolution-mapi? The updated valgrind doesn't show line numbers from these two, as shown above.

The upstream bug (as mentioned in comment #4) has similar valgrind log, unfortunately also without line numbers.

Comment 11 james.glenn 2011-06-14 12:44:51 UTC
Jun 13 08:50:09 Installed: evolution-data-server-debuginfo-3.0.1-1.fc15.x86_64
Jun 13 08:50:11 Installed: openchange-debuginfo-0.9-16.fc15.x86_64
Jun 13 08:50:14 Installed: samba4-debuginfo-4.0.0-25.alpha11.fc15.x86_64
Jun 13 08:50:15 Installed: evolution-mapi-debuginfo-3.0.1-2.fc15.x86_64
Jun 13 08:50:17 Installed: evolution-debuginfo-3.0.1-1.fc15.x86_64

Is it possible I did not start something properly? I just ran through the same steps outlined in comment #4 (https://bugzilla.redhat.com/show_bug.cgi?id=712144#c4).

Comment 12 Milan Crha 2011-06-15 06:02:42 UTC
(In reply to comment #11)
> Is it possible I did not start something properly? I just ran through the same
> steps outlined in comment #4

I do not think so. The current evolution is 3.0.2, whereas your debuginfo is for 3.0.1, similar for openchange, the current is 0.9-17, where you've debug info for 0.9-16. Samba version is correct, I'm only wondering whether it requires samba4-libs-debuginfo instead. I'm never sure with samba4 packages.

Anyway, I believe you did an update and the update didn't take in correct debuginfo packages. It does that from time to time, I noticed that myself some time ago too. I'm not sure why, maybe because the debuginfo repository is usually disabled. Try this command as root, please:
  $ yum --enablerepo=fedora-debuginfo --enablerepo=updates-debuginfo update

Comment 13 james.glenn 2011-06-15 13:48:21 UTC
Created attachment 504878 [details]
Log output per request with debuginfo packages

Now with line numbers.

Comment 14 Milan Crha 2011-06-16 10:09:20 UTC
Thanks for the update. I see it's basically the same as the upstream bug [1], (also mentioned in comment #4), thus please let's move there.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=613209