From issues-return-47140-archive-asf-public=cust-asf.ponee.io@geode.apache.org Mon Feb 4 23:50:08 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 77055180679 for ; Tue, 5 Feb 2019 00:50:07 +0100 (CET) Received: (qmail 18784 invoked by uid 500); 4 Feb 2019 23:50:06 -0000 Mailing-List: contact issues-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list issues@geode.apache.org Received: (qmail 18775 invoked by uid 99); 4 Feb 2019 23:50:06 -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; Mon, 04 Feb 2019 23:50:06 +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 264BA183E57 for ; Mon, 4 Feb 2019 23:50:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, 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 Q-uFsf9eh_7t for ; Mon, 4 Feb 2019 23:50:04 +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 BEBAC60E12 for ; Mon, 4 Feb 2019 23:50:02 +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 3E80DE26D6 for ; Mon, 4 Feb 2019 23:50:02 +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 D3EF624424 for ; Mon, 4 Feb 2019 23:50:00 +0000 (UTC) Date: Mon, 4 Feb 2019 23:50:00 +0000 (UTC) From: "Galen O'Sullivan (JIRA)" To: issues@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (GEODE-6359) ConcurrentModificationException in shutdown due to passing a collection to logger MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Galen O'Sullivan created GEODE-6359: --------------------------------------- Summary: ConcurrentModificationException in shutdown due to passing a collection to logger Key: GEODE-6359 URL: https://issues.apache.org/jira/browse/GEODE-6359 Project: Geode Issue Type: Bug Reporter: Galen O'Sullivan This occurred in a PR build, but appears unrelated from the changed code. It seems to be due to passing a collection into a logger, and that collection being modified while the logger is logging it. https://concourse.apachegeode-ci.info/builds/35340 {noformat} org.apache.geode.internal.cache.PartitionedRegionOffHeapEvictionDUnitTest > testEvictionValidationForLRUEntry_DatastoreFirst FAILED java.lang.AssertionError: Suspicious strings were written to the log during this run. Fix the strings or use IgnoredException.addIgnoredException to ignore. ----------------------------------------------------------------------- Found suspect string in log4j at line 2758 [fatal 2019/02/04 22:06:06.494 UTC tid=254] Uncaught exception processing ShutdownMessage DM 172.17.0.23(369):41004 has shutdown java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextNode(HashMap.java:1442) at java.util.HashMap$KeyIterator.next(HashMap.java:1466) at org.apache.geode.internal.logging.log4j.message.GemFireParameterizedMessage.recursiveDeepToString(GemFireParameterizedMessage.java:508) at org.apache.geode.internal.logging.log4j.message.GemFireParameterizedMessage.deepToString(GemFireParameterizedMessage.java:393) at org.apache.geode.internal.logging.log4j.message.GemFireParameterizedMessage.parseArguments(GemFireParameterizedMessage.java:178) at org.apache.geode.internal.logging.log4j.message.GemFireParameterizedMessage.(GemFireParameterizedMessage.java:131) at org.apache.geode.internal.logging.log4j.message.GemFireParameterizedMessageFactory.newMessage(GemFireParameterizedMessageFactory.java:57) at org.apache.logging.log4j.message.AbstractMessageFactory.newMessage(AbstractMessageFactory.java:91) at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:2036) at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1914) at org.apache.logging.log4j.spi.AbstractLogger.info(AbstractLogger.java:1450) at org.apache.geode.distributed.internal.membership.gms.membership.GMSJoinLeave.processLeaveRequest(GMSJoinLeave.java:614) at org.apache.geode.distributed.internal.membership.gms.membership.GMSJoinLeave.memberShutdown(GMSJoinLeave.java:1717) at org.apache.geode.distributed.internal.membership.gms.mgr.GMSMembershipManager.shutdownMessageReceived(GMSMembershipManager.java:1478) at org.apache.geode.distributed.internal.ClusterDistributionManager.shutdownMessageReceived(ClusterDistributionManager.java:2642) at org.apache.geode.distributed.internal.ShutdownMessage.process(ShutdownMessage.java:90) at org.apache.geode.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:367) at org.apache.geode.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:433) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.geode.distributed.internal.ClusterDistributionManager.runUntilShutdown(ClusterDistributionManager.java:956) at org.apache.geode.distributed.internal.ClusterDistributionManager.doHighPriorityThread(ClusterDistributionManager.java:834) at org.apache.geode.internal.logging.LoggingThreadFactory.lambda$newThread$0(LoggingThreadFactory.java:121) at java.lang.Thread.run(Thread.java:748) {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)