2007-05-25 20:10:42

by Matheus Izvekov

[permalink] [raw]
Subject: [2.6.21] BUG: at fs/inotify.c:172 set_dentry_child_flags()

Got this BUG_ON twice in a row, just found it by scrolling thru my
dmesg.

BUG: at fs/inotify.c:172 set_dentry_child_flags()
[<c01936fc>] set_dentry_child_flags+0x10c/0x1a0
[<c01937e3>] remove_watch_no_event+0x53/0x60
[<c0193b30>] inotify_destroy+0x50/0xb0
[<c01941a4>] inotify_release+0x14/0x60
[<c016a4d3>] __fput+0x93/0x190
[<c01678c7>] filp_close+0x47/0x80
[<c0120b12>] put_files_struct+0x92/0xb0
[<c0121ddc>] do_exit+0x12c/0x870
[<c01168e1>] do_page_fault+0x321/0x610
[<c0122544>] do_group_exit+0x24/0x80
[<c0103f72>] sysenter_past_esp+0x5f/0x85
=======================

this was probably triggered by this small shell script i have:

while true;
do
ls -1 \$MAIL/new/ | wc -l;
inotifywait -e CREATE -e DELETE -e MOVE \$MAIL/new/ > /dev/null 2>/dev/null || break;
done

$MAIL is mounted from a reiserfs filesystem.


2007-05-25 20:52:00

by Daniel Drake

[permalink] [raw]
Subject: Re: [2.6.21] BUG: at fs/inotify.c:172 set_dentry_child_flags()

Matheus Izvekov wrote:
> Got this BUG_ON twice in a row, just found it by scrolling thru my
> dmesg.
>
> BUG: at fs/inotify.c:172 set_dentry_child_flags()

http://bugzilla.kernel.org/show_bug.cgi?id=7785

If you can reproduce it, looks like some help diagnosing it would be useful.

Daniel