From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23083 invoked by alias); 5 Mar 2007 18:43:46 -0000 Received: (qmail 23074 invoked by uid 22791); 5 Mar 2007 18:43:45 -0000 X-Spam-Check-By: sourceware.org Received: from kz-easy.com (HELO almaty.kz-easy.com) (85.214.25.173) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 05 Mar 2007 18:43:36 +0000 Received: from alatau.radix50.net (dslb-088-064-023-101.pools.arcor-ip.net [88.64.23.101]) (authenticated bits=0) by almaty.kz-easy.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l25IhOIf015911 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 5 Mar 2007 19:43:25 +0100 Received: from alatau.radix50.net (localhost [127.0.0.1]) by alatau.radix50.net (8.13.8/8.13.8/Debian-2) with ESMTP id l25IhNlP004838 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 5 Mar 2007 19:43:24 +0100 Received: (from ibr@localhost) by alatau.radix50.net (8.13.8/8.13.8/Submit) id l25IhNBk004837 for gdb@sourceware.org; Mon, 5 Mar 2007 19:43:23 +0100 Date: Mon, 05 Mar 2007 18:43:00 -0000 From: Baurzhan Ismagulov To: gdb@sourceware.org Subject: backtrace in core on arm-linux Message-ID: <20070305184323.GA4506@radix50.net> Mail-Followup-To: gdb@sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00062.txt.bz2 Hello all, I can't get the backtrace in a core file on arm-linux. To reproduce: int main(void) { for (;;) printf("Hello, world!\n"); } Compile, run under gdb HEAD, press Ctrl-\, bt works: #0 0x400cb530 in write () from /lib/libc.so.6 #1 0x40080c40 in _IO_new_file_write () from /lib/libc.so.6 #2 0x4007f764 in new_do_write () from /lib/libc.so.6 #3 0x4007f86c in _IO_new_do_write () from /lib/libc.so.6 #4 0x400800f0 in _IO_new_file_overflow () from /lib/libc.so.6 #5 0x400816c4 in __overflow () from /lib/libc.so.6 #6 0x40078048 in puts () from /lib/libc.so.6 #7 0x000084bc in main () at b.c:7 Run from shell, press Ctrl-\, open core, bt shows: #0 0x400cb530 in write () from /lib/libc.so.6 #1 0x00003704 in ?? () #2 0x00003704 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) How can I fix this? Thanks in advance, -- Baurzhan Ismagulov http://www.kz-easy.com/