From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: On elisp running native Date: Tue, 04 Feb 2020 20:30:18 +0000 Message-ID: References: <83tv5mp48l.fsf@gnu.org> <83sgl0lchm.fsf@gnu.org> <83imlwl9vm.fsf@gnu.org> <83o8uegykm.fsf@gnu.org> <74dd94a9-28cb-a5fd-dbc7-ab21009834ad@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="59876"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 04 21:31:16 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iz4qo-000FOP-IU for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Feb 2020 21:31:14 +0100 Original-Received: from localhost ([::1]:37528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz4qn-0002g3-LV for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Feb 2020 15:31:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56636) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz4q8-0002CY-IA for emacs-devel@gnu.org; Tue, 04 Feb 2020 15:30:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz4q6-0008E6-E1 for emacs-devel@gnu.org; Tue, 04 Feb 2020 15:30:32 -0500 Original-Received: from mx.sdf.org ([205.166.94.20]:54663) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iz4q6-00087N-5a; Tue, 04 Feb 2020 15:30:30 -0500 Original-Received: from sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 014KUIfl006758 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO); Tue, 4 Feb 2020 20:30:19 GMT Original-Received: (from akrl@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 014KUISP021336; Tue, 4 Feb 2020 20:30:18 GMT In-Reply-To: <74dd94a9-28cb-a5fd-dbc7-ab21009834ad@cs.ucla.edu> (Paul Eggert's message of "Tue, 4 Feb 2020 11:00:45 -0800") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 205.166.94.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:244847 Archived-At: Paul Eggert writes: > On 2/4/20 10:39 AM, Andrea Corallo wrote: >> they are not run into the debugger so there's no line number (even if >> bootstrap-emacs has debug symbols). > > If you have debug symbols you can get more info via addr2line as > described here: > > https://www.gnu.org/software/emacs/manual/html_node/emacs/Crashing.html > > Running under a debugger is better, though. Thanks both for the suggestion. I knew about addr2line but never thought about using it with sed to convert backtraces! (also this signal I should read more the manual). I don't have that executable anymore but this will be certainly useful. Certainly know already but alternatively just compiling with -rdynamic in the CFLAGS we can have glibc decoding and printing the backtrace all by himself. Andrea -- akrl@sdf.org