View previous topic :: View next topic |
Author |
Message |
Tuinslak Tux's lil' helper
Joined: 26 Nov 2003 Posts: 129 Location: Belgium
|
Posted: Tue Oct 07, 2008 11:33 pm Post subject: SSMTP bug |
|
|
When trying to send an email, on a pretty new system, I get this output:
Code: | BroServ yeri # mail tuinslak@test.com
Subject: test
one two three
.
EOT
BroServ yeri # *** glibc detected *** send-mail: munmap_chunk(): invalid pointer: 0x000000000061265a ***
======= Backtrace: =========
/lib/libc.so.6[0x7f1715b7baad]
send-mail[0x40391a]
send-mail[0x404289]
send-mail[0x404b36]
/lib/libc.so.6(__libc_start_main+0xf4)[0x7f1715b2cb74]
send-mail[0x401f29]
======= Memory map: ========
00400000-00407000 r-xp 00000000 09:03 336523 /usr/sbin/ssmtp
00606000-00607000 r--p 00006000 09:03 336523 /usr/sbin/ssmtp
00607000-00608000 rw-p 00007000 09:03 336523 /usr/sbin/ssmtp
00608000-00631000 rw-p 00608000 00:00 0 [heap]
7f1714b56000-7f1714b63000 r-xp 00000000 09:03 33 /lib64/libgcc_s.so.1
7f1714b63000-7f1714d62000 ---p 0000d000 09:03 33 /lib64/libgcc_s.so.1
7f1714d62000-7f1714d63000 r--p 0000c000 09:03 33 /lib64/libgcc_s.so.1
7f1714d63000-7f1714d64000 rw-p 0000d000 09:03 33 /lib64/libgcc_s.so.1
7f1714d64000-7f1714d6e000 r-xp 00000000 09:03 353121 /lib64/libnss_files-2.6.1.so
7f1714d6e000-7f1714f6d000 ---p 0000a000 09:03 353121 /lib64/libnss_files-2.6.1.so
7f1714f6d000-7f1714f6e000 r--p 00009000 09:03 353121 /lib64/libnss_files-2.6.1.so
7f1714f6e000-7f1714f6f000 rw-p 0000a000 09:03 353121 /lib64/libnss_files-2.6.1.so
7f1714f6f000-7f1714f78000 r-xp 00000000 09:03 353284 /lib64/libnss_nis-2.6.1.so
7f1714f78000-7f1715178000 ---p 00009000 09:03 353284 /lib64/libnss_nis-2.6.1.so
7f1715178000-7f1715179000 r--p 00009000 09:03 353284 /lib64/libnss_nis-2.6.1.so
7f1715179000-7f171517a000 rw-p 0000a000 09:03 353284 /lib64/libnss_nis-2.6.1.so
7f171517a000-7f171518e000 r-xp 00000000 09:03 353140 /lib64/libnsl-2.6.1.so
7f171518e000-7f171538d000 ---p 00014000 09:03 353140 /lib64/libnsl-2.6.1.so
7f171538d000-7f171538e000 r--p 00013000 09:03 353140 /lib64/libnsl-2.6.1.so
7f171538e000-7f171538f000 rw-p 00014000 09:03 353140 /lib64/libnsl-2.6.1.so
7f171538f000-7f1715391000 rw-p 7f171538f000 00:00 0
7f1715391000-7f1715398000 r-xp 00000000 09:03 353314 /lib64/libnss_compat-2.6.1.so
7f1715398000-7f1715597000 ---p 00007000 09:03 353314 /lib64/libnss_compat-2.6.1.so
7f1715597000-7f1715598000 r--p 00006000 09:03 353314 /lib64/libnss_compat-2.6.1.so
7f1715598000-7f1715599000 rw-p 00007000 09:03 353314 /lib64/libnss_compat-2.6.1.so
7f1715599000-7f171559b000 r-xp 00000000 09:03 353285 /lib64/libdl-2.6.1.so
7f171559b000-7f171579b000 ---p 00002000 09:03 353285 /lib64/libdl-2.6.1.so
7f171579b000-7f171579c000 r--p 00002000 09:03 353285 /lib64/libdl-2.6.1.so
7f171579c000-7f171579d000 rw-p 00003000 09:03 353285 /lib64/libdl-2.6.1.so
7f171579d000-7f17158e7000 r-xp 00000000 09:03 249144 /usr/lib64/libcrypto.so.0.9.8
7f17158e7000-7f1715ae7000 ---p 0014a000 09:03 249144 /usr/lib64/libcrypto.so.0.9.8
7f1715ae7000-7f1715af5000 r--p 0014a000 09:03 249144 /usr/lib64/libcrypto.so.0.9.8
7f1715af5000-7f1715b0c000 rw-p 00158000 09:03 249144 /usr/lib64/libcrypto.so.0.9.8
7f1715b0c000-7f1715b0f000 rw-p 7f1715b0c000 00:00 0
7f1715b0f000-7f1715c45000 r-xp 00000000 09:03 353141 /lib64/libc-2.6.1.so
7f1715c45000-7f1715e44000 ---p 00136000 09:03 353141 /lib64/libc-2.6.1.so
7f1715e44000-7f1715e48000 r--p 00135000 09:03 353141 /lib64/libc-2.6.1.so
7f1715e48000-7f1715e49000 rw-p 00139000 09:03 353141 /lib64/libc-2.6.1.so
7f1715e49000-7f1715e4e000 rw-p 7f1715e49000 00:00 0
7f1715e4e000-7f1715e94000 r-xp 00000000 09:03 249147 /usr/lib64/libssl.so.0.9.8
7f1715e94000-7f1716093000 ---p 00046000 09:03 249147 /usr/lib64/libssl.so.0.9.8
7f1716093000-7f1716095000 r--p 00045000 09:03 249147 /usr/lib64/libssl.so.0.9.8
7f1716095000-7f171609b000 rw-p 00047000 09:03 249147 /usr/lib64/libssl.so.0.9.8
7f171609b000-7f17160b6000 r-xp 00000000 09:03 353304 /lib64/ld-2.6.1.so
7f17162a7000-7f17162aa000 rw-p 7f17162a7000 00:00 0
7f17162b2000-7f17162b5000 rw-p 7f17162b2000 00:00 0
7f17162b5000-7f17162b6000 r--p 0001a000 09:03 353304 /lib64/ld-2.6.1.so
7f17162b6000-7f17162b7000 rw-p 0001b000 09:03 353304 /lib64/ld-2.6.1.so
7fff1e2a1000-7fff1e2b6000 rw-p 7ffffffea000 00:00 0 [stack]
7fff1e3fe000-7fff1e3ff000 r-xp 7fff1e3fe000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] |
I tried to re-emerge both ssmtp and glibc. Nothing has changed so far.
Code: | Calculating dependencies... done!
[ebuild R ] mail-mta/ssmtp-2.62-r3
[ebuild R ] sys-libs/glibc-2.6.1 |
Any idea how to fix this, or what version might work? Just ask if I need to run a few other commands.
Code: | BroServ yeri # free -m
total used free shared buffers cached
Mem: 3900 665 3235 0 185 285
-/+ buffers/cache: 193 3707
Swap: 988 0 988
BroServ yeri # uname -a
Linux BroServ 2.6.26-gentoo-r1 #1 SMP Tue Oct 7 03:05:48 CEST 2008 x86_64 Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz GenuineIntel GNU/Linux |
Code: | CFLAGS="-O2 -pipe -march=nocona"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3" |
Regards _________________ Tuinslak |
|
Back to top |
|
|
Tuinslak Tux's lil' helper
Joined: 26 Nov 2003 Posts: 129 Location: Belgium
|
Posted: Wed Oct 08, 2008 10:36 am Post subject: |
|
|
Yet, when emerging mail-mta/ssmtp-2.61-r2, I don't have that problem. And I'm able to mail something it seems. _________________ Tuinslak |
|
Back to top |
|
|
Tuinslak Tux's lil' helper
Joined: 26 Nov 2003 Posts: 129 Location: Belgium
|
Posted: Tue Apr 14, 2009 2:49 pm Post subject: |
|
|
same problem with mail-mta/ssmtp-2.61-r4, mail-mta/ssmtp-2.61-r6 _________________ Tuinslak |
|
Back to top |
|
|
loftwyr l33t
Joined: 29 Dec 2004 Posts: 970 Location: 43°38'23.62"N 79°27'8.60"W
|
Posted: Tue Apr 14, 2009 10:09 pm Post subject: |
|
|
have a try with revdep-rebuild and then see if there's something fixed. It seems odd but it maybe one of the component libraries that's causing the error. _________________ My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing. |
|
Back to top |
|
|
|