Re: postfix/postqueue[5742]: panic: vbuf_print: output for \%s\ exceeds space 0

2017-08-30 Thread Wietse Venema
Wietse Venema: > Wietse Venema: > > > The panic message says "%s" therefore this VBUF_SNPRINTF() call is > > > made while formatting a string with an fmt value of "%s". > > > > Unfortunately, the panic call overwrites the format string that was > > involved with the error, so the analysis for

Re: postfix/postqueue[5742]: panic: vbuf_print: output for \%s\ exceeds space 0

2017-08-30 Thread Wietse Venema
Wietse Venema: > > The panic message says "%s" therefore this VBUF_SNPRINTF() call is > > made while formatting a string with an fmt value of "%s". > > Unfortunately, the panic call overwrites the format string that was > involved with the error, so the analysis for width and precision > is

Re: postfix/postqueue[5742]: panic: vbuf_print: output for \%s\ exceeds space 0

2017-08-30 Thread Wietse Venema
Wietse Venema: > A. Schulze: > > postqueue: panic: vbuf_print: output for '%s' exceeds space 0 > > Unfortunately, there is no way that I can reproduce this in > postfix-3.2.0, given the preconditions in this code. Does this > machine have ECC meory? Does it have a history of programs crashing? >

Re: postfix/postqueue[5742]: panic: vbuf_print: output for \%s\ exceeds space 0

2017-08-29 Thread Wietse Venema
A. Schulze: > There are two strings looking like a queueid in this trace: > 3xhXFj2Wt7z4FL3* and 3xhXDS3PqBz4FK9* > > that are two messages in the active queue just in the moment I run the > command above. > postfix delivered both messages as usual... To clarify, this panic call happens with

Re: postfix/postqueue[5742]: panic: vbuf_print: output for \%s\ exceeds space 0

2017-08-29 Thread A. Schulze
A. Schulze: off-list... ok not "off list", my fault :-)

Re: postfix/postqueue[5742]: panic: vbuf_print: output for \%s\ exceeds space 0

2017-08-29 Thread A. Schulze
wietse: OK, now please (install and) use ltrace. This provides more details what happens in postqueue itself (strace gives insight into system calls, i.e. the postqueue-kernel interface). off-list... I installed ltrace. I modified pfqgrep: $mailq = "/usr/bin/ltrace /usr/sbin/postqueue -p

Re: postfix/postqueue[5742]: panic: vbuf_print: output for \%s\ exceeds space 0

2017-08-28 Thread Wietse Venema
A. Schulze: > > wietse: > > > A. Schulze: > >> postqueue: panic: vbuf_print: output for '%s' exceeds space 0 > > > > this is pfqgrep: > >$mailq = "/usr/sbin/postqueue -p |"; # added 'strace -f' here >open(MAILQ, $mailq) or die; >while () { > # read from STDIN >} > >

Re: postfix/postqueue[5742]: panic: vbuf_print: output for \%s\ exceeds space 0

2017-08-28 Thread Wietse Venema
A. Schulze: > > wietse: > > > A. Schulze: > >> postqueue: panic: vbuf_print: output for '%s' exceeds space 0 OK, now please (install and) use ltrace. This provides more details what happens in postqueue itself (strace gives insight into system calls, i.e. the postqueue-kernel interface).

Re: postfix/postqueue[5742]: panic: vbuf_print: output for \%s\ exceeds space 0

2017-08-28 Thread A. Schulze
wietse: A. Schulze: postqueue: panic: vbuf_print: output for '%s' exceeds space 0 this is pfqgrep: $mailq = "/usr/sbin/postqueue -p |"; # added 'strace -f' here open(MAILQ, $mailq) or die; while () { # read from STDIN } execve("/usr/sbin/postqueue", ["/usr/sbin/postqueue",

Re: postfix/postqueue[5742]: panic: vbuf_print: output for \%s\ exceeds space 0

2017-08-27 Thread Larry Kuenning
Pardon an amateur for jumping in here, but I think I see something: On 8/26/2017 6:24 AM, A. Schulze wrote: Now my script called pfqgrep -r "+truncated-domain" which trigger the panic message sometimes # pfqgrep -r '+12345678901' Quantifier follows nothing in regex; marked by <-- HERE in m/+

Re: postfix/postqueue[5742]: panic: vbuf_print: output for \%s\ exceeds space 0

2017-08-27 Thread Wietse Venema
A. Schulze: > postqueue: panic: vbuf_print: output for '%s' exceeds space 0 Unfortunately, there is no way that I can reproduce this in postfix-3.2.0, given the preconditions in this code. Does this machine have ECC meory? Does it have a history of programs crashing? Wietse Message-ID:

Re: postfix/postqueue[5742]: panic: vbuf_print: output for \%s\ exceeds space 0

2017-08-26 Thread Wietse Venema
A. Schulze: > I'm Unsure what's the really wrong part (beside input santisation in > my script) but I guess, postqueue should not panic... To reduce the search space, it would help if you could provide details of the postqueue command line. This gives some info about what the program might be

postfix/postqueue[5742]: panic: vbuf_print: output for \%s\ exceeds space 0

2017-08-26 Thread A. Schulze
Hello, I found the message in my logs. It turns they where triggered by a housekeeping script. I did "qshape deferred" and used the first row (domainname) as argument to pfqgrep -r For long domainnames qshape shorten the output and prefix the domain with a '+' character. (described in