Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 19D51200C4E for ; Fri, 7 Apr 2017 00:08:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 186EA160B9F; Thu, 6 Apr 2017 22:08:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5FDA0160B91 for ; Fri, 7 Apr 2017 00:08:45 +0200 (CEST) Received: (qmail 90744 invoked by uid 500); 6 Apr 2017 22:08:44 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 90734 invoked by uid 99); 6 Apr 2017 22:08:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Apr 2017 22:08:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0B72118DD2B for ; Thu, 6 Apr 2017 22:08:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 9r7dcUJ1AZ0l for ; Thu, 6 Apr 2017 22:08:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D00B15FBC1 for ; Thu, 6 Apr 2017 22:08:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 64F94E0BCD for ; Thu, 6 Apr 2017 22:08:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id C30352406E for ; Thu, 6 Apr 2017 22:08:41 +0000 (UTC) Date: Thu, 6 Apr 2017 22:08:41 +0000 (UTC) From: "Andrew Schwartzmeyer (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (MESOS-6973) Fix BOOST random generator initialization on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 06 Apr 2017 22:08:46 -0000 [ https://issues.apache.org/jira/browse/MESOS-6973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Schwartzmeyer reassigned MESOS-6973: ------------------------------------------- Assignee: Li Li (was: Alex Clemmer) > Fix BOOST random generator initialization on Windows > ---------------------------------------------------- > > Key: MESOS-6973 > URL: https://issues.apache.org/jira/browse/MESOS-6973 > Project: Mesos > Issue Type: Bug > Reporter: Daniel Pravat > Assignee: Li Li > Labels: Windows, microsoft > > seed_rng::seed_rng does not produced the expected result in Windows since is using `/dev/urandom` file. > 0:005> k > # Child-SP RetAddr Call Site > 00 00000049`22dfc108 00007ff6`5193822f kernel32!CreateFileW > ... > 0e 00000049`22dfc660 00007ff6`502228fd mesos_agent!boost::uuids::detail::seed_rng::seed_rng+0x3d [d:\repositories\mesoswin\build\3rdparty\boost-1.53.0\src\boost-1.53.0\boost\uuid\seed_rng.hpp @ 80] > 0f 00000049`22dfc690 00007ff6`502591e3 mesos_agent!boost::uuids::detail::seed >+0x4d [d:\repositories\mesoswin\build\3rdparty\boost-1.53.0\src\boost-1.53.0\boost\uuid\seed_rng.hpp @ 246] > 10 00000049`22dfc790 00007ff6`50395518 mesos_agent!boost::uuids::basic_random_generator >::basic_random_generator >+0xd3 [d:\repositories\mesoswin\build\3rdparty\boost-1.53.0\src\boost-1.53.0\boost\uuid\random_generator.hpp @ 50] > 11 00000049`22dfc800 00007ff6`500ad140 mesos_agent!id::UUID::random+0x78 [d:\repositories\mesoswin\3rdparty\stout\include\stout\uuid.hpp @ 49] > 12 00000049`22dfc870 00007ff6`5007ff55 mesos_agent!mesos::internal::slave::Framework::launchExecutor+0x70 [d:\repositories\mesoswin\src\slave\slave.cpp @ 6301] > 13 00000049`22dfd520 00007ff6`502a0a35 mesos_agent!mesos::internal::slave::Slave::_run+0x2455 [d:\repositories\mesoswin\src\slave\slave.cpp @ 1990] > ... > 0:005> du @rcx > 000001d7`cc55fb60 "/dev/urandom" -- This message was sent by Atlassian JIRA (v6.3.15#6346)