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 21:31:00 +0100 Organization: Emacs Helm Message-ID: <878v9d5zln.fsf@gmail.com> References: <87mwxuhrso.fsf@gmail.com> <87y5hd6f23.fsf@gmail.com> <87pq2p6ebj.fsf@gmail.com> <87lidd6aam.fsf@gmail.com> <87hao166im.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1354653093 22342 80.91.229.3 (4 Dec 2012 20:31:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Dec 2012 20:31: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 21:31:45 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 1Tfz9Z-00015H-CD for ged-emacs-devel@m.gmane.org; Tue, 04 Dec 2012 21:31:41 +0100 Original-Received: from localhost ([::1]:37419 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tfz9N-0007Bb-5B for ged-emacs-devel@m.gmane.org; Tue, 04 Dec 2012 15:31:29 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tfz9E-00079o-7J for emacs-devel@gnu.org; Tue, 04 Dec 2012 15:31:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tfz97-0004eO-J8 for emacs-devel@gnu.org; Tue, 04 Dec 2012 15:31:20 -0500 Original-Received: from mail-wg0-f51.google.com ([74.125.82.51]:53328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tfz97-0004eI-CI for emacs-devel@gnu.org; Tue, 04 Dec 2012 15:31:13 -0500 Original-Received: by mail-wg0-f51.google.com with SMTP id gg4so1913505wgb.30 for ; Tue, 04 Dec 2012 12:31:12 -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=RhUqmEumoqeT4f0zupQxAeTU7xCOP/Y9/MCfmkL3LAo=; b=vo4DA+ciuqHKVmLVNVt+YW6N6GDpn1Wfcp/NAXfCd3BUVXOzTIbMkxgKCYWz71ZRiW p5y7o6AzUc3HPn1q/0+CmxcDU+K2LNUNNhz9TBdPjGTcurLg/a7LXLQvMTVxvhZNab+5 kvrPL8p+XeKeus8ltyKEEiOhz/bz0gpgaB/X7BIuw9g6LAzRUsPmevDw5gGOLO8+TSbv DFXar65xg1cWAkq/YnHIQXKklp9JwCZtB+7OExNgHD3QUWuW6fid/gGvnBO7JQ+sfWid 6swL80WIRPI//Vc/kfr6kDYiU0XWQFx2yJZFjnVZi2PUIVHqIM2de7v606rRdIHfnfuW z8Ug== Original-Received: by 10.180.88.71 with SMTP id be7mr6607354wib.17.1354653072242; Tue, 04 Dec 2012 12:31:12 -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 g2sm3410192wiy.0.2012.12.04.12.31.09 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Dec 2012 12:31:10 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Tue, 04 Dec 2012 13:45:28 -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: 74.125.82.51 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:155258 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) >>> 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--- > > Hmm... "binding stack not balanced (serious byte compiler bug)" means > that the specpdl stack (the stack of things that need to be unwound, > such as unwind-protects and dynamic let bindings) does not have the same > height at the end of (presumably) browse-url-xdg-open as it had at > the beginning. But as we see above, browse-url-xdg-open does not push > nor pop anything to/from that stack (it does push constants onto the > bytecode's execution stack, but that's a completely different stack). Thanks for explanation. > So, the specpdl stack was somehow messed up, presumably during the > execution of browse-url-xdg-open but apparently not by the byte code of > browse-url-xdg-open. It could be a problem in `call-process'. Ok, here the last working revision: --8<---------------cut here---------------start------------->8--- changeset: 123952:4d87702c495a user: Paul Eggert date: Mon Dec 03 13:07:47 2012 -0800 summary: * bytecode.c, lisp.h (Qbytecode): Remove. --8<---------------cut here---------------end--------------->8--- And the crash reappear when I compile from here: --8<---------------cut here---------------start------------->8--- changeset: 123953:342630a53fea user: Paul Eggert date: Mon Dec 03 13:42:12 2012 -0800 summary: Don't let call-process be a zombie factory. --8<---------------cut here---------------end--------------->8--- Hope that help. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997