lkml.org 
[lkml]   [1997]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectclone and file locking bug
Date
Hello,

I have a problem with all rescent kernels:

I have a program, which uses linuxthreads with the clone call.
If I lock a file with fcntl in a thread, the lock will never
be released if the program will be aborted with Ctrl-C.
cat /proc/locks when the program runs. After pressing Ctrl-C,
cat /proc/locks will result in a kernel fault with 2.1.35. With
pre-2.1.37-5, the system hangs complete.
I uses glibc 2.0.x and the glibc-linuxthreads.

Thorsten

--
Thorsten Kukuk kukuk@vt.uni-paderborn.de
http://www-vt.uni-paderborn.de/~kukuk/
Linux is like a Vorlon. It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.022 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site