lamorric / ai-contest

Automatically exported from code.google.com/p/ai-contest
0 stars 0 forks source link

Server error compiling C# code #185

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Just try to upload any C# code

I'm getting following error emailed me during compilation of my code:

** ERROR **: shm_semaphores_init: semget error: No space left on device. Try 
deleting some semaphores with ipcs and ipcrm
or increase the maximum number of semaphore in the system.
aborting...

** (process:2021): WARNING (recursed) **: Thread (nil) may have been 
prematurely finalized
Stacktrace:

** (process:2021): WARNING (recursed) **: Thread (nil) may have been 
prematurely finalized

** (process:2021): WARNING (recursed) **: Thread (nil) may have been 
prematurely finalized

Native stacktrace:

/usr/bin/mono [0x816b20a]
[0xb7f4f440]
/lib/tls/i686/cmov/libc.so.6(abort+0x101) [0xb7d20a01]
/usr/lib/libglib-2.0.so.0(g_logv+0x46a) [0xb7ec511a]
/usr/lib/libglib-2.0.so.0(g_log+0x29) [0xb7ec5159]
/usr/bin/mono [0x8116f57]
/usr/bin/mono [0x8109342]
/usr/bin/mono(mono_once+0x96) [0x8112726]
/usr/bin/mono [0x810907c]
/usr/bin/mono [0x8115f6e]
/usr/bin/mono [0x8116364]
/usr/bin/mono [0x80d1877]
/usr/bin/mono(mono_runtime_init+0x26) [0x80d8836]
/usr/bin/mono [0x8134545]
/usr/bin/mono(mono_main+0x3aa) [0x805a9da]
/usr/bin/mono [0x805a122]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7d0a450]

As i understand it - it's mono runtime error, and it says time to free some 
memory on server.
Like this:

ipcs |grep nobody | awk '{print $2}' | xargs ipcrm sem

And dont forget to set:

kernel.msgmni = 1024,
kernel.sem = 250 256000 32 1024

or even bigger.

P.S.: it's a good moment to upgrade mono on server... Current version is ugly 
(keeping in mind C# state of art as a language and mono as a runtime env.).

Mine conf: Windows 7 Ult, latest Chrome

Original issue reported on code.google.com by gribko...@gmail.com on 29 Sep 2010 at 9:16

GoogleCodeExporter commented 9 years ago
I am getting the same error and can you please treat this with "Priority - 
High" and resolve

Original comment by senthil1...@gmail.com on 30 Sep 2010 at 7:41

GoogleCodeExporter commented 9 years ago
Same here, I cannot continue with the game if all my uploads fail. See also the 
many other people why suffer from this issue: 
http://ai-contest.com/forum/viewtopic.php?f=18&t=812

Original comment by chris.br...@gmail.com on 30 Sep 2010 at 10:35

GoogleCodeExporter commented 9 years ago
Another vote on priority: High.
I worked on a C# code for several days and now i can't post the results to 
compete.
Steps to reproduce:
Just post any C# code you like.

Original comment by eri...@gmail.com on 30 Sep 2010 at 10:52

GoogleCodeExporter commented 9 years ago
Hi.

This may be related to a known Memory Leak of Mono C# compiler.

https://bugzilla.novell.com/show_bug.cgi?id=588689
(Memory leak while running Mono on a scheduler timer)

Acording to the Bugzilla report, It was fixed on a recent Mono build, with 
hotfix available for previous 2.4.x versions.

Regards

Original comment by lord.loc...@gmail.com on 1 Oct 2010 at 12:07

GoogleCodeExporter commented 9 years ago
BTW, another vote for 'High' priority. Unless extremely lucky, no C# code can 
be submitted while this isn´t fixed.

Original comment by lord.loc...@gmail.com on 1 Oct 2010 at 12:13

GoogleCodeExporter commented 9 years ago
Still getting this error.

Original comment by KasperHo...@gmail.com on 1 Oct 2010 at 12:24

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Had 7 failures before finally getting through almost 24 hours by pure luck 
trying it again.  Really pretty ridiculous when a 5 minute hotfix would fix it.

Original comment by themend...@gmail.com on 1 Oct 2010 at 12:27

GoogleCodeExporter commented 9 years ago
Why this isn't a high priority I have no idea - a 5 minute hotfix would fix an 
issue that is literally causing an entire language to not be usable in a coding 
contest.

Original comment by themend...@gmail.com on 1 Oct 2010 at 12:29

GoogleCodeExporter commented 9 years ago
I keep failing for the same reason. This should be a high priority as people 
using C# can't get anything to compile.

Original comment by ChrCo...@gmail.com on 1 Oct 2010 at 2:18

GoogleCodeExporter commented 9 years ago

Original comment by jokeserver on 2 Oct 2010 at 4:34

GoogleCodeExporter commented 9 years ago
Same problem. 

Original comment by d.a.dobr...@gmail.com on 2 Oct 2010 at 10:15

GoogleCodeExporter commented 9 years ago
Bump.

Original comment by acm...@googlemail.com on 2 Oct 2010 at 11:27

GoogleCodeExporter commented 9 years ago
Same problem here.

Original comment by odnei.tr...@gmail.com on 5 Oct 2010 at 3:49

GoogleCodeExporter commented 9 years ago
I got the same problem. working fine.. then nothing.. now old zips wont work at 
all.

Original comment by roddgr...@gmail.com on 5 Oct 2010 at 6:55

GoogleCodeExporter commented 9 years ago
C# Starter package isn't even working.

Original comment by ChrCo...@gmail.com on 5 Oct 2010 at 10:09

GoogleCodeExporter commented 9 years ago
Problem still appears.  Yesterday it worked, but not now.

Original comment by dmitrisc...@gmail.com on 6 Oct 2010 at 5:35

GoogleCodeExporter commented 9 years ago
I am unable to submit for days now, please fix!

Original comment by jimrog...@gmail.com on 7 Oct 2010 at 6:58

GoogleCodeExporter commented 9 years ago
I have some problem. Please fix for me. Thanks

Original comment by lgl...@gmail.com on 7 Oct 2010 at 11:23

GoogleCodeExporter commented 9 years ago
there is no C# in the top of the ranking list
people might come to think C# is no good =)
look liek a sort of provocation =)

when it's going to be fixed up?
my bot is ready to go =)

Original comment by SAILIC...@gmail.com on 7 Oct 2010 at 3:15

GoogleCodeExporter commented 9 years ago
This needs admin attention, hopefully Jeff can do something about it.

Original comment by jokeserver on 8 Oct 2010 at 4:36

GoogleCodeExporter commented 9 years ago
Probably the only real fix is to upgrade C#, Issue 101 has a post with an easy 
method for doing so.

One additional thing to remember now though is to update the cloud server build 
script at the same time the main server is upgraded so everything will still be 
running the same version.

Original comment by janzert on 8 Oct 2010 at 6:18

GoogleCodeExporter commented 9 years ago
I'm having the same problem.

Original comment by janssen....@gmail.com on 9 Oct 2010 at 12:23

GoogleCodeExporter commented 9 years ago
Same problem.

Original comment by japoll...@gmail.com on 11 Oct 2010 at 12:11

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Issue 205 has been merged into this issue.

Original comment by janzert on 16 Oct 2010 at 10:59

GoogleCodeExporter commented 9 years ago
Issue 204 has been merged into this issue.

Original comment by janzert on 16 Oct 2010 at 11:00

GoogleCodeExporter commented 9 years ago
Issue 203 has been merged into this issue.

Original comment by janzert on 16 Oct 2010 at 11:00

GoogleCodeExporter commented 9 years ago
<rant>
This issue effectively kicked us out of the game, and we were in top30.
Admin, are you alive, or should I say, DO YOU EXIST?
</rant>

Original comment by madfisht...@gmail.com on 16 Oct 2010 at 11:21

GoogleCodeExporter commented 9 years ago
same error...

Original comment by Zub.I...@gmail.com on 18 Oct 2010 at 7:20

GoogleCodeExporter commented 9 years ago
Same problem.

Original comment by jdv...@gmail.com on 21 Oct 2010 at 5:06

GoogleCodeExporter commented 9 years ago
Seems that it's fixed. I have successfully submitted 3 times in a row without 
any issues. Remember that your C# code must be compliant with .NET framework 
v2.0

Original comment by t...@skauge.dk on 21 Oct 2010 at 8:44

GoogleCodeExporter commented 9 years ago
Seems that it isn't. I'd tried with my previously working code.

Original comment by AntonEta...@gmail.com on 21 Oct 2010 at 3:02

GoogleCodeExporter commented 9 years ago
Same problem here.

Original comment by cmar...@gmail.com on 21 Oct 2010 at 5:27

GoogleCodeExporter commented 9 years ago
I cant believe they still didnt fix the error, 
no c# till 120 position cause the error, 
they are scared about sharp coders and want us all out of the competition!

Original comment by tey4e...@gmail.com on 22 Oct 2010 at 8:53

GoogleCodeExporter commented 9 years ago
Still having the same issue.
Code compiles just fine with mono 1.2.6 locally.

getting the dreaded:
** ERROR **: shm_semaphores_init: semget error: No space left on device. Try 
deleting some semaphores with ipcs and ipcrm
or increase the maximum number of semaphore in the system.
aborting...

again and again.

Original comment by jeje_lat...@hotmail.com on 24 Oct 2010 at 2:28

GoogleCodeExporter commented 9 years ago
same problem here...

Original comment by apexea...@gmail.com on 25 Oct 2010 at 12:37

GoogleCodeExporter commented 9 years ago
Is anybody working on this?

Original comment by jdv...@gmail.com on 25 Oct 2010 at 9:49

GoogleCodeExporter commented 9 years ago
Please fix this issue... Thanks

Original comment by zo...@zorrynet.com on 26 Oct 2010 at 1:39

GoogleCodeExporter commented 9 years ago
Please fix this issue... Thanks

Original comment by sam...@gmail.com on 26 Oct 2010 at 3:31

GoogleCodeExporter commented 9 years ago
I try and try to upload c# and Every time the compilation fail. I pass more 
time to try to submit my code that creat a good AI :S

Original comment by tbeaumon...@gmail.com on 26 Oct 2010 at 6:10

GoogleCodeExporter commented 9 years ago
The servers now clean up semaphore leaks.

Original comment by janzert on 29 Oct 2010 at 5:23

GoogleCodeExporter commented 9 years ago
I try and try to upload c# and Every time the compilation fail.
May be this issue d`ont fixed?

Original comment by ryj...@gmail.com on 7 Nov 2010 at 2:45

Attachments:

GoogleCodeExporter commented 9 years ago
Problem in line using System.Data;
If i add this line to MyBot.cs - i see error compilaion when uploading (local 
compilation on my computer work without error in VS 2010 Express and 
MonoDevelop)

Original comment by ryj...@gmail.com on 9 Nov 2010 at 7:26