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

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

bug#19607: issue with Emacs 24.4.1 but not with 24.3.1 : changed on disk


From: Paul Eggert
Subject: bug#19607: issue with Emacs 24.4.1 but not with 24.3.1 : changed on disk; really edit the buffer
Date: Fri, 23 Jan 2015 14:27:25 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Thanks, the key problem is the fourth time the breakpoint is hit, where the output in your log looks like this:

Breakpoint 3, Fverify_visited_file_modtime (buf=27021317) at fileio.c:5338
5338      if (timespec_cmp (mtime, b->modtime) == 0
(gdb) p mtime
$7 = {
  tv_sec = 1422018451,
  tv_nsec = 132061000
}
(gdb) p b->modtime
$8 = {
  tv_sec = 1422018451,
  tv_nsec = 40059000
}

The two time stamps should be the same, but the nanoseconds component differ (the tv_sec components are the same, which is why we don't observe any bugs in the strace output).

I suspect a bug in the file system. Can you please try running the attached program, with the current directory being that file system? It should take about 2 seconds. You might try running it twice (it may depend on whether the file already exists).

Attachment: test.c
Description: Text document


reply via email to

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