Page MenuHomePhabricator

Mono fails on the grid engine
Closed, ResolvedPublic

Description

Example for running 'jsub -once -N prb mono /data/project/yifeibot/o/prb/Picasa-Review-Bot/bin/Debug/PicasaReview.exe "Picasa_Review_Bot_2" "(Password removed)"' (as for [[commons:User:Picasa_Review_Bot_2]]), I keep getting this error in my prb.err and immediately the job terminates (neither occur on the bastion servers):

Debug info from gdb:

  • glibc detected * /usr/bin/mono: free(): invalid pointer: 0x00002aba86da7030 *

??@

Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries

used by your application.

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:

    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

  • glibc detected * /usr/bin/mono: munmap_chunk(): invalid pointer: 0x00000000005d411c *

Native stacktrace:


Version: unspecified
Severity: major

Details

Reference
bz61309

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:07 AM
bzimport added a project: Toolforge.
bzimport set Reference to bz61309.

prb.out shows:
Logging in...
^??1?^??t?H^ͳ

According to http://stackoverflow.com/questions/8764258/triggering-garbage-collection-in-mono, this seems to be the way Mono says that it is out of memory :-). Have you tried requesting more memory, i. e. "jsub -mem 500m ..." (or more; cf. [[Nova Resource:Tools/Help#Allocating additional memory]])?

(The link should have been [[wikitech:Nova Resource:Tools/Help#Allocating additional memory]].)

(In reply to Tim Landscheidt from comment #2)

According to
http://stackoverflow.com/questions/8764258/triggering-garbage-collection-in-
mono, this seems to be the way Mono says that it is out of memory :-). Have
you tried requesting more memory, i. e. "jsub -mem 500m ..." (or more; cf.
[[Nova Resource:Tools/Help#Allocating additional memory]])?

1g works, thanks for that information