Brian,
Thanks! Below is what I send to bugzilla, patched is attached:
With our maui.cfg file we get:
Program terminated with signal 11, Segmentation fault.
#0 MResAdjustDRes (JName=0x0, ForceEval=0) at MRes.c:7447
7447 JRE[jreindex].Type = mreNONE;
(gdb) bt
#0 MResAdjustDRes (JName=0x0, ForceEval=0) at MRes.c:7447
#1 0x000000000042a45e in MSchedProcessJobs (OldDay=0x7fff6e7c9d50 "",
GlobalSQ=0x7fff6e7c3d40, GlobalHQ=0x7fff6e7bfd40) at MSched.c:6955
#2 0x000000000040596d in main (ArgC=1, ArgV=<value optimized out>) at
Server.c:192
(gdb) print JName
$1 = 0x0
(gdb) print JRE
$2 = (mre_t *) 0x0
It is not reproducible with default cfg file.
The patch attached we are using to workaround this issue.
What this segfault is related to and is our solution OK?
PS. We can provide coredump and binary.
Thanks,
Alex.
On Tue, 22 Feb 2011 09:16:54 -0700 (MST)
Brian Christiansen wrote:
> Alex,
>
> You can send your patch to the mailing list and either I or one of
> the others that have check-in rights can review it and check it in.
> Or you can request check-in rights for yourself. Bugzilla is
> currently only being used for Torque.
>
> http://www.clusterresources.com/pipermail/mauiusers/2010-February/004145.html
>
> Thanks,
> Brian
>
> ----- Original Message -----
> > Hello list,
> >
> > I am trying to fill a MAUI bug with a patch, but can't find the
> > proper place. I found http://www.clusterresources.com/bugzilla/ .
> > Looks like it has only Torque there. I already opened a bug there,
> > as #114 and got
> > no response.
> >
> > Does anybody know where we submit patches and bugs for MAUI?
> >
> > Thanks,
> > Alex.
> > _______________________________________________
> > mauiusers mailing list
> > [email protected]
> > http://www.supercluster.org/mailman/listinfo/mauiusers
--
Alexander Oltu
System Engineer
Parallab, Uni Computing
HIB, Thormøhlensgt.55
N-5008 Bergen, Norway
phone: +47 55584144
--- MRes.c 2010-02-19 21:14:21.000000000 +0100
+++ MRes.c.new 2011-02-17 11:23:08.362570247 +0100
@@ -7255,12 +7255,22 @@
if (CRE == NULL)
{
- DBG(4,fCORE) DPrint("ALERT: cannot allocate memory in %s\n",
+ DBG(4,fCORE) DPrint("ALERT: cannot allocate memory for CRE in %s\n",
FName);
return(FAILURE);
}
+ if (JRE == NULL)
+ {
+ DBG(4,fCORE) DPrint("ALERT: cannot allocate memory for JRE in %s\n",
+ FName);
+
+ return(FAILURE);
+ }
+
+
+
for (nindex = 0;nindex < MAX_MNODE;nindex++)
{
N = MNode[nindex];
_______________________________________________
mauiusers mailing list
[email protected]
http://www.supercluster.org/mailman/listinfo/mauiusers