From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benno Evers Subject: bug#21767: Matching debug symbol and package versions Date: Tue, 27 Oct 2015 00:15:17 +0100 Message-ID: <562EB405.30207@bmevers.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqseN-0005WE-Co for bug-guix@gnu.org; Mon, 26 Oct 2015 21:02:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqseJ-0000h2-47 for bug-guix@gnu.org; Mon, 26 Oct 2015 21:02:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqseJ-0000gy-01 for bug-guix@gnu.org; Mon, 26 Oct 2015 21:02:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZqseI-00068R-HN for bug-guix@gnu.org; Mon, 26 Oct 2015 21:02:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqqz8-0002Ai-IY for bug-guix@gnu.org; Mon, 26 Oct 2015 19:15:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zqqz3-00067i-DE for bug-guix@gnu.org; Mon, 26 Oct 2015 19:15:26 -0400 Received: from vmd2375.contabo.host ([79.143.190.47]:56402 helo=localhost) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqqz3-00066T-6X for bug-guix@gnu.org; Mon, 26 Oct 2015 19:15:21 -0400 Received: from [192.168.0.105] (unknown [37.120.75.150]) by localhost (Postfix) with ESMTPSA id 6B6993C96 for ; Mon, 26 Oct 2015 23:15:18 +0000 (UTC) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 21767@debbugs.gnu.org Hi all, assume I have installed some package /gnu/store/xxx-daemon-1.0 After a while I notice that it's inexplicably hanging, so I do 'guix package -i daemon-1.0:debug', attach to the daemon with gdb, and...no debug symbols can be loaded! Turns out, in the meantime the hash has changed so i installed /gnu/store/yyy-daemon-1.0:debug It seems to me that there is currently no possibility to get the correct debug symbols. Worse, as civodul mentioned in chat, the package hash is part of the symbols itself, so I can't even cheat and force gdb manually to use the symbols for version yyy.