Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Firefox/Thunderbird segfault on print/print preview #3606
On Linux, trying to print or print preview in Firefox (3.6.3) or Thunderbird (3.0.4) results in the application segfaulting.
Using http://svn.easysw.com/public/cups/branches/branch-1.4 r9103 works, r9104 fails.
r9104 | mike | 2010-04-12 05:03:53 +0100 (Mon, 12 Apr 2010) | 2 lines
Rather incomplete symbols wise, but best I have, trace:
Program received signal SIGSEGV, Segmentation fault.
CUPS.org User: mike
The problem is that the Mozilla apps are dlopen'ing libcups, which then initializes the SSL library. They then dlclose libcups after the print dialog goes away which leaves the OpenSSL threading stuff pointing at functions that are no longer in the process address space.
One of two things needs to happen - Firefox/Thunderbird need to stop using dlopen/dlclose (or at least dlclose) for libcups, or OpenSSL and GNU TLS need to actually support threading out of the box and not depend on the application or library to provide threading support.
CUPS.org User: Bourdieu
Actually this patch :
from blfs, fixes this bug for 1.4.4 and 1.4.5 versions.
Nevertheless, one of the upstream projects should really fix this, since it's a critical bug for people who are affected by it.