[Mono-list] io-layer naming issues on OSX.

Andreas Färber andreas.faerber at web.de
Sun Oct 15 05:12:53 EDT 2006


Am 14.10.2006 um 17:41 schrieb Robert Jordan:

> Regarding your Mono build problems: comment out the PKG_CHECK_MODULES
> line from Mono's configure.in and rerun autogen.sh:
>
> PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Libraries/pkgconfig
>    ./autogen.sh --prefix=...

Checked out on i386 this time, rev. 66680 unpatched, used the above  
command, which works, too, but this time the compilation of  
System.Xml.dll hangs (left it running over night, a mono process with  
4 threads, no CPU, no I/Os. Re-tried with make clean, make  
EXTERNAL_MCS=/usr/bin/mcs EXTERNAL_RUNTIME=/usr/bin/mono - no  
difference.
If it were a problem of mine then I would expect an error message and  
make to exit.
Ctrl+C does not work, I have to kill the mono process via the  
activity monitor. This results in this make output:

make[8]: *** [../../class/lib/basic/System.Xml.dll] Interrupt
make[7]: *** [do-all] Interrupt
make[6]: *** [all-recursive] Interrupt
make[5]: *** [all-recursive] Interrupt
make[4]: *** [profile-do--basic--all] Interrupt
make[3]: *** [profiles-do--all] Interrupt
make[2]: *** [all-local] Interrupt
make[1]: *** [all-recursive] Interrupt
make: *** [all] Interrupt

Below is the activity monitor's analysis output, sounds like some  
deadlock to me?

Andreas


Analysis of sampling pid 10665 every 10.000000 milliseconds
Call graph:
     100 Thread_0f07
       100 GC_push_all_stacks
         100 GC_push_all_eager
           100 GC_push_all_eager
     100 Thread_1003
       100 _pthread_body
         100 GC_start_routine
           100 mach_exception_thread
             100 mach_msg_trap
               100 mach_msg_trap
     100 Thread_1103
       100 _pthread_body
         100 collection_thread
           100 mach_wait_until
             100 mach_wait_until
     100 Thread_1203
       100 _pthread_body
         100 GC_start_routine
           100 thread_start_routine
             100 start_wrapper
               100 finalizer_thread
                 100 WaitForSingleObjectEx
                   100 _wapi_handle_wait_signal_handle
                     100 _wapi_handle_timedwait_signal_handle
                       100 timedwait_signal_poll_cond
                         100 semaphore_wait_signal_trap
                           100 semaphore_wait_signal_trap

Total number in stack (recursive counted multiple, when >=5):

Sort by top of stack, same collapsed (when >= 5):
         GC_push_all_eager        100
         mach_msg_trap        100
         mach_wait_until        100
         semaphore_wait_signal_trap        100
Sample analysis of process 10665 written to file /dev/stdout
Sampling process 10665 each 10 msecs 100 times



More information about the Mono-list mailing list