public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Procmail stackdumps
@ 2015-08-20  9:26 gjnospam2014-cygwinml
  2015-09-10 11:17 ` D. Boland
  0 siblings, 1 reply; 2+ messages in thread
From: gjnospam2014-cygwinml @ 2015-08-20  9:26 UTC (permalink / raw)
  To: cygwin

Hi,

I have a problem with a procmail recipe which previously worked but now doesn't, and causes procmail to generate a stackdump.

:0
#  * ^Subject:.* something or other
{
  :0 BW
  * ^KeyWord
  {
    :0 b
    NUM_FOUND=|${PMD_DIR}/numOfMatches

    :0 b
    SEARCH_NAME=|${PMD_DIR}/searchName
  }

#   :0 hfw
#   | $FORMAIL -i "Subject: $SEARCH_NAME found $NUM_FOUND_FOUND matches"
}

Interestingly, each of the recipes in the inner block works perfectly individually (i.e. if I comment out the other one), but when they follow one another like that I get the following in my procmail log:

      2 [main] procmail 1812 fork: child -1 - forked process 468 died unexpectedly, retry 0, exit code 0xC000012D, errno 11
16015111 [main] procmail 1776 fixup_mmaps_after_fork: ReadProcessMemory failed for MAP_PRIVATE address 0x7FDF9060000, Win32 error 998
16017947 [main] procmail 1776 C:\cygwin64\bin\procmail.exe: *** fatal error in forked process - recreate_mmaps_after_fork_failed
16020300 [main] procmail 1776 cygwin_exception::open_stackdumpfile: Dumping stack trace to procmail.exe.stackdump
16084774 [main] procmail 1812 fork: child -1 - forked process 1776 died unexpectedly, retry 0, exit code 0x100, errno 11
procmail: Terminating prematurely whilst waiting for fork
  Folder: **Bounced**							      0

but only after waiting an inordinately long time and applying ctrl-c to procmail.

The stackdump file is created before that, I can see that happening, and contains:
Stack trace:
Frame        Function    Args
0000022F368  0018007201E (001802110C0, 00180210E86, 00000008000, 0000022E1F0)
0000022F368  00180046EA2 (0000022F258, 001801E4EF0, 0000022FB00, 0000022F368)
0000022F368  00180046EE2 (00000000000, 0000022EF38, 00000008000, 001004102A8)
0000022F368  00180047454 (00000000002, 00180040000, 00180040000, 00000000000)
0000022F368  00180048920 (001004183AC, 00100418DD4, 0000022F358, 000778DFFFC)
0000022F368  001800C62E9 (00077A9B799, 000003A2C20, 000003A27B0, 000003A27B0)
00077B65468  00077A9B108 (00000000000, 0000022F490, 00000000000, 00000000000)
00077B65468  00077AA1E5A (00077AA4071, 0000022FB00, 00000000000, 00000000000)
00000000000  00077AA1937 (00000000000, 7FFFFFD7000, 00000000000, 00000000000)
00000000000  00077A8C34E (00000000000, 7FFFFFD7000, 00000000000, 00000000000)
End of stack trace

Even if I put the recipes into separate blocks (still within the outer block, but in two separate blocks) the problem occurs.  I'm baffled.

Yours, sincerely,
Baffled

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Procmail stackdumps
  2015-08-20  9:26 Procmail stackdumps gjnospam2014-cygwinml
@ 2015-09-10 11:17 ` D. Boland
  0 siblings, 0 replies; 2+ messages in thread
From: D. Boland @ 2015-09-10 11:17 UTC (permalink / raw)
  To: cygwin

gjnospam2014-cygwinml@yahoo.com schreef op 20-8-2015 om 11:23:
> Hi,
>
> I have a problem with a procmail recipe which previously worked but now doesn't, and causes procmail to generate a stackdump.
>
> :0
> #  * ^Subject:.* something or other
> {
>    :0 BW
>    * ^KeyWord
>    {
>      :0 b
>      NUM_FOUND=|${PMD_DIR}/numOfMatches
>
>      :0 b
>      SEARCH_NAME=|${PMD_DIR}/searchName
>    }
>
> #   :0 hfw
> #   | $FORMAIL -i "Subject: $SEARCH_NAME found $NUM_FOUND_FOUND matches"
> }
>
> Interestingly, each of the recipes in the inner block works perfectly individually (i.e. if I comment out the other one), but when they follow one another like that I get the following in my procmail log:
>
>        2 [main] procmail 1812 fork: child -1 - forked process 468 died unexpectedly, retry 0, exit code 0xC000012D, errno 11
> 16015111 [main] procmail 1776 fixup_mmaps_after_fork: ReadProcessMemory failed for MAP_PRIVATE address 0x7FDF9060000, Win32 error 998
> 16017947 [main] procmail 1776 C:\cygwin64\bin\procmail.exe: *** fatal error in forked process - recreate_mmaps_after_fork_failed
> 16020300 [main] procmail 1776 cygwin_exception::open_stackdumpfile: Dumping stack trace to procmail.exe.stackdump
> 16084774 [main] procmail 1812 fork: child -1 - forked process 1776 died unexpectedly, retry 0, exit code 0x100, errno 11
> procmail: Terminating prematurely whilst waiting for fork
>    Folder: **Bounced**							      0
>
> but only after waiting an inordinately long time and applying ctrl-c to procmail.
>
> The stackdump file is created before that, I can see that happening, and contains:
> Stack trace:
> Frame        Function    Args
> 0000022F368  0018007201E (001802110C0, 00180210E86, 00000008000, 0000022E1F0)
> 0000022F368  00180046EA2 (0000022F258, 001801E4EF0, 0000022FB00, 0000022F368)
> 0000022F368  00180046EE2 (00000000000, 0000022EF38, 00000008000, 001004102A8)
> 0000022F368  00180047454 (00000000002, 00180040000, 00180040000, 00000000000)
> 0000022F368  00180048920 (001004183AC, 00100418DD4, 0000022F358, 000778DFFFC)
> 0000022F368  001800C62E9 (00077A9B799, 000003A2C20, 000003A27B0, 000003A27B0)
> 00077B65468  00077A9B108 (00000000000, 0000022F490, 00000000000, 00000000000)
> 00077B65468  00077AA1E5A (00077AA4071, 0000022FB00, 00000000000, 00000000000)
> 00000000000  00077AA1937 (00000000000, 7FFFFFD7000, 00000000000, 00000000000)
> 00000000000  00077A8C34E (00000000000, 7FFFFFD7000, 00000000000, 00000000000)
> End of stack trace
>
> Even if I put the recipes into separate blocks (still within the outer block, but in two separate blocks) the problem occurs.  I'm baffled.
>
> Yours, sincerely,
> Baffled
>
Hi Baffled,

Sorry for the delay. I'll look into it.

Daniel



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-10 11:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-20  9:26 Procmail stackdumps gjnospam2014-cygwinml
2015-09-10 11:17 ` D. Boland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).