From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.windriver.com ([147.11.1.11]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1UKAjN-0005r8-8g for openembedded-core@lists.openembedded.org; Mon, 25 Mar 2013 17:59:02 +0100 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id r2PGfjik025068 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 25 Mar 2013 09:41:45 -0700 (PDT) Received: from msp-mhatle-lx2.wrs.com (172.25.34.61) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.2.342.3; Mon, 25 Mar 2013 09:41:45 -0700 From: Mark Hatle To: Date: Mon, 25 Mar 2013 12:19:51 -0500 Message-ID: <1364231993-31670-1-git-send-email-mark.hatle@windriver.com> X-Mailer: git-send-email 1.8.1.2.545.g2f19ada MIME-Version: 1.0 X-Originating-IP: [172.25.34.61] Subject: [PATCH 0/2 RFC] workaround for debugedit segv X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Mar 2013 16:59:05 -0000 Content-Type: text/plain [ YOCTO #4089 ] This is an attempt at a workaround for the debugedit segv. The problem is that during the creation of the build-id hash, the system iterates over the various ELF sections passing a point to the loaded data and size of each section to a hash function. When it gets to the hash for the .plt and .bss section, the size is non-zero, while the data is point to 0. This immediately causes a segfault on access of data at address 0. See the bug and patch comments for more diagnostic information.