[Exim] Exim segfaults in daemon mode (daemon.c seems to be t…

Pàgina inicial
Delete this message
Reply to this message
Autor: Richard Gration
Data:  
A: exim-users
Assumpte: [Exim] Exim segfaults in daemon mode (daemon.c seems to be the problem)
Hi all,

I've just compiled exim 4.24 on a Debian 3.0 system. I had to faff with
the dbm libs but I got it compiled. Except it segfaults when started as
"exim -bd -q30m". The output of "exim -d+all -bd -q30m" is below. At
first I thought it might be the db libs, but I get exactly the same
problem with Sleepycat 4.1.25 or 3.3.11. Unfortunately the dependencies
on debian are a bit messed up, and exim has to be part of the base
system install for such things as cron and logrotate to work, so I've
had to manually remove some exim3 files, possibly causing problems.

Exim works fine if invoked with, for example "exim -bt" (address routing
is as expected), "exim -q", "exim -qff", "exim -bP". I haven't changed
anything in the installed configure file.

Does anyone have any ideas, please?

I'm about to try compiling 4.23 which I've compiled without problem in
the last month.

Rick

debug output
============

marvin:/usr/local/src/exim-4.24# /usr/local/exim/bin/exim -d+all -bd -q30m
13:32:06 17872 Exim version 4.24 uid=0 gid=0 pid=17872 D=ffffffff
Berkeley DB: Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)
Support for: iconv()
Authenticators:
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile autoreply pipe smtp
Fixed never_users: 0
13:32:06 17872 changed uid/gid: forcing real = effective
13:32:06 17872   uid=0 gid=0 pid=17872
13:32:06 17872   auxiliary group list: <none>
13:32:06 17872 --Malloc 0x80ce488  8200        store.c  139 8200 4265
13:32:06 17872 ---1 Get 0x80ce490    32       string.c  349
13:32:06 17872 ---1 Get 0x80ce4b0    16     readconf.c 2307
13:32:06 17872 ---1 Get 0x80ce4c0    32     readconf.c 2319
13:32:06 17872 ---1 Get 0x80ce4e0     8       string.c  349
13:32:06 17872 ---1 Get 0x80ce4e8    16     readconf.c 2307
13:32:06 17872 ---1 Get 0x80ce4f8    32     readconf.c 2319
13:32:06 17872 ---1 Get 0x80ce518     8       string.c  349
13:32:06 17872 ---1 Get 0x80ce520    16     readconf.c 2307
13:32:06 17872 ---1 Get 0x80ce530    32     readconf.c 2319
13:32:06 17872 ---1 Get 0x80ce550    16       string.c  349
13:32:06 17872 ---1 Get 0x80ce560    16       string.c  349
13:32:06 17872 ---1 Get 0x80ce570     8       string.c  349
13:32:06 17872 --Malloc 0x80cdcd8    16     readconf.c 1464 8200 4281
13:32:06 17872 ---1 Rst 0x80ce570    **     readconf.c 1523 8200
13:32:06 17872 ---1 Get 0x80ce570     8       string.c  349
13:32:06 17872 ---1 Get 0x80ce578     8       string.c  349
13:32:06 17872 ---1 Get 0x80ce580    16       string.c  349
13:32:06 17872 ---1 Get 0x80ce590    16       string.c  387
13:32:06 17872 --Malloc 0x80d0ed8   224         exim.c   41 8200 4505
13:32:06 17872 configuration file is /usr/local/exim/configure
13:32:06 17872 log selector = 040d99d8
13:32:06 17872 trusted user
13:32:06 17872 admin user
13:32:06 17872 ---1 Get 0x80ce5a0    32     readconf.c 3421
13:32:06 17872 ---1 Get 0x80ce5c0    16          acl.c  288
13:32:06 17872 ---1 Get 0x80ce5d0    16          acl.c  334
13:32:06 17872 ---1 Get 0x80ce5e0     8       string.c  349
13:32:06 17872 ---1 Get 0x80ce5e8    16          acl.c  288
13:32:06 17872 ---1 Get 0x80ce5f8    16          acl.c  334
13:32:06 17872 ---1 Get 0x80ce608    16       string.c  349
13:32:06 17872 ---1 Get 0x80ce618    16          acl.c  334
13:32:06 17872 ---1 Get 0x80ce628    24       string.c  349
13:32:06 17872 ---1 Get 0x80ce640    16          acl.c  288
13:32:06 17872 ---1 Get 0x80ce650    16          acl.c  334
13:32:06 17872 ---1 Get 0x80ce660    16       string.c  349
13:32:06 17872 ---1 Get 0x80ce670    16          acl.c  334
13:32:06 17872 ---1 Get 0x80ce680    32       string.c  349
13:32:06 17872 ---1 Get 0x80ce6a0    16          acl.c  288
13:32:06 17872 ---1 Get 0x80ce6b0    16          acl.c  334
13:32:06 17872 ---1 Get 0x80ce6c0    16       string.c  349
13:32:06 17872 ---1 Get 0x80ce6d0    16          acl.c  334
13:32:06 17872 ---1 Get 0x80ce6e0    16       string.c  349
13:32:06 17872 ---1 Get 0x80ce6f0    16          acl.c  288
13:32:06 17872 ---1 Get 0x80ce700    16          acl.c  334
13:32:06 17872 ---1 Get 0x80ce710     8       string.c  349
13:32:06 17872 ---1 Get 0x80ce718    16          acl.c  288
13:32:06 17872 ---1 Get 0x80ce728    16          acl.c  334
13:32:06 17872 ---1 Get 0x80ce738    16       string.c  349
13:32:06 17872 ---1 Get 0x80ce748    16          acl.c  334
13:32:06 17872 ---1 Get 0x80ce758    16          acl.c  334
13:32:06 17872 ---1 Get 0x80ce768    16       string.c  349
13:32:06 17872 ---1 Get 0x80ce778    16          acl.c  288
13:32:06 17872 ---1 Get 0x80ce788    16          acl.c  334
13:32:06 17872 ---1 Get 0x80ce798    24       string.c  349
13:32:06 17872 ---1 Get 0x80ce7b0    16          acl.c  334
13:32:06 17872 ---1 Get 0x80ce7c0    16          acl.c  334
13:32:06 17872 ---1 Get 0x80ce7d0    16       string.c  349
13:32:06 17872 ---1 Get 0x80ce7e0    16          acl.c  288
13:32:06 17872 ---1 Get 0x80ce7f0    16          acl.c  334
13:32:06 17872 ---1 Get 0x80ce800    24       string.c  349
13:32:06 17872 ---1 Get 0x80ce818    16          acl.c  288
13:32:06 17872 ---1 Get 0x80ce828    16          acl.c  334
13:32:06 17872 ---1 Get 0x80ce838     8       string.c  349
13:32:06 17872 ---1 Get 0x80ce840    16          acl.c  288
13:32:06 17872 ---1 Get 0x80ce850    16          acl.c  334
13:32:06 17872 ---1 Get 0x80ce860    24       string.c  349
13:32:06 17872 ---1 Get 0x80ce878   248     readconf.c 3002
13:32:06 17872 ---1 Get 0x80ce970    16       string.c  349
13:32:06 17872 ---1 Get 0x80ce980    16       string.c  349
13:32:06 17872 ---1 Get 0x80ce990    24     readconf.c 2904
13:32:06 17872 ---1 Get 0x80ce9a8    24       string.c  349
13:32:06 17872 ---1 Get 0x80ce9c0    16       string.c  349
13:32:06 17872 ---1 Get 0x80ce9d0    24       string.c  349
13:32:06 17872 ---1 Get 0x80ce9e8   248     readconf.c 3002
13:32:06 17872 ---1 Get 0x80ceae0    16       string.c  349
13:32:06 17872 ---1 Get 0x80ceaf0    16       string.c  349
13:32:06 17872 ---1 Get 0x80ceb00   112     readconf.c 2904
13:32:06 17872 ---1 Get 0x80ceb70    48       string.c  349
13:32:06 17872 ---1 Get 0x80ceba0    16       string.c  349
13:32:06 17872 ---1 Get 0x80cebb0    16       string.c  349
13:32:06 17872 ---1 Get 0x80cebc0   248     readconf.c 3002
13:32:06 17872 ---1 Get 0x80cecb8    16       string.c  349
13:32:06 17872 ---1 Get 0x80cecc8    16       string.c  349
13:32:06 17872 ---1 Get 0x80cecd8   112     readconf.c 2904
13:32:06 17872 ---1 Get 0x80ced48    16       string.c  349
13:32:06 17872 ---1 Get 0x80ced58    16       string.c  349
13:32:06 17872 ---1 Get 0x80ced68    16       string.c  349
13:32:06 17872 ---1 Get 0x80ced78    16       string.c  349
13:32:06 17872 ---1 Get 0x80ced88   248     readconf.c 3002
13:32:06 17872 ---1 Get 0x80cee80    16       string.c  349
13:32:06 17872 ---1 Get 0x80cee90     8       string.c  349
13:32:06 17872 ---1 Get 0x80cee98     8     readconf.c 2904
13:32:06 17872 ---1 Get 0x80ceea0    16       string.c  349
13:32:06 17872 ---1 Get 0x80ceeb0    16       string.c  349
13:32:06 17872 ---1 Get 0x80ceec0   192     readconf.c 3002
13:32:06 17872 ---1 Get 0x80cef80    16       string.c  349
13:32:06 17872 ---1 Get 0x80cef90     8       string.c  349
13:32:06 17872 ---1 Get 0x80cef98   128     readconf.c 2904
13:32:06 17872 ---1 Get 0x80cf018   192     readconf.c 3002
13:32:06 17872 ---1 Get 0x80cf0d8    16       string.c  349
13:32:06 17872 ---1 Get 0x80cf0e8    16       string.c  349
13:32:06 17872 ---1 Get 0x80cf0f8   216     readconf.c 2904
13:32:06 17872 ---1 Get 0x80cf1d0    24       string.c  349
13:32:06 17872 ---1 Get 0x80cf1e8   192     readconf.c 3002
13:32:06 17872 ---1 Get 0x80cf2a8    16       string.c  349
13:32:06 17872 ---1 Get 0x80cf2b8     8       string.c  349
13:32:06 17872 ---1 Get 0x80cf2c0    80     readconf.c 2904
13:32:06 17872 ---1 Get 0x80cf310   192     readconf.c 3002
13:32:06 17872 ---1 Get 0x80cf3d0    16       string.c  349
13:32:06 17872 ---1 Get 0x80cf3e0    16       string.c  349
13:32:06 17872 ---1 Get 0x80cf3f0   216     readconf.c 2904
13:32:06 17872 ---1 Get 0x80cf4c8   192     readconf.c 3002
13:32:06 17872 ---1 Get 0x80cf588    16       string.c  349
13:32:06 17872 ---1 Get 0x80cf598    16       string.c  349
13:32:06 17872 ---1 Get 0x80cf5a8    72     readconf.c 2904
13:32:06 17872 ---1 Get 0x80cf5f0    24     readconf.c 3248
13:32:06 17872 ---1 Get 0x80cf608     8       string.c  530
13:32:06 17872 ---1 Get 0x80cf610    24     readconf.c 3274
13:32:06 17872 ---1 Get 0x80cf628    24     readconf.c 3274
13:32:06 17872 ---1 Get 0x80cf640    24     readconf.c 3274
13:32:06 17872 --Malloc 0x80d13c8  8200        store.c  139 16400 4505
13:32:06 17872 ---0 Get 0x80d13d0     8       string.c  349
13:32:06 17872 ---0 Get 0x80d13d8     8       string.c  349
13:32:06 17872 ---0 Get 0x80d13e0     8       string.c  349
13:32:06 17872 ---0 Get 0x80d13e8     8       string.c  349
13:32:06 17872 originator: uid=0 gid=0 login=root name=root
13:32:06 17872 ---0 Get 0x80d13f0     8       daemon.c  922
Segmentation fault