Re: [Exim] Segmentation fault in callouts

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Dean Brooks
Date:  
À: exim-users
CC: ph10
Sujet: Re: [Exim] Segmentation fault in callouts
On Tue, Sep 30, 2003 at 04:57:09PM +0100, Philip Hazel wrote:

> > I attempted to add callouts to our sender verification (in the MAIL
> > FROM: ACL) , and Exim began giving Segmentation Faults immediately
> > on callouts.
>
> I see this report, but I'm in the middle up upgrading to a new
> workstation, so may not be able to look more closely for a while.


I was able to use GDB with debugging symbols to get a stacktrace
at the point of sigfault. Again, this is Exim 4.24 running
under Solaris 7 with GCC 2.95.3 using a command line of:

exim -v -bhc 1.2.3.4

It also dies when running when receiving regular messages via SMTP,
so the crash is not just limited to -bhc mode.

Hope this helps.
----------------------------------------------------------------------

  Program received signal SIGSEGV, Segmentation fault.
  smtp_get_port (pstring=0x0, addr=0xb9388, port=0xffbedc40,
      msg=0x96cb8 "callout") at smtp_out.c:104
  104     if (isdigit(*pstring))


(gdb) bt

  #0  smtp_get_port (pstring=0x0, addr=0xb9388, port=0xffbedc40,
      msg=0x96cb8 "callout") at smtp_out.c:104
  #1  0x6663c in do_callout (addr=0xb9388, host_list=0xba3a8, tf=0xffbeed40,
      callout=5, options=737280) at verify.c:357
  #2  0x67664 in verify_address (vaddr=0xb9388, f=0x0, options=32, callout=5,
      routed=0xffbeedec) at verify.c:960
  #3  0x1b9a8 in acl_verify (where=-4264448, addr=0x0,
      arg=0xb7df8 "sender/defer_ok  /callout=5s,defer_ok,random",
      user_msgptr=0xffbef28c, log_msgptr=0xffbef288, basic_errno=0xffbef000)
      at acl.c:836
  #4  0x1c3a0 in acl_check_condition (verb=5, cb=0xb7de8, where=6, addr=0x0,
      level=0, epp=0xffbef004, user_msgptr=0xffbef28c, log_msgptr=0xffbef288,
      basic_errno=0xffbef000) at acl.c:1222
  #5  0x1cc9c in acl_check_internal (where=6, addr=0x0,
      s=0xb7600 "check_sender", level=0, user_msgptr=0xffbef28c,
      log_msgptr=0xffbef288) at acl.c:1587
  #6  0x1d1cc in acl_check (where=6, data_string=0xafc00 "",
      s=0xb7600 "check_sender", user_msgptr=0xffbef28c, log_msgptr=0xffbef288)
      at acl.c:1763
  #7  0x5dbd4 in smtp_setup_msg () at smtp_in.c:2698
  #8  0x30780 in main (argc=4, cargv=0xffbefbb4) at exim.c:3613


--
Dean Brooks
dean@???