[Bug 371281] Re: evolution-data-server is unstable, causes hangs in other applications

2009-05-03 Thread Ted

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/26283266/Dependencies.txt

-- 
evolution-data-server is unstable, causes hangs in other applications
https://bugs.launchpad.net/bugs/371281
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution-data-server in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 371281] Re: evolution-data-server is unstable, causes hangs in other applications

2009-05-03 Thread Ted
Backtrace obtained from attaching to hung pidgin process with GDB.
Killing evolution-data-server-2.26 caused an immediate revival pidgin.

** Attachment added: backtrace.txt
   http://launchpadlibrarian.net/26286318/backtrace.txt

-- 
evolution-data-server is unstable, causes hangs in other applications
https://bugs.launchpad.net/bugs/371281
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution-data-server in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 371281] Re: evolution-data-server is unstable, causes hangs in other applications

2009-05-03 Thread C de-Avillez
Thank you for reporting this bug and helping make Ubuntu better.

I do remember hearing about this some time ago, and will search for it
both here and upstream. Right now I am setting this bug as confirmed,
and will either dup it against a previous, still open, Ubuntu bug, or
move it to triaged, with a link upstream.

Here's a summary of what I remember:

the Automatic Contacts plugin (source ./plugins/bbdb) does have some
problems (and needs some love).

There were some issues I remember, with the plugin enabled:

(1) synchronisation between Pidgin and Evolution is extremely
simplistic, and the entries must match exactly. If they do not match,
the plugin will re-add them;

(2) the plugin will drive resynchronisation every two minutes; this
value is hardcoded in the plugin, and can only be changed in the source
code;

(3) the search for a match is linear; as a result, the bigger your
addressbook, the longer it will take. A match will be looked for each of
the buddies in Pidgin.

So, if you add (2) and (3)... there is a potential for long loops...

Right now, I strongly suggest disabling Pidgin synchronisation.

** Changed in: evolution-data-server (Ubuntu)
   Status: New = Confirmed

-- 
evolution-data-server is unstable, causes hangs in other applications
https://bugs.launchpad.net/bugs/371281
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution-data-server in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 371281] Re: evolution-data-server is unstable, causes hangs in other applications

2009-05-03 Thread C de-Avillez
** Package changed: evolution-data-server (Ubuntu) = evolution (Ubuntu)

-- 
evolution-data-server is unstable, causes hangs in other applications
https://bugs.launchpad.net/bugs/371281
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


Re: [Bug 371281] Re: evolution-data-server is unstable, causes hangs in other applications

2009-05-03 Thread Ted
On Sun, 2009-05-03 at 19:30 +, C de-Avillez wrote:
 Thank you for reporting this bug and helping make Ubuntu better.
 
 I do remember hearing about this some time ago, and will search for it
 both here and upstream. Right now I am setting this bug as confirmed,
 and will either dup it against a previous, still open, Ubuntu bug, or
 move it to triaged, with a link upstream.
 
 Here's a summary of what I remember:
 
 the Automatic Contacts plugin (source ./plugins/bbdb) does have some
 problems (and needs some love).
 
 There were some issues I remember, with the plugin enabled:
 
 (1) synchronisation between Pidgin and Evolution is extremely
 simplistic, and the entries must match exactly. If they do not match,
 the plugin will re-add them;
 
 (2) the plugin will drive resynchronisation every two minutes; this
 value is hardcoded in the plugin, and can only be changed in the source
 code;
 
 (3) the search for a match is linear; as a result, the bigger your
 addressbook, the longer it will take. A match will be looked for each of
 the buddies in Pidgin.
 
 So, if you add (2) and (3)... there is a potential for long loops...
 
 Right now, I strongly suggest disabling Pidgin synchronisation.

While I have done that, and will report back if it fixes the problem, I
don't think that's the source here, unless you got that from the
backtrace. I had a crash-free Pidgin after I disabled the Evolution
Integration plugin in _Pidgin_, not the Pidgin Integration plugin in
_Evolution_. Are you sure it's the same issue?

-- 
evolution-data-server is unstable, causes hangs in other applications
https://bugs.launchpad.net/bugs/371281
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 371281] Re: evolution-data-server is unstable, causes hangs in other applications

2009-05-03 Thread C de-Avillez
*** This bug is a duplicate of bug 157207 ***
https://bugs.launchpad.net/bugs/157207

Marking as duplicate of bug 235250

** This bug has been marked a duplicate of bug 235250
   Pidgin-Evolution integration flaky

** This bug is no longer a duplicate of bug 235250
   Pidgin-Evolution integration flaky
** This bug has been marked a duplicate of bug 157207
   evolution-data-server keeps replicating my contacts in addressbook.db when 
syncing with Pidgin

-- 
evolution-data-server is unstable, causes hangs in other applications
https://bugs.launchpad.net/bugs/371281
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 371281] Re: evolution-data-server is unstable, causes hangs in other applications

2009-05-03 Thread C de-Avillez
*** This bug is a duplicate of bug 157207 ***
https://bugs.launchpad.net/bugs/157207

Now I am not. I did not even know there was a evolution integration
plugin on Pidgin. This is actually something to look at, and I will
install Pidgin and check (even more because then we might have two
synchronisation agents running concurrently).

Meanwhile, let's keep this one as it is; please report back on what you
find.

-- 
evolution-data-server is unstable, causes hangs in other applications
https://bugs.launchpad.net/bugs/371281
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 371281] Re: evolution-data-server is unstable, causes hangs in other applications

2009-05-03 Thread Ted
*** This bug is a duplicate of bug 157207 ***
https://bugs.launchpad.net/bugs/157207

Judging from the

#0  0x7f557f7cf2e9 in pthread_cond_wait@@GLIBC_2.3.2 ()

in the backtrace, two synchronisation agents running concurrently sounds
very plausible if a deadlock is what's causing pidgin / evolution to
hang. Since disabling the Evo-Pidgin plugin I haven't had any crashes,
but since the crashes weren't coming at a fixed interval I wouldn't put
much stock in that.

Either way, I don't think this is really a duplicate of #157207, as I'm
not having any of the problems listed in that bug.

-- 
evolution-data-server is unstable, causes hangs in other applications
https://bugs.launchpad.net/bugs/371281
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 371281] Re: evolution-data-server is unstable, causes hangs in other applications

2009-05-03 Thread C de-Avillez
** This bug is no longer a duplicate of bug 157207
   evolution-data-server keeps replicating my contacts in addressbook.db when 
syncing with Pidgin

-- 
evolution-data-server is unstable, causes hangs in other applications
https://bugs.launchpad.net/bugs/371281
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 371281] Re: evolution-data-server is unstable, causes hangs in other applications

2009-05-03 Thread C de-Avillez
I reset the duplicate status. I am still not sure about not being a
duplicate, though; the fact that disabling Evo's plugin (at least)
alleviated the issue still suggests (2) and/or (3) of the three cases I
pointed out -- if you have a large addressbook/Pidgin contact list, then
there is a good chance this might be happening -- this might look as a
freeze.

It is also interesting to note that this backtrace was related to the
Pidgin plugin -- see frame #9.

I still do not really like having two plugins that do the same thing
(or, more probably, a similar thing). I have not looked at the Pidgin
code, but one could expect -- or hope -- it to be a bit more optimised,
and only call for an add-to-addressbook if there is a new contact (while
Evo drives a search every two minutes).

Nevertheless, we still should try to zero in the issue:

(1) conflict/deadlock between both plugins;
(2) Evo plugin issue;
(3) Pidgin plugin issue;
(4) EDS library issue.

I am not sure the culprit is EDS, not at all.

Back to incomplete status.

** Changed in: evolution (Ubuntu)
   Importance: Undecided = Medium

** Changed in: evolution (Ubuntu)
   Status: Confirmed = Incomplete

** Changed in: evolution (Ubuntu)
 Assignee: (unassigned) = Ubuntu Desktop (ubuntu-desktop)

-- 
evolution-data-server is unstable, causes hangs in other applications
https://bugs.launchpad.net/bugs/371281
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 371281] Re: evolution-data-server is unstable, causes hangs in other applications

2009-05-03 Thread Andrew Starr-Bochicchio
** Changed in: evolution (Ubuntu)
 Assignee: Ubuntu Desktop (ubuntu-desktop) = Ubuntu Desktop Bugs 
(desktop-bugs)

-- 
evolution-data-server is unstable, causes hangs in other applications
https://bugs.launchpad.net/bugs/371281
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


Re: [Bug 371281] Re: evolution-data-server is unstable, causes hangs in other applications

2009-05-03 Thread Ted

** Attachment added: edstrace.txt
   http://launchpadlibrarian.net/26297112/edstrace.txt

** Attachment added: evotrace.txt
   http://launchpadlibrarian.net/26297113/evotrace.txt

** Attachment added: pidgintrace.txt
   http://launchpadlibrarian.net/26297114/pidgintrace.txt

-- 
evolution-data-server is unstable, causes hangs in other applications
https://bugs.launchpad.net/bugs/371281
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 371281] Re: evolution-data-server is unstable, causes hangs in other applications

2009-05-03 Thread Ted
Alright, even with the Pidgin Integration plugin in Evolution disabled,
Pidgin still crashed, and a checkin with Evolution confirmed it was
crashed as well. I'm attaching simple backtraces from Pidgin, Evo, and
e-d-s.

As usual, after killing e-d-s, both Pidgin and Evolution started back
up, with Evolution giving me an error about my address book being
inaccessible.

-- 
evolution-data-server is unstable, causes hangs in other applications
https://bugs.launchpad.net/bugs/371281
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 371281] Re: evolution-data-server is unstable, causes hangs in other applications

2009-05-03 Thread C de-Avillez
First, to Andrew: sorry, I mistakenly assigned to ubuntu-desktop instead
of desktop-bugs. My fault.

Ted, thank you. I understand you took the backtraces at the time you saw
it, with *only* the Pidgin plugin enabled.

* Unfortunately, the Evo BT is inconclusive -- you did not have the
debug symbols loaded for Evo, it seems, and I do not know which thread
was shown. No matter that, per the few identifiable frames, I would
venture this specific thread was in wait.

* The EDS trace suggests this specific thread was trying to acquire a
lock, and entered a wait for it.

* finally, the Pidgin trace shows what I think is part of the contacts
plugin (the library gevolution.so) driving a call to the EDS libraries;
this thread is waiting on a response.

It is difficult to say what is going on on the Evo and EDS BTs, since a
single thread was traced.

I will try and install  enable the Pidgin Evolution plugin, and see if
I can get a nice set of BTs. But, right now, I am tending to reassing
this to Pidgin (or, having time, look upstream for similar bugs): the
driver here is Pidgin, not EDS. It may well be a conflict on Evo (with
the addressbook) and Pidgin, but I lack Pidgin knowledge to go there;
anyway, it *works* when Evo calls on addressbook functions, so... until
proved otherwise, it would be Pidgin...

I am also retitling this bug.


** Summary changed:

- evolution-data-server is unstable, causes hangs in other applications
+ pidgin evolution plugin, Evolution hang

** Also affects: pidgin (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: pidgin (Ubuntu)
   Importance: Undecided = Medium

** Changed in: pidgin (Ubuntu)
   Status: New = Incomplete

-- 
pidgin evolution plugin, Evolution hang
https://bugs.launchpad.net/bugs/371281
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs