[Mono-bugs] [Bug 327279] New: FileSystemWatcher does not fire events when using KQUEUE on FreeBSD/AMD64

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Sep 21 13:49:59 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=327279#c1

           Summary: FileSystemWatcher does not fire events when using KQUEUE
                    on FreeBSD/AMD64
           Product: Mono: Runtime
           Version: 1.2
          Platform: IA64
        OS/Version: FreeBSD
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: pneumann at gmail.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


Created an attachment (id=173954)
 --> (https://bugzilla.novell.com/attachment.cgi?id=173954)
FileWatcher test

Description of Problem:

Im using the C# attached, to monitor changes in a /tmp.

Steps to reproduce the problem:
1. Run the program
2. touch a file in the directory where the process is monitoring.


Actual Results:
 - No events


Expected Results:
 - Fire Events.


How often does this happen? 
 - Alwais.


Additional Information:
 - There are three "strategies" for monitoring. kqueue, gamin, or managed. The
last two works fine on amd64. All the three works fine on i386.

FreeBSD worm.sofsis.cl 6.2-STABLE FreeBSD 6.2-STABLE #1: Sun May 20 17:20:10
CLT 2007     root at worm.sofsis.cl:/usr/obj/usr/src/sys/WORM  amd64


[killfill at worm ~]$ export MONO_LOG_LEVEL=info
[killfill at worm ~]$ mono monofiletext.exe /tmp/
Mono-INFO: Assembly Loader probing location:
'/usr/local/lib/mono/1.0/mscorlib.dll'.
Mono-INFO: Image addref mscorlib 0x7af380 ->
/usr/local/lib/mono/1.0/mscorlib.dll 0x7a7800: 2

Mono-INFO: AOT failed to load AOT module
/usr/local/lib/mono/1.0/mscorlib.dll.so: Cannot open
"/usr/local/lib/mono/1.0/mscorlib.dll.so"

Mono-INFO: Assembly Loader loaded assembly from location:
'/usr/local/lib/mono/1.0/mscorlib.dll'.
Mono-INFO: Config attempting to parse:
'/usr/local/lib/mono/1.0/mscorlib.dll.config'.
Mono-INFO: Config attempting to parse:
'/usr/local/etc/mono/assemblies/mscorlib/mscorlib.config'.
Mono-INFO: Config attempting to parse:
'/home/killfill/.mono/assemblies/mscorlib/mscorlib.config'.
Mono-INFO: Assembly mscorlib 0x7af380 added to domain monofiletext.exe,
ref_count=1

Mono-INFO: Config attempting to parse: '/usr/local/etc/mono/config'.
Mono-INFO: Config attempting to parse: '/home/killfill/.mono/config'.
Mono-INFO: Assembly Loader probing location: 'monofiletext.exe'.
Mono-INFO: Image addref monofiletext 0x15a0d80 ->
/home/killfill/monofiletext.exe 0x7a7000: 3

Mono-INFO: Assembly monofiletext 0x15a0d80 added to domain monofiletext.exe,
ref_count=1

Mono-INFO: AOT failed to load AOT module /home/killfill/monofiletext.exe.so:
Cannot open "/home/killfill/monofiletext.exe.so"

Mono-INFO: Assembly Loader loaded assembly from location: 'monofiletext.exe'.
Mono-INFO: Config attempting to parse:
'/home/killfill/monofiletext.exe.config'.
Mono-INFO: Config attempting to parse:
'/usr/local/etc/mono/assemblies/monofiletext/monofiletext.config'.
Mono-INFO: Config attempting to parse:
'/home/killfill/.mono/assemblies/monofiletext/monofiletext.config'.
Mono-INFO: Assembly Loader probing location: 'monofiletext.exe'.
Mono-INFO: AOT failed to load AOT module /home/killfill/monofiletext.exe.so:
Cannot open "/home/killfill/monofiletext.exe.so"

Mono-INFO: Assembly Ref addref monofiletext 0x15a0d80 -> mscorlib 0x7af380: 2

Mono-INFO: Assembly Loader probing location:
'/usr/local/lib/mono/gac/System/1.0.5000.0__b77a5c561934e089/System.dll'.
Mono-INFO: Image addref System 0x15eaf80 ->
/usr/local/lib/mono/gac/System/1.0.5000.0__b77a5c561934e089/System.dll
0x15e0800: 2

Mono-INFO: Assembly System 0x15eaf80 added to domain monofiletext.exe,
ref_count=1

Mono-INFO: AOT failed to load AOT module
/usr/local/lib/mono/gac/System/1.0.5000.0__b77a5c561934e089/System.dll.so:
Cannot open
"/usr/local/lib/mono/gac/System/1.0.5000.0__b77a5c561934e089/System.dll.so"

Mono-INFO: Assembly Loader loaded assembly from location:
'/usr/local/lib/mono/gac/System/1.0.5000.0__b77a5c561934e089/System.dll'.
Mono-INFO: Config attempting to parse:
'/usr/local/lib/mono/gac/System/1.0.5000.0__b77a5c561934e089/System.dll.config'.
Mono-INFO: Config attempting to parse:
'/usr/local/etc/mono/assemblies/System/System.config'.
Mono-INFO: Config attempting to parse:
'/home/killfill/.mono/assemblies/System/System.config'.
Mono-INFO: Assembly Ref addref monofiletext 0x15a0d80 -> System 0x15eaf80: 2

Mono-INFO: Assembly Ref addref System 0x15eaf80 -> mscorlib 0x7af380: 3

Mono-INFO: DllImport attempting to load: 'libc.so'.
Mono-INFO: DllImport loading location: 'libc.so.so'.
Mono-INFO: DllImport error loading library: 'Shared object "libc.so.so" not
found, required by "mono"'.
Mono-INFO: DllImport loading library: './libc.so.so'.
Mono-INFO: DllImport error loading library 'Cannot open "./libc.so.so"'.
Mono-INFO: DllImport loading: 'libc.so'.
Mono-INFO: Searching for 'kqueue'.
Mono-INFO: Probing 'kqueue'.
Mono-INFO: Found as 'kqueue'.
Mono-INFO: DllImport attempting to load: 'libc.so'.
Mono-INFO: DllImport loading location: 'libc.so.so'.
Mono-INFO: DllImport error loading library: 'Shared object "libc.so.so" not
found, required by "mono"'.
Mono-INFO: DllImport loading library: './libc.so.so'.
Mono-INFO: DllImport error loading library 'Cannot open "./libc.so.so"'.
Mono-INFO: DllImport loading: 'libc.so'.
Mono-INFO: Searching for 'kevent'.
Mono-INFO: Probing 'kevent'.
Mono-INFO: Found as 'kevent'.
Mono-INFO: DllImport attempting to load: 'libc.so'.
Mono-INFO: DllImport loading location: 'libc.so.so'.
Mono-INFO: DllImport error loading library: 'Shared object "libc.so.so" not
found, required by "mono"'.
Mono-INFO: DllImport loading library: './libc.so.so'.
Mono-INFO: DllImport error loading library 'Cannot open "./libc.so.so"'.
Mono-INFO: DllImport loading: 'libc.so'.
Mono-INFO: Searching for 'close'.
Mono-INFO: Probing 'close'.
Mono-INFO: Found as 'close'.
Mono-INFO: DllImport attempting to load: 'libc.so'.
Mono-INFO: DllImport loading location: 'libc.so.so'.
Mono-INFO: DllImport error loading library: 'Shared object "libc.so.so" not
found, required by "mono"'.
Mono-INFO: DllImport loading library: './libc.so.so'.
Mono-INFO: DllImport error loading library 'Cannot open "./libc.so.so"'.
Mono-INFO: DllImport loading: 'libc.so'.
Mono-INFO: Searching for 'open'.
Mono-INFO: Probing 'open'.
Mono-INFO: Found as 'open'.


(Here im creating a file in /tmp/ from another terminal)

(No output)

^C


Thanks.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list