unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Andreas Schwab <schwab@linux-m68k.org>, emacs-devel@gnu.org
Subject: Re: Emacs-24.3 crash when browse-url
Date: Tue, 04 Dec 2012 19:01:37 +0100	[thread overview]
Message-ID: <87hao166im.fsf@gmail.com> (raw)
In-Reply-To: <jwvsj7lvipw.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 04 Dec 2012 12:21:35 -0500")

Stefan Monnier <monnier@iro.umontreal.ca> 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  <byte code>
   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  <byte code>
   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 



  reply	other threads:[~2012-12-04 18:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-04 13:26 Emacs-24.3 crash when browse-url Thierry Volpiatto
2012-12-04 13:40 ` Andreas Schwab
2012-12-04 14:29   ` Thierry Volpiatto
2012-12-04 14:57   ` Thierry Volpiatto
2012-12-04 15:01     ` Andreas Schwab
2012-12-04 15:13       ` Thierry Volpiatto
2012-12-04 16:16         ` Andreas Schwab
2012-12-04 16:40           ` Thierry Volpiatto
2012-12-04 17:21             ` Stefan Monnier
2012-12-04 18:01               ` Thierry Volpiatto [this message]
2012-12-04 18:45                 ` Stefan Monnier
2012-12-04 20:31                   ` Thierry Volpiatto
2012-12-04 21:19                     ` Andreas Schwab
2012-12-05 19:44                       ` Thierry Volpiatto
2012-12-04 21:21                     ` Stefan Monnier
2012-12-05 10:23                       ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hao166im.fsf@gmail.com \
    --to=thierry.volpiatto@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).