Created attachment 12412 [details] gdb smbtree backtrace. When I called smbtree on my local network, I've found that after writing few servers of WORKGROUP on stdout it gets stuck and load cpu a lot. When I applied gdb, I've found out that it's do_fnctl stuck in libc, but I didn't find where do you call it in your code, backtrace is attached. The same is happens if I trying to connect to some peer(probably, which stuck) through using libsmbclient. Please, help me understand where problem is and/or fix it :)
Looks a duplicate of Bug 12105. *** This bug has been marked as a duplicate of bug 12105 ***