After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 583007 - vcard import into ldap -- freeze
vcard import into ldap -- freeze
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Importers
2.26.x (obsolete)
Other All
: Normal critical
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
evolution[ldap]
Depends on:
Blocks:
 
 
Reported: 2009-05-18 03:08 UTC by Yonas
Modified: 2018-12-12 14:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
`gdb evolution` + 't a a bt' (14.41 KB, text/plain)
2009-05-18 05:44 UTC, Yonas
Details
GDB - EDS (11.60 KB, text/plain)
2009-06-23 19:45 UTC, Yonas
Details
GDB - Evolution (10.64 KB, text/plain)
2009-06-23 19:46 UTC, Yonas
Details

Description Yonas 2009-05-18 03:08:55 UTC
Steps to reproduce:
Importing a vcard file into an LDAP address book will freeze evolution and CPU goes to 100%.

LDAP contact search works.

Stack trace:
The last few lines of (CAMEL_DEBUG=all evolution >& evo.log) show:

(evolution:9453): libebook-WARNING **: invalid escape, passing it through

(evolution:9453): libebook-WARNING **: invalid escape, passing it through

(evolution:9453): libebook-WARNING **: invalid escape, passing it through

and two or three contacts will successfully show up in LDAP.


The program doesn't actually crash, so there's no crash info here.

Other information:
vcard from Gmail.
Evolution 2.26.1
OpenLDAP 2.4.15
Ubuntu Jaunty - Linux yonas-laptop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux
Comment 1 Akhil Laddha 2009-05-18 04:58:31 UTC
Please start evolution and evolution-data-server in separate terminals under gdb, when it hangs do ctrl+c and then 't a a bt' and paste the traces of both terminals here.   

see http://live.gnome.org/GettingTraces/Details#gdb-not-yet-running for details
about how to do this
Comment 2 Yonas 2009-05-18 05:20:27 UTC
How do I start them separately in Ubuntu Jaunty? I don't see evolution-data-server as a program.
Comment 3 Yonas 2009-05-18 05:44:05 UTC
Created attachment 134846 [details]
`gdb evolution` + 't a a bt'
Comment 4 Yonas 2009-05-18 05:45:19 UTC
Comment on attachment 134846 [details]
`gdb evolution` + 't a a bt'

evolution + data-server (NOT SEPARATE)
Comment 5 Akhil Laddha 2009-06-22 06:06:27 UTC
You should be able to start evolution-data-server from
usr/lib/evolution-data-server/evolution-data-server-2.26

Can you please provide the traces of eds now, it could be possible that eds is crashing and due to which evolution hangs. TIA
Comment 6 Yonas 2009-06-23 19:35:02 UTC
I'm creating the log file right now, but I noticed evolution will not freeze when running evolution-data-server separately as root.
Comment 7 Yonas 2009-06-23 19:45:17 UTC
Created attachment 137271 [details]
GDB - EDS

GDB of Evolution Data Server
Comment 8 Yonas 2009-06-23 19:46:08 UTC
Created attachment 137272 [details]
GDB - Evolution

GDB of Evolution
Comment 9 Akhil Laddha 2009-06-25 11:43:39 UTC
Yonas, are you running evolution as root ?  Because eds should be started in same user where you will run evolution. 

Attached traces in comment#7 point towards libxml related problem though it can be on evolution side also. 
Comment 10 Yonas 2009-06-25 20:22:23 UTC
Akhil, I'm not running eds as root, but I noticed that when I do run it as root, the problem doesn't occur.
Comment 11 Yonas 2009-06-25 20:37:46 UTC
Why would running eds as root solve the problem, though? My guess is that it has to do with permissions and OpenLDAP.
Comment 12 Yonas 2009-06-25 20:50:13 UTC
Another interesting thing, the bug still shows up with:

sudo /usr/lib/evolution/evolution-data-server-2.26

but does not show up with:

su
/usr/lib/evolution/evolution-data-server-2.26
------------------------

I think when eds is run via 'sudo', it does not connect to the non-root user's evolution process, because `evolution --force-shutdown` will not kill eds.
Comment 13 Yonas 2009-07-25 18:44:34 UTC
Is anyone going to look at this?
Comment 14 Milan Crha 2018-12-12 14:49:24 UTC
Thanks for a bug report. I'm closing this as obsolete, but feel free to reopen or comment in case you can reproduce with the current 3.30.x stable series.