From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GPPNS-0004k6-UU for qemu-devel@nongnu.org; Mon, 18 Sep 2006 16:06:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GPPNR-0004jN-GC for qemu-devel@nongnu.org; Mon, 18 Sep 2006 16:06:02 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GPPNR-0004jI-8i for qemu-devel@nongnu.org; Mon, 18 Sep 2006 16:06:01 -0400 Received: from [64.233.182.188] (helo=nf-out-0910.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GPPQL-0005Ma-Dj for qemu-devel@nongnu.org; Mon, 18 Sep 2006 16:09:01 -0400 Received: by nf-out-0910.google.com with SMTP id p46so3688533nfa for ; Mon, 18 Sep 2006 13:05:59 -0700 (PDT) Message-ID: <564d96fb0609181305n14cf7afexefd50b5cd724428d@mail.gmail.com> Date: Mon, 18 Sep 2006 17:05:58 -0300 From: "=?UTF-8?Q?Rafael_Esp=C3=ADndola?=" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Qemu-devel] bug in ARM thumb usermode emulation Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: maemo-developers@maemo.org Running python 2.4 in qemu sometimes causes this assert Inconsistency detected by ld.so: rtld.c: 288: _dl_start_final: Assertion `info->l.l_tls_modid == 0' failed! The same error is present in all versions tested (0.8.1, 0.8.2 and CVS). I have been able to create a "small" ARM chroot that contais a test program and python 2.4. It is available at http://www.maemo.org.br/platform/rafael/qemu-bug.tar.bz2 The test program sets some environment variables and execs python. The test can be run with sudo chroot bug/ ./test An equivalent test program that skips qemu runs correctly in a real ARM device, so I thing that the bug is really in qemu. The bug is very dependent on the environment variables and argv. Small changes can hide the bug. Do you have any suggestions on how to debug this? Thanks, Rafael