Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: dev

[Bug 811] With SRS Exim crashes with SIGSEGV

 

 

exim dev RSS feed   Index | Next | Previous | View Threaded


eximX0902w at linuxwan

Feb 21, 2009, 12:46 AM

Post #1 of 6 (1322 views)
Permalink
[Bug 811] With SRS Exim crashes with SIGSEGV

------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=811




--- Comment #1 from Ted Cooper <eximX0902w [at] linuxwan> 2009-02-21 08:46:14 ---
Could you please furnish us with your realted routers and transports and
example headers of an email that will cause this problem.

I take it the email is coming from anywhere to all of the users you have
specified?


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##


philippe.pujas at iutbeziers

Feb 21, 2009, 6:16 AM

Post #2 of 6 (1271 views)
Permalink
[Bug 811] With SRS Exim crashes with SIGSEGV [In reply to]

------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=811




--- Comment #2 from Philippe PUJAS <philippe.pujas [at] iutbeziers> 2009-02-21 14:16:02 ---
Created an attachment (id=300)
--> (http://bugs.exim.org/attachment.cgi?id=300)
The routers and transport

This file contains the routers and the transport used when sending to a list


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##


philippe.pujas at iutbeziers

Feb 21, 2009, 6:16 AM

Post #3 of 6 (1271 views)
Permalink
[Bug 811] With SRS Exim crashes with SIGSEGV [In reply to]

------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=811




--- Comment #3 from Philippe PUJAS <philippe.pujas [at] iutbeziers> 2009-02-21 14:16:52 ---
Created an attachment (id=301)
--> (http://bugs.exim.org/attachment.cgi?id=301)
Email that crash Exim (when SRS is compiled in)


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##


philippe.pujas at iutbeziers

Feb 21, 2009, 6:20 AM

Post #4 of 6 (1265 views)
Permalink
[Bug 811] With SRS Exim crashes with SIGSEGV [In reply to]

------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=811




--- Comment #4 from Philippe PUJAS <philippe.pujas [at] iutbeziers> 2009-02-21 14:20:53 ---
Ted Cooper a écrit :
> ------- You are receiving this mail because: -------
> You reported the bug.
>
> http://bugs.exim.org/show_bug.cgi?id=811
>
>
>
>
> --- Comment #1 from Ted Cooper <eximX0902w [at] linuxwan> 2009-02-21 08:46:14 ---
> Could you please furnish us with your realted routers and transports and
> example headers of an email that will cause this problem.
>
I've attach 2 files to the bug report

> I take it the email is coming from anywhere to all of the users you have
> specified?
>
>
In fact it crashes when delivering from local to local.

If needed I can compile or configure with more debug (tell me what you need)

Thank's,

Phil


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email
--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##


philippe.pujas at iutbeziers

Feb 21, 2009, 6:32 AM

Post #5 of 6 (1267 views)
Permalink
[Bug 811] With SRS Exim crashes with SIGSEGV [In reply to]

------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=811




--- Comment #5 from Philippe PUJAS <philippe.pujas [at] iutbeziers> 2009-02-21 14:32:25 ---
(In reply to comment #4)
> Ted Cooper a écrit :
> > ------- You are receiving this mail because: -------
> > You reported the bug.
> >
> > http://bugs.exim.org/show_bug.cgi?id=811
> >
> >
> >
> >
> > --- Comment #1 from Ted Cooper <eximX0902w [at] linuxwan> 2009-02-21 08:46:14 ---
> > Could you please furnish us with your realted routers and transports and
> > example headers of an email that will cause this problem.
> >
> I've attach 2 files to the bug report
>
> > I take it the email is coming from anywhere to all of the users you have
> > specified?
> >
> >
> In fact it crashes when delivering from local to local.
>
> If needed I can compile or configure with more debug (tell me what you need)
>
> Thank's,
>
> Phil
>



It seems the local_delivery process begins before exim crashes because the
Maildir/tmp directory contains an empty file with the right mail data id (date
are also correct).

Phil


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email
--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##


eximX0902w at linuxwan

Feb 22, 2009, 2:16 AM

Post #6 of 6 (1261 views)
Permalink
[Bug 811] With SRS Exim crashes with SIGSEGV [In reply to]

------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=811




--- Comment #6 from Ted Cooper <eximX0902w [at] linuxwan> 2009-02-22 10:16:08 ---
I have been unable to replicate problem here so you will have to run the
commands there and then post the results.

Just a few things before we go over the edge - do you have all the following
options set in the configuration file? If setting them fixes the problem I
would really love to know so I can target that part of the code. Also, the SRS
router should look something like this.

If tweaking those settings fails to stop it seg faulting, then we'll need to
grab the core file and compiled binary.

# srs global config options
hide srs_secrets = somereallysecretkey
srs_maxage = 30
srs_hashlength = 6
srs_hashmin = 6
srs_usetimestamp = yes
srs_usehash = yes

# srs router
srs_fwd:
driver = redirect
condition = ${if !def:srs_db_key}
domains = +local_domains
data = $local_part
srs = forward
srs_alias = iutbeziers.fr
check_ancestor
qualify_preserve_domain
no_verify


First, we need to separate the delivery process so we can target that part. You
probably don't want to do this on a production server. If you can, run it on a
different port (24) and either use that as your SMTP AUTH host or setup a
manual route to deliver to it.
Run exim in queue only mode with no queue runners and deliver a mail to it.
/path/to/exim -bd -odq -C /path/to/special/configuration
You'll want either stop your normal exim daemon or change where this special
config saves its spool to (spool_directory = /path/to/special/spool.
Deliver the message initially and have it sitting in the queue. It will be
given a message id which you can look for with /path/to/exim -C
/path/to/special/configuration -bp

To trigger the delivery and possibly get a core file run
ulimit -c unlimited
strace /path/to/exim -M <msg id> > output.txt

If that seg faults it will give you a core.<pid> file (or just core). This file
will contain the memory contents of the exim process and may contain privileged
information so you will probably not want to post it on bugzilla .. it will
also be many Mb in size.
We'll try to avoid sending it for now, but this is going to be a pain :P

Post the output.txt on here, or possibly email it directly to me so you don't
have to go through redacting bits.
So you don't have to send the core file, exim and every other compiled library
linked to the exim binary to me, I'll need you to post the stack trace of the
segfault too:
gdb /path/to/exim /path/to/core/file
> bt
The bt command will print the back trace.
Post all that info and hopefully I'll have some idea of what is going on


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##

exim dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.