[ https://issues.apache.org/jira/browse/TS-984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan M. Carroll updated TS-984: ------------------------------- Attachment: ts-984.diff This is a patch I am testing. It will fix this problem, I am unsure that it will not cause others. Still investigating. > LogFile::roll crash at Machine::instance > ---------------------------------------- > > Key: TS-984 > URL: https://issues.apache.org/jira/browse/TS-984 > Project: Traffic Server > Issue Type: Bug > Components: Logging > Affects Versions: 3.1.0 > Reporter: Zhao Yongming > Assignee: Alan M. Carroll > Labels: crash > Fix For: 3.1.1 > > Attachments: ts-984.diff > > > this is a strange error when I testing the current trunk with logging > colation server enabled: > {code} > [Oct 16 01:24:48.643] Server {0x2b4967f51760} WARNING: File > /var/log/trafficserver/ex_squid.log will be rolled because a LogObject with > different format is requesting the same filename > FATAL: Machine.cc:37: failed assert `_instance || !"Machine instance accessed > before initialization"` > /usr/bin/traffic_server - STACK TRACE: > /usr/lib64/trafficserver/libtsutil.so.3(ink_fatal_va+0xc5)[0x2b49651a5109] > /usr/lib64/trafficserver/libtsutil.so.3(ink_fatal+0xa3)[0x2b49651a51bb] > /usr/lib64/trafficserver/libtsutil.so.3(_ink_assert+0xc2)[0x2b49651a3aee] > /usr/bin/traffic_server(Machine::instance()+0x24)[0x634a04] > /usr/bin/traffic_server(LogFile::roll(long, long)+0x230)[0x5f8138] > /usr/bin/traffic_server(LogObjectManager::_solve_filename_conflicts(LogObject*, > int)+0x489)[0x603263] > /usr/bin/traffic_server(LogObjectManager::_manage_object(LogObject*, bool, > int)+0x126)[0x6029ea] > /usr/bin/traffic_server(LogObjectManager::manage_object(LogObject*, > int)+0x2d)[0x5e9e27] > /usr/bin/traffic_server(LogConfig::read_xml_log_config(int)+0x3189)[0x5f28c9] > /usr/bin/traffic_server(LogConfig::setup_log_objects()+0x229)[0x5edd63] > /usr/bin/traffic_server(LogConfig::init(LogConfig*)+0x254)[0x5ec3ea] > /usr/bin/traffic_server(Log::init(int)+0x30c)[0x5e8134] > /usr/bin/traffic_server(main+0xb6a)[0x5161a4] > /lib64/libc.so.6(__libc_start_main+0xfd)[0x2b49673b4ebd] > /usr/bin/traffic_server[0x4cc789] > {code} > there is two problem here: > 1, why the machine is not initialized? > 2, what does "WARNING: File /var/log/trafficserver/ex_squid.log will be > rolled because a LogObject with different format is requesting the same > filename" mean? is that harm? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira