cimserver crash on Solaris

Manav <[email protected]> Fri, 2 May 2014 18:38:25 +0000 (UTC)
Newsgroups gmane.network.open-pegasus.general
Message-ID <[email protected]>
Hi All,

I am trying to build OpenPegasus 2.13 on Solaris.
I did the following:
export PEGASUS_HOME=/dev/pegasus/
export PEGASUS_ROOT=/dev/pegasus/
export PEGASUS_PLATFORM==SOLARIS_X86_64_CC

./configure

gmake
gmake repository

export LD_LIBRARY_PATH=$PEGASUS_HOME/lib

We are using /opt/SUWspro/bin/cc.
After some tweaks in the code, we were able to build it but when we run the
cimserver, get the following:
(dbx) run
Running: cimserver
(process id 2691)
t@1 (l@1) signal SEGV (no mapping at the fault address) in atomic_inc_32 at
0xfffffd7ffed43f54
0xfffffd7ffed43f54: atomic_inc_32+0x0004:    lock xaddl  %eax,(%rdi)
Current function is Pegasus::AtomicIntTemplate<Pegasus::AtomicType>::inc
 1031       atomic_inc_32(&_rep.n);
(dbx) where
current thread: t@1
  [1] atomic_inc_32(0x10, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ffed43f54
=>[2] Pegasus::AtomicIntTemplate<Pegasus::AtomicType>::inc(this = 0x10),
line 1031 in "AtomicInt.h"
  [3] Pegasus::AtomicIntTemplate<Pegasus::AtomicType>::operator++(this =
0x10, _ARG2 = 0), line 75 in "AtomicInt.h"
  [4] Pegasus::StringRep::ref(rep = (nil)), line 103 in "StringRep.h"
  [5] Pegasus::String::String(this = 0xfffffd7fd020b1c0, str = CLASS), line
90 in "StringInline.h"
  [6] Pegasus::CIMName::CIMName(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at
0xfffffd7fd019d272
  [7] __SLIP.INIT_B(), line 243 in "reg_table.cpp"
  [8] __STATIC_CONSTRUCTOR(), line 243 in "reg_table.cpp"
  [9] _init(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fd01ab8f7
  [10] call_init(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff3c0588
  [11] is_dep_init(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff3c03a6
  [12] elf_bndr(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff3d077e
  [13] elf_rtbndr(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff3b13f3
  [14] 0xfffffd7fff150030(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at
0xfffffd7fff150030
  [15] 0xfffffd7fff150030(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at
0xfffffd7fff150030
  [16] __STATIC_CONSTRUCTOR(), line 37 in "CIMQualifierNames.cpp"
  [17] _init(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fcf364c95
  [18] call_init(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff3c0588
  [19] setup(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff3bf5f7
  [20] _setup(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff3d20f9
  [21] _rt_boot(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff3b1036
  [22] 0xfffffd7fffdffd10(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at
0xfffffd7fffdffd10
(dbx) quit

What am I missing?

Thanks in advance,
Manav.