Hi all: On Wed 5/27/20 13:33 -0400 Ken Hornstein wrote: >>It works fine in a shell session or a cronjob, but >>fails when procmail runs it. > >I'm echoing Ralph here ... what, exactly, do you mean by it "fails"? >Is there any kind of error message?
Yes. It seems you're interested, so I'll go back and try to make a fairly simple test case, then share the errors. May not get to this though until Sunday or so. After my sig is a snip from my procmail.log -- in a few days I'll try to put together a detailed, complete example. I do not expect you to understand the snip below, since it is incomplete. -- thanks! Tom snip from ~/Mail/procmail.log: --8<---------------cut here---------------start------------->8--- Subject: Notification: 7pm family zoom | id 291-492-8117 | **password**: Folder: ( env -i PATH=/bin:/usr/bin:/usr/local/nmh/bin mhstore -fil 16907 + rcvstore -nounseen +cal *** Error in `mhstore': munmap_chunk(): invalid pointer: 0x00007ffee6682fb5 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x7f7c4)[0x7efc85a1a7c4] mhstore[0x410c77] mhstore[0x4031c1] /lib64/libc.so.6(__libc_start_main+0xf5)[0x7efc859bd505] mhstore[0x40371d] ======= Memory map: ======== 00400000-00432000 r-xp 00000000 ca:01 1708284 /usr/local/nmh/bin/mhstore 00631000-00632000 r--p 00031000 ca:01 1708284 /usr/local/nmh/bin/mhstore 00632000-00634000 rw-p 00032000 ca:01 1708284 /usr/local/nmh/bin/mhstore 00634000-0065c000 rw-p 00000000 00:00 0 0228c000-022ad000 rw-p 00000000 00:00 0 [heap] 7efc85572000-7efc85587000 r-xp 00000000 ca:01 1603827 /usr/lib64/libgcc_s-4.8.5-20150702.so.1 7efc85587000-7efc85786000 ---p 00015000 ca:01 1603827 /usr/lib64/libgcc_s-4.8.5-20150702.so.1 7efc85786000-7efc85787000 r--p 00014000 ca:01 1603827 /usr/lib64/libgcc_s-4.8.5-20150702.so.1 7efc85787000-7efc85788000 rw-p 00015000 ca:01 1603827 /usr/lib64/libgcc_s-4.8.5-20150702.so.1 7efc85788000-7efc85794000 r-xp 00000000 ca:01 1602419 /usr/lib64/libnss_files-2.17.so 7efc85794000-7efc85993000 ---p 0000c000 ca:01 1602419 /usr/lib64/libnss_files-2.17.so 7efc85993000-7efc85994000 r--p 0000b000 ca:01 1602419 /usr/lib64/libnss_files-2.17.so 7efc85994000-7efc85995000 rw-p 0000c000 ca:01 1602419 /usr/lib64/libnss_files-2.17.so 7efc85995000-7efc8599b000 rw-p 00000000 00:00 0 7efc8599b000-7efc85b5e000 r-xp 00000000 ca:01 1594099 /usr/lib64/libc-2.17.so 7efc85b5e000-7efc85d5e000 ---p 001c3000 ca:01 1594099 /usr/lib64/libc-2.17.so 7efc85d5e000-7efc85d62000 r--p 001c3000 ca:01 1594099 /usr/lib64/libc-2.17.so 7efc85d62000-7efc85d64000 rw-p 001c7000 ca:01 1594099 /usr/lib64/libc-2.17.so 7efc85d64000-7efc85d69000 rw-p 00000000 00:00 0 7efc85d69000-7efc85d8e000 r-xp 00000000 ca:01 1573662 /usr/lib64/libtinfo.so.5.9 7efc85d8e000-7efc85f8e000 ---p 00025000 ca:01 1573662 /usr/lib64/libtinfo.so.5.9 7efc85f8e000-7efc85f92000 r--p 00025000 ca:01 1573662 /usr/lib64/libtinfo.so.5.9 7efc85f92000-7efc85f93000 rw-p 00029000 ca:01 1573662 /usr/lib64/libtinfo.so.5.9 7efc85f93000-7efc85fb5000 r-xp 00000000 ca:01 1604031 /usr/lib64/ld-2.17.so 7efc861a6000-7efc861a9000 rw-p 00000000 00:00 0 7efc861b1000-7efc861b4000 rw-p 00000000 00:00 0 7efc861b4000-7efc861b5000 r--p 00021000 ca:01 1604031 /usr/lib64/ld-2.17.so 7efc861b5000-7efc861b6000 rw-p 00022000 ca:01 1604031 /usr/lib64/ld-2.17.so 7efc861b6000-7efc861b7000 rw-p 00000000 00:00 0 7ffee6662000-7ffee6683000 rw-p 00000000 00:00 0 [stack] 7ffee6789000-7ffee678b000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] /bin/sh: line 4: 29362 Aborted env -i PATH=/bin:/usr/bin:/usr/local/nmh/bin mhstore -file - -noverbose -part 1 -outfile - < ~/Mail/cal/test/family-zoom00-sendmail
