[ 
https://issues.apache.org/jira/browse/TS-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14642266#comment-14642266
 ] 

ASF GitHub Bot commented on TS-3792:
------------------------------------

GitHub user zizhong opened a pull request:

    https://github.com/apache/trafficserver/pull/262

    TS-3792: Crash with non-existant or missing resolve_conf

    Fix the bug issue TS-3792: Pointing proxy.config.dns.resolv_conf at an 
empty (or nonexistant) file causes segmentation faults on first DNS query. If 
the user specified resolve conf doesn't work, use the default resolve conf 
instead. If the default resolve conf doesn't work neither, abort the traffic 
server.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zizhong/trafficserver fixBugTS3792

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/262.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #262
    
----
commit 3aca5e4cb50af831e4e4174ca573fddd9877fb33
Author: Zizhong Zhang <[email protected]>
Date:   2015-07-27T04:46:52Z

    TS-3792: Pointing proxy.config.dns.resolv_conf at an empty (or nonexistant) 
file causes crashes.

----


> Pointing proxy.config.dns.resolv_conf at an empty (or nonexistant) file 
> causes segmentation faults on first DNS query
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: TS-3792
>                 URL: https://issues.apache.org/jira/browse/TS-3792
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Thomas Jackson
>            Assignee: Brian Geffon
>
> {code}
> [connect] ERROR (main_socket_fd 9): Connection refused
> [Jul 22 17:04:34.553] {0x2b293f16b960} ERROR: wrote crash log to 
> /var/log/trafficserver/crash-2015-07-22-170434.log
> traffic_server: Floating point exception (Integer divide by zero 
> [0x6d8e5a])traffic_server - STACK TRACE: 
> traffic_server(_Z19crash_logger_invokeiP7siginfoPv+0xc3)[0x50994e]
> /lib64/libpthread.so.0[0x340d40f710]
> traffic_server[0x6d8e5a]
> traffic_server(_ZN8DNSEntry9mainEventEiP5Event+0x3d3)[0x6d9a95]
> traffic_server(_ZN12Continuation11handleEventEiPv+0x6c)[0x50c838]
> traffic_server(_ZN12DNSProcessor5getbyEPKciiP12ContinuationRKNS_7OptionsE+0x1c1)[0x6d9e45]
> traffic_server(_ZN12DNSProcessor13gethostbynameEP12ContinuationPKcRKNS_7OptionsE+0x44)[0x6ccb30]
> traffic_server(_ZN18HostDBContinuation6do_dnsEv+0x290)[0x6cadbc]
> traffic_server(_ZN18HostDBContinuation10probeEventEiP5Event+0x2bc)[0x6ca8a6]
> traffic_server(_ZN12Continuation11handleEventEiPv+0x6c)[0x50c838]
> traffic_server(_ZN7EThread13process_eventEP5Eventi+0xc6)[0x786d56]
> traffic_server(_ZN7EThread7executeEv+0xa0)[0x786f24]
> traffic_server(main+0x1246)[0x53da75]
> /lib64/libc.so.6(__libc_start_main+0xfd)[0x340cc1ed5d]
> traffic_server[0x4f47a9]
> Floating point exception (core dumped)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to