Re: 2.2.18: Thread problem with smbfs

2001-01-03 Thread Hans-Joachim Baader
Hi Urban, > Anyway, > gdb is doing strange things to your testprogram on ext2 as well. Does it > work for you? I have not been able to reproduce a gdb hang (you do know > that there is a while(1); in main ... ;-), but it generates a lot of smbfs > messages and in one case made smbfs stop working.

Re: 2.2.18: Thread problem with smbfs

2001-01-02 Thread Urban Widmark
On Wed, 20 Dec 2000, Hans-Joachim Baader wrote: > Then run the program. It should copy the files to the current > directory. Then run it under gdb. It should hang until you kill > gdb. Hello again (Sorry for the long response time but this really is the busiest time of the year, or maybe it's t

Re: 2.2.18: Thread problem with smbfs

2000-12-20 Thread Hans-Joachim Baader
Hi, Urban Widmark wrote: > I don't really know how signal delivery works within the kernel, but > smb_trans2_request tries to disable some signals. That does not work > (completely?) so either it needs fixing or the -512 errno needs to be > handled. > > Why so bad in gdb? perhaps it causes more

Re: 2.2.18: Thread problem with smbfs

2000-12-19 Thread Urban Widmark
On Tue, 19 Dec 2000, Hans-Joachim Baader wrote: > and so on, endlessly. So, AFAIK, smbfs thinks it has lost connection and > tells smbmount to re-establish it, which succeeds (at least smbmount > thinks so). This happens several times per second. -512 means that the recv was interrupted by a si

2.2.18: Thread problem with smbfs

2000-12-19 Thread Hans-Joachim Baader
Hi, I hava a strange problem with smbfs. My application creates threads that copy files from a mounted SMB share to the local disk. When I run the application normally, there's no problem. However when I run it in gdb 4.18 or 5.0, one of the threads goes into the D state (not always), and the who