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

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

bug#21337: 25.0.50; inotify error message


From: Robert Pluim
Subject: bug#21337: 25.0.50; inotify error message
Date: Mon, 24 Aug 2015 18:51:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>>  '(dired-auto-revert-buffer (quote dired-directory-changed-p))
>>  '(global-auto-revert-mode t)
>>  '(global-auto-revert-non-file-buffers t)
>> 
>> although disabling those 3 makes no difference to the behaviour.
>
> Then I guess the next step is to set debug-on-error non-nil and show
> the backtrace, so that we see what Lisp code errors out.
>

I hadn't considered that, however it's not very enlightening:

Debugger entered--Lisp error: (file-notify-error "Error while trying to read 
file system events")

That error is coming from the inotify_callback function. From gdb the
c-backtrace is:

#0  inotify_callback (fd=16, _=<optimized out>) at inotify.c:139
#1  0x000000000059e3a0 in wait_reading_process_output (time_limit=<optimized 
out>, nsecs=<optimized out>, read_kbd=-1, 
    do_display=true, wait_for_cell=0, wait_proc=0x0, just_wait_proc=0) at 
process.c:5085
#2  0x0000000000422672 in sit_for (timeout=30, reading=112, display_option=0) 
at dispnew.c:5756
#3  0x00000000004fa6dd in read_char (commandflag=0, address@hidden, 
map=13674864, address@hidden, prev_event=-11, 
    used_mouse_menu=0xfffffffffffffea8, address@hidden, end_time=0xd0a990, 
address@hidden)
    at keyboard.c:2786
#4  0x00000000004fb469 in read_key_sequence (address@hidden, address@hidden, 
    address@hidden, address@hidden, 
    address@hidden, address@hidden, bufsize=30) at keyboard.c:9188
#5  0x00000000004fd171 in command_loop_1 () at keyboard.c:1406
#6  0x000000000055fbd7 in internal_condition_case (address@hidden 
<command_loop_1>, address@hidden, 
    address@hidden <cmd_error>) at eval.c:1356
#7  0x00000000004ef00c in command_loop_2 (address@hidden) at keyboard.c:1138
#8  0x000000000055fab3 in internal_catch (address@hidden, address@hidden 
<command_loop_2>, address@hidden)
    at eval.c:1116
#9  0x00000000004eefc9 in command_loop () at keyboard.c:1117
#10 0x00000000004f363b in recursive_edit_1 () at keyboard.c:723
#11 0x00000000004f3960 in Frecursive_edit () at keyboard.c:794
#12 0x00000000004187d6 in main (argc=1, argv=0x7fffffffdc38) at emacs.c:1629

xbacktrace gives no output at all.

printf time?

Regards

Robert





reply via email to

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