You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Alan M. Carroll (JIRA)" <ji...@apache.org> on 2014/04/01 19:25:37 UTC

[jira] [Comment Edited] (TS-2564) Segmentation fault in 4.2.0-rc0

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

Alan M. Carroll edited comment on TS-2564 at 4/1/14 5:25 PM:
-------------------------------------------------------------

Patch for 4.2.1.

It occurred to me that people might wonder what this patch actually does :-).

On object load the MIME field data for the WKS index, the presence bits, and the accelerators is recomputed using the current values. This should fix the crashes which are due to these values being out of sync with the fields. This is only done for caches with a version of 23.0 which is the version for 4.0 through 4.2.0. This patch bumps the minor version so that if the cache is cleared, the version will be 23.1 and the recomputation will not be done.

This fix up can be forcibly disabled by setting the value to 0 for

proxy.config.cache.http.compatibility.4-2-0-fixup



was (Author: amc):
Patch for 4.2.1.

> Segmentation fault in 4.2.0-rc0
> -------------------------------
>
>                 Key: TS-2564
>                 URL: https://issues.apache.org/jira/browse/TS-2564
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>            Reporter: Bryan Call
>            Assignee: Alan M. Carroll
>            Priority: Blocker
>              Labels: crash
>             Fix For: 4.2.1, 5.0.0
>
>         Attachments: ts-2564.diff
>
>
> Segmentation fault in mime_hdr_set_accelerators_and_presence_bits() in 4.2.0-rc0:
> {code}
> (gdb) bt
> #0  mime_hdr_set_accelerators_and_presence_bits (mh=0x2acd02e108c8, field=<value optimized out>, detach_all_dups=false) at MIME.cc:469
> #1  mime_hdr_field_detach (mh=0x2acd02e108c8, field=<value optimized out>, detach_all_dups=false) at MIME.cc:1538
> #2  0x00000000005c322c in mime_hdr_field_delete (heap=0x2acd02e10810, mh=0x2acd02e108c8, field=0x2acd02e10ab8, delete_all_dups=<value optimized out>) at MIME.cc:1586
> #3  0x000000000053cb5b in field_delete (cached_header=0x2acde002fa40, response_header=0x2accc168b1d8) at ../../proxy/hdrs/MIME.h:1107
> #4  field_delete (cached_header=0x2acde002fa40, response_header=0x2accc168b1d8) at ../../proxy/hdrs/MIME.h:1115
> #5  HttpTransact::merge_response_header_with_cached_header (cached_header=0x2acde002fa40, response_header=0x2accc168b1d8) at HttpTransact.cc:4914
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)