From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#707: 23.0.60; segmentation fault in gtkutil.c:update_frame_tool_bar Date: Fri, 15 Aug 2008 15:40:52 -0400 Message-ID: References: <87fxp9rmt1.fsf@stupidchicken.com> <87r68qqtr1.fsf@stupidchicken.com> Reply-To: Stefan Monnier , 707@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1218830926 1795 80.91.229.12 (15 Aug 2008 20:08:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Aug 2008 20:08:46 +0000 (UTC) Cc: Harald Maier , 707@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 15 22:09:38 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KU5bq-0000N8-02 for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Aug 2008 22:09:18 +0200 Original-Received: from localhost ([127.0.0.1]:35064 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KU5at-0005xU-BH for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Aug 2008 16:08:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KU5a5-0005X9-Ip for bug-gnu-emacs@gnu.org; Fri, 15 Aug 2008 16:07:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KU5a4-0005Wj-Vw for bug-gnu-emacs@gnu.org; Fri, 15 Aug 2008 16:07:29 -0400 Original-Received: from [199.232.76.173] (port=46705 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KU5a4-0005Wb-Kk for bug-gnu-emacs@gnu.org; Fri, 15 Aug 2008 16:07:28 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45966) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KU5a4-0006ZN-AJ for bug-gnu-emacs@gnu.org; Fri, 15 Aug 2008 16:07:28 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7FK7PmD027480; Fri, 15 Aug 2008 13:07:26 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7FJt6gU022626; Fri, 15 Aug 2008 12:55:06 -0700 X-Loop: don@donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 15 Aug 2008 19:55:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 707 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: wontfix Original-Received: via spool by 707-submit@emacsbugs.donarmstrong.com id=B707.121882950619497 (code B ref 707); Fri, 15 Aug 2008 19:55:06 +0000 Original-Received: (at 707) by emacsbugs.donarmstrong.com; 15 Aug 2008 19:45:06 +0000 Original-Received: from smtp-02.arnet.com.ar (smtp-02.arnet.com.ar [200.45.191.22]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m7FJj0FC019331 for <707@emacsbugs.donarmstrong.com>; Fri, 15 Aug 2008 12:45:02 -0700 Original-Received: (qmail 12332 invoked from network); 15 Aug 2008 19:39:06 -0000 Original-Received: from unknown (HELO ceviche.home) (190.137.23.154) by 0 with SMTP; 15 Aug 2008 19:39:06 -0000 Original-Received: by ceviche.home (Postfix, from userid 20848) id 6FE1670CF2; Fri, 15 Aug 2008 15:40:52 -0400 (EDT) In-Reply-To: <87r68qqtr1.fsf@stupidchicken.com> (Chong Yidong's message of "Fri, 15 Aug 2008 09:42:58 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 15 Aug 2008 16:07:29 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19481 Archived-At: >>>> I am using the new "newsticker tree view" under GNU/Linux and GTK+ >>>> 2.8.11. Very often I get a segmentation fault in the function >>>> update_frame_tool_bar. >>> >>> Could you do two things: >>> >>> 1. Recompile without optimization (CFLAGS="-g" ./configure; make) >> >> Without optimization the problem disapears. See too bug number 601. > Looks like a compiler bug. Upgrading to a newer version of gcc might > fix it. In 90% of the cases, if a program crashes when compiled with optimization but runs fine when compiled without optimization, the problem is actually not a compiler bug. It's just that the C language has many "undefined" behaviors, and programmers tend to assume a lot more than the language actually guarantees. Stefan