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 12664200D4A for ; Mon, 13 Nov 2017 21:23:07 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 10B6D160BF0; Mon, 13 Nov 2017 20:23:07 +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 59808160BF3 for ; Mon, 13 Nov 2017 21:23:06 +0100 (CET) Received: (qmail 44362 invoked by uid 500); 13 Nov 2017 20:23:05 -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 44353 invoked by uid 99); 13 Nov 2017 20:23:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Nov 2017 20:23:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 0BCAFC1C1F for ; Mon, 13 Nov 2017 20:23:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-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-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id PXHQs4PHuDFA for ; Mon, 13 Nov 2017 20:23:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 5F2165FC5E for ; Mon, 13 Nov 2017 20:23:01 +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 9CFDBE00C9 for ; Mon, 13 Nov 2017 20:23:00 +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 61811240D2 for ; Mon, 13 Nov 2017 20:23:00 +0000 (UTC) Date: Mon, 13 Nov 2017 20:23:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GEODE-3149) Protobuf protocol module will throw exceptions on some input MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 13 Nov 2017 20:23:07 -0000 [ https://issues.apache.org/jira/browse/GEODE-3149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250175#comment-16250175 ] ASF GitHub Bot commented on GEODE-3149: --------------------------------------- pivotal-jbarrett commented on issue #148: GEODE-3149: Removing the VectorT.hpp header file and typedefs URL: https://github.com/apache/geode-native/pull/148#issuecomment-344045796 @mhansonp Please resolve merge conflicts (rebase) and push. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org > Protobuf protocol module will throw exceptions on some input > ------------------------------------------------------------ > > Key: GEODE-3149 > URL: https://issues.apache.org/jira/browse/GEODE-3149 > Project: Geode > Issue Type: Bug > Components: client/server > Reporter: Brian Rowe > Fix For: 1.3.0 > > > The protobuf protocol handler needs to be able to handle any input on the incoming socket without crashing. > Right now closing the socket will cause a crash as we try to process a message from the empty stream (the bug here might be that the server connection shouldn't be trying to process a message here, but the protocol deserialization still needs to have much better error handling). > {code:java} > severe 2017/06/28 13:50:55.565 PDT tid=0x31] Uncaught exception in thread Thread[ServerConnection on port 22514 Thread 0,5,ServerConnection on port 22514] > java.lang.NullPointerException > at org.apache.geode.protocol.protobuf.ProtobufStreamProcessor.processOneMessage(ProtobufStreamProcessor.java:67) > at org.apache.geode.protocol.protobuf.ProtobufStreamProcessor.receiveMessage(ProtobufStreamProcessor.java:79) > at org.apache.geode.internal.cache.tier.sockets.GenericProtocolServerConnection.doOneMessage(GenericProtocolServerConnection.java:68) > at org.apache.geode.internal.cache.tier.sockets.ServerConnection.run(ServerConnection.java:1155) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at org.apache.geode.internal.cache.tier.sockets.AcceptorImpl$1$1.run(AcceptorImpl.java:552) > at java.lang.Thread.run(Thread.java:748) > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)