Hanford, Seth writes:

----- Original Message ----- From: "Sam Varshavchik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 23, 2004 7:05 AM
Subject: Re: [courier-users] Maildrop ALWAYS failling with 0x06

Some kind of an internal memory corruption.

The current version of maildrop is 1.7.0

1.5.3 is over a year old.

Upgrade to the current version of maildrop, and build it without any
optimization flags.

Unistalled 1.5.3, rebuilt maildrop-1.7.0 with debug and without any CCFLAGS or CXXFLAGS "-O" in any of the various Makefiles (if this is not what you meant by optimization flags, please clarify to help a poor sysadmin out). Reran in debug, and it SIGABRTs still. Here is the backtrace from maildrop-1.7.0:

(gdb) run < testmsg
Starting program: /usr/local/bin/maildrop < testmsg

Program received signal SIGABRT, Aborted.
0x000000004520fb80 in abort () from /usr/lib/libc.so.34.1
(gdb) bt
#0  0x000000004520fb80 in abort () from /usr/lib/libc.so.34.1
#1  0x000000000013b784 in uw_init_context_1 (context=0xffffffffffff52d0,
    outer_cfa=0xffffffffffff5650, outer_ra=0x4da5f128)
    at /usr/src/gnu/usr.bin/gcc/gcc/unwind-dw2.c:1177
#2  0x000000000013bb14 in _Unwind_RaiseException (exc=0x758350)
    at unwind.inc:84
#3  0x000000004da5f130 in __cxa_throw () from /usr/lib/libstdc++.so.32.0
#4  0x0000000000119db0 in RecipeNode::Evaluate(Recipe&, Buffer&) (
    this=0x758200, [EMAIL PROTECTED], [EMAIL PROTECTED])
    at recipenode.C:599

This is definitely a mismatch between your C++ compiler, and your C++ runtime and/or development libraries. This should also explain the memory corruption.

I think you mentioned what operating system you're running in the beginning of the thread, but I forgot.

Are you using a C++ compiler from your base OS build, or did you install the C++ compiler yourself? And where do your C++ libraries come from?

Basically, you need to look at your C++ environment. Something is not right there.

C++ is quite sensitive to version mismatches between the C++ compiler and C++ libraries. If your C++ compiler version does not EXACTLY match your C++ runtime libraries, this is what you'll get.


Attachment: pgp3p5zGAMOim.pgp
Description: PGP signature

Reply via email to