[Libreoffice-bugs] [Bug 34187] MAILMEGE E-Mail does not send mails
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Mar 14 04:21:10 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=34187
Michael Meeks <michael.meeks at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
--- Comment #17 from Michael Meeks <michael.meeks at novell.com> 2011-03-14 04:21:10 PDT ---
Hi Alex,
Thanks for that ! the trace is interesting; clearly mail sending is done in the
main thread, and blocks the main-loop, which is sub-optimal.
20 init_sockobject + 1667 (in
_socket.so) [0x2872c1a4]
20 recvfrom$UNIX2003 + 10
(in libSystem.B.dylib) [0x9045e5fe]
One thing of course, is we get a C stack-frame, and not a python one (which is
-much- harder to get sadly).
Also - we don't really know if this is where it hung [ waiting for a response
from the mail server ], so - if you can attach gdb to the process while it is
running (and/or hung).
gdb <pid of soffice.bin>
<ctrl-c> to break it
thread 1 # or to the 'SvMain' thread at leats
backtrace # and paste the output here.
finish # and keep typing finish until it hangs - and paste which frame that was
in. That'd be great.
It looks as if the python mail library we use is somewhat slow & horrible wrt.
send/recv errors - quite possibly we need to do this in a thread and then bang
on the thread remotely [ by closing its socket eg. ] after some delay. In a
nutshell you need to find some python hacker to come fix the bug - shouldn't be
too hard for someone versed in the ways of python.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Libreoffice-bugs
mailing list