#37 flock hangs, fcntl seg faults

open
nobody
None
5
2003-05-08
2003-05-08
Anonymous
No

Programs that use flock hang indefinitely and can't be
killed.

Programs that use fcntl to set a lock seg fault and oops:-

>>EIP; f89a7658 <[ogfs]ogfs_plock_act+1a8/570> <=====

>>ecx; c342b268 <_end+30d3518/384b5310>
>>edx; c1000020 <_end+ca82d0/384b5310>
>>esi; e8307980 <_end+27fafc30/384b5310>
>>edi; e2175d40 <_end+21e1dff0/384b5310>
>>ebp; f45b7600 <_end+3425f8b0/384b5310>
>>esp; e8ed1e88 <_end+28b7a138/384b5310>

Trace; c013d78c <__alloc_pages+4c/1a0>
Trace; c0130e03 <do_wp_page+103/300>
Trace; f8985899 <[ogfs]ogfs_lock_file+255/2d4>
Trace; c015ae37 <locks_remove_posix+d7/160>
Trace; c0144647 <filp_close+87/d0>
Trace; c0122fec <put_files_struct+6c/e0>
Trace; c01238fe <do_exit+11e/300>
Trace; c0123b13 <sys_exit+13/20>
Trace; c01093df <system_call+33/38>

Code; f89a7658 <[ogfs]ogfs_plock_act+1a8/570>
00000000 <_EIP>:
Code; f89a7658 <[ogfs]ogfs_plock_act+1a8/570> <=====
0: 8b 43 20 mov
0x20(%ebx),%eax <=====
Code; f89a765b <[ogfs]ogfs_plock_act+1ab/570>
3: 8b 54 24 38 mov 0x38(%esp,1),%edx
Code; f89a765f <[ogfs]ogfs_plock_act+1af/570>
7: 39 42 7c cmp %eax,0x7c(%edx)
Code; f89a7662 <[ogfs]ogfs_plock_act+1b2/570>
a: 89 de mov %ebx,%esi
Code; f89a7664 <[ogfs]ogfs_plock_act+1b4/570>
c: 75 e6 jne fffffff4
<_EIP+0xfffffff4>
Code; f89a7666 <[ogfs]ogfs_plock_act+1b6/570>
e: 0f be 54 24 57 movsbl 0x57(%esp,1),%edx
Code; f89a766b <[ogfs]ogfs_plock_act+1bb/570>
13: 0f 00 00 sldtl (%eax)

franco@robres.com.au

Discussion

  • Logged In: NO

    This was on 2.4.21-rc1 and using the no-pool tar-ball code.

     
  • Logged In: NO

    This was on 2.4.21-rc1 and using the no-pool tar-ball code.