GNOME Bugzilla – Bug 420503
evolution-exchange crashes #3 <signal handler called> #4 0xb6d7cc2b in strlen () from /lib/tls/i686/cmov/libc.so.6
Last modified: 2008-03-06 12:52:17 UTC
Steps to reproduce: 1. 2. 3. Stack trace: Memory status: size: 72871936 vsize: 0 resident: 72871936 share: 0 rss: 17797120 rss_rlim: 0 CPU usage: start_time: 1174327684 rtime: 0 utime: 414 stime: 0 cutime:346 cstime: 0 timeout: 68 it_real_value: 0 frequency: 0 Backtrace was generated from '/usr/libexec/evolution-exchange' Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1238336768 (LWP 5957)] [New Thread -1239659616 (LWP 5959)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 120328
Thread 1 (Thread -1238336768 (LWP 5957))
Other information: svn build 20070313
terminal output from evo-exchange: th=[/personal/Outbox] exchange-account.c(1846):: key=[/personal/RickNociti/mail folders/projects/bellsouth/no surf] folder-path=[/personal/RickNociti/mail folders/projects/bellsouth/no surf] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/Inbox/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/Inbox/] ** (bug-buddy:15100): WARNING **: Couldn't load icon for Epiphany Web Bookmarks ** (bug-buddy:15100): WARNING **: Couldn't load icon for Open Folder --------------------------------------------- terminal output from evo: trthompso@jhereg:~$ cat /tmp/evolution0.out uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/] error : unterminated entity reference Exit uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/SymRx-DrugFair/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/RickNociti/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/RickNociti/mail%20folders/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/RickNociti/mail%20folders/telecom/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/RickNociti/mail%20folders/team%20notes/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/RickNociti/mail%20folders/team%20notes/old/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/RickNociti/mail%20folders/projects/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/RickNociti/mail%20folders/projects/walmart%20ivr/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/RickNociti/mail%20folders/projects/target/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/RickNociti/mail%20folders/projects/kmart/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/RickNociti/mail%20folders/projects/giant%20eagle/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/RickNociti/mail%20folders/projects/bellsouth/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/RickNociti/mail%20folders/ateb%20support/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/RickNociti/mail%20folders/ateb/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/Plaxo%20Backup/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/Java/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/Inbox/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/Inbox/TelecomGroup/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/AtebInternal/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/NON_IPM_SUBTREE/Shortcuts] uri_string[http://sr002-2k3exc.ateb.com/public/-FlatUrlSpace-/c7050ee93f17d84e9dc3257248c1b461-3c3d24] uri_string[http://sr002-2k3exc.ateb.com/public/] uri_string[http://sr002-2k3exc.ateb.com/exchange/Reid.Thompson/NON_IPM_SUBTREE/] (evolution-2.10:3737): evolution-mail-WARNING **: ignored this junk plugin: not enabled or we have already loaded one (evolution-2.10:3737): e-utils-WARNING **: Plugin 'Spamassassin junk plugin' failed to load hook 'org.gnome.evolution.mail.junk:1.0' ** (evolution-2.10:3737): DEBUG: mailto URL command: evolution %s ** (evolution-2.10:3737): DEBUG: mailto URL program: evolution (evolution-2.10:3737): e-data-server-DEBUG: Loading categories from "/home/rthompso/.evolution/categories.xml" (evolution-2.10:3737): e-data-server-DEBUG: Loaded 29 categories camel-Message: -- camel-Message: -- find: /home/rthompso/.mozilla/firefox/ynemrguy.default/CT293774: Permission denied find: /home/rthompso/.mozilla/firefox/ynemrguy.default/CT293774: Permission denied BBDB spinning up... adding certinfo Thawte Freemail Member <vivek@khera.org> adding certinfo Thawte Freemail Member <vivek@khera.org> adding certinfo Thawte Freemail Member <vivek@khera.org> in emp_apps_open_in in emp_apps_open_in ------------------------------------------ Memory status: size: 72716288 vsize: 0 resident: 72716288 share: 0 rss: 17633280 rss_rlim: 0 CPU usage: start_time: 1174406404 rtime: 0 utime: 744 stime: 0 cutime:490 cstime: 0 timeout: 254 it_real_value: 0 frequency: 0 Backtrace was generated from '/usr/libexec/evolution-exchange' Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1237931264 (LWP 3713)] [New Thread -1239254112 (LWP 3715)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 120484
Thread 1 (Thread -1237931264 (LWP 3713))
*** Bug 419120 has been marked as a duplicate of this bug. ***
*** Bug 447743 has been marked as a duplicate of this bug. ***
*** Bug 507025 has been marked as a duplicate of this bug. ***
*** Bug 509375 has been marked as a duplicate of this bug. ***
*** Bug 513269 has been marked as a duplicate of this bug. ***
Created attachment 104416 [details] [review] proposed eex patch for evolution-exchange; Based on the stacktrace, I guess the part of the url was freed between unlock of g_changed_msgs_mutex and usage of this url, so I changed it to use copies of that portion of string. Are you able to test this patch, please? Because I cannot reproduce it myself. Thanks in advance.
patch applied and building agains SVN HEAD.
(In reply to comment #7) > Created an attachment (id=104416) [edit] > proposed eex patch > > for evolution-exchange; > > Based on the stacktrace, I guess the part of the url was freed between unlock > of g_changed_msgs_mutex and usage of this url, so I changed it to use copies of > that portion of string. > > Are you able to test this patch, please? Because I cannot reproduce it myself. > Thanks in advance. > Patch looks good. Please commit to both STABLE branch and trunk.
Marking as reviewed only, because Bharath said it doesn't fix it completely.
No need for stable, as we dont make any more releases there.
Milan you patch is needed along with mine. Patch follows.
Created attachment 104536 [details] [review] Proposed patch
It adds (*) better locks where ever needed (*) The changed_messages array should be unique. Note: That it can fix most of the crashers that arises from process_flags (I remember I saw quite a few of them)
Credits to Bharath, who helped be understand the bits there.
*** Bug 499773 has been marked as a duplicate of this bug. ***
*** Bug 489501 has been marked as a duplicate of this bug. ***
I guess we can commit them together, when someone reviews your patch. I can wait for it.
Milan, we have tested it and it should be fine to get it in. Lets commit it for 2.21.91
*** Bug 368272 has been marked as a duplicate of this bug. ***
Created attachment 104623 [details] [review] updated patch I noticed a small problem with the previous patch. Just updating it in here.
Cool. You got it right.
Committed to trunk. Committed revision 1557. Notice I merged those to patches into one and I disabled your debug printf calls.
*** Bug 272611 has been marked as a duplicate of this bug. ***
*** Bug 518654 has been marked as a duplicate of this bug. ***