From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Elias Pipping Newsgroups: gmane.emacs.bugs Subject: bug#6031: gcc 4.5 breaks optimized builds of emacs Date: Tue, 27 Apr 2010 00:12:44 +0200 Message-ID: References: <877hnv8jse.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1272320804 24114 80.91.229.12 (26 Apr 2010 22:26:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Apr 2010 22:26:44 +0000 (UTC) Cc: 6031@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 27 00:26:42 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1O6WlF-00027b-0g for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Apr 2010 00:26:41 +0200 Original-Received: from localhost ([127.0.0.1]:39050 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6WlE-0006Px-7l for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Apr 2010 18:26:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6WkF-00068m-Hj for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 18:25:39 -0400 Original-Received: from [140.186.70.92] (port=60089 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6WkE-000681-3H for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 18:25:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6WkB-0006fC-BT for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 18:25:38 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51210) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6WkB-0006f6-49 for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 18:25:35 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O6WZ0-0004FH-4O; Mon, 26 Apr 2010 18:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Elias Pipping Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Apr 2010 22:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6031 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6031-submit@debbugs.gnu.org id=B6031.127231999216303 (code B ref 6031); Mon, 26 Apr 2010 22:14:02 +0000 Original-Received: (at 6031) by debbugs.gnu.org; 26 Apr 2010 22:13:12 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6WYB-0004Eu-OE for submit@debbugs.gnu.org; Mon, 26 Apr 2010 18:13:12 -0400 Original-Received: from mail-bw0-f214.google.com ([209.85.218.214]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6WY9-0004Em-44 for 6031@debbugs.gnu.org; Mon, 26 Apr 2010 18:13:10 -0400 Original-Received: by bwz6 with SMTP id 6so1762274bwz.39 for <6031@debbugs.gnu.org>; Mon, 26 Apr 2010 15:13:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=DBRngOcNE0Ef+eWsyiNL1buxbHR46jAsdmqg1ygfsXg=; b=eZ8iIyNmVPZAQ94en5iU1Zs9LsHEF2L7kOqnBouQaXQXb/y6MMa+Pa6GRZcpmuANiI NsAH4QGARtI35sQAKOOatBf+hE1fi/FGhaIeZAOh7ZKNMFm5l1sw5kiPDJ1EPWetxtf6 W5kyXx3Ixo7I0hPNDmhHposvjkHg5UZ9B5cP0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=BGZJpVXTaAthXaFAINAF6pTibQWVHWvXqKcK057O5spRg+VjePHoIV/58+mhN3U+np biconWs/kQ1Bhgr281dNdSRoCAHCxhGQoez4xN0liuUg/vbL0Ds/1VGG+wozBpf9ept8 EjZmp5kgK87A9EXCWImtWI1wdswBrw2aEPUYs= Original-Received: by 10.102.15.3 with SMTP id 3mr2717382muo.52.1272319984161; Mon, 26 Apr 2010 15:13:04 -0700 (PDT) Original-Received: by 10.103.240.12 with HTTP; Mon, 26 Apr 2010 15:12:44 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 26 Apr 2010 18:14:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:36535 Archived-At: On Mon, Apr 26, 2010 at 5:40 PM, Elias Pipping wrote: > On Sun, Apr 25, 2010 at 8:32 PM, Chong Yidong wro= te: >> Could you do me a favor, and check whether the problem also exists for >> the latest emacs-23 pretest at ftp://alpha.gnu.org/gnu/emacs/pretest/ ? > > It does not. Judging by the bisecting I did, the problem was introduced i= n > > =A0http://repo.or.cz/w/emacs.git/commit/5a98a2a69b1a15173ce4bfa53307608a7= 150b407 > > > Kind regards, > > Elias A slightly different version of this problem does appear in 23.1.96, though. A segfault when running in a terminal. This one doesn't occur right after the start, though. To trigger it, press C-x C-f and press four times. Here's what happens then: Program received signal SIGSEGV, Segmentation fault. build_frame_matrix_from_leaf_window (matrix=3D0xca5e30, w=3D0xa93f90) at dispnew.c:2824 2824 SET_CHAR_GLYPH_FROM_GLYPH (*border, right_border_glyp= h); (gdb) bt #0 build_frame_matrix_from_leaf_window (matrix=3D0xca5e30, w=3D0xa93f90) at dispnew.c:2824 #1 build_frame_matrix_from_window_tree (matrix=3D0xca5e30, w=3D0xa93f90) at dispnew.c:2720 #2 0x0000000000409601 in build_frame_matrix_from_window_tree (matrix=3D0xca5e30, w=3D0xf0a800) at dispnew.c:2716 #3 0x000000000040c24d in build_frame_matrix (f=3D0xa93d10, force_p=3D0, inhibit_hairy_id_p=3D0) at dispnew.c:2700 #4 update_frame (f=3D0xa93d10, force_p=3D0, inhibit_hairy_id_p=3D0) at dis= pnew.c:3951 #5 0x0000000000423c82 in redisplay_internal (preserve_echo_area=3D) at xdisp.c:11826 #6 0x00000000004769d5 in read_char (commandflag=3D1, nmaps=3D2, maps=3D0x7fffffffcdf0, prev_event=3D10938770, used_mouse_menu=3D0x7fffffffce74, end_time=3D0x0) at keyboard.c:2727 #7 0x00000000004790ed in read_key_sequence (keybuf=3D0x7fffffffcfa0, bufsize=3D30, prompt=3D10938770, dont_downcase_last=3D0, can_return_switch_frame=3D1, fix_current_buffer=3D1) at keyboard.c:9512 #8 0x000000000047aef1 in command_loop_1 () at keyboard.c:1643 #9 0x00000000004d41b4 in internal_condition_case (bfun=3D0x47ac15 , handlers=3D11006002, hfun=3D0x470aa2 ) at eval.c:1490 #10 0x000000000046ff66 in command_loop_2 () at keyboard.c:1360 #11 0x00000000004d4084 in internal_catch (tag=3D11103042, func=3D0x46ff4c , arg=3D10938770) at eval.c:1226 #12 0x0000000000470c02 in command_loop () at keyboard.c:1325 #13 0x0000000000470ce1 in recursive_edit_1 () at keyboard.c:954 #14 0x0000000000498809 in read_minibuf (map=3D10932022, initial=3D13617857, prompt=3D, backup_n=3D, expflag=3D0, histvar=3D, histpos=3D0, defalt=3D15330225, allow_props=3D0, inherit_input_method= =3D0) at minibuf.c:740 #15 0x0000000000498c78 in Fcompleting_read (prompt=3D8075209, collection=3D, predicate=3D, require_match=3D11074946, initial_input=3D, hist=3D11015314, def=3D15330225, inherit_input_method=3D10938770) at minibuf.c:1824 #16 0x00000000004d4d25 in Ffuncall (nargs=3D, args=3D0x7fffffffd4a8) at eval.c:3055 #17 0x000000000050736f in Fbyte_code (bytestr=3D, vector=3D, maxdepth=3D) at bytecode.c:680 #18 0x00000000004d6fbc in funcall_lambda (fun=3D8282029, nargs=3D4, arg_vector=3D0x7fffffffd778) at eval.c:3211 #19 0x00000000004d4d43 in Ffuncall (nargs=3D, args=3D0x7fffffffd770) at eval.c:3070 #20 0x000000000050736f in Fbyte_code (bytestr=3D, vector=3D, maxdepth=3D) at bytecode.c:680 #21 0x00000000004d6fbc in funcall_lambda (fun=3D8074637, nargs=3D2, arg_vector=3D0x7fffffffd948) at eval.c:3211 #22 0x00000000004d4d43 in Ffuncall (nargs=3D, args=3D0x7fffffffd940) at eval.c:3070 #23 0x000000000050736f in Fbyte_code (bytestr=3D, vector=3D, maxdepth=3D) at bytecode.c:680 #24 0x00000000004d6948 in Feval (form=3D) at eval.c:23= 52 #25 0x00000000004d1e42 in Fcall_interactively (function=3D11460274, record_flag=3D10938770, keys=3D10997285) at callint.c:365 #26 0x00000000004d4c42 in Ffuncall (nargs=3D, args=3D0x7fffffffdcd0) at eval.c:3030 #27 0x00000000004d4ee7 in call3 (fn=3D, arg1=3D, arg2=3D, arg3=3D) at eval.c:2850 #28 0x000000000047bc01 in command_loop_1 () at keyboard.c:1904 #29 0x00000000004d41b4 in internal_condition_case (bfun=3D0x47ac15 , handlers=3D11006002, hfun=3D0x470aa2 ) at eval.c:1490 #30 0x000000000046ff66 in command_loop_2 () at keyboard.c:1360 #31 0x00000000004d4084 in internal_catch (tag=3D10998562, func=3D0x46ff4c , arg=3D10938770) at eval.c:1226 #32 0x0000000000470c45 in command_loop () at keyboard.c:1339 #33 0x0000000000470ce1 in recursive_edit_1 () at keyboard.c:954 #34 0x0000000000470e2b in Frecursive_edit () at keyboard.c:1016 #35 0x000000000046db57 in main (argc=3D, argv=3D0x7fffffffe538) at emacs.c:1833 (gdb) this is with the same CC and CFLAGS as mentioned before (changing either appears to make the bug go away). Kind regards, Elias