Bug in VFS?

damien at carroll.com damien at carroll.com
Wed Mar 20 15:10:30 GMT 2002

--On Wednesday, March 20, 2002 11:13:12 -0800 jra at samba.org wrote:

> On Wed, Mar 20, 2002 at 11:49:00AM -0500, damien at carroll.com wrote:
>> Hello,
>> Last night I downloaded the latest from CVS in SAMBA_2_2 hoping to get
>> a working example of the VFS code. The build went fine (on FreeBSD 4.4)
>> with no errors, and I was able to build and install one of the example
>> VFS programs (audit.c) without any problems. While testing audit.c I
>> found that smbd would crash whenever I tried to create a new file or
>> directory. This problem only seems to occur when using VFS. Below is a
>> snip of my log file (log level 3), I did not want to send the whole
>> thing, but I can sent more if required.
>> Any ideas as to what might be causing this? If more debugging
>> information is required, please let me know and I would be happy to do
>> whatever I can.
> Did you do a make clean before rebuilding ?

Yes I did. In fact, I started fresh by downloading everything from CVS.

> I changed some internal data structure sizes in the VFS
> fixups - make clean is needed.
> I know the recycle module works (on Linux) - I'll see
> if I can test the audit one also.

One thing I also forgot to mention is that FreeBSD does not have a seperate 
libdl, it is part of libc. The configure script did not detect that I had 
the required library and therefore I had to manually add it to 
include/config.h. Perhaps this could also be related to the problem that I 
am seeing?

Damien Tougas
Carroll-Net, Inc.

More information about the samba-technical mailing list