[pfx] Re: postscreen segfault since 3.8.4

2024-02-05 Thread Steffen Nurpmeso via Postfix-users
Christophe Kalt via Postfix-users wrote in : |no crash over the past day, so something must indeed be off with the |packages, disappointing, oh well. On the bright side, I no longer depend on |these getting updated. There were often problems with the -s they use. Especially before they

[pfx] Re: postscreen segfault since 3.8.4

2024-02-05 Thread Christophe Kalt via Postfix-users
no crash over the past day, so something must indeed be off with the packages, disappointing, oh well. On the bright side, I no longer depend on these getting updated. Thanks Wietse & Viktor. On Sun, Feb 4, 2024 at 10:21 PM Viktor Dukhovni via Postfix-users < postfix-users@postfix.org> wrote: >

[pfx] Re: postscreen segfault since 3.8.4

2024-02-04 Thread Viktor Dukhovni via Postfix-users
On Sun, Feb 04, 2024 at 08:12:56PM -0500, Christophe Kalt via Postfix-users wrote: > These are the alpine packages themselves, but I'm not familiar with how > they're built so I can't rule out a bad build. It's also possible that I > didn't let the 3.8.3 version run long enough for it to crash

[pfx] Re: postscreen segfault since 3.8.4

2024-02-04 Thread Christophe Kalt via Postfix-users
These are the alpine packages themselves, but I'm not familiar with how they're built so I can't rule out a bad build. It's also possible that I didn't let the 3.8.3 version run long enough for it to crash as it happens irregularly. Anyways, spent some time building 3.8.5 from source and am now

[pfx] Re: postscreen segfault since 3.8.4

2024-02-04 Thread Viktor Dukhovni via Postfix-users
On Sun, Feb 04, 2024 at 05:06:22PM -0500, Viktor Dukhovni via Postfix-users wrote: > > - 3.8.4 on alpine 3.19.0 > > - 3.8.5 on alpine 3.19.1 > > > > but apparently not for 3.8.3 on alpine 3.18.3 > > There's perhaps an issue in the OpenSSL or other library dependencies. > For further info we'd

[pfx] Re: postscreen segfault since 3.8.4

2024-02-04 Thread Viktor Dukhovni via Postfix-users
On Sun, Feb 04, 2024 at 01:37:18PM -0500, Christophe Kalt via Postfix-users wrote: > /usr/libexec/postfix/postscreen pid 93 killed by signal 11 > > These connections are from an SMTP probe that goes EHLO STARTTLS EHLO QUIT > > I've not run postscreen previously, so I cannot tell whether this

[pfx] Re: postscreen segfault since 3.8.4

2024-02-04 Thread Wietse Venema via Postfix-users
Christophe Kalt via Postfix-users: > Hi, > > I'm seeing regular postscreen segfaults on a test server with minimal > traffic. The patterns I noticed from the logs is that it seems to happen > when the server gets 2 ~simultaneous connections from the same host: > > 2024-02-04T14:33:31.876390 info

[pfx] postscreen segfault since 3.8.4

2024-02-04 Thread Christophe Kalt via Postfix-users
Hi, I'm seeing regular postscreen segfaults on a test server with minimal traffic. The patterns I noticed from the logs is that it seems to happen when the server gets 2 ~simultaneous connections from the same host: 2024-02-04T14:33:31.876390 info postfix starting the Postfix mail system

Re: PATCH: postscreen segfault

2010-10-07 Thread Wietse Venema
Wietse Venema: The following patch for postfix-2.8-20100923 eliminates two race conditions. Both are triggered when a client makes N 1 simultaneous connections, and then disconnects M N connections before postscreen has delivered the DNSBL score to the pseudo threads for those M

Re: PATCH: postscreen segfault

2010-10-07 Thread Matt Hayes
On 10/7/2010 9:21 AM, Wietse Venema wrote: Wietse Venema: The following patch for postfix-2.8-20100923 eliminates two race conditions. Both are triggered when a client makes N 1 simultaneous connections, and then disconnects M N connections before postscreen has delivered the DNSBL score to

Re: PATCH: postscreen segfault

2010-10-07 Thread Vernon A. Fort
On Thu, 2010-10-07 at 09:21 -0400, Wietse Venema wrote: Wietse Venema: The following patch for postfix-2.8-20100923 eliminates two race conditions. Both are triggered when a client makes N 1 simultaneous connections, and then disconnects M N connections before postscreen has delivered

Re: PATCH: postscreen segfault

2010-10-07 Thread Ralf Hildebrandt
* Vernon A. Fort vf...@provident-solutions.com: Thanks Wietse - installed and running. Same here. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 |

Re: postscreen segfault

2010-10-06 Thread Vernon A. Fort
On Wed, 2010-10-06 at 13:37 -0400, Victor Duchovni wrote: On Wed, Oct 06, 2010 at 12:28:45PM -0500, Vernon A. Fort wrote: We don't yet need the whole core file, just run: gdb /usr/sbin/postscreen /path/to/core ... copious output ... gdb) bt The bt command generates

Re: postscreen segfault

2010-10-06 Thread Vernon A. Fort
On Wed, 2010-10-06 at 13:37 -0400, Victor Duchovni wrote: On Wed, Oct 06, 2010 at 12:28:45PM -0500, Vernon A. Fort wrote: We don't yet need the whole core file, just run: gdb /usr/sbin/postscreen /path/to/core ... copious output ... gdb) bt The bt command generates

Re: postscreen segfault

2010-10-06 Thread Victor Duchovni
On Wed, Oct 06, 2010 at 12:51:16PM -0500, Vernon A. Fort wrote: Loaded symbols for /lib/libnss_files.so.2 Core was generated by `postscreen -l -n smtp -t inet -u -s 2 -v'. Program terminated with signal 11, Segmentation fault. ... #3 0x0805f827 in msg_info (fmt=0x80683bb %s: notify %s:%s)

Re: postscreen segfault

2010-10-06 Thread Vernon A. Fort
On Wed, 2010-10-06 at 14:24 -0400, Victor Duchovni wrote: On Wed, Oct 06, 2010 at 12:51:16PM -0500, Vernon A. Fort wrote: This is enough. You are running postscreen -v, you probably should not be running it with verbose logging, but that of course is no reason why it should crash, so... i

Re: postscreen segfault

2010-10-06 Thread Wietse Venema
Vernon A. Fort: I recompiled postfix: unstripped and with -ggdb. I ran gdb postscreen core file - new binary but old core file. May be still useful but will have to wait on another segfault. attached is the backtrace using new binary with old core file. Assuming that the generated

Re: postscreen segfault

2010-10-06 Thread Wietse Venema
Victor Duchovni: On Wed, Oct 06, 2010 at 12:51:16PM -0500, Vernon A. Fort wrote: Loaded symbols for /lib/libnss_files.so.2 Core was generated by `postscreen -l -n smtp -t inet -u -s 2 -v'. Program terminated with signal 11, Segmentation fault. ... #3 0x0805f827 in msg_info

Re: postscreen segfault

2010-10-06 Thread Vernon A. Fort
On Wed, 2010-10-06 at 14:32 -0400, Wietse Venema wrote: Vernon A. Fort: I recompiled postfix: unstripped and with -ggdb. I ran gdb postscreen core file - new binary but old core file. May be still useful but will have to wait on another segfault. attached is the backtrace using new

Re: postscreen segfault

2010-10-06 Thread Vernon A. Fort
On Wed, 2010-10-06 at 14:40 -0400, Wietse Venema wrote: Victor Duchovni: On Wed, Oct 06, 2010 at 12:51:16PM -0500, Vernon A. Fort wrote: I'll take it from here. Wietse Also, I forgot to mention this server is sitting BEHIND a checkpoint firewall. Not sure if that makes any

Re: postscreen segfault

2010-10-06 Thread Wietse Venema
Vernon A. Fort: This is enough. You are running postscreen -v, you probably should not be running it with verbose logging, but that of course is no reason why it should crash, so... It looks like the ps_early_dnsbl_event() callback is called here with a client context that has

Re: postscreen segfault

2010-10-06 Thread Ralf Hildebrandt
* Vernon A. Fort vf...@provident-solutions.com: Were you seeing the signal 11 errors before turning on verbose logging? Wietse yes, as noted with my previous post. just not as frequent, say one every 4-5 days. I also have a few: Sep 24 13:56:04 mail postfix/master[2823]: warning:

postscreen segfault

2010-10-04 Thread Vernon A. Fort
I've noticed this: mail.log.1:Oct 3 03:32:43 ns postfix/master[3672]: warning: process //usr/lib/postfix/postscreen pid 19122 killed by signal 11 and [457795.641083] postscreen[19122]: segfault at 1f ip 0804c463 sp bfcf5e50 error 4 in postscreen[8048000+29000] system info: mail_version =

Re: postscreen segfault

2010-10-04 Thread Victor Duchovni
On Mon, Oct 04, 2010 at 03:43:44PM -0500, Vernon A. Fort wrote: I've noticed this: mail.log.1:Oct 3 03:32:43 ns postfix/master[3672]: warning: process //usr/lib/postfix/postscreen pid 19122 killed by signal 11 and [457795.641083] postscreen[19122]: segfault at 1f ip 0804c463 sp

Re: postscreen segfault

2010-10-04 Thread Vernon A. Fort
On Mon, 2010-10-04 at 17:30 -0400, Victor Duchovni wrote: On Mon, Oct 04, 2010 at 03:43:44PM -0500, Vernon A. Fort wrote: Enable core file generation and report a backtrace. I was just reading up on this. I will report once it happens. Vernon