[Bug 204426] Processes terminating cannot access memory

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 13 12:47:08 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204426

--- Comment #41 from Robert Blayzor <rblayzor at inoc.net> ---
and here is a recent core (that actually dumped full) for exim:


#0  _thr_signal_postfork_child () at
/.amd_mnt/juno/pub/FreeBSD/10-STABLE/lib/libthr/thread/thr_sig.c:508
508     /.amd_mnt/juno/pub/FreeBSD/10-STABLE/lib/libthr/thread/thr_sig.c: No
such file or directory.
        in /.amd_mnt/juno/pub/FreeBSD/10-STABLE/lib/libthr/thread/thr_sig.c
[New Thread 803006400 (LWP 100045/<unknown>)]
(gdb) bt full
#0  _thr_signal_postfork_child () at
/.amd_mnt/juno/pub/FreeBSD/10-STABLE/lib/libthr/thread/thr_sig.c:508
No locals.
#1  0x000000080120706d in __thr_fork () at
/.amd_mnt/juno/pub/FreeBSD/10-STABLE/lib/libthr/thread/thr_fork.c:203
        rtld_locks = {-4800, 32767, -4760, 32767, -4792, 32767, 3, 0}
        curthread = (struct pthread *) 0x803006400
        cancelsave = 0
        ret = 0
        errsave = 4
#2  0x0000000000428c54 in handle_smtp_call (listen_sockets=0x803065140,
listen_socket_count=4, accept_socket=7, accepted=0x7fffffffcd38) at
daemon.c:355
        pid = 32767
        interface_sockaddr = {v4 = {sin_len = 28 '\034', sin_family = 28
'\034', sin_port = 6400, sin_addr = {s_addr = 0},
    sin_zero = 0x7fffffffc9a0 "&\aðX\001\020"}, v6 = {sin6_len = 28 '\034',
sin6_family = 28 '\034', sin6_port = 6400, sin6_flowinfo = 0, sin6_addr = {
      __u6_addr = {__u6_addr8 = 0x7fffffffc9a0 "&\aðX\001\020", __u6_addr16 =
0x7fffffffc9a0, __u6_addr32 = 0x7fffffffc9a0}}, sin6_scope_id = 0}, v0 = {
    sa_len = 28 '\034', sa_family = 28 '\034', sa_data = 0x7fffffffc99a ""}}
        ifsize = 28
        dup_accept_socket = 9
        max_for_this_host = 10
        wfsize = 100
        wfptr = 22
        use_log_write_selector = 1980
        whofrom = (uschar *) 0x803065e30 "[2607:f058:110:2::f:0]"
        reset_point = (void *) 0x803065e00
#3  0x0000000000427c55 in daemon_go () at daemon.c:2040
        accept_socket = 7
        sk = 0
        max_socket = 6
        lcount = 0
        select_errno = 4
        select_failed = 0
        select_listen = {__fds_bits = 0x7fffffffcc40}
        accepted = {sin6_len = 28 '\034', sin6_family = 28 '\034', sin6_port =
24059, sin6_flowinfo = 0, sin6_addr = {__u6_addr = {
      __u6_addr8 = 0x7fffffffcd40 "&\aðX\001\020", __u6_addr16 =
0x7fffffffcd40, __u6_addr32 = 0x7fffffffcd40}}, sin6_scope_id = 0}
        len = 28
        pid = 56724
        pw = (struct passwd *) 0x802698328
        listen_sockets = (int *) 0x803065140
        listen_socket_count = 4
        addresses = (ip_address_item *) 0x803065040
        last_connection_time = 1455363261
#4  0x000000000044af25 in main (argc=3, cargv=0x7fffffffed48) at exim.c:4719
        rsopts = 0x761b00
        argv = (uschar **) 0x7fffffffed48
        arg_receive_timeout = -1
        arg_smtp_receive_timeout = -1
        arg_error_handling = 0
        filter_sfd = -1
        filter_ufd = -1
        group_count = 1
        i = 0
---Type <return> to continue, or q <return> to quit---
        rv = 0
        list_queue_option = 0
        msg_action = 0
        msg_action_arg = -1
        namelen = 20
        queue_only_reason = 0
        perl_start_option = 0
        recipients_arg = 3
        sender_address_domain = 0
        test_retry_arg = -1
        test_rewrite_arg = -1
        arg_queue_only = 0
        bi_option = 0
        checking = 0
        count_queue = 0
        expansion_test = 0
        extract_recipients = 0
        flag_G = 0
        flag_n = 0
        forced_delivery = 0
        f_end_dot = 0
        deliver_give_up = 0
        list_queue = 0
        list_options = 0
        local_queue_only = 7868416
        more = 1
        one_msg_action = 0
        queue_only_set = 0
        receiving_message = 0
        sender_ident_set = 0
        session_local_queue_only = -5288
        unprivileged = 0
        removed_privilege = 0
        usage_wanted = 0
        verify_address_mode = 0
        verify_as_sender = 0
        version_printed = 0
        alias_arg = (uschar *) 0x0
        called_as = (uschar *) 0x554616 ""
        cmdline_syslog_name = (uschar *) 0x0
        start_queue_run_id = (uschar *) 0x0
        stop_queue_run_id = (uschar *) 0x0
        expansion_test_message = (uschar *) 0x0
        ftest_domain = (uschar *) 0x0
        ftest_localpart = (uschar *) 0x0
        ftest_prefix = (uschar *) 0x0
        ftest_suffix = (uschar *) 0x0
        log_oneline = (uschar *) 0x0
        malware_test_file = (uschar *) 0x0
---Type <return> to continue, or q <return> to quit---
        real_sender_address = (uschar *) 0x7fffffffeb58 " \005v"
        originator_home = (uschar *) 0x803065018 "/root"
        sz = 140737488350168
        reset_point = (void *) 0x80231a310
        pw = (struct passwd *) 0x802698328
        statbuf = {st_dev = 1895890688, st_ino = 5, st_mode = 8576, st_nlink =
1, st_uid = 0, st_gid = 0, st_rdev = 5, st_atim = {tv_sec = 1455201710,
    tv_nsec = 90063000}, st_mtim = {tv_sec = 1455201749, tv_nsec = 0}, st_ctim
= {tv_sec = 1455201749, tv_nsec = 0}, st_size = 0, st_blocks = 0,
  st_blksize = 4096, st_flags = 0, st_gen = 0, st_lspare = 0, st_birthtim =
{tv_sec = -1, tv_nsec = 0}}
        passed_qr_pid = 0
        passed_qr_pipe = -1
        group_list = 0x7fffffffd8f0
        info_flag = CMDINFO_NONE
        info_stdout = 0
Current language:  auto; currently minimal

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


More information about the freebsd-threads mailing list