|
SA Bugzilla – Full Text Bug Listing |
Summary: | spamd crash when run under Windows x64 | ||
---|---|---|---|
Product: | Spamassassin | Reporter: | Daniel Lemke <lemke> |
Component: | spamc/spamd | Assignee: | SpamAssassin Developer Mailing List <dev> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | lemke, sidney |
Priority: | P2 | ||
Version: | 3.3.1 | ||
Target Milestone: | Undefined | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Whiteboard: |
Description
Daniel Lemke
2010-08-11 03:59:35 UTC
This bug may be closely related to Bug 6359: In order to avoid "safe" signals, posix:sigaction is used in the util script. POSIX::SIGALRM( ) isn't available for Windows so we explicit forced the script to use $SIG{ALRM} instead. I've just found this article describing exactly that issue: > Note that some networking library functions like gethostbyname() are > known to have their own implementations of timeouts which may conflict > with your timeouts. If you are having problems with such functions, you > can try using the POSIX sigaction() function, which bypasses the Perl > safe signals (note that this means subjecting yourself to possible > memory corruption, as described above). See: http://perldoc.perl.org/perlipc.html#Deferred-Signals-%28Safe-Signals%29 Note that the crash always occured immediately after a call of gethostbyname()... May it be possible to use Perl::Unsafe::Signals for the affected parts instead? Daniel This is old, and I could not reproduce it using 3.4.4 so I'm closing. |