[jira] [Assigned] (TS-1065) traffic_cop segment fault when enable TRACE_LOG_COP
[ https://issues.apache.org/jira/browse/TS-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Geffon reassigned TS-1065: Assignee: Brian Geffon (was: Igor Galić) > traffic_cop segment fault when enable TRACE_LOG_COP > --- > > Key: TS-1065 > URL: https://issues.apache.org/jira/browse/TS-1065 > Project: Traffic Server > Issue Type: Bug >Affects Versions: 3.1.1, 3.0.2 > Environment: mac os 10.7.2, centos 5.4 64bit >Reporter: Conan Wang >Assignee: Brian Geffon >Priority: Minor > Fix For: 3.1.2 > > Attachments: traffic_cop.diff > > > When enable traffic_cop's debug log: #define TRACE_LOG_COP 1 > Some cop_log invocation will cause segment fault, because va_list object in > cop_log is used twice between 'va_start' and 'va_end'. > {code} > Program received signal EXC_BAD_ACCESS, Could not access memory. > Reason: KERN_INVALID_ADDRESS at address: 0x > 0x7fff846b64f0 in strlen () > (gdb) bt > #0 0x7fff846b64f0 in strlen () > #1 0x7fff846578c3 in __vfprintf () > #2 0x7fff846a109b in vsprintf_l () > #3 0x00011883 in cop_log (priority=5, format=0x172a8 "--- Cop > Starting [Version: %s] ---\n") at TrafficCop.cc:172 > #4 0x00012244 in check_lockfile () at TrafficCop.cc:1733 > #5 0x000122c0 in init () at TrafficCop.cc:1894 > #6 0x00016689 in main (argc=1, argv=0x7fff5fbffbb0) at > TrafficCop.cc:1958 > {code} > Reference: > http://pubs.opengroup.org/onlinepubs/009695399/basedefs/stdarg.h.html -- 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
[jira] [Assigned] (TS-1065) traffic_cop segment fault when enable TRACE_LOG_COP
[ https://issues.apache.org/jira/browse/TS-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Galić reassigned TS-1065: -- Assignee: Igor Galić (was: Leif Hedstrom) > traffic_cop segment fault when enable TRACE_LOG_COP > --- > > Key: TS-1065 > URL: https://issues.apache.org/jira/browse/TS-1065 > Project: Traffic Server > Issue Type: Bug >Affects Versions: 3.1.1, 3.0.2 > Environment: mac os 10.7.2, centos 5.4 64bit >Reporter: Conan Wang >Assignee: Igor Galić >Priority: Minor > Fix For: 3.1.2 > > Attachments: traffic_cop.diff > > > When enable traffic_cop's debug log: #define TRACE_LOG_COP 1 > Some cop_log invocation will cause segment fault, because va_list object in > cop_log is used twice between 'va_start' and 'va_end'. > {code} > Program received signal EXC_BAD_ACCESS, Could not access memory. > Reason: KERN_INVALID_ADDRESS at address: 0x > 0x7fff846b64f0 in strlen () > (gdb) bt > #0 0x7fff846b64f0 in strlen () > #1 0x7fff846578c3 in __vfprintf () > #2 0x7fff846a109b in vsprintf_l () > #3 0x00011883 in cop_log (priority=5, format=0x172a8 "--- Cop > Starting [Version: %s] ---\n") at TrafficCop.cc:172 > #4 0x00012244 in check_lockfile () at TrafficCop.cc:1733 > #5 0x000122c0 in init () at TrafficCop.cc:1894 > #6 0x00016689 in main (argc=1, argv=0x7fff5fbffbb0) at > TrafficCop.cc:1958 > {code} > Reference: > http://pubs.opengroup.org/onlinepubs/009695399/basedefs/stdarg.h.html -- 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
[jira] [Assigned] (TS-1065) traffic_cop segment fault when enable TRACE_LOG_COP
[ https://issues.apache.org/jira/browse/TS-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leif Hedstrom reassigned TS-1065: - Assignee: Leif Hedstrom > traffic_cop segment fault when enable TRACE_LOG_COP > --- > > Key: TS-1065 > URL: https://issues.apache.org/jira/browse/TS-1065 > Project: Traffic Server > Issue Type: Bug >Affects Versions: 3.1.1, 3.0.2 > Environment: mac os 10.7.2, centos 5.4 64bit >Reporter: Conan Wang >Assignee: Leif Hedstrom >Priority: Minor > Fix For: 3.1.2 > > Attachments: traffic_cop.diff > > > When enable traffic_cop's debug log: #define TRACE_LOG_COP 1 > Some cop_log invocation will cause segment fault, because va_list object in > cop_log is used twice between 'va_start' and 'va_end'. > {code} > Program received signal EXC_BAD_ACCESS, Could not access memory. > Reason: KERN_INVALID_ADDRESS at address: 0x > 0x7fff846b64f0 in strlen () > (gdb) bt > #0 0x7fff846b64f0 in strlen () > #1 0x7fff846578c3 in __vfprintf () > #2 0x7fff846a109b in vsprintf_l () > #3 0x00011883 in cop_log (priority=5, format=0x172a8 "--- Cop > Starting [Version: %s] ---\n") at TrafficCop.cc:172 > #4 0x00012244 in check_lockfile () at TrafficCop.cc:1733 > #5 0x000122c0 in init () at TrafficCop.cc:1894 > #6 0x00016689 in main (argc=1, argv=0x7fff5fbffbb0) at > TrafficCop.cc:1958 > {code} > Reference: > http://pubs.opengroup.org/onlinepubs/009695399/basedefs/stdarg.h.html -- 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