KDE4's Kopete uses polish/libgadu to implement the Gadu-Gadu protocol and expects this library to be compiled with pthread support.
Without pthread support, libgadu calls fork() to start a resolver thread that then calls exit() when done. Kopete does not expect exit() to be called from a child and attempts to shut down the entire application, leading to a crash. With pthread enabled, the exit() is avoided and no crash occurs.
Fix: Apply the attached patch.
Patch attached with submission follows:
How-To-Repeat: Run KDE4's Kopete, connect using the Gadu-Gadu protocol => KCrash pops up a dialog box informing that an instance of Kopete has crashed.
Maintainer of polish/libgadu,
Please note that PR ports/132087 has just been submitted.
If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.
The full text of the PR can be found at:
Edwin Groothuis via the GNATS Auto Assign Tool
Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
On Wed, Feb 25, 2009 at 13:40, Edwin Groothuis <firstname.lastname@example.org> wrote:
> Maintainer of polish/libgadu,
> Please note that PR ports/132087 has just been submitted.
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
Agree. I will need this too for latest polish/kadu.
I'll take it.
makc 2009-03-15 19:52:19 UTC
FreeBSD ports repository
Enable pthread to fix crash in Kopete
Submitted by: Bartosz Fabianowski <freebsd at chillt.de>
Approved by: Marcin Wisnicki (maintainer)
Revision Changes Path
1.13 +2 -1 ports/polish/libgadu/Makefile
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"