Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6237796AA for ; Mon, 26 Mar 2012 07:31:21 +0000 (UTC) Received: (qmail 80738 invoked by uid 500); 26 Mar 2012 07:31:19 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 80717 invoked by uid 500); 26 Mar 2012 07:31:18 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 80701 invoked by uid 99); 26 Mar 2012 07:31:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 07:31:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mac.miklas@googlemail.com designates 209.85.214.172 as permitted sender) Received: from [209.85.214.172] (HELO mail-ob0-f172.google.com) (209.85.214.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 07:31:12 +0000 Received: by obbtb4 with SMTP id tb4so5744888obb.31 for ; Mon, 26 Mar 2012 00:30:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=AABA2q96zsG5m/OU+lgo8kgI573J20jTnJuYnpJ6Qtg=; b=hubo+4kVT72dSpULuQaP11wambWfzb+yVa7/y/rWwXcO7epzgGixSxaWc+Ml57CIrI m0c7zR0ZRLLjeRfB37CVvSGsIlW3Sz2lK+q3spu4sKQnnn38uZ3Byq9bpbdJuOdt9Ybb dlXhUKngE0W3Nc2+npqiVEH9Ot1N8MocOCQMYZigZMspv5MmPZ9yGHSKh0ZqT891THD8 buy2DCZIOWC2BaR4DLyp5VtKYjI3ngO87e2XdE3rilxAPW/3a+lEVkd5LfPDfU4pYr9O t43UjHFFOEdr8Plz2xyEAVCdISOOfqp2OxXqda7CNMI4isS4qUJ12Frk1sBmhr2Mko// Lv9g== MIME-Version: 1.0 Received: by 10.60.27.170 with SMTP id u10mr26554722oeg.50.1332747051560; Mon, 26 Mar 2012 00:30:51 -0700 (PDT) Received: by 10.182.121.10 with HTTP; Mon, 26 Mar 2012 00:30:51 -0700 (PDT) Reply-To: mac.miklas@gmail.com In-Reply-To: References: Date: Mon, 26 Mar 2012 09:30:51 +0200 Message-ID: Subject: =?UTF-8?Q?Re=3A_Cassandra_=2D_crash_with_=E2=80=9Cfree=28=29_invalid_pointer?= =?UTF-8?Q?=E2=80=9D?= From: Maciej Miklas To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=e89a8f643316956fcf04bc205a9d --e89a8f643316956fcf04bc205a9d Content-Type: text/plain; charset=UTF-8 thanks - I will try it On Thu, Mar 22, 2012 at 10:15 PM, Ben Coverston wrote: > Use a version of the Java 6 runtime, Cassandra hasn't been tested at all > with the Java 7 runtime. > > > On Thu, Mar 22, 2012 at 1:27 PM, Benoit Perroud wrote: > >> Sounds like a race condition in the off heap caching while calling >> Unsafe.free(). >> >> Do you use cache ? What is your use case when you encounter this error >> ? Are you able to reproduce it ? >> >> >> 2012/3/22 Maciej Miklas : >> > Hi *, >> > >> > My Cassandra installation runs on flowing system: >> > >> > Linux with Kernel 2.6.32.22 >> > jna-3.3.0 >> > Java 1.7.0-b147 >> > >> > Sometimes we are getting following error: >> > >> > *** glibc detected *** /var/opt/java1.7/bin/java: free(): invalid >> pointer: >> > 0x00007f66088a6000 *** >> > ======= Backtrace: ========= >> > /lib/libc.so.6[0x7f661d7099a8] >> > /lib/libc.so.6(cfree+0x76)[0x7f661d70bab6] >> > /lib64/ld-linux-x86-64.so.2(_dl_deallocate_tls+0x59)[0x7f661e02f349] >> > /lib/libpthread.so.0[0x7f661de09237] >> > /lib/libpthread.so.0[0x7f661de0931a] >> > /lib/libpthread.so.0[0x7f661de0a0bd] >> > /lib/libc.so.6(clone+0x6d)[0x7f661d76564d] >> > ======= Memory map: ======== >> > 00400000-00401000 r-xp 00000000 68:07 537448203 >> > /var/opt/jdk1.7.0/bin/java >> > 00600000-00601000 rw-p 00000000 68:07 537448203 >> > /var/opt/jdk1.7.0/bin/java >> > 01bae000-01fd0000 rw-p 00000000 00:00 0 >> > [heap] >> > 01fd0000-15798000 rw-p 00000000 00:00 0 >> > [heap] >> > 40002000-40005000 ---p 00000000 00:00 0 >> > 40005000-40023000 rw-p 00000000 00:00 0 >> > 40030000-40033000 ---p 00000000 00:00 0 >> > 40033000-40051000 rw-p 00000000 00:00 0 >> > >> > Does anyone have similar problems? or maybe some hints? >> > >> > Thanks, >> > Maciej >> >> >> >> -- >> sent from my Nokia 3210 >> > > > > -- > Ben Coverston > DataStax -- The Apache Cassandra Company > > --e89a8f643316956fcf04bc205a9d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable thanks - I will try it

On Thu, Mar 22, 20= 12 at 10:15 PM, Ben Coverston <ben.coverston@datastax.com> wrote:
=
Use a version of the Java 6 runtime, Cassandra hasn't been tested at al= l with the Java 7 runtime.


On Thu, Mar 22, 2012 at 1:27 PM, Benoit Perroud <beno= it@noisette.ch> wrote:
Sounds like a race condition in the off heap= caching while calling
Unsafe.free().

Do you use cache ? What is your use case when you encounter this error
? Are you able to reproduce it ?


2012/3/22 Maciej Miklas <mac.miklas@googlemail.com>:
> Hi *,
>
> My Cassandra installation runs on flowing system:
>
> Linux with Kernel 2.6.32.22
> jna-3.3.0
> Java 1.7.0-b147
>
> Sometimes we are getting following error:
>
> *** glibc detected *** /var/opt/java1.7/bin/java: free(): invalid poin= ter:
> 0x00007f66088a6000 ***
> =3D=3D=3D=3D=3D=3D=3D Backtrace: =3D=3D=3D=3D=3D=3D=3D=3D=3D
> /lib/libc.so.6[0x7f661d7099a8]
> /lib/libc.so.6(cfree+0x76)[0x7f661d70bab6]
> /lib64/ld-linux-x86-64.so.2(_dl_deallocate_tls+0x59)[0x7f661e02f349] > /lib/libpthread.so.0[0x7f661de09237]
> /lib/libpthread.so.0[0x7f661de0931a]
> /lib/libpthread.so.0[0x7f661de0a0bd]
> /lib/libc.so.6(clone+0x6d)[0x7f661d76564d]
> =3D=3D=3D=3D=3D=3D=3D Memory map: =3D=3D=3D=3D=3D=3D=3D=3D
> 00400000-00401000 r-xp 00000000 68:07 537448203
> /var/opt/jdk1.7.0/bin/java
> 00600000-00601000 rw-p 00000000 68:07 537448203
> /var/opt/jdk1.7.0/bin/java
> 01bae000-01fd0000 rw-p 00000000 00:00 0
> [heap]
> 01fd0000-15798000 rw-p 00000000 00:00 0
> [heap]
> 40002000-40005000 ---p 00000000 00:00 0
> 40005000-40023000 rw-p 00000000 00:00 0
> 40030000-40033000 ---p 00000000 00:00 0
> 40033000-40051000 rw-p 00000000 00:00 0
>
> Does anyone have similar problems? or maybe some hints?
>
> Thanks,
> Maciej



--
sent from my Nokia 3210



--
Ben Coverston
DataStax -- The Apa= che Cassandra Company


--e89a8f643316956fcf04bc205a9d--