unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs-24.3 crash when browse-url
@ 2012-12-04 13:26 Thierry Volpiatto
  2012-12-04 13:40 ` Andreas Schwab
  0 siblings, 1 reply; 16+ messages in thread
From: Thierry Volpiatto @ 2012-12-04 13:26 UTC (permalink / raw)
  To: emacs-devel

Hi,
emacs crash when using M-x browse-url
I think the function that crash is `browse-url-xdg-open'
or its predicate `browse-url-can-use-xdg-open'.
There is no crash when using something else than
`browse-url-default-browser' for `browse-url-browser-function'
e.g:
(setq browse-url-browser-function 'browse-url-firefox)

This happen with this revision from trunk:

--8<---------------cut here---------------start------------->8---
changeset:   123958:5c920c28f35c
tag:         tip
user:        Katsumi Yamaoka <yamaoka@jpl.org>
date:        Tue Dec 04 08:22:12 2012 +0000
summary:     gmm-utils.el (gmm-flet, gmm-labels): New macros.
--8<---------------cut here---------------end--------------->8---

Here the BT.

--8<---------------cut here---------------start------------->8---
(gdb) run -Q
Starting program: /home/thierry/tmp/emacs-hg/src/emacs -Q
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=10) at emacs.c:313
313     {
(gdb) bt
#0  terminate_due_to_signal (sig=6, backtrace_limit=10) at emacs.c:313
#1  0x00000000004ed393 in emacs_abort () at sysdep.c:2132
#2  0x00000000005804f4 in exec_byte_code (bytestr=6, vector=140737488341064, maxdepth=20, 
    args_template=4611686019484352512, nargs=4611686018662268928, args=0x14) at bytecode.c:1955
#3  0x000000000054750f in funcall_lambda (fun=18195317, nargs=<optimized out>, arg_vector=0x7fffffffcb68) at eval.c:2903
#4  0x000000000054785d in Ffuncall (nargs=<optimized out>, args=0x7fffffffcb60) at eval.c:2732
#5  0x0000000000548a77 in Fapply (nargs=3, args=0x7fffffffcb60) at eval.c:2152
#6  0x0000000000547a9f in Ffuncall (nargs=<optimized out>, args=0x7fffffffcb58) at eval.c:2652
#7  0x000000000057db83 in exec_byte_code (bytestr=6, vector=140737488341848, maxdepth=20, 
    args_template=4611686019484352512, nargs=4611686018662268928, args=0x14) at bytecode.c:897
#8  0x000000000054750f in funcall_lambda (fun=18203597, nargs=<optimized out>, arg_vector=0x7fffffffce68) at eval.c:2903
#9  0x000000000054785d in Ffuncall (nargs=<optimized out>, args=0x7fffffffce60) at eval.c:2732
#10 0x0000000000548a77 in Fapply (nargs=3, args=0x7fffffffce60) at eval.c:2152
#11 0x0000000000547a9f in Ffuncall (nargs=<optimized out>, args=0x7fffffffce58) at eval.c:2652
#12 0x000000000057db83 in exec_byte_code (bytestr=6, vector=140737488342616, maxdepth=20, 
    args_template=4611686019484352512, nargs=4611686018662268928, args=0x14) at bytecode.c:897
#13 0x000000000054750f in funcall_lambda (fun=17204357, nargs=<optimized out>, arg_vector=0x7fffffffd038) at eval.c:2903
#14 0x000000000054785d in Ffuncall (nargs=<optimized out>, args=0x7fffffffd030) at eval.c:2732
#15 0x000000000054889d in Fapply (nargs=<optimized out>, args=0x7fffffffd0f0) at eval.c:2205
#16 0x0000000000547dc0 in apply1 (fn=16197490, arg=<optimized out>) at eval.c:2439
#17 0x0000000000543a15 in Fcall_interactively (function=16197490, record_flag=16716530, keys=19146278) at callint.c:377
#18 0x0000000000547a15 in Ffuncall (nargs=<optimized out>, args=0x7fffffffd2b0) at eval.c:2678
#19 0x0000000000547c84 in call3 (fn=<optimized out>, arg1=<optimized out>, arg2=<optimized out>, arg3=<optimized out>)
    at eval.c:2496
#20 0x00000000005479fe in Ffuncall (nargs=<optimized out>, args=0x7fffffffd3b8) at eval.c:2682
#21 0x000000000057db83 in exec_byte_code (bytestr=6, vector=140737488343992, maxdepth=20, 
    args_template=4611686019484352512, nargs=4611686018662268928, args=0x14) at bytecode.c:897
#22 0x000000000054750f in funcall_lambda (fun=9454405, nargs=<optimized out>, arg_vector=0x7fffffffd5a8) at eval.c:2903
#23 0x000000000054785d in Ffuncall (nargs=<optimized out>, args=0x7fffffffd5a0) at eval.c:2732
#24 0x000000000054889d in Fapply (nargs=<optimized out>, args=0x7fffffffd660) at eval.c:2205
#25 0x0000000000547dc0 in apply1 (fn=12309266, arg=<optimized out>) at eval.c:2439
#26 0x0000000000543a15 in Fcall_interactively (function=12309266, record_flag=12002370, keys=19138230) at callint.c:377
#27 0x0000000000547a15 in Ffuncall (nargs=<optimized out>, args=0x7fffffffd820) at eval.c:2678
#28 0x0000000000547c84 in call3 (fn=<optimized out>, arg1=<optimized out>, arg2=<optimized out>, arg3=<optimized out>)
    at eval.c:2496
#29 0x00000000004e14c3 in command_loop_1 () at keyboard.c:1576
#30 0x0000000000545dc8 in internal_condition_case (bfun=0x4e1140 <command_loop_1>, handlers=12053730, 
---Type <return> to continue, or q <return> to quit---
    hfun=0x4d6880 <cmd_error>) at eval.c:1192
#31 0x00000000004d4a2e in command_loop_2 (ignore=<optimized out>) at keyboard.c:1163
#32 0x0000000000545c8d in internal_catch (
    tag=<error reading variable: Cannot access memory at address 0xffffffffffffffe6>, func=0x4d4a10 <command_loop_2>, 
    arg=12002370) at eval.c:963
#33 0x00000000004d6367 in command_loop () at keyboard.c:1142
#34 recursive_edit_1 () at keyboard.c:774
#35 0x00000000004d6694 in Frecursive_edit () at keyboard.c:838
#36 0x0000000000410865 in main (argc=2, argv=<optimized out>) at emacs.c:1560

Lisp Backtrace:
"browse-url-xdg-open" (0xffffcb68)
"apply" (0xffffcb60)
"browse-url-default-browser" (0xffffce68)
"apply" (0xffffce60)
"browse-url" (0xffffd038)
"call-interactively" (0xffffd2b8)
"command-execute" (0xffffd3c0)
"execute-extended-command" (0xffffd5a8)
"call-interactively" (0xffffd828)
(gdb) 
--8<---------------cut here---------------end--------------->8---

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-12-05 19:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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).