lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJfpeguywUhetMDHJyQp0faAf8h4Ht4f1aNpCss1yF9OndToWg@mail.gmail.com>
Date:	Wed, 11 Dec 2013 16:35:25 +0100
From:	Miklos Szeredi <miklos@...redi.hu>
To:	"Liu, Chuansheng" <chuansheng.liu@...el.com>
Cc:	"mszeredi@...e.cz" <mszeredi@...e.cz>,
	"fuse-devel@...ts.sourceforge.net" <fuse-devel@...ts.sourceforge.net>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [fuse-devel] fuse try to freeze with lock held

On Wed, Nov 27, 2013 at 3:19 AM, Liu, Chuansheng
<chuansheng.liu@...el.com> wrote:
> Hit the below warning when enabling the CONFIG_DEBUG_LOCK_ALLOC,
> __fuse_request_send == >
> request_wait_answer == >
> wait_event_freezable == >
> try_to_freeze()
>
> But here the inode->i_mutex is hold yet in vfs_readdir().
>
> Could anyone give some help? Thanks.
>

Mainline doesn't have wait_event_freezable() in fuse.  What kernel
variant is this?

Thanks,
Miklos



>
> [ 3148.552435] Freezing user space processes ... [ 3148.557781]
> [ 3148.559505] =====================================
> [ 3148.564803] [ BUG: du/21716 still has locks held! ]
> [ 3148.570319] 3.10.16-261493-g1308ae2 #8 Tainted: G        W  O
>
> [ 3148.586082]  #0:  (&type->i_mutex_dir_key#3){......}, at: [<c1341dc6>] vfs_readdir+0x66/0xd0
> [ 3148.595967]
> [ 3148.595967] stack backtrace:
> [ 3148.600875] CPU: 2 PID: 21716 Comm: du Tainted: G        W  O 3.10.16-261493-g1308ae2 #8
> [ 3148.609973]  d7e494e0 d7e494e0 cca6be78 c1b0fccb cca6be90 c12913f1 c1db2cc5 d7e497e4
> [ 3148.618872]  000054d4 cca6beac cca6becc c1440d8b d7e494e0 f2557800 f12acedc 00000000
> [ 3148.627747]  00000000 00000000 d7e494e0 c125f100 cca6beb8 cca6beb8 f12ace40 f2557800
> [ 3148.636614] Call Trace:
> [ 3148.639395]  [<c1b0fccb>] dump_stack+0x16/0x18
> [ 3148.644375]  [<c12913f1>] debug_check_no_locks_held+0x91/0xa0
> [ 3148.650862]  [<c1440d8b>] __fuse_request_send+0x14b/0x320
> [ 3148.656961]  [<c125f100>] ? wake_up_bit+0x30/0x30
> [ 3148.662242]  [<c1440f71>] fuse_request_send+0x11/0x20
> [ 3148.667941]  [<c14455a9>] fuse_readdir+0x109/0x690
> [ 3148.673327]  [<c1341dc6>] ? vfs_readdir+0x66/0xd0
> [ 3148.678636]  [<c1b1bec5>] ? sub_preempt_count+0x45/0x60
> [ 3148.684503]  [<c1b15694>] ? mutex_lock_killable_nested+0x214/0x300
> [ 3148.691457]  [<c1341b60>] ? SyS_ioctl+0x90/0x90
> [ 3148.696553]  [<c1341dc6>] ? vfs_readdir+0x66/0xd0
> [ 3148.701857]  [<c1341b60>] ? SyS_ioctl+0x90/0x90
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> _______________________________________________
> fuse-devel mailing list
> fuse-devel@...ts.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fuse-devel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ