Addressbook crash when searching contacts by "any field contains"

Bug #135471 reported by Bill Gjestvang
94
Affects Status Importance Assigned to Milestone
Evolution
Fix Released
Critical
evolution (Ubuntu)
Invalid
Undecided
Ubuntu Desktop Bugs
Gutsy
Invalid
High
Unassigned
evolution-data-server (Ubuntu)
Fix Released
High
Ubuntu Desktop Bugs
Gutsy
Fix Released
High
Unassigned

Bug Description

Binary package hint: evolution

The evolution addressbook crashes whenever I search my contacts list by "any field contains", unless all contacts match the search. So if any one contact doesn't match the search, the addressbook crashes.

The popup message I get:
"Evolution Error
The Evolution addressbook has quit unexpectedly.
Your contacts for file:///home/bill/.evolution/addressbook/local/system will not be available until Evolution is restarted."

100% repeatable.

To repeat:
(1) Go into your contacts list (any addressbook)
(2) Change the search to "Any field contains"
(3) Enter some text that shouldn't match any contacts
(4) Press enter
And it should pop up a dialog with the above error.

No crash files are created in /var/crash.

Revision history for this message
Bill Gjestvang (bgjestvang) wrote :

This is on the current gutsy (devel):
ii evolution 2.11.91-0ubuntu1 groupware suite with mail client and organizer
ii evolution-common 2.11.91-0ubuntu1 architecture independent files for Evolution
ii evolution-data-server 1.11.91-0ubuntu1 evolution database backend server
ii evolution-data-server-common 1.11.91-0ubuntu1 architecture independent files for Evolution D
ii evolution-exchange 2.11.91-0ubuntu1 Exchange plugin for the Evolution groupware su
ii evolution-plugins 2.11.91-0ubuntu1 standard plugins for Evolution
ii evolution-webcal 2.11.90-0ubuntu1 webcal: URL handler for GNOME and Evolution

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug report. The issue seems to be similar to http://bugzilla.gnome.org/show_bug.cgi?id=461125

Changed in evolution:
assignee: nobody → desktop-bugs
importance: Undecided → High
status: New → Triaged
Changed in evolution:
status: Unknown → New
Changed in evolution:
status: New → Confirmed
Revision history for this message
Bill Gjestvang (bgjestvang) wrote :

This seems to be fixed in the latest gutsy-devel. I can't reproduce it now.
   evolution 2.11.92-0ubuntu1
   evolution-data-server 1.11.92-0ubuntu1
Though I'm not sure this actually changed with those releases, or if it was some associated library.

Changed in evolution:
status: Triaged → Fix Released
Revision history for this message
Waldorf (jdkron-gmail) wrote :

I'm still having this issue

evolution 2.12.0-0ubuntu3
evolution-data-server 1.12.0-0ubuntu1

Revision history for this message
Sebastien Bacher (seb128) wrote :

You might want to let apport submit the crash report rather than commenting on a close bug

Revision history for this message
Bill Gjestvang (bgjestvang) wrote :

OK, I'm seeing it again, in the same versions as Waldorf. The latest gutsy-devel. Reopening.

Nothing shows up in /var/crash, and apport doesn't run. I can't find a particular process that this seems to belong to.

It looks like I may have been wrong when I said that it didn't matter which addressbook you used, and that it was 100% repeatable. Right now, I can repeat it 100% of the time using one particular local address book (lots of entries), running Gutsy-devel. Perhaps there's some field that it's tripping over, which I've now deleted from most of my address books.

How can I get more info about what's going on? Which process is it? Would a stack trace do any good if no process hangs or ends?

Changed in evolution:
status: Fix Released → Confirmed
Revision history for this message
Waldorf (jdkron-gmail) wrote :

Thanks for following up on this.

I don't know if this is part of the same issue, but my email address autocompletion is also not functioning - ie it does not do anything when I type in a name. So it appears that it is not able to read or pull from my contacts.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug report. Please try to obtain a backtrace http://wiki.ubuntu.com/DebuggingProgramCrash and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in evolution:
status: Confirmed → Incomplete
Revision history for this message
Bill Gjestvang (bgjestvang) wrote :

Waldorf, I think the autocompletion is a separate bug.

Revision history for this message
Eric Tranier (13et) wrote :

i think i have the same bug, but i can't send stack-trace.

Revision history for this message
C de-Avillez (hggdh2) wrote :

indeed, easy to trigger, it seems. I loaded contacts, and ran gdb against evolution-data-server. On the Ev window I then run a search against "any field contains". Immediate SIGABRT.

Here's the BT:

Program received signal SIGABRT, Aborted.
[Switching to Thread 1082399056 (LWP 15240)]
0x00002ae1690ce765 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00002ae1690ce765 in raise () from /lib/libc.so.6
#1 0x00002ae1690d01c0 in abort () from /lib/libc.so.6
#2 0x00002ae16910760b in __libc_message () from /lib/libc.so.6
#3 0x00002ae16910eb0a in _int_free () from /lib/libc.so.6
#4 0x00002ae1691126fc in free () from /lib/libc.so.6
#5 0x00002ae16e6bac82 in ?? () from /usr/lib/evolution-data-server-1.2/extensions/libebookbackendfile.so
#6 0x00002ae1683bf904 in g_thread_create_proxy (data=0x6424a0)
    at /build/buildd/glib2.0-2.14.1/glib/gthread.c:635
#7 0x00002ae168e88317 in start_thread () from /lib/libpthread.so.0
#8 0x00002ae169170d5d in clone () from /lib/libc.so.6
#9 0x0000000000000000 in ?? ()

Looks like memory issues...

Revision history for this message
C de-Avillez (hggdh2) wrote :

BTW -- is apport working on Gutsy? If so, why didn't I get it in /var/crash?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you get a valgrind log? No, apport is not running on gutsy (it would annoy users and send mainly duplicates), it still dump crashes to /var/crash but there you have a SIGABRT and not SIGSEGV

Revision history for this message
C de-Avillez (hggdh2) wrote :

Seb, the plot thickens. Running valgrind on it was easy. The problem is that I do not get the SIG (be it either SEGV or ABRT, although I only see the ABRT) anymore. Search on any field contains works fine under valgrind.

I am attaching a valgrind log anyway, ran against e-d-s.

And yes, you were right -- I did get a crash log in /var/crash, but apport-retraces complains stating "report file does not contain required fields: CoreDump Package ExecutablePath".

And this is bothering me... for whatever reason, the backtraces do not show the variables, just the function names,.. so I am now looking at the source of libc6 to find out *what* error message was being tried to be printed.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Did you try to run /usr/share/apport/apport-gtk on the crash?

Revision history for this message
Sebastien Bacher (seb128) wrote :

The valgrind log lists an error

==11623== Invalid free() / delete / delete[]
==11623== at 0x4C2182B: free (vg_replace_malloc.c:233)
==11623== by 0xEF1BC81: (within /usr/lib/evolution-data-server-1.2/extensions/libebookbackendfile.so)
==11623== by 0x8CAE903: g_thread_create_proxy (gthread.c:635)
==11623== by 0x9775316: start_thread (in /lib/libpthread-2.6.1.so)
==11623== by 0x9A5DD5C: clone (in /lib/libc-2.6.1.so)
==11623== Address 0x4122B68 is 0 bytes inside a block of size 519 free'd
==11623== at 0x4C2182B: free (vg_replace_malloc.c:233)
==11623== by 0x4E3FC6C: e_data_book_view_notify_update_vcard (in /usr/lib/libedata-book-1.2.so.2.4.1)
==11623== by 0xEF1BCDE: (within /usr/lib/evolution-data-server-1.2/extensions/libebookbackendfile.so)
==11623== by 0x8CAE903: g_thread_create_proxy (gthread.c:635)
==11623== by 0x9775316: start_thread (in /lib/libpthread-2.6.1.so)
==11623== by 0x9A5DD5C: clone (in /lib/libc-2.6.1.so)

Could you install libedata-book1.2-2-dbgsym evolution-data-server-dbgsym libc6-dbg and get a new one?

Revision history for this message
Sebastien Bacher (seb128) wrote :

The error looks similar to the one on the upstream bug, not need to try to get a new version

Changed in evolution:
status: Incomplete → Triaged
Revision history for this message
Jacopo Salvestrini (jsidew) wrote :

i think this bug is related to bug #146330

Revision history for this message
C de-Avillez (hggdh2) wrote :

@Jacopo: thanks for the pointer, I am asking the reporters there for a new GDB run. If it matches, I will mark it as a dup.

Revision history for this message
Tessa (unit3) wrote :

This is a "me too", I'm seeing this on a new gutsy upgrade, amd64.

Revision history for this message
John Doe (jdoe231) wrote :

this is confirmed in Ubuntu 7.10
anyone know were to get a fix.

Revision history for this message
Paul Smith (psmith-gnu) wrote :

This bug has been fixed in the upstream trunk last week:

http://svn.gnome.org/viewvc/evolution-data-server?view=revision&revision=8157

FYI. Maybe this fix can be backported to the current Gutsy version of evolution-data-server.

Revision history for this message
Sebastien Bacher (seb128) wrote :

The bug has been fixed upstream now

Changed in evolution:
status: Triaged → Fix Committed
Revision history for this message
ferriol (ostres) wrote :

I'm still having this issue

evolution 2.12.1-0ubuntu1
evolution-data-server 1.12.1-0ubuntu1

Revision history for this message
Michele Costantino Soccio (michelinux) wrote :

I experienced this too, but in my case all the Evolution parts crashed and I also lost all my todos.

Revision history for this message
Mark Garrow (scunizi) wrote :

I am also have this issue including what was reported by Michele Costantino Soccio above. I had initially made a new bug report #160839 and was referred to make note of the crash here.

Revision history for this message
C de-Avillez (hggdh2) wrote :

@Michele, Scunizi: losing the data is sort of a different behaviour. Would any of you be able to get a backtrace of your failure?

Changed in evolution:
assignee: nobody → desktop-bugs
Revision history for this message
Mark Garrow (scunizi) wrote :

I haven't lost any data. What I found on restarting is the check marks to activate a calendar and to-do list are left unchecked so nothing shows up making it appear initially that data is lost. Once the items have been checked the original information is displayed. I don't know if Michele found that to be the same or not.

Revision history for this message
Sebastien Bacher (seb128) wrote :

 evolution-data-server (2.21.2-0ubuntu1) hardy; urgency=low
 .
   * New upstream version:
     Bug Fixes:
     - #318842: Task lists should be sorted (LP: #23912)
     - #345135: Disable SSLv2 compatible HELLO on SSL stream when
       SSLv2 is disabled
     - #359267: Not all memos are showed in calendar view
     - #430420: Returned size <= 0 is an error
     - #460649: Meeting UI Needs To Show Color Of Selected Calendar Source
     - #487229: Use GKeyFile instead of gnome-config to access stored passwords
     - #488156: Minimize use of the WITH_GNOME_KEYRING macro
     - #492130: ESourceSelector uses pointers to ESource
     - #494304: Fix leak
     Updated Translations
     New in 2.21.1:
     - Support for Google Calendar
     Bug Fixes:
     - #203480: (Novell Bugzilla) Compiler warning fix
       for usage ofunintialized variable
     - #231178: New symbol 'set-label' defined and added corresponding callback
     - #271777: Keep character's case as user types
     - #417999: Don't use deprecated GTK+ symbols
     - #420167: e-d-s now exits with gnome-session
     - #469657: Better use of GHashTable
     - #474000: Use GLib's Base64 API instead of Camel's
     - #475487: When creating the default contact, print errors to the console
     - #475493: Use G_DEFINE_TYPE
     - #475494: Use G_LOCK instead of a static mutex for clearer code
     - #478404: Reset the id to zero
     - #483301: Remove an unused variable
     - #487270: Fix typo in documentation
     - #488173: Remove __FUNCTION__, which is a gcc-ism
     - #488351: Fix an addressbook error on a fresh install
     Other Contributors:
     - Protect against a NULL subject string.
   * debian/*.preinst:
     - On upgrades from Gutsy, remove the symlinks introduced in Gutsy. They
       break upgrades all over, and current cdbs just symlinks individual files.
   * Sync with Debian
   * debian/control:
     - evolution-data-server Breaks evolution (<< 2.9),
       evolution-exchange (<= 2.8.1-0ubuntu1),
       evolution-jescs (<= 2.8.2-0ubuntu3),
       evolution-scalix (<= 10.0.0.357-0ubuntu6)
     - updated maintainer to desktop team
   * debian/rules:
     - don't specify the paths for nspr and nss since the package is built
       with firefox
     - don't build documentation, it's distributed in the upstream tarball

Changed in evolution-data-server:
status: Fix Committed → Fix Released
Revision history for this message
ferriol (ostres) wrote :

Ok, then doesn't fix this problem in new release ? I have not seen this bug in previous comment

Revision history for this message
eumetaxas (eumetaxas) wrote :

i too have the same problem, crashes with "any filed search"

Revision history for this message
Angus Turnbull (angus-twinhelix) wrote :

I have just installed an updated evolution-data-server package (Version: 1.12.0-0ubuntu5) released today in the Gutsy updates channel and despite my hopes, this issue is still present. I get an addressbook crash whenever I simply select any category in the drop-down Categories list.

Please -- can one of the devs roll this fix into Gutsy? Evolution is one of the flagship GNOME desktop apps and a highly visible bug like this that causes major breakage in core features looks rather bad indeed.

Failing that, does anyone know if I can manually install the Hardy package of E-D-S on Gutsy without too much breakage? Thanks!

Revision history for this message
John Doe (jdoe231) wrote :

its fixed!
enable the proposed and unsupported updates (because i don't know which it is) and then go to update manager and there it is!
thanks to all that have helped.

Revision history for this message
Mark Garrow (scunizi) wrote :

I have evo data server version 1.12.1-0ubuntu1 and it's still happening here.

Revision history for this message
John Doe (jdoe231) wrote :

wait it started again!
darn it

Revision history for this message
Richard Clark (richard-clark2) wrote :

Tried the update to Evolution 2.12.1 but and data server 1.12.1-0ubuntu 1 and it looks like I still have the same bug. It is reproducible every time.

Revision history for this message
John Doe (jdoe231) wrote :

i don't really use that feature but it would be nice knowing it works.
evolution-data-server still needs debugging;(

Revision history for this message
Richard Clark (richard-clark2) wrote : Gnome address book applet

Yes, it isn't a vital component but it would be good to know the
application is as bug-free as possible. The same bug also causes the
address book search applet to crash. Once the Evolution addressbook has
crashed, the applet won't work until Evolution is restarted and the
applet is reinstalled on the panel.

--
Richard Clark <email address hidden>

Revision history for this message
John Doe (jdoe231) wrote :

thats what i said "i don't really use that feature> but it would be nice knowing it works.<"

Revision history for this message
Paul Smith (psmith-gnu) wrote :

I've built the latest Evo from SVN and I have no problems with this search, in both my personal address book and the Exchange Contacts address book. I've tried it with searches that match only a few of my entries, and also with searches that match none of my entries, and no crash. So, it's been fixed in SVN at any rate.

Revision history for this message
eumetaxas (eumetaxas) wrote :

it's essential to me and it's quite annoying

Revision history for this message
Mark Garrow (scunizi) wrote :

Ditto on the essential-ness of these features. I have a mixture of business & personal contacts stored and when looking up a business that contains a specific contact name, I cannot find the business listing by company name. Quite annoying.

Revision history for this message
Adi Roiban (adiroiban) wrote :

It looks like this problem was solved in evolution data server. At least this is what the upstream bug comment is saying.
http://bugzilla.gnome.org/show_bug.cgi?id=461125#c16

Can you please also update this packages! Thanks

Revision history for this message
eumetaxas (eumetaxas) wrote :

Any news coming up?
Thanks

Revision history for this message
Pirx (tkruemmer) wrote :

Indeed, an annoying issue. Looking forward to the fix.

Thanks.

Changed in evolution:
status: Confirmed → Fix Released
Revision history for this message
Angus Turnbull (angus-twinhelix) wrote :

Hi, can one of the Evolution maintainers please comment as to whether there are any plans to fix this crasher in Gutsy? It's solved upstream and (apparently) in Hardy, and the Evolution addressbook is essentially broken in Gutsy without this fixed.

Thanks!

Revision history for this message
pascalh (divers-hild) wrote :

+1

This bug is a real problem to work with evolution.

Revision history for this message
eumetaxas (eumetaxas) wrote :

+2!

Revision history for this message
C de-Avillez (hggdh2) wrote :

This seems to be fixed on up-to-date E-D-S on Hardy; if anyone is running it, can you please confirm?

This may be a candidate for backporting -- at least to Gutsy level. Simple fix, with many affected users. Please cofirm fixed as above. If confirmed fixed, I can then ask for a backport.

Revision history for this message
ChrisNZ (mintynz) wrote :

Me too same problem - I'm running Linux Mint OS, and Evolution mail.

Error Message,
The Evolution addressbook has quit unexpectedly.

Your contacts for file:///home/chris/.evolution/addressbook/local/system will not be available until Evolution is restarted.

Tried to search contacts by using the “Show” category drop down menu. Then error message comes up and Evolution must be closed and restarted. Repeatable 100% of the time. Running 2.12.1 version.

This tool would be very good when you have many addresses to sort through as previous people have noted.

Revision history for this message
ChrisNZ (mintynz) wrote :

Me too same problem - I'm running Linux Mint OS, and Evolution mail.

Error Message,
The Evolution addressbook has quit unexpectedly.

(Your contacts for file:///home/chris/.evolution/addressbook/local/system will not be available until Evolution is restarted)

Tried to search contacts by using the “Show” category drop down menu as I have used this a bit more, thinking it would be easy to find 'groups'. The "Search" drop down works OK for me.
Then error message comes up and Evolution must be closed and restarted. The bottom left corner says "Searching" with the active icon running. Repeatable 100% of the time. Running 2.12.1 version.

This tool would be very good when you have many addresses to sort through as previous people have noted.

Changed in evolution:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
slewis01 (mail-simonlewis) wrote :

Me too - Gutsy and Evolution 2.12.1
100% repeatable and 100% annoying making my large list of contacts almost unusable.

Changed in evolution:
importance: Medium → High
Changed in evolution-data-server:
importance: Undecided → High
status: New → Triaged
Revision history for this message
eumetaxas (eumetaxas) wrote :

Had to export contacts as a sisgle vcard and do search through gedit to deal with it.

Revision history for this message
Jeremy (jnissly) wrote :

Also happening to me, added screenshot of initial error message, requires restart of Evolution.

Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

that's not an evolution bug

Changed in evolution:
status: New → Invalid
status: Triaged → Invalid
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into gutsy-proposed. Please test.

Changed in evolution-data-server:
status: Triaged → Fix Committed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Verification done:

- Test with evolution-data-server 1.12.1-0ubuntu1: It crashed (shows the "The Evolution addressbook has quit unexpectedly" dialog) after following the test case.
- Test with evolution-data-server 1.12.1-0ubuntu2: After following the test case it doesn't crashed anymore, I've also verified that the process is running. The bug is fixed.

Thanks,

Revision history for this message
slewis01 (mail-simonlewis) wrote :

So what's happenning? I'm fairly new to Linux and would appreciate anyone explaining to me what's the next step.
Will a patch be released? Will it be available through update manager in Ubuntu?
Sorry for my ignorance - I appreciate everyone who has spent time on this!

Revision history for this message
Luís Silva (luis) wrote :

It is already available in the gutsy-proposed repositories.

So you just have to enable them in synaptic and upgrade.

Revision history for this message
Karl Cottenie (karl-cottenie) wrote :

Thank you very much.

I recently upgraded to gutsy, and this was the major flaw of the upgrade. But it is now working again, and I learned about the existence of yet another repository (gutsy-proposed). Now I can finally start mailing to groups of people that I organized with contact labels.

Thanks again,

Karl

Revision history for this message
Brian Murray (brian-murray) wrote :

Packages in the -proposed repository are designed for testing and shouldn't really be enabled in most people's sources.list. Since this proposed package has passed the SRU verification process it will then move from the -proposed repository to the -updates repository and be available to everyone. You can learn more about the SRU process at https://wiki.ubuntu.com/StableReleaseUpdates . Thanks!

Revision history for this message
Mark Garrow (scunizi) wrote : Re: [Bug 135471] Re: Addressbook crash when searching contacts by "any field contains"

I had enabled the Preposed repository. any updates that I received did
not fix my issues with Evolution.

On Wed, 2008-01-09 at 16:16 +0000, Brian Murray wrote:

> Packages in the -proposed repository are designed for testing and
> shouldn't really be enabled in most people's sources.list. Since this
> proposed package has passed the SRU verification process it will then
> move from the -proposed repository to the -updates repository and be
> available to everyone. You can learn more about the SRU process at
> https://wiki.ubuntu.com/StableReleaseUpdates . Thanks!
>

Revision history for this message
slewis01 (mail-simonlewis) wrote :

I have enabled the -proposed repository and the updates have solved the problem on my system

Slewis

Gutsy for 64 bit on Intel Core 2 duo

Revision history for this message
John Doe (jdoe231) wrote :

this is fixed for me.
thank you!

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Works for me. Thanks Sebastien!

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to -udpates.

Changed in evolution-data-server:
status: Fix Committed → Fix Released
Revision history for this message
eumetaxas (eumetaxas) wrote :

thanx!!!

Revision history for this message
pascalh (divers-hild) wrote :

It works ! Thanks ! You're the best.

Revision history for this message
ChrisNZ (mintynz) wrote :

Yes it Works! Well Done team. Thanks for addressing this fix.

Revision history for this message
runout (office-runout) wrote :

in ubuntu 8.10 interepit it seems we have this problem again.
i did not have it on 8.04 hardy. only since the upgrade
evolution 2.24.1
$ uname -v
#1 SMP Thu Nov 6 17:38:14 UTC 2008

Revision history for this message
John Toliver (john-toliver) wrote : Re: [Bug 135471] Re: Addressbook crash when searching contacts by "any field contains"

I confirm on 2.22.3.1 in 32 bit Hardy, this is working.

On Wed, Nov 12, 2008 at 12:35, runout <email address hidden> wrote:

> in ubuntu 8.10 interepit it seems we have this problem again.
> i did not have it on 8.04 hardy. only since the upgrade
> evolution 2.24.1
> $ uname -v
> #1 SMP Thu Nov 6 17:38:14 UTC 2008
>
> --
> Addressbook crash when searching contacts by "any field contains"
> https://bugs.launchpad.net/bugs/135471
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
I've discovered the key to success is to never give up. You either learn
the right way, or you run out of ways to do it wrong. A win/win situation!

Revision history for this message
Martijn Brinkers (m-brinkers) wrote :

I get similar crashes with evolution in Ubuntu 8.10 Intrepid.

When I startup evolution and open my contacts I get the message

"The Evolution address book has quit unexpectedly.
Your contacts for file:///home/martijn/.evolution/addressbook/local/system will not be available until Evolution is restarted."

If I restart evolution the contacts seem to be accessible but when I try to send an email there is no contact list in the "select contacts" dialog (shown when I press the To).

I have added a backtrace.

My evolution version is 2.24.3-0ubuntu1

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Martijn, this bug is fixed. If you're experiencing a crash, then it's most likely a separate problem. Please open a new bug report for that.

Changed in evolution:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.