Hi, On Thu, 2004-06-17 at 21:19, Dan Weber wrote: > On Thu, Jun 17, 2004 at 02:18:43PM +0200, Ilja Booij wrote: > > Hi, > > > > we're having a problem with dbmail-lmtpd on Mac OS X Server: > > > > It sometimes (quite often actually) gets a signal 10 (bus error) when > > reading the message from the MTA. > > > > I'm suspecting a memory error, but I cannot find any such error when > > using Valgrind. Note that I cannot use Valgrind on the Mac, because it's > > x86 only, but I'd suspect that a memory error on the Mac should also be > > present on x86. > > > > Has anybody else had these errors, possibly on *BSD, or Linux on PPC, or > > even Linux on x86? > > > > Ilja > > > Haven't seen any issues here. Try gdb instead of valgrind, or ddd its > frontend.
It seems that memcpy() on the OS X server does not cope well with having arguments of type char*. A cast to void* makes it work. Does anybody have a clue why? Ilja