[Bsd-sharp-list] make hangs with mini/mono taking 100% CPU

Phillip Neumann pneumann at gmail.com
Sat Oct 6 12:55:26 MDT 2007


Hi Steve,

For the "/var/ports", it looks like your copmiling it inside a jail?

If so, please enable security.jail.sysvipc_allowed=1

thanks!

El jue, 04-10-2007 a las 12:23 +0100, Steve McLellan escribió:
> 
> Hi,
> 
> Apologies in advance; I'm not a particularly BSD-savvy chap. I'm trying
> to build mono on a BSD 6.2 box. It gets to the following line before
> hanging.
> 
> gmake[5]: Entering directory
> `/var/ports/usr/ports/lang/mono/work/mono-1.2.5/mcs'
> 
> The process list shows the following taking up 100% CPU (it ran for 15
> minutes before I killed it):
> 
> /var/ports/usr/ports/lang/mono/work/mono-1.2.5/mono/mini/mono --config
> /var/ports/usr/ports/lang/mono/work/mono-1.2.5/runtime/etc/mono/config
> ./class/lib/monolite/mcs.exe  /out:build/deps/basic-profile-check.exe
> build/deps/basic-profile-check.cs
> 
> Stack trace in gdb shows:
> 
> #0  0x28534f37 in semget () from /lib/libc.so.6
> #1  0x080f7cef in _wapi_shm_semaphores_init () at shared.c:368
> #2  0x080ea872 in shared_init () at handles.c:207
> #3  0x080f3cce in mono_once (once=0x81dcaf8, once_init=0x80ea80c
> <shared_init>) at mono-mutex.c:80
> #4  0x080eaca7 in _wapi_handle_new (type=WAPI_HANDLE_SEM,
> handle_specific=0xbfbfdf28) at handles.c:375
> #5  0x080f69c1 in CreateSemaphore (security=0x0, initial=0,
> max=2147483647, name=0x0) at semaphores.c:181
> #6  0x080bcb90 in mono_thread_pool_init () at threadpool.c:997
> #7  0x080c27b5 in mono_runtime_init (domain=0x8221f18,
> start_cb=0x812fbb8 <mono_thread_start_cb>,
>     attach_cb=0x8133f3c <mono_thread_attach_cb>) at appdomain.c:100
> #8  0x0813482e in mini_init (filename=0xbfbfe5ba
> "./class/lib/monolite/mcs.exe", runtime_version=0x0) at mini.c:11924
> #9  0x0805834b in mono_main (argc=6, argv=0xbfbfe378) at driver.c:944
> #10 0x08057ceb in main (argc=6, argv=0xbfbfe378) at main.c:6
> 
> It appears to be a threading issue. Someone here suggested putting the
> following in /etc/libmap.conf but it didn't have any appreciable effect.
> [/var/ports/usr/ports/lang/mono/work/mono-1.2.5/mono/mini/mono]
> libpthread.so.2         libthr.so.2
> libpthread.so           libthr.so
> 
> Are there any kernel options that you know of that could cause this kind
> of problem?
> 
> Thanks,
> 
> Steve
> http://www.mintel.com
> providing insight + impact
> 
> PS Discover and develop genuinely new ideas first with Mintel Inspire -
> your global trends resource.
> 
> Preview our Trendscape and get on the fast track to productive ideation.
> http://www.mintel.com/inspire/
> 
> London Office:
> Mintel International Group Ltd (Mintel)
> 18-19 Long Lane
> London
> EC1A 9PL
> UK
> 
> Registered in England: Number 1475918.
> VAT Number: GB 232 9342 72
> 
> Tel: 020 7606 4533
> Fax: 020 7606 5932
> 
> 
> Chicago Office:
> Mintel International Group Ltd (Mintel)
> Floor 8
> 351 West Hubbard Street
> Chicago
> IL 60610
> USA
> 
> Tel: 312 932 0400
> Fax: 312 932 0469
> 
> Notice
> ********
> This email may contain information that is privileged,
> confidential or otherwise protected from disclosure. It
> must not be used by, or its contents copied or disclosed
> to, persons other than the addressee. If you have received
> this email in error please notify the sender immediately
> and delete the email. Any views or opinions expressed in
> this message are solely those of the author, and do not
> necessarily reflect those of Mintel.
> 
> No Mintel staff are authorised to make purchases using
> email or over the internet, and any contracts so performed
> are invalid.
> 
> Contact: info at mintel.com
> 
> Warning
> **********
> It is the responsibility of the recipient to ensure that
> the onward transmission, opening or use of this message
> and any attachments will not adversely affect their systems
> or data. Please carry out such virus and other checks, as
> you consider appropriate.
> 
> 
> _______________________________________________
> Bsd-sharp-list mailing list
> Bsd-sharp-list at forge.novell.com
> 
> Home Page: http://www.mono-project.com/Mono:FreeBSD
> Project Site: http://forge.novell.com/mailman/listinfo/bsd-sharp-list
> IRC: #BSD-Sharp on irc.freenode.org



More information about the Bsd-sharp-list mailing list