From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.142.87.3 with SMTP id k3csp96202wfb; Sat, 21 Apr 2012 10:39:44 -0700 (PDT) Received: by 10.60.14.136 with SMTP id p8mr14670324oec.68.1335029983925; Sat, 21 Apr 2012 10:39:43 -0700 (PDT) Return-Path: Received: from rubyforge.org (50-56-192-79.static.cloud-ips.com. [50.56.192.79]) by mx.google.com with ESMTP id i9si5654566oba.126.2012.04.21.10.39.43; Sat, 21 Apr 2012 10:39:43 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 50.56.192.79 as permitted sender) client-ip=50.56.192.79; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 50.56.192.79 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 465583AFF4; Sat, 21 Apr 2012 17:39:43 +0000 (UTC) Received: from mail-gy0-f178.google.com (mail-gy0-f178.google.com [209.85.160.178]) by rubyforge.org (Postfix) with ESMTP id 06B35263042 for ; Sat, 21 Apr 2012 17:36:47 +0000 (UTC) Received: by ghbf1 with SMTP id f1so6639736ghb.23 for ; Sat, 21 Apr 2012 10:36:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=6r+LdEC3UgHFgkP9ThD7GiwGfWsIehKX4s3is6HXkHc=; b=R36udXiCQuwD3Yw5lGoujP8QoMn39MwyRT1wfBDofh1VQJ+DmudJIH52Glw9dz3+w4 TuhtA75SWPnFT6kC+yAsvQbxYDd949GtHgUO+4qNXxdeJ+uHjdgp+IkxENnoUEtb/1al kT5wElA6hXfbfUvpqHUWneNDkfiHuwXrVMlk3Ym6tZldr5+xR6M18lHAdJiSq4fcDJhQ 7CDV33oNdmQvSLxtQMg/6fv80p5r2FD349urelUDjQwCoQRI+NprEqdYhZjK3jOwa8te ngtSwk20lAP0LZtEBddsFH7oAxEt6hSDkVyScA2QJNx3sSoWazcxWaMY6v4zI8HwzpX/ p/Ow== Received: by 10.236.181.70 with SMTP id k46mr9901881yhm.21.1335029807679; Sat, 21 Apr 2012 10:36:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.147.156.5 with HTTP; Sat, 21 Apr 2012 10:36:27 -0700 (PDT) In-Reply-To: <1334932275-turnsole-49140@terminus-est> References: <20120301151701.23555.84803@localhost> <1330985181-sup-8598@typhon> <1334932275-turnsole-49140@terminus-est> From: =?UTF-8?Q?Johann_Kl=C3=A4hn?= Date: Sat, 21 Apr 2012 19:36:27 +0200 Message-ID: To: William Morgan Cc: sup-talk Subject: Re: [sup-talk] [sup-devel] [heliotrope] crashes while importing X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Hi William, after running gdb I found the following on the debian bug tracker (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627818 on a bug related to ffmpeg): eglibc (2.13-3) unstable; urgency=low Starting with version 2.13, eglibc provides an SSSE3 optimized version of memcpy() on the amd64 architecture. This version might copy memory backward in some conditions, which causes issues if the source and destination overlap. memmove() should be used in such cases, but some programs still wrongly use memcpy(). The cause of the segmentation fault seems to be the call to memcpy() in PosixMmapFile::Append(leveldb::Slice const&) in leveldb/util/env_posix.cc. Please note that I am indeed on amd64 (and using glibc 2.15). Best wishes, Johann Stack trace follows: #0 0x00007ffff7755ce1 in __memcpy_ssse3_back () from /lib/libc.so.6 #1 0x00007ffff378e9dd in leveldb::(anonymous namespace)::PosixMmapFile::Append(leveldb::Slice const&) () from /home/joni/.gem/ruby/1.9.1/gems/leveldb-ruby-0.14/lib/leveldb/leveldb.so #2 0x00007ffff377b091 in leveldb::log::Writer::EmitPhysicalRecord(leveldb::log::RecordType, char const*, unsigned long) () from /home/joni/.gem/ruby/1.9.1/gems/leveldb-ruby-0.14/lib/leveldb/leveldb.so #3 0x00007ffff377b1e4 in leveldb::log::Writer::AddRecord(leveldb::Slice const&) () from /home/joni/.gem/ruby/1.9.1/gems/leveldb-ruby-0.14/lib/leveldb/leveldb.so #4 0x00007ffff3770b71 in leveldb::DBImpl::Write(leveldb::WriteOptions const&, leveldb::WriteBatch*) () from /home/joni/.gem/ruby/1.9.1/gems/leveldb-ruby-0.14/lib/leveldb/leveldb.so #5 0x00007ffff3770f25 in leveldb::DB::Put(leveldb::WriteOptions const&, leveldb::Slice const&, leveldb::Slice const&) () from /home/joni/.gem/ruby/1.9.1/gems/leveldb-ruby-0.14/lib/leveldb/leveldb.so #6 0x00007ffff3770f79 in leveldb::DBImpl::Put(leveldb::WriteOptions const&, leveldb::Slice const&, leveldb::Slice const&) () from /home/joni/.gem/ruby/1.9.1/gems/leveldb-ruby-0.14/lib/leveldb/leveldb.so #7 0x00007ffff376e323 in db_put(int, unsigned long*, unsigned long) () from /home/joni/.gem/ruby/1.9.1/gems/leveldb-ruby-0.14/lib/leveldb/leveldb.so #8 0x00007ffff7b177c3 in ?? () from /usr/lib/libruby.so.1.9 _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk