On 04/04/2011 07:16 PM, Wietse Venema wrote:
Rudy Gevaert:
Hello list,
I am getting a segfault when I run postconf on Solaris 10
SunOS horus 5.10 Generic_142910-17 i86pc i386 i86pc
postconf -n doesn't segfault!
running it with truss:
smtpd_discard_ehlo_keyword_address_maps =
smtpd_discard_ehlo_keywords =
smtpd_end_of_data_restrictions14374: write(1, " o w q\n s m t p _ a d
d".., 4096) = 4096
14374: Incurred fault #6, FLTBOUNDS %pc = 0x080775C4
14374: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
14374: Received signal #11, SIGSEGV [default]
14374: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
Any ideas what this could be?
Apparently, there is a problem with one of the parameters that is
not in your main.cf file, and that has a name that comes after
smtpd_end_of_data_restrictions. That leaves us with only 176
possibilities.
To narrow the search down, use
$ gdb postconf
(gdb) run
...crash...
(gdb) where
I'm running Ihsan's great postfix package! (http://ihsan.dogan.ch/postfix).
Which version?
Wietse
Hi Wietse,
2.8.1. I have upgraded to 2.8.2 and don't have the problem with that
version. (In fact I wasn't aware a newer version already existed.)
Nevertheless here is the output of gdb:
smtpd_delay_reject = yes
smtpd_discard_ehlo_keyword_address_maps =
smtpd_discard_ehlo_keywords =
smtpd_end_of_data_restricti
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
0x080775c4 in vbuf_print ()
(gdb) where
#0 0x080775c4 in vbuf_print ()
#1 0x0807281b in vstream_printf ()
#2 0x0805eb28 in ?? ()
#3 0x0805ed98 in ?? ()
#4 0x0805f16f in ?? ()
#5 0x0805f40c in ?? ()
#6 0x0805f7cd in main ()
(gdb)
( 2.8.1 download:
http://ihsan.dogan.ch/postfix/downloads/old/postfix/CNDpostfix-2.8.1,REV=110307-SunOS5.10-i386.pkg.bz2
Thanks
Rudy