[openib-general] OpenSM realloc error

Hal Rosenstock halr at voltaire.com
Wed Feb 15 03:56:14 PST 2006


Hi Owen,

On Tue, 2006-02-14 at 19:51, Owen Stampflee wrote:
> On Tue, 2006-02-14 at 19:25 -0500, Hal Rosenstock wrote:
> > Hi Owen,
> > 
> > On Tue, 2006-02-14 at 14:26, Owen Stampflee wrote:
> > > [root at m1 ~]# opensm
> > > -------------------------------------------------
> > > OpenSM Rev:openib-1.1.0
> > > Based on OpenIB svn 5411
> > > Command Line Arguments:
> > >  Log File: /var/log/osm.log
> > > -------------------------------------------------
> > > *** glibc detected *** realloc(): invalid next size: 0x000000001007ae90
> >                                                        ^^^^^^^^^^^^^^^^^
> > That's a pretty big size (268,938,896). Any idea what was going on ?

Hmm... I don't see where OpenSM directly calls realloc anywhere. Perhaps
this is used under the covers in glibc.
 
> > How far do you get with opensm ? Is there anything in the log ?
> > 
> > Out of curiousity, how big is your subnet ?
> Small, two nodes directly connected, I'll see if it works better with a switch in the middle.

I doubt that adding a switch will change things.

> > > ***
> > > Aborted
> > 
> > Is this reproducible ?
> Yes, everytime opensm runs.
> 
> Only thing is the log is this:
> Feb 14 13:18:48 488484 [A9020] -> OpenSM Rev:openib-1.1.0 OpenIB svn
> 5411

Can you strace it and provide the output ? Thanks.

-- Hal

> > > Installed components are:
> > > * kernel-g5-smp-2.6.15-1.yhpc.1
> > > * gcc-3.4.4-2.ydl.2
> > > * glibc-2.3.4-2.13.ydl.0
> > 
> > Is this PowerPC ?
> Yup, PowerMac G5s.
> 
> > > * SBS mthca adapter
> > > 
> > > Everything is built 64-bit, with -fPIC. Any idea on what could be going
> > > on?
> > 
> > The default build doesn't use -fPIC but I wouldn't think that should
> > have anything to do with it.
> I tried without -fPIC, also rebuild the Fedora FC5 RPMs (svn4265) to see
> if that helped, but still no luck. I'm using svn5411.





More information about the general mailing list