Bug 79691

Summary: procmail dumps core
Product: [Retired] Red Hat Linux Reporter: Binand Sethumadhavan <binand>
Component: procmailAssignee: Jens Petersen <petersen>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-06-23 04:03:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Binand Sethumadhavan 2002-12-15 08:10:45 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Description of problem:
when a signal is received, procmail dumps core.

This happens for I think all fatal signals procmail handles.

I tested with SIGINT, SIGTERM and SIGHUP. Procmail dumped core on all three 
occassions.

Typical output when I send a signal from another terminal to a running 
procmail:

binand@binand[~]:(11) procmail
procmail: Terminating prematurely
Segmentation fault (core dumped)


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. run procmail from command line (with or without an rc file)
2. press control-C for SIGINT
3. procmail will dump core, with the above output
    

Actual Results:  lots of core.$$ files in my home directory :)

Expected Results:  procmail should have performed a clean shutdown.

Additional info:

Comment 1 Jens Petersen 2003-08-10 02:25:11 UTC
Reproduced.

Sent a mail to the maintainer for feedback.

Comment 2 Jens Petersen 2004-01-06 08:00:00 UTC
This seems to be fixed when Debian's procmail_3.22-8.diff
is applied.

I'm adding that patch to procmail-3.22-12.