emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

auto-image-file-mode and non-ascii filenames


From: Alex Schroeder
Subject: auto-image-file-mode and non-ascii filenames
Date: Sun, 26 Dec 2004 01:01:20 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

I think we said that bug reports should be sent to emacs-devel, right?

I use (prefer-coding-system 'utf-8) in my .emacs eventhough my locale
is Latin 1.  This Emacs CVS is a few days old.

I have a session that uses lots of coding system stuff, with ERC,
Gnus, and lots of other stuff running, and lots of image files opened
and closed.  I cannot reproduce this problem on emacs -q using the
same files and some opening and closing.

One of the files is called 'öl.png' (utf-8 encoded).

When I open this image from dired with auto-image-file-mode enabled,
Emacs just hangs.  I'm not sure this has anything to do with the
non-ASCII filename.

Attaching gdb and using bt full:

#0  0x403d3812 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
#2  0x00000008 in ?? ()
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.
#4  0x08176119 in wait_reading_process_output (time_limit=0, microsecs=0, 
read_kbd=0,
    do_display=0, wait_for_cell=137362409, wait_proc=0x8ca03f0, 
just_wait_proc=0)
    at process.c:4349
        usecs = 696
        timeout_reduced_for_timers = 1
        channel = 9
        nfds = 0
        Available = {fds_bits = {456, 0 <repeats 31 times>}}
        Connecting = {fds_bits = {0 <repeats 32 times>}}
        check_connect = 0
        check_delay = 0
        no_avail = 0
        xerrno = 4
        proc = -1073747136
        timeout = {tv_sec = 41, tv_usec = 120000}
        end_time = {tv_sec = 0, tv_usec = 0}
        wait_channel = 8
        got_some_input = 0
        saved_waiting_for_user_input_p = -1
#5  0x08175641 in Faccept_process_output (process=147457012, timeout=0,
    timeout_msecs=137362409, just_this_one=137362409) at process.c:3778
        carry = 0
        seconds = 0
        useconds = 0
#6  0x08146649 in Ffuncall (nargs=2, args=0xbfffedd0) at eval.c:2774
        fun = 137084184
        funcar = 0
        numargs = 1
        lisp_numargs = -514
        val = 0
        backtrace = {next = 0xbfffef20, function = 0xbfffee40, args = 
0xbfffee44,
  nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0'}
        internal_args = (int *) 0xbfffedd0
        i = 0
#7  0x0816f20d in Fbyte_code (bytestr=138114633, vector=1, maxdepth=-1073746368)
    at bytecode.c:686
        op = 1
        vectorp = (int *) 0x8cc04d8
        stack = {pc = 0x8cccac5 "\210\016)@Ø\230\203½", top = 0xbfffee44,
  bottom = 0xbfffee40, byte_string = 147234587,
  byte_string_start = 0x8ccca04 "\212Æ 
\210`\030Ç\t!\032È\211\033\034È\211\035\036!\nÈ=\206$", constants = 147588308, 
next = 0xbfffefa0}
        top = (int *) 0xbfffee40
#8  0x0814696d in funcall_lambda (fun=147588604, nargs=0, arg_vector=0xbfffef74)
    at eval.c:2961
        val = -514
        syms_left = 137362409
        next = 147588600
        i = 0
        optional = 1
        rest = 0
#9  0x0814651c in Ffuncall (nargs=1, args=0xbfffef70) at eval.c:2831
        fun = 147588604
        funcar = 0
        numargs = 0
        lisp_numargs = -514
        val = 0
        backtrace = {next = 0xbffff040, function = 0xbfffef70, args = 
0xbfffef74,
  nargs = 0, evalargs = 0 '\0', debug_on_exit = 0 '\0'}
        internal_args = (int *) 0xbfffef70
        i = 0
#10 0x0816f20d in Fbyte_code (bytestr=137420097, vector=0, maxdepth=-1073746064)
    at bytecode.c:686
        op = 0
        vectorp = (int *) 0x8cc02f8
        stack = {pc = 0x8ccc936 "\210p\024`\025\2024", top = 0xbfffef70,
  bottom = 0xbfffef70, byte_string = 147234683,
  byte_string_start = 0x8ccc91c "\b\031Æ \203\023", constants = 147587828, next 
= 0x0}
        top = (int *) 0xbfffef70
#11 0x0814696d in funcall_lambda (fun=147588020, nargs=0, arg_vector=0xbffff10c)
    at eval.c:2961
        val = -514
        syms_left = 137362409
        next = 147588016
        i = 0
        optional = 0
        rest = 0
#12 0x0814651c in Ffuncall (nargs=1, args=0xbffff108) at eval.c:2831
        fun = 147588020
        funcar = 0
        numargs = 0
        lisp_numargs = -514
        val = 0
        backtrace = {next = 0xbffff140, function = 0xbffff108, args = 
0xbffff10c,
  nargs = 0, evalargs = 0 '\0', debug_on_exit = 0 '\0'}
        internal_args = (int *) 0xbffff108
        i = 0
#13 0x0814611c in run_hook_with_args (nargs=1, args=0xbffff108, 
cond=to_completion)
    at eval.c:2442
        sym = 137415433
        val = 157469741
        ret = 157510509
        globals = 0
        gcpro1 = {next = 0x0, var = 0x0, nvars = 0}

etc.

Here is the complete thing, but without full:

#0  0x403d3812 in select () from /lib/libc.so.6
#1  0x00000000 in ?? ()
#2  0x00000008 in ?? ()
#3  0x00000000 in ?? ()
#4  0x08176119 in wait_reading_process_output (time_limit=0, microsecs=0, 
read_kbd=0,
    do_display=0, wait_for_cell=137362409, wait_proc=0x8ca03f0, 
just_wait_proc=0)
    at process.c:4349
#5  0x08175641 in Faccept_process_output (process=147457012, timeout=0,
    timeout_msecs=137362409, just_this_one=137362409) at process.c:3778
#6  0x08146649 in Ffuncall (nargs=2, args=0xbfffedd0) at eval.c:2774
#7  0x0816f20d in Fbyte_code (bytestr=138114633, vector=1, maxdepth=-1073746368)
    at bytecode.c:686
#8  0x0814696d in funcall_lambda (fun=147588604, nargs=0, arg_vector=0xbfffef74)
    at eval.c:2961
#9  0x0814651c in Ffuncall (nargs=1, args=0xbfffef70) at eval.c:2831
#10 0x0816f20d in Fbyte_code (bytestr=137420097, vector=0, maxdepth=-1073746064)
    at bytecode.c:686
#11 0x0814696d in funcall_lambda (fun=147588020, nargs=0, arg_vector=0xbffff10c)
    at eval.c:2961
#12 0x0814651c in Ffuncall (nargs=1, args=0xbffff108) at eval.c:2831
#13 0x0814611c in run_hook_with_args (nargs=1, args=0xbffff108, 
cond=to_completion)
    at eval.c:2442
#14 0x08145fc5 in Frun_hooks (nargs=1, args=0xbffff1b4) at eval.c:2310
#15 0x08146701 in Ffuncall (nargs=2, args=0xbffff1b0) at eval.c:2755
#16 0x08146328 in call1 (fn=137447289, arg1=137415433) at eval.c:2568
#17 0x080e6397 in safe_run_hooks_1 (hook=137362457) at keyboard.c:2037
#18 0x081449ea in internal_condition_case (bfun=0x80e6380 <safe_run_hooks_1>,
    handlers=137362457, hfun=0x80e63a0 <safe_run_hooks_error>) at eval.c:1384
#19 0x080e642b in safe_run_hooks (hook=137415433) at keyboard.c:2065
#20 0x080e4db4 in command_loop_1 () at keyboard.c:1804
#21 0x081449ea in internal_condition_case (bfun=0x80e4a10 <command_loop_1>,
    handlers=137423409, hfun=0x80e4500 <cmd_error>) at eval.c:1384
#22 0x080e4826 in command_loop_2 () at keyboard.c:1312
#23 0x0814452a in internal_catch (tag=-514, func=0x80e4800 <command_loop_2>,
    arg=137362409) at eval.c:1144
#24 0x080e47d5 in command_loop () at keyboard.c:1291
#25 0x080e4240 in recursive_edit_1 () at keyboard.c:984
#26 0x080e438c in Frecursive_edit () at keyboard.c:1045
#27 0x080e29e6 in main (argc=1, argv=0xbffff914) at emacs.c:1760



In GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2004-12-19 on confusibombus
Distributor `The X.Org Foundation', version 11.0.60700000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.ISO8859-1
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-topic-mode: t
  gnus-undo-mode: t
  recentf-mode: t
  iswitchb-mode: t
  auto-image-file-mode: t
  file-name-shadow-mode: t
  display-time-mode: t
  auto-compression-mode: t
  show-paren-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:
<help-echo> <help-echo> C-c n M-x r e p o r t <tab> 
<return>

Recent messages:
Loading byte-opt...done
nnml: Reading incoming mail (no new mail)...done
Opening nntp server on news.gnus.org...done
Opening nnfolder server...done
Opening nndoc server on /home/alex/mailer-daemon...done
Opening nntp server on news.gmane.org...done
Opening nntp server on news.hispeed.ch...done
Checking new news...done
Loading gnus-topic...done
Loading emacsbug...done

-- 
.O.  http://www.emacswiki.org/alex/
..O  Schroeder's fifth law:
OOO  Never accept more work than you can handle in one night of hacking.




reply via email to

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