Re: [exim] Numerous segfaults with 64 bit exim

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Patrick Boutilier
Date:  
À: exim-users
Sujet: Re: [exim] Numerous segfaults with 64 bit exim
On 06/08/2011 10:28 AM, Todd Lyons wrote:
> On Wed, Jun 8, 2011 at 3:28 AM, Patrick Boutilier<boutilpj@???> wrote:
>
>> Are you building your rpm using a src.rpm file or using the source and a
>> spec file?
>
> http://downloads.mrball.net/Linux/CentOS/5/SRPMS/exim-4.76-1iv.src.rpm
>
> It also builds spf DLO in a separate exim-spf package with the
> self-contained libspf tarball.
>
> ...Todd



Ok, tried that rpm and still getting segfaults. But this binary gave
more info in gdb:




Core was generated by `/usr/local/exim/bin/exim -bd -q10m'.
Program terminated with signal 11, Segmentation fault.
#0  0x00002b2d4065c470 in strchr () from /lib64/libc.so.6
(gdb) bt full
#0  0x00002b2d4065c470 in strchr () from /lib64/libc.so.6
No symbol table info available.
#1  0x00002b2d3d98a92c in smtp_respond (code=0x2b2d3d9e8906 "550", 
codelen=<value optimized out>, final=1, msg=0x0) at smtp_in.c:2045
         esclen = 0
         esc = 0x2b2d3da0413e ""
#2  0x00002b2d3d97adf5 in receive_msg (extract_recip=0) at receive.c:3739
         i = 4096
         rc = <value optimized out>
         msg_size = <value optimized out>
         process_info_len = 108
         error_rc = 1
         header_size = 0
         start = 2
         end = 60
         domain = 33
         size = 256
         sptr = 178
         id_resolution = 500
         had_zero = 0
         prevlines_length = 1
         ptr = -765132480
         contains_resent_headers = 0
         extracted_ignored = 0
         first_line_ended_crlf = 1
         smtp_yield = 1
         yield = 1
         resents_exist = 0
         resent_prefix = 0x2b2d3da0413e ""
         blackholed_by = 0x0
         blackhole_log_msg = 0x2b2d3da0413e ""
         lock_data = {l_type = 1, l_whence = 0, l_start = 0, l_len = 19, 
l_pid = 0}
         bad_addresses = 0x0
         frozen_by = 0x0
         queued_by = 0x0
         errmsg = 0x0
         s = 0x2b2d54a28088 "<= peterwong.stung@??? 
H=ns1.cresolcentral.com.br (smtp.cresolcentral.com.br) [201.41.208.70] 
P=esmtp S=2871 
id=27b5c9b76a09a70de21756e4183dc674@???"
         statbuf = {st_dev = 2050, st_ino = 16089295, st_nlink = 1, 
st_mode = 33184, st_uid = 93, st_gid = 93, pad0 = 0, st_rdev = 0, 
st_size = 537, st_blksize = 4096, st_blocks = 8, st_atim = {
             tv_sec = 1307551182, tv_nsec = 0}, st_mtim = {tv_sec = 
1307551181, tv_nsec = 0}, st_ctim = {tv_sec = 1307551181, tv_nsec = 0}, 
__unused = {0, 0, 0}}
         smtp_reply = 0x0
         user_msg = 0x0
         log_msg = 0x0
         h = 0x2b2d54a19600
         next = 0x2b2d54a28088
         date_header_exists = 1
         from_header = 0x2b2d54a1a538
         subject_header = 0x2b2d54a1a5c8
         msgid_header = 0x2b2d54a1a6a8
         received_header = 0x2b2d54a1a1c0
         received = <value optimized out>
         timestamp = <value optimized out>
#3  0x00002b2d3d93b506 in handle_smtp_call () at daemon.c:515
No locals.
#4  daemon_go () at daemon.c:1882
         accept_socket = 11
         sk = <value optimized out>
         max_socket = <value optimized out>
         lcount = <value optimized out>
         select_errno = <value optimized out>
         select_failed = 0
         select_listen = {__fds_bits = {0 <repeats 16 times>}}
         accepted = {sin6_family = 2, sin6_port = 45184, sin6_flowinfo = 
1188047305, sin6_addr = {in6_u = {u6_addr8 = 
"\000\000\000\000\000\000\000\000\300x\223@a\001\000", u6_addr16 = {0, 
0, 0,
                 0, 30912, 16531, 353, 0}, u6_addr32 = {0, 0, 
1083406528, 353}}}, sin6_scope_id = 1033855410}
---Type <return> to continue, or q <return> to quit---
         len = 16
         pid = <value optimized out>
         pw = <value optimized out>
         listen_sockets = <value optimized out>
         listen_socket_count = 8
         addresses = 0x2b2d54a0f2d8
#5  0x00002b2d3d94f537 in main (argc=3, cargv=<value optimized out>) at 
exim.c:4404
         argv = 0x7fffd2690c18
         arg_receive_timeout = -1
         arg_smtp_receive_timeout = -1
         arg_error_handling = 0
         filter_sfd = -1
         filter_ufd = -1
         group_count = 7
         i = 1419824747
         rv = <value optimized out>
         list_queue_option = 0
         msg_action = 0
         msg_action_arg = -1
         namelen = <value optimized out>
         queue_only_reason = <value optimized out>
         perl_start_option = 0
         recipients_arg = 3
         sender_address_domain = 0
         test_retry_arg = <value optimized out>
         test_rewrite_arg = -1
         arg_queue_only = 0
         bi_option = 0
         checking = 0
         count_queue = 0
         expansion_test = 0
         extract_recipients = 0
         forced_delivery = 0
         f_end_dot = 0
         deliver_give_up = 0
         list_queue = 0
         list_options = 0
         local_queue_only = <value optimized out>
         more = <value optimized out>
         one_msg_action = 0
         queue_only_set = 0
         sender_ident_set = 0
         session_local_queue_only = <value optimized out>
         unprivileged = 0
         removed_privilege = 0
         usage_wanted = <value optimized out>
         verify_address_mode = 0
         verify_as_sender = 0
         version_printed = 0
         alias_arg = 0x0
         called_as = <value optimized out>
         start_queue_run_id = <value optimized out>
         stop_queue_run_id = <value optimized out>
         expansion_test_message = 0x0
         ftest_domain = 0x0
         ftest_localpart = 0x0
         ftest_prefix = 0x0
         ftest_suffix = 0x0
         malware_test_file = 0x0
         real_sender_address = <value optimized out>
         originator_home = 0x2b2d54a0f2a8 "/root"
         reset_point = <value optimized out>
         pw = <value optimized out>
---Type <return> to continue, or q <return> to quit---
         statbuf = {st_dev = 12, st_ino = 4, st_nlink = 1, st_mode = 
8592, st_uid = 0, st_gid = 5, pad0 = 0, st_rdev = 34818, st_size = 0, 
st_blksize = 4096, st_blocks = 0, st_atim = {
             tv_sec = 1307550075, tv_nsec = 361439741}, st_mtim = 
{tv_sec = 1307550075, tv_nsec = 381439741}, st_ctim = {tv_sec = 
1307108242, tv_nsec = 228767741}, __unused = {0, 0, 0}}
         passed_qr_pid = 0
         passed_qr_pipe = -1
         group_list = {0, 1, 2, 3, 4, 6, 10, 0 <repeats 62643 times>, 
1036181307, 11053, 0 <repeats 16 times>, 3084910592, 56, 3085152256, 56, 
3085150044, 56, 3085150044, 56, 0, 0, 5, 0,
           3087249408, 56, 3087253504, 56, 3087251072, 56, 3087293760, 
56, 241664, 0, 3, 0, 0, 1, 1111736655, 11053, 1111721296, 11053, 14, 0, 
21, 0, 1111719936, 11053, 3530087584, 32767,
           1036197401, 11053, 3530087728, 32767, 1879047935, 0, 
3530087584, 32767, 1036183229, 11053, 1036276000, 11053, 3530087216, 
32767, 3530087584, 32767, 1036179159, 11053, 1920169263,
           1651076143, 1882141750, 896299621, 942552367, 2016360494, 
912209464, 1768697140, 762869102, 1701996660, 1831691361, 1769237621, 
3530087088, 32767, 3530086992, 32767, 1111721296, 11053,
           1036213032, 11053, 1111736655, 11053, 1075595664, 11053, 
1113931336, 11053, 1036187312, 11053, 3530088576, 3, 1038371968, 11053, 
0, 0, 0, 0, 1111736655, 11053, 40256, 0, 1116262400,
           11053, 2383168, 0, 2050, 0, 0, 1, 1, 0, 33261, 0, 0, 0, 0, 0, 
247496, 0, 4096, 0, 496, 0, 1307550075, 0, 0, 0, 1270023452, 0, 0, 0, 
1304152587, 0, 0, 0, 1036213032, 11053, 0, 0,
           1038370064, 11053, 1111736679, 11053, 1036187312, 11053, 3, 
0, 1111719936, 11053, 0, 0, 0, 0, 1111736655, 11053, 1036187603, 11053, 
0, 11053, 3530088568, 32767, 0, 0, 0, 1, 1107483496,
           11053, 3530088591, 32767, 23, 0, 3530088576, 32767, 
3530087728, 32767, 0...}
         rsopts = {0x2b2d3d9e7532 "f", 0x2b2d3d9fda7e "ff", 
0x2b2d3d9e3364 "r", 0x2b2d3d9e381e "rf", 0x2b2d3d9e3821 "rff"}

begin:vcard
fn:Patrick Boutilier
n:Boutilier;Patrick
org:;Nova Scotia Department of Education
adr:;;2021 Brunswick Street;Halifax;NS;B3K 2Y5;Canada
email;internet:boutilpj@???
title:WAN Communications Specialist
tel;work:902-424-6800
tel;fax:902-424-0874
version:2.1
end:vcard