

Program received signal SIGSEGV, Segmentation fault.Ġx0000000000609bbf in syscall_arg_scnprintf_ioctl_cmd (bf=0x1172eca "", size=2038, arg=0x7fffffff8360) at trace/beauty/ioctl.c:182ġ82 if (file->dev_maj = USB_DEVICE_MAJOR) We were crashing when processing a negative fd: Without its lock held, so taking off the lock to improve concurrency Since f2fs_readdir is protected by inode.i_rwsem, there should not beĪny updates in inode page, we're safe to lookup dents in inode page X4: d43dfc0c X3: d43dfc10 X2: d46799c8 X1: 00000000īelow potential deadlock will happen between three threads: PID: 9709 TASK: ffffffc03e7f3080 CPU: 1 COMMAND: "IntentService[A" > #3 rwsem_down_read_failed at ffffff8008a93afc Task stack is show by crash tools as following task 9709 held lock_page() and waiting mm_sem task 10349 held mm_sem and waiting sbi->cp_rwsemģ.

task 9785 held sbi->cp_rwsem and waiting lock_page()Ģ. Sometimes, dead lock when make system call SYS_getdents64 with fsync() isġ.
