Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46774 - QMail fails when glibc is compiled with NPTL support.
Summary: QMail fails when glibc is compiled with NPTL support.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-04 09:25 UTC by Forza
Modified: 2004-06-29 01:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forza 2004-04-04 09:25:22 UTC
When glibc 2.3.2-r9 is compiled with NPTL support i breaks QMail (even if I recompile qmail and perl). What I get is this:

"Server Reply: qq crashed (#4.3.0)"

and in the /var/log/qmail/qmail-smptd/current:

init.c:259: __pthread_initialize_minimal_internal: Assertion `__default_stacksize % __sysconf (_SC_PAGESIZE) == 0' failed


It could be in the qmail-scanner-queue.pl the problem lies. However, I have disabled the use of spamassassin in that script.

Reproducible: Always
Steps to Reproduce:
1. Recombile glibc-2.3.2-r9 with USE="NPTL"
2. send mail though qmail
3.
Comment 1 Michele Noberasco (RETIRED) gentoo-dev 2004-05-31 17:01:16 UTC
I don't have this issue:

Recently (a week or so) rebuilt my system from stage 1 using 2.6 kernel and 2.6 headers (with bootstrap-2.6.sh), with nptl USE flag enabled. nptl is enabled in my glibc and everything is working (up to now, at least, I haven't recompiled all apps I need yet). I do have qmail installed (1.03-r13), and it works like a charm...
Comment 2 Forza 2004-05-31 22:14:48 UTC
Yes. qmail worked for me too, partly. Someone suggested it was teh qmail scanner that was the cause of the problem.

What happen is that I get this error (my first post) after authentication when sending email.

My setup includes qmail, vpopmail and mysql, using SMTP authentication.
Comment 3 Cory Visi (RETIRED) gentoo-dev 2004-06-28 23:39:38 UTC
spam, are you saying you get this error, but qmail works anyway?
If so, I think this is something for the qmail devs to fix. Do you agree?
I will close the bug if you and Michele agree.

Thanks guys!
Comment 4 Michele Noberasco (RETIRED) gentoo-dev 2004-06-29 00:10:33 UTC
It is now about a month that I run qmail and I encountered no issues... imho this can be safely closed.
Comment 5 Forza 2004-06-29 00:40:44 UTC
I have not tested a new version of QMail yet. But I believe you that if you have tested QMail with NPTL enabled and that you see no problems.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-06-29 01:14:50 UTC
qmail itself doesn't use pthreads at all, but perl (qmail-scanner) does and there was another bug floating around for perl with NPTL similar to this, so I'm going to close this.