emacs-devel
[Top][All Lists]
Advanced

[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 19:01:37 +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)
>
> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]