From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.devel Subject: Re: Emacs-24.3 crash when browse-url Date: Tue, 04 Dec 2012 19:01:37 +0100 Organization: Emacs Helm Message-ID: <87hao166im.fsf@gmail.com> References: <87mwxuhrso.fsf@gmail.com> <87y5hd6f23.fsf@gmail.com> <87pq2p6ebj.fsf@gmail.com> <87lidd6aam.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1354644153 4560 80.91.229.3 (4 Dec 2012 18:02:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Dec 2012 18:02:33 +0000 (UTC) Cc: Andreas Schwab , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 04 19:02:44 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TfwpJ-0002NE-Gu for ged-emacs-devel@m.gmane.org; Tue, 04 Dec 2012 19:02:37 +0100 Original-Received: from localhost ([::1]:44241 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tfwp7-0007YL-I9 for ged-emacs-devel@m.gmane.org; Tue, 04 Dec 2012 13:02:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tfwon-0007Tn-97 for emacs-devel@gnu.org; Tue, 04 Dec 2012 13:02:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TfwoU-0007oO-VD for emacs-devel@gnu.org; Tue, 04 Dec 2012 13:02:05 -0500 Original-Received: from mail-wi0-f179.google.com ([209.85.212.179]:36647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfwoU-0007nc-Ne for emacs-devel@gnu.org; Tue, 04 Dec 2012 13:01:46 -0500 Original-Received: by mail-wi0-f179.google.com with SMTP id o1so680800wic.12 for ; Tue, 04 Dec 2012 10:01:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=6HhcIcVrfgqP7OL3fMlWw9nliAh34+wEclk1jrwLNSo=; b=n7sgZ02D0Y9EE4rfWydQWmtm+3QjFA0fbbzMaH+cT4a65J2m6EsCWltsvacLbSzlYK b8B0mSceEqEXC22lT+w/k49QhA6zI0gUd7qrpG9cGKDOmU9/7FbWD2SB9bUctl32i4a2 e2+DhqMPCipXyihVT/EVxdbxWPLn0RTrxfhf0iP3FKtNVKrh8oOUiDJ5Y3SVnzkimx1z uv75F/S9Iha5nZHsqd6PdOGcp9UwNNnQMb0/KHOUB9/REUXG9JVfYXNYuMxf616WI6WB 282pwNl5+yM+RCDS1V9RA0Igl4+MJSYBnd9X0t63QVdZjGILzpN88y+4zNWZh5SWLyKQ ZakQ== Original-Received: by 10.216.206.144 with SMTP id l16mr4965466weo.18.1354644105740; Tue, 04 Dec 2012 10:01:45 -0800 (PST) Original-Received: from dell-14z (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id u6sm2854333wif.2.2012.12.04.10.01.43 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Dec 2012 10:01:44 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Tue, 04 Dec 2012 12:21:35 -0500") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.212.179 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:155254 Archived-At: Stefan Monnier writes: >> Debugger entered--Lisp error: (error "binding stack not balanced (serious byte compiler bug)") >> browse-url-xdg-open("http://www.google.fr" nil) > > Hmm... Can you show us the result of > > M-x disassemble RET browse-url-xdg-open RET --8<---------------cut here---------------start------------->8--- byte code for browse-url-xdg-open: doc: Pass the specified URL to the "xdg-open" command. ... args: (url &optional ignored) interactive: (browse-url-interactive-arg "URL: ") 0 constant call-process 1 constant "xdg-open" 2 constant nil 3 constant 0 4 constant nil 5 varref url 6 call 5 7 return --8<---------------cut here---------------end--------------->8--- And while I am at it: --8<---------------cut here---------------start------------->8--- byte code for browse-url-can-use-xdg-open: doc: Return non-nil if the "xdg-open" program can be used. ... args: nil 0 constant getenv 1 constant "DISPLAY" 2 call 1 3 goto-if-nil-else-pop 1 6 constant executable-find 7 constant "xdg-open" 8 call 1 9 goto-if-nil-else-pop 1 12 constant executable-find 13 constant "nohup" 14 call 1 15 goto-if-nil-else-pop 1 18 constant getenv 19 constant "GNOME_DESKTOP_SESSION_ID" 20 call 1 21 goto-if-not-nil-else-pop 1 24 constant nil 25 constant 0 constant call-process 1 constant "dbus-send" 2 constant nil 3 dup 4 dup 5 constant "--dest=org.gnome.SessionManager" 6 constant "--print-reply" 7 constant "/org/gnome/SessionManager" 8 constant "org.gnome.SessionManager.CanShutdown" 9 call 8 11 constant 0 12 eq 13 return 26 constant ((error)) 27 condition-case 28 goto-if-not-nil-else-pop 1 31 constant getenv 32 constant "KDE_FULL_SESSION" 33 call 1 34 constant "true" 35 equal 36 goto-if-not-nil-else-pop 1 39 constant nil 40 constant 0 constant call-process 1 constant "/bin/sh" 2 constant nil 3 dup 4 dup 5 constant "-c" 6 constant "xprop -root _DT_SAVE_MODE|grep xfce4" 7 call 6 9 constant 0 10 eq 11 return 41 constant ((error)) 42 condition-case 43 goto-if-not-nil-else-pop 1 46 constant getenv 47 constant "DESKTOP_SESSION" 48 call 1 49 constant ("LXDE" "Lubuntu") 50 member 51 goto-if-not-nil-else-pop 1 54 constant getenv 55 constant "XDG_CURRENT_DESKTOP" 56 call 1 57 constant "LXDE" 58 equal 59:1 return --8<---------------cut here---------------end--------------->8--- > I suspect that your browse-url.elc file is somehow corrupted because > this function is very small and simple, so there's not much opportunity > for the byte-compiler to mess it up. Why would it be corrupted ? -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997