Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 2016 16:46:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-threads@FreeBSD.org
Subject:   [Bug 204426] Processes terminating cannot access memory
Message-ID:  <bug-204426-16-CZzVEGK5dG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204426-16@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204426-16@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204426

--- Comment #42 from Robert Blayzor <rblayzor@inoc.net> ---
Caught exim and dovecot full core dumps, same VM, couple hours apart...


#0  handle_smtp_call (listen_sockets=3D0x803065140, listen_socket_count=3D4,
accept_socket=3D7,
    accepted=3D0x7fffffffcd38) at daemon.c:375
375     daemon.c: No such file or directory.
        in daemon.c
[New Thread 803006400 (LWP 100155/<unknown>)]
(gdb) bt full
#0  handle_smtp_call (listen_sockets=3D0x803065140, listen_socket_count=3D4,
accept_socket=3D7,
    accepted=3D0x7fffffffcd38) at daemon.c:375
        i =3D 32767
        queue_only_reason =3D 0
        old_pool =3D 0
        save_debug_selector =3D 0
        local_queue_only =3D 32767
        session_local_queue_only =3D -4800
        act =3D {__sigaction_u =3D {__sa_handler =3D 0, __sa_sigaction =3D =
0}, sa_flags
=3D 0, sa_mask =3D {
    __bits =3D 0x7fffffffc91c}}
        pid =3D 0
        interface_sockaddr =3D {v4 =3D {sin_len =3D 28 '\034', sin_family =
=3D 28
'\034', sin_port =3D 6400,
    sin_addr =3D {s_addr =3D 0}, sin_zero =3D 0x7fffffffc9a0 "&\a=C3=B0X\00=
1\020"}, v6 =3D {
    sin6_len =3D 28 '\034', sin6_family =3D 28 '\034', sin6_port =3D 6400,
sin6_flowinfo =3D 0,
    sin6_addr =3D {__u6_addr =3D {__u6_addr8 =3D 0x7fffffffc9a0 "&\a=C3=B0X=
\001\020",
        __u6_addr16 =3D 0x7fffffffc9a0, __u6_addr32 =3D 0x7fffffffc9a0}},
sin6_scope_id =3D 0}, v0 =3D {
    sa_len =3D 28 '\034', sa_family =3D 28 '\034', sa_data =3D 0x7fffffffc9=
9a ""}}
        ifsize =3D 28
        dup_accept_socket =3D 9
        max_for_this_host =3D 10
        wfsize =3D 100
        wfptr =3D 22
        use_log_write_selector =3D 1980
        whofrom =3D (uschar *) 0x803065e30 "[2607:f058:110:2::f:0]"
        reset_point =3D (void *) 0x803065e00
#1  0x0000000000427c55 in daemon_go () at daemon.c:2040
        accept_socket =3D 7
        sk =3D 0
        max_socket =3D 6
        lcount =3D 0
        select_errno =3D 4
        select_failed =3D 0
        select_listen =3D {__fds_bits =3D 0x7fffffffcc40}
        accepted =3D {sin6_len =3D 28 '\034', sin6_family =3D 28 '\034', si=
n6_port =3D
46531,
  sin6_flowinfo =3D 0, sin6_addr =3D {__u6_addr =3D {__u6_addr8 =3D 0x7ffff=
fffcd40
"&\a=C3=B0X\001\020",
      __u6_addr16 =3D 0x7fffffffcd40, __u6_addr32 =3D 0x7fffffffcd40}},
sin6_scope_id =3D 0}
        len =3D 28
        pid =3D 53159
        pw =3D (struct passwd *) 0x802698328
        listen_sockets =3D (int *) 0x803065140
        listen_socket_count =3D 4
        addresses =3D (ip_address_item *) 0x803065040
        last_connection_time =3D 1455463157
#2  0x000000000044af25 in main (argc=3D3, cargv=3D0x7fffffffed48) at exim.c=
:4719
        rsopts =3D 0x761b00
        argv =3D (uschar **) 0x7fffffffed48
        arg_receive_timeout =3D -1
        arg_smtp_receive_timeout =3D -1
        arg_error_handling =3D 0
---Type <return> to continue, or q <return> to quit---
        filter_sfd =3D -1
        filter_ufd =3D -1
        group_count =3D 1
        i =3D 0
        rv =3D 0
        list_queue_option =3D 0
        msg_action =3D 0
        msg_action_arg =3D -1
        namelen =3D 20
        queue_only_reason =3D 0
        perl_start_option =3D 0
        recipients_arg =3D 3
        sender_address_domain =3D 0
        test_retry_arg =3D -1
        test_rewrite_arg =3D -1
        arg_queue_only =3D 0
        bi_option =3D 0
        checking =3D 0
        count_queue =3D 0
        expansion_test =3D 0
        extract_recipients =3D 0
        flag_G =3D 0
        flag_n =3D 0
        forced_delivery =3D 0
        f_end_dot =3D 0
        deliver_give_up =3D 0
        list_queue =3D 0
        list_options =3D 0
        local_queue_only =3D 7868416
        more =3D 1
        one_msg_action =3D 0
        queue_only_set =3D 0
        receiving_message =3D 0
        sender_ident_set =3D 0
        session_local_queue_only =3D -5288
        unprivileged =3D 0
        removed_privilege =3D 0
        usage_wanted =3D 0
        verify_address_mode =3D 0
        verify_as_sender =3D 0
        version_printed =3D 0
        alias_arg =3D (uschar *) 0x0
        called_as =3D (uschar *) 0x554616 ""
        cmdline_syslog_name =3D (uschar *) 0x0
        start_queue_run_id =3D (uschar *) 0x0
        stop_queue_run_id =3D (uschar *) 0x0
        expansion_test_message =3D (uschar *) 0x0
        ftest_domain =3D (uschar *) 0x0
        ftest_localpart =3D (uschar *) 0x0
---Type <return> to continue, or q <return> to quit---
        ftest_prefix =3D (uschar *) 0x0
        ftest_suffix =3D (uschar *) 0x0
        log_oneline =3D (uschar *) 0x0
        malware_test_file =3D (uschar *) 0x0
        real_sender_address =3D (uschar *) 0x7fffffffeb58 " \005v"
        originator_home =3D (uschar *) 0x803065018 "/root"
        sz =3D 140737488350168
        reset_point =3D (void *) 0x80231a310
        pw =3D (struct passwd *) 0x802698328
        statbuf =3D {st_dev =3D 1895890688, st_ino =3D 5, st_mode =3D 8576,=
 st_nlink =3D
1, st_uid =3D 0,
  st_gid =3D 0, st_rdev =3D 5, st_atim =3D {tv_sec =3D 1455201710, tv_nsec =
=3D 90063000},
st_mtim =3D {
    tv_sec =3D 1455201749, tv_nsec =3D 0}, st_ctim =3D {tv_sec =3D 14552017=
49, tv_nsec
=3D 0}, st_size =3D 0,
  st_blocks =3D 0, st_blksize =3D 4096, st_flags =3D 0, st_gen =3D 0, st_ls=
pare =3D 0,
st_birthtim =3D {
    tv_sec =3D -1, tv_nsec =3D 0}}
        passed_qr_pid =3D 0
        passed_qr_pipe =3D -1
        group_list =3D 0x7fffffffd8f0
        info_flag =3D CMDINFO_NONE
        info_stdout =3D 0
Current language:  auto; currently minimal
(gdb) x/i $rip
0x428c9e <handle_smtp_call+2222>:       mov    %eax,0x764b34
(gdb) info registers
rax            0x7bc    1980
rbx            0x0      0
rcx            0x4      4
rdx            0x1      1
rsi            0x8030064e8      34410095848
rdi            0x3      3
rbp            0x7fffffffc9d0   0x7fffffffc9d0
rsp            0x7fffffffc830   0x7fffffffc830
r8             0x0      0
r9             0xfffff8003b2a1000       -8795100409856
r10            0x1      1
r11            0x246    582
r12            0x7fffffffed40   140737488350528
r13            0x7fffffffed68   140737488350568
r14            0x7fffffffed48   140737488350536
r15            0x3      3
rip            0x428c9e 0x428c9e <handle_smtp_call+2222>
eflags         0x10202  66050
cs             0x43     67
ss             0x3b     59
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0


procstat -v exim.core
  PID              START                END PRT  RES PRES REF SHD   FL TP P=
ATH
53547           0x400000           0x560000 r-x  324  637   3   1 CN-- vn
/usr/local/sbin/exim
53547           0x760000           0x76a000 rw-   10    0   1   0 C--- vn
/usr/local/sbin/exim
53547           0x76a000           0x779000 rw-   15    0   1   0 C--- df
53547        0x800760000        0x80077e000 r-x   30   32  35   0 CN-- vn
/libexec/ld-elf.so.1
53547        0x80077e000        0x800785000 rw-    7    7   2   0 CN-- df
53547        0x800787000        0x8007b7000 rw-   48   48   2   1 CN-- df
53547        0x80097d000        0x80097f000 rw-    2    2   2   0 CN-- df
53547        0x80097f000        0x80098d000 r-x   14   16   7   3 CN-- vn
53547        0x80098d000        0x800b8d000 ---    0    0   2   0 CN-- df
53547        0x800b8d000        0x800b8e000 rw-    1    0   2   0 CN-- vn
53547        0x800b8e000        0x800b9f000 rw-    0    0   0   0 ---- --
53547        0x800b9f000        0x800bc8000 r-x   41   46   9   4 CN-- vn
53547        0x800bc8000        0x800dc7000 ---    0    0   2   0 CN-- df
53547        0x800dc7000        0x800dc8000 rw-    1    0   2   0 CN-- vn
53547        0x800dc8000        0x800dd8000 r-x   16   18  19   9 CN-- vn
53547        0x800dd8000        0x800fd8000 ---    0    0   2   0 CN-- df
53547        0x800fd8000        0x800fd9000 rw-    1    0   2   0 CN-- vn
53547        0x800fd9000        0x800fdb000 rw-    0    0   0   0 ---- --
53547        0x800fdb000        0x800ff3000 r-x   20   23   3   1 CN-- vn
53547        0x800ff3000        0x8011f3000 ---    0    0   2   0 CN-- df
53547        0x8011f3000        0x8011f5000 rw-    2    0   2   0 CN-- vn
53547        0x8011f5000        0x80120d000 r-x   24   26  20   9 CN-- vn
/lib/libthr.so.3
53547        0x80120d000        0x80140d000 ---    0    0   2   0 CN-- df
53547        0x80140d000        0x80140e000 rw-    1    0   1   0 C--- vn
/lib/libthr.so.3
53547        0x80140e000        0x80141a000 rw-   12    0   1   0 C--- df
53547        0x80141a000        0x801445000 r-x   41   45   5   2 CN-- vn
53547        0x801445000        0x801645000 ---    0    0   2   0 CN-- df
53547        0x801645000        0x801648000 rw-    3    0   2   0 CN-- vn
53547        0x801648000        0x80181d000 r-x  425  434   3   1 CN-- vn
53547        0x80181d000        0x801a1c000 ---    0    0   2   0 CN-- df
53547        0x801a1c000        0x801a25000 rw-    9    0   2   0 CN-- vn
53547        0x801a25000        0x801a88000 r-x   87   98  27  13 CN-- vn
/usr/lib/libssl.so.7
53547        0x801a88000        0x801c88000 ---    0    0   2   0 CN-- df
53547        0x801c88000        0x801c92000 rw-   10    0   2   0 CN-- vn
/usr/lib/libssl.so.7
53547        0x801c92000        0x801e5f000 r-x  461  501  31  15 CN-- vn
/lib/libcrypto.so.7
53547        0x801e5f000        0x80205f000 ---    0    0   2   0 CN-- df
53547        0x80205f000        0x802087000 rw-   40    0   2   0 CN-- vn
/lib/libcrypto.so.7
53547        0x802087000        0x802089000 rw-    2    2   2   0 CN-- df
53547        0x802089000        0x8020fe000 r-x   45   46   8   3 CN-- vn
53547        0x8020fe000        0x8022fd000 ---    0    0   2   0 CN-- df
53547        0x8022fd000        0x8022fe000 rw-    1    0   2   0 CN-- vn
53547        0x8022fe000        0x802476000 r-x  376  390  68  33 CN-- vn
/lib/libc.so.7
53547        0x802476000        0x802675000 ---    0    0   2   0 CN-- df
53547        0x802675000        0x802681000 rw-   12    0   1   0 C--- vn
/lib/libc.so.7
53547        0x802681000        0x8026ab000 rw-   42    0   1   0 C--- df
53547        0x8026ab000        0x8026b5000 r-x   10   14  10   4 CN-- vn
/usr/local/lib/libintl.so.8.1.4
53547        0x8026b5000        0x8028b5000 ---    0    0   2   0 CN-- df
53547        0x8028b5000        0x8028b6000 rw-    1    0   2   0 CN-- vn
/usr/local/lib/libintl.so.8.1.4
53547        0x802c00000        0x803400000 rw-  512    0   1   0 C--- df
53547     0x7fffdfffe000     0x7fffdffff000 ---    0    0   0   0 ---- --
53547     0x7ffffffdf000     0x7ffffffff000 rw-   10    0   1   0 C--D df
53547     0x7ffffffff000     0x800000000000 r-x    1    1  37   0 ---- ph

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204426-16-CZzVEGK5dG>