mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kone (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-6917) Segfault when the executor sets an invalid UUID when sending a status update.
Date Tue, 17 Jan 2017 14:01:26 GMT

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

Vinod Kone commented on MESOS-6917:
-----------------------------------

Backported to 1.0.x

commit 8083dfe82a3b9135ca7493d29a5033eb10ee07da
Author: Vinod Kone <vinodkone@gmail.com>
Date:   Tue Jan 17 14:59:31 2017 +0100

    Added MESOS-6917 to CHANGELOG for 1.0.3.

commit 1b68d74745454a5c9390923da770771c5acf968c
Author: Aaron Wood <aaron.wood@verizon.com>
Date:   Tue Jan 17 14:52:49 2017 +0100

    Fix segfault when the executor sets a UUID that is not a valid v4 UUID.
    
    This fixes the segfault that occurs when an executor sets a UUID
    that's not a valid v4 UUID and sends it off to the agent:
    
    Review: https://reviews.apache.org/r/55480/


> Segfault when the executor sets an invalid UUID  when sending a status update.
> ------------------------------------------------------------------------------
>
>                 Key: MESOS-6917
>                 URL: https://issues.apache.org/jira/browse/MESOS-6917
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 1.0.0, 1.0.1, 1.0.2, 1.1.0
>            Reporter: Aaron Wood
>            Assignee: Aaron Wood
>            Priority: Blocker
>              Labels: mesosphere
>             Fix For: 1.1.1, 1.2.0
>
>
> A segfault occurs when an executor sets a UUID that's not a valid v4 UUID and sends it
off to the agent:
> {code}
> ABORT: (../../3rdparty/stout/include/stout/try.hpp:77): Try::get() but state == ERROR:
Not a valid UUID
> *** Aborted at 1484262968 (unix time) try "date -d @1484262968" if you are using GNU
date ***
> PC: @     0x7efeb6101428 (unknown)
> *** SIGABRT (@0x36b7) received by PID 14007 (TID 0x7efeabd29700) from PID 14007; stack
trace: ***
>     @     0x7efeb64a6390 (unknown)
>     @     0x7efeb6101428 (unknown)
>     @     0x7efeb610302a (unknown)
>     @     0x560df739fa6e _Abort()
>     @     0x560df739fa9c _Abort()
>     @     0x7efebb53a5ad Try<>::get()
>     @     0x7efebb5363d6 Try<>::get()
>     @     0x7efebbd84809 mesos::internal::slave::validation::executor::call::validate()
>     @     0x7efebbb59b36 mesos::internal::slave::Slave::Http::executor()
>     @     0x7efebbc773b8 _ZZN5mesos8internal5slave5Slave10initializeEvENKUlRKN7process4http7RequestEE1_clES7_
>     @     0x7efebbcb5808 _ZNSt17_Function_handlerIFN7process6FutureINS0_4http8ResponseEEERKNS2_7RequestEEZN5mesos8internal5slave5Slave10initializeEvEUlS7_E1_E9_M_invokeERKSt9_Any_dataS7_
>     @     0x7efebbfb2aea std::function<>::operator()()
>     @     0x7efebcb158b8 _ZZZN7process11ProcessBase6_visitERKNS0_12HttpEndpointERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_5OwnedINS_4http7RequestEEEENKUlRK6OptionINSD_14authentication20AuthenticationResultEEE0_clESN_ENKUlbE1_clEb
>     @     0x7efebcb1a10a _ZZZNK7process9_DeferredIZZNS_11ProcessBase6_visitERKNS1_12HttpEndpointERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_5OwnedINS_4http7RequestEEEENKUlRK6OptionINSE_14authentication20AuthenticationResultEEE0_clESO_EUlbE1_EcvSt8functionIFT_T0_EEINS_6FutureINSE_8ResponseEEERKbEEvENKUlS12_E_clES12_ENKUlvE_clEv
>     @     0x7efebcb1c5f8 _ZNSt17_Function_handlerIFN7process6FutureINS0_4http8ResponseEEEvEZZNKS0_9_DeferredIZZNS0_11ProcessBase6_visitERKNS7_12HttpEndpointERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_5OwnedINS2_7RequestEEEENKUlRK6OptionINS2_14authentication20AuthenticationResultEEE0_clEST_EUlbE1_EcvSt8functionIFT_T0_EEIS4_RKbEEvENKUlS14_E_clES14_EUlvE_E9_M_invokeERKSt9_Any_data
>     @     0x7efebb5ce8ca std::function<>::operator()()
>     @     0x7efebb5c4b27 _ZZN7process8internal8DispatchINS_6FutureINS_4http8ResponseEEEEclIRSt8functionIFS5_vEEEES5_RKNS_4UPIDEOT_ENKUlPNS_11ProcessBaseEE_clESI_
>     @     0x7efebb5d4e1e _ZNSt17_Function_handlerIFvPN7process11ProcessBaseEEZNS0_8internal8DispatchINS0_6FutureINS0_4http8ResponseEEEEclIRSt8functionIFS9_vEEEES9_RKNS0_4UPIDEOT_EUlS2_E_E9_M_invokeERKSt9_Any_dataOS2_
>     @     0x7efebcb30baf std::function<>::operator()()
>     @     0x7efebcb13fd6 process::ProcessBase::visit()
>     @     0x7efebcb1f3c8 process::DispatchEvent::visit()
>     @     0x7efebb3ab2ea process::ProcessBase::serve()
>     @     0x7efebcb0fe8a process::ProcessManager::resume()
>     @     0x7efebcb0c5a3 _ZZN7process14ProcessManager12init_threadsEvENKUt_clEv
>     @     0x7efebcb1ea34 _ZNSt12_Bind_simpleIFZN7process14ProcessManager12init_threadsEvEUt_vEE9_M_invokeIJEEEvSt12_Index_tupleIJXspT_EEE
>     @     0x7efebcb1e98a _ZNSt12_Bind_simpleIFZN7process14ProcessManager12init_threadsEvEUt_vEEclEv
>     @     0x7efebcb1e91a _ZNSt6thread5_ImplISt12_Bind_simpleIFZN7process14ProcessManager12init_threadsEvEUt_vEEE6_M_runEv
>     @     0x7efeb6980c80 (unknown)
>     @     0x7efeb649c6ba start_thread
>     @     0x7efeb61d282d (unknown)
> Aborted (core dumped)
> {code}
> https://reviews.apache.org/r/55480/



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

Mime
View raw message