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 605EC200BCC for ; Tue, 29 Nov 2016 18:30:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5F8F2160B15; Tue, 29 Nov 2016 17:30:00 +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 A9A49160AFC for ; Tue, 29 Nov 2016 18:29:59 +0100 (CET) Received: (qmail 49758 invoked by uid 500); 29 Nov 2016 17:29:58 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 49740 invoked by uid 99); 29 Nov 2016 17:29:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2016 17:29:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9BE692C03E6 for ; Tue, 29 Nov 2016 17:29:58 +0000 (UTC) Date: Tue, 29 Nov 2016 17:29:58 +0000 (UTC) From: "Sam Tunnicliffe (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CASSANDRA-12590) Segfault reading secondary index MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 29 Nov 2016 17:30:00 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sam Tunnicliffe resolved CASSANDRA-12590. ----------------------------------------- Resolution: Fixed Reproduced In: 3.7, 3.5 (was: 3.5, 3.7) Fix for CASSANDRA-12651 has been committed (in {{820e7a8d810828d29f98a68dc35be33b40a5de62}}) and as discussed, that very likely also fixes this issue. So, I'm closing this now but we should definitely re-open if it still manifests down the line. > Segfault reading secondary index > -------------------------------- > > Key: CASSANDRA-12590 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12590 > Project: Cassandra > Issue Type: Bug > Components: Local Write-Read Paths > Environment: Occurs on Cassandra 3.5 and 3.7 > Reporter: Cameron Zemek > Assignee: Sam Tunnicliffe > Priority: Critical > Fix For: 3.10 > > > Getting segfaults when reading secondary index as follows: > {code} > J 9272 C2 org.apache.cassandra.dht.LocalPartitioner$LocalToken.compareTo(Lorg/apache/cassandra/dht/Token;)I (53 bytes) @ 0x00007fd7354749b7 [0x00007fd735474840+0x177] > J 5661 C2 org.apache.cassandra.db.DecoratedKey.compareTo(Ljava/lang/Object;)I (9 bytes) @ 0x00007fd7351b35b8 [0x00007fd7351b3440+0x178] > J 14205 C2 java.util.concurrent.ConcurrentSkipListMap.doGet(Ljava/lang/Object;)Ljava/lang/Object; (142 bytes) @ 0x00007fd736404dd8 [0x00007fd736404cc0+0x118] > J 17764 C2 org.apache.cassandra.db.SinglePartitionReadCommand.queryMemtableAndDiskInternal(Lorg/apache/cassandra/db/ColumnFamilyStore;)Lorg/apache/cassandra/db/rows/UnfilteredRowIterator; (635 bytes) @ 0x00007fd736e09638 [0x00007fd736e08720+0xf18] > J 17808 C2 org.apache.cassandra.index.internal.CassandraIndexSearcher.search(Lorg/apache/cassandra/db/ReadExecutionController;)Lorg/apache/cassandra/db/partitions/UnfilteredPartitionIterator; (68 bytes) @ 0x00007fd736e01a48 [0x00007fd736e012a0+0x7a8] > J 14217 C2 org.apache.cassandra.db.ReadCommand.executeLocally(Lorg/apache/cassandra/db/ReadExecutionController;)Lorg/apache/cassandra/db/partitions/UnfilteredPartitionIterator; (219 bytes) @ 0x00007fd736417c1c [0x00007fd736416fa0+0xc7c] > J 14585 C2 org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow()V (337 bytes) @ 0x00007fd736541e6c [0x00007fd736541d60+0x10c] > J 14584 C2 org.apache.cassandra.service.StorageProxy$DroppableRunnable.run()V (48 bytes) @ 0x00007fd7357957b4 [0x00007fd735795760+0x54] > J 9648% C2 org.apache.cassandra.concurrent.SEPWorker.run()V (253 bytes) @ 0x00007fd735938d8c [0x00007fd7359356e0+0x36ac] > {code} > Which I have translated to the codepath: > org.apache.cassandra.dht.LocalPartitioner (Line 139) > org.apache.cassandra.db.DecoratedKey (Line 85) > java.util.concurrent.ConcurrentSkipListMap (Line 794) > org.apache.cassandra.db.SinglePartitionReadCommand (Line 498) > org.apache.cassandra.index.internal.CassandraIndexSearcher (Line 60) > org.apache.cassandra.db.ReadCommand (Line 367) -- This message was sent by Atlassian JIRA (v6.3.4#6332)