[
https://issues.apache.org/jira/browse/TS-2363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13855142#comment-13855142
]
ASF subversion and git services commented on TS-2363:
-----------------------------------------------------
Commit 9410b755e99322fa81ed24212b0c7902cb153e47 in branch refs/heads/master
from [~yunkai]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=9410b75 ]
TS-2363: Fix assertion of "Unknown file format type!"
What leading to this assertion is that LogFile object passed to
flush thread has been destroyed within Log::periodic_tasks()
when accessing it.
This patch introduces refcount for LogFile object to avoid been
destroyed untimely.
Signed-off-by: Yunkai Zhang <[email protected]>
> FATAL: Log.h:342: failed assert `!"Unknown file format type!"`
> --------------------------------------------------------------
>
> Key: TS-2363
> URL: https://issues.apache.org/jira/browse/TS-2363
> Project: Traffic Server
> Issue Type: Bug
> Affects Versions: 4.1.2
> Reporter: bettydramit
> Assignee: Yunkai Zhang
> Labels: crash
> Fix For: 4.2.0
>
> Attachments:
> 0001-TS-2363-Fix-assertion-of-Unknown-file-format-type.patch
>
>
> {code}
> FATAL: Log.h:342: failed assert `!"Unknown file format type!"`
> /usr/bin/traffic_server - STACK TRACE:
> /usr/lib64/trafficserver/libtsutil.so.4(+0x14778)[0x2add96cb5778]
> /usr/lib64/trafficserver/libtsutil.so.4(+0x12c5f)[0x2add96cb3c5f]
> /usr/bin/traffic_server(Log::flush_thread_main(void*)+0x3d7)[0x589ee7]
> /usr/bin/traffic_server(LoggingFlushContinuation::mainEvent(int,
> void*)+0xd)[0x58d82d]
> /usr/bin/traffic_server(EThread::execute()+0xc90)[0x6adca0]
> /usr/bin/traffic_server[0x6ab96a]
> /lib64/libpthread.so.0(+0x7851)[0x2add988ea851]
> /lib64/libc.so.6(clone+0x6d)[0x2add998e094d]
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)