Re: exim-1.61 on sunos dumps -- problem solved

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Alan Thew
Fecha:  
A: Lee McLoughlin
Cc: exim-users
Asunto: Re: exim-1.61 on sunos dumps -- problem solved
This may be related since I get a SIGBUS error with exim on a SunOS 4.1.3
machine, built with gcc 2.6.3 . (on the other hand this maybe something else
since an acc built exim also dumps at the same spot).

To date, we have 2 exim servers both running under solaris 2.5.1 which
has been fine. This is using a configure file that's been fine with those.

Thanks

trace shows:
open ("/var/spool/exim/input/0w6l7X-000".., 0, 0666) = 4
ioctl (4, 0x40125401, 0xeffff3cc) = -1 ENOTTY (Inappropriate ioctl for device)
fstat (4, 0xeffff440) = 0
read (4, "0w6l7X-0003jM-00-H\nroot 0 1\n<roo".., 8192) = 500
- SIGBUS (10)

The contents of said file are:
0w6l7X-0003jM-00-H
root 0 1
<root@???>
858638591 0
-local
XX
1
Alan.Thew@???

118P Received: from root by news.liv.ac.uk with local (Exim 1.61 #1)
        id 0w6l7X-0003jM-00; Mon, 17 Mar 1997 22:43:11 +0000
009* To: qq11
030T To: Alan.Thew@???
024  Subject: exim on news 1
047I Message-Id: <E0w6l7X-0003jM-00@???>
042* X-rewrote-recipient: qq11@???
050F From: System Administrator <root@???>
038  Date: Mon, 17 Mar 1997 22:43:12 +0000



--
Alan Thew                                       alan.thew@???
Computing Services,University of Liverpool      Fax: +44 151 794-4442


On Wed, 12 Mar 1997, Lee McLoughlin wrote:

> After testing just about everything to try and figure out why exim
> builds OK on one local machine and works fine, but the build on another
> machine gives me an exim that dumps - I have isolated the significant
> difference!
>
> My initial thought that it was different versions of GCC was wrong. Nor
> was it system libraries, include files, versions of the assembler....
>
> If I link with the gnu 'ld' all is well. If I link with the system 'ld'
> exim dumps somewhere inside sscanf() when calling number() !!!!
>
> The gcc I used was built to use the system ld.
>
>
> I'm guessing that gnu 'ld' is aligning things differently than the
> system 'ld' and so allowing the code to work. Which is a bit worrying.
>
> I've only had this problem on Sunos not on either Solaris nor Linux.
>
> --
> Lee McLoughlin.                         Phone: +44 171 594 8388
> IC-Parc, Imperial College,              Fax:   +44 171 594 8432
> South Kensington, London. SW7 2BZ. UK.  Email: L.McLoughlin@???

>