[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs-24.3 crash when browse-url
From: |
Thierry Volpiatto |
Subject: |
Re: Emacs-24.3 crash when browse-url |
Date: |
Tue, 04 Dec 2012 21:31:00 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.90 (gnu/linux) |
Stefan Monnier <address@hidden> 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 <address@hidden>
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 <address@hidden>
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
- Re: Emacs-24.3 crash when browse-url, (continued)
- Re: Emacs-24.3 crash when browse-url, Andreas Schwab, 2012/12/04
- Re: Emacs-24.3 crash when browse-url, Thierry Volpiatto, 2012/12/04
- Re: Emacs-24.3 crash when browse-url, Thierry Volpiatto, 2012/12/04
- Re: Emacs-24.3 crash when browse-url, Andreas Schwab, 2012/12/04
- Re: Emacs-24.3 crash when browse-url, Thierry Volpiatto, 2012/12/04
- Re: Emacs-24.3 crash when browse-url, Andreas Schwab, 2012/12/04
- Re: Emacs-24.3 crash when browse-url, Thierry Volpiatto, 2012/12/04
- Re: Emacs-24.3 crash when browse-url, Stefan Monnier, 2012/12/04
- Re: Emacs-24.3 crash when browse-url, Thierry Volpiatto, 2012/12/04
- Re: Emacs-24.3 crash when browse-url, Stefan Monnier, 2012/12/04
- Re: Emacs-24.3 crash when browse-url,
Thierry Volpiatto <=
- Re: Emacs-24.3 crash when browse-url, Andreas Schwab, 2012/12/04
- Re: Emacs-24.3 crash when browse-url, Thierry Volpiatto, 2012/12/05
- Re: Emacs-24.3 crash when browse-url, Stefan Monnier, 2012/12/04
- Re: Emacs-24.3 crash when browse-url, Paul Eggert, 2012/12/05