cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Petrov (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-12769) An invalid insert request crashes the C* node
Date Wed, 16 Nov 2016 15:41:59 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-12769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Petrov resolved CASSANDRA-12769.
-------------------------------------
       Resolution: Fixed
    Reproduced In: 3.9, 3.7  (was: 3.7, 3.9)

This looks like a duplicate of [CASSANDRA-12618], closing as a duplicate.

> An invalid insert request crashes the C* node
> ---------------------------------------------
>
>                 Key: CASSANDRA-12769
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12769
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL
>         Environment: osx, linux, windows, cassandra-driver-core-3.1.0
>            Reporter: Jérémi Kurzanski
>         Attachments: CrashNode.java
>
>
> The node crash with a OOM error when it receives an invalid insert including a plain
string instead of a List. 
> Here is an extract of the log : 
> {code}
> ERROR [Native-Transport-Requests-1] 2016-10-10 15:51:57,096 JVMStabilityInspector.java:141
- JVM state determined to be unstable.  Exiting forcefully due to:
> java.lang.OutOfMemoryError: Java heap space
>         at java.util.ArrayList.<init>(ArrayList.java:152) ~[na:1.8.0_60]
>         at org.apache.cassandra.serializers.ListSerializer.deserializeForNativeProtocol(ListSerializer.java:87)
~[apache-cassandra-3.9.jar:3.9]
>         at org.apache.cassandra.cql3.Lists$Value.fromSerialized(Lists.java:150) ~[apache-cassandra-3.9.jar:3.9]
>         at org.apache.cassandra.cql3.Lists$Marker.bind(Lists.java:255) ~[apache-cassandra-3.9.jar:3.9]
>         at org.apache.cassandra.cql3.Lists$Setter.execute(Lists.java:308) ~[apache-cassandra-3.9.jar:3.9]
> {code}
> Please find enclosed a unitTest to reproduce the problem. 



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

Mime
View raw message