using rewriteDomain ssmtp crashes with: munmap_chunk(): invalid pointer: 0x08fa95f5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ssmtp (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ssmtp
Hi,
I recently found that if I set rewriteDomain to <email address hidden> and try to send email with ssmtp, it dies rather horribly. The docs on ssmtp are pretty sparse so I may be using the directive wrong but either way it shouldn't crash like this. See below...
-------
gavinmc@
Cc:
Subject: test
sdkhsd
.
*** glibc detected *** /usr/sbin/sendmail: munmap_chunk(): invalid pointer: 0x08fa95f5 ***
======= Backtrace: =========
/lib/tls/
/lib/tls/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib/tls/
/usr/sbin/
======= Memory map: ========
00110000-0012d000 r-xp 00000000 08:01 680077 /lib/libgcc_s.so.1
0012d000-0012e000 r--p 0001c000 08:01 680077 /lib/libgcc_s.so.1
0012e000-0012f000 rw-p 0001d000 08:01 680077 /lib/libgcc_s.so.1
0013f000-00142000 r-xp 00000000 08:01 679959 /lib/libgpg-
00142000-00143000 r--p 00002000 08:01 679959 /lib/libgpg-
00143000-00144000 rw-p 00003000 08:01 679959 /lib/libgpg-
001d9000-0032c000 r-xp 00000000 08:01 696354 /lib/tls/
0032c000-0032d000 ---p 00153000 08:01 696354 /lib/tls/
0032d000-0032f000 r--p 00153000 08:01 696354 /lib/tls/
0032f000-00330000 rw-p 00155000 08:01 696354 /lib/tls/
00330000-00333000 rw-p 00000000 00:00 0
004de000-004e4000 r-xp 00000000 08:01 696451 /lib/tls/
004e4000-004e5000 r--p 00006000 08:01 696451 /lib/tls/
004e5000-004e6000 rw-p 00007000 08:01 696451 /lib/tls/
006aa000-006c5000 r-xp 00000000 08:01 680107 /lib/ld-2.11.1.so
006c5000-006c6000 r--p 0001a000 08:01 680107 /lib/ld-2.11.1.so
006c6000-006c7000 rw-p 0001b000 08:01 680107 /lib/ld-2.11.1.so
00706000-0079c000 r-xp 00000000 08:01 1360729 /usr/lib/
0079c000-007a0000 r--p 00095000 08:01 1360729 /usr/lib/
007a0000-007a1000 rw-p 00099000 08:01 1360729 /usr/lib/
00846000-008b6000 r-xp 00000000 08:01 680003 /lib/libgcrypt.
008b6000-008b7000 r--p 00070000 08:01 680003 /lib/libgcrypt.
008b7000-008b9000 rw-p 00071000 08:01 680003 /lib/libgcrypt.
0093c000-0094b000 r-xp 00000000 08:01 1360412 /usr/lib/
0094b000-0094c000 r--p 0000e000 08:01 1360412 /usr/lib/
0094c000-0094d000 rw-p 0000f000 08:01 1360412 /usr/lib/
00971000-00972000 r-xp 00000000 00:00 0 [vdso]
0099b000-009a5000 r-xp 00000000 08:01 696455 /lib/tls/
009a5000-009a6000 r--p 00009000 08:01 696455 /lib/tls/
009a6000-009a7000 rw-p 0000a000 08:01 696455 /lib/tls/
00a33000-00a3b000 r-xp 00000000 08:01 696459 /lib/tls/
00a3b000-00a3c000 r--p 00007000 08:01 696459 /lib/tls/
00a3c000-00a3d000 rw-p 00008000 08:01 696459 /lib/tls/
00bae000-00bc1000 r-xp 00000000 08:01 696386 /lib/tls/
00bc1000-00bc2000 r--p 00012000 08:01 696386 /lib/tls/
00bc2000-00bc3000 rw-p 00013000 08:01 696386 /lib/tls/
00bc3000-00bc5000 rw-p 00000000 00:00 0
00dee000-00df7000 r-xp 00000000 08:01 1360909 /usr/lib/
00df7000-00df8000 r--p 00008000 08:01 1360909 /usr/lib/
00df8000-00df9000 rw-p 00009000 08:01 1360909 /usr/lib/
00f46000-00f59000 r-xp 00000000 08:01 681717 /lib/libz.
00f59000-00f5a000 r--p 00012000 08:01 681717 /lib/libz.
00f5a000-00f5b000 rw-p 00013000 08:01 681717 /lib/libz.
08048000-0804f000 r-xp 00000000 08:01 1360765 /usr/sbin/ssmtp
0804f000-08050000 r--p 00006000 08:01 1360765 /usr/sbin/ssmtp
08050000-08051000 rw-p 00007000 08:01 1360765 /usr/sbin/ssmtp
08051000-08055000 rw-p 00000000 00:00 0
08fa8000-08fc9000 rw-p 00000000 00:00 0 [heap]
b77e4000-b77e7000 rw-p 00000000 00:00 0
b77f5000-b77f8000 rw-p 00000000 00:00 0
bff83000-bff98000 rw-p 00000000 00:00 0 [stack]
-------
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: ssmtp 2.64-4fakesync1
ProcVersionSign
Uname: Linux 2.6.32-27-generic i686
Architecture: i386
Date: Tue Jan 4 10:23:54 2011
ProcEnviron:
LANG=en_IE.UTF-8
SHELL=/bin/bash
SourcePackage: ssmtp
the syslog does indeed show:
Jan 4 10:06:32 ringmaster2 sSMTP[15849]: Set RewriteDomain= "root@ourdomain " is invalid "ourdomain" used
Jan 4 10:06:32 ringmaster2 sSMTP[15849]: Set RewriteDomain=
and when I correct it the crash goes away, but it really shouldn't crash having detected a small config error.