Tech Tip: Error when launching Spectrum 10 Command Line Interface on Linux

Document created by Declan_Dempsey Employee on Dec 14, 2015Last modified by SamCreek on Dec 17, 2016
Version 2Show Document
  • View in full screen mode

Error when launching Spectrum 10 Command Line Interface on Linux

 

Document ID:  TEC1565805


Last Modified Date:  11/13/2015


  Show Technical Document Details

 

Issue / Problem / Symptom:

 

In Spectrum 10 on Linux, when we launch command ./show alarms, we get this message:

[spectrum@vma-ingnms-03]:/data/Spectrum/vnmsh $ ./show alarms

ID Date Time PCauseId MHandle MName MTypeName Severity LastOccurDate&Time Ack Stale Assignment Status

*** glibc detected *** ./show: free(): invalid pointer: 0x08379929 ***

======= Backtrace: =========

/lib/libc.so.6[0xf7d195a5]

/lib/libc.so.6(cfree+0x59)[0xf7d199e9]

/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xf7ef2fa1]

/usr/lib/libstdc++.so.6(_ZdaPv+0x1d)[0xf7ef2ffd]

./show(_Z17print_galarm_nodeP17CsGlobalAlarmNode+0x122)[0x80fee52]

./show(_Z17print_galarm_listP17CsGlobalAlarmList+0xdf)[0x80ff80f]

./show(_Z6galarmR13CsLscpeHandle+0x72)[0x80ffa92]

./show(main+0x25e3)[0x8105ef3]

/lib/libc.so.6(__libc_start_main+0xdc)[0xf7cc5e9c]

./show(__gxx_personality_v0+0x351)[0x80ec5b1]

======= Memory map: ========

08048000-0927c000 r-xp 00000000 fd:05 1867788 /data/Spectrum/vnmsh/show

0927c000-09282000 rw-p 01234000 fd:05 1867788 /data/Spectrum/vnmsh/show

09282000-09288000 rw-p 09282000 00:00 0

095f8000-096df000 rw-p 095f8000 00:00 0 [heap]

f7a73000-f7c73000 r--p 00000000 fd:03 587243 /usr/lib/locale/locale-archive

f7c73000-f7c82000 r-xp 00000000 fd:00 32820 /lib/libresolv-2.5.so

f7c82000-f7c83000 r--p 0000e000 fd:00 32820 /lib/libresolv-2.5.so

f7c83000-f7c84000 rw-p 0000f000 fd:00 32820 /lib/libresolv-2.5.so

f7c84000-f7c86000 rw-p f7c84000 00:00 0

f7c86000-f7c8a000 r-xp 00000000 fd:00 32808 /lib/libnss_dns-2.5.so

f7c8a000-f7c8b000 r--p 00003000 fd:00 32808 /lib/libnss_dns-2.5.so

f7c8b000-f7c8c000 rw-p 00004000 fd:00 32808 /lib/libnss_dns-2.5.so

f7c94000-f7ca4000 r--s 00000000 fd:05 1720399 /data/Spectrum/Res/SSRV/root.res

f7ca4000-f7cad000 r-xp 00000000 fd:00 32810 /lib/libnss_files-2.5.so

f7cad000-f7cae000 r--p 00008000 fd:00 32810 /lib/libnss_files-2.5.so

f7cae000-f7caf000 rw-p 00009000 fd:00 32810 /lib/libnss_files-2.5.so

f7caf000-f7cb0000 rw-p f7caf000 00:00 0

f7cb0000-f7def000 r-xp 00000000 fd:00 32794 /lib/libc-2.5.so

f7def000-f7df0000 ---p 0013f000 fd:00 32794 /lib/libc-2.5.so

f7df0000-f7df2000 r--p 0013f000 fd:00 32794 /lib/libc-2.5.so

f7df2000-f7df3000 rw-p 00141000 fd:00 32794 /lib/libc-2.5.so

f7df3000-f7df6000 rw-p f7df3000 00:00 0

f7df6000-f7e0a000 r-xp 00000000 fd:00 32818 /lib/libpthread-2.5.so

f7e0a000-f7e0b000 r--p 00013000 fd:00 32818 /lib/libpthread-2.5.so

f7e0b000-f7e0c000 rw-p 00014000 fd:00 32818 /lib/libpthread-2.5.so

f7e0c000-f7e0f000 rw-p f7e0c000 00:00 0

f7e0f000-f7e1a000 r-xp 00000000 fd:00 32773 /lib/libgcc_s-4.1.2-20080825.so.1

f7e1a000-f7e1b000 rw-p 0000a000 fd:00 32773 /lib/libgcc_s-4.1.2-20080825.so.1

f7e1b000-f7e40000 r-xp 00000000 fd:00 32802 /lib/libm-2.5.so

f7e40000-f7e41000 r--p 00024000 fd:00 32802 /lib/libm-2.5.so

f7e41000-f7e42000 rw-p 00025000 fd:00 32802 /lib/libm-2.5.so

f7e42000-f7f20000 r-xp 00000000 fd:03 587394 /usr/lib/libstdc++.so.6.0.8

f7f20000-f7f23000 r--p 000dd000 fd:03 587394 /usr/lib/libstdc++.so.6.0.8

f7f23000-f7f25000 rw-p 000e0000 fd:03 587394 /usr/lib/libstdc++.so.6.0.8

f7f25000-f7f2b000 rw-p f7f25000 00:00 0

f7f2b000-f7f32000 r-xp 00000000 fd:00 32822 /lib/librt-2.5.so

f7f32000-f7f33000 r--p 00006000 fd:00 32822 /lib/librt-2.5.so

f7f33000-f7f34000 rw-p 00007000 fd:00 32822 /lib/librt-2.5.so

f7f34000-f7f36000 r-xp 00000000 fd:00 32800 /lib/libdl-2.5.so

f7f36000-f7f37000 r--p 00001000 fd:00 32800 /lib/libdl-2.5.so

f7f37000-f7f38000 rw-p 00002000 fd:00 32800 /lib/libdl-2.5.so

f7f3c000-f7f3d000 r--p 00548000 fd:03 587243 /usr/lib/locale/locale-archive

f7f3d000-f7f3e000 rw-p f7f3d000 00:00 0

f7f3e000-f7f40000 r--s 00000000 fd:05 1720377 /data/Spectrum/Res/COMMON/root.res

f7f40000-f7f41000 rw-p f7f40000 00:00 0

f7f41000-f7f5b000 r-xp 00000000 fd:00 32787 /lib/ld-2.5.so

f7f5b000-f7f5c000 r--p 00019000 fd:00 32787 /lib/ld-2.5.so

f7f5c000-f7f5d000 rw-p 0001a000 fd:00 32787 /lib/ld-2.5.so

ffe39000-ffe4e000 rw-p 7ffffffea000 00:00 0 [stack]

ffffe000-fffff000 r-xp ffffe000 00:00 0

 

Environment:

 

Spectrum 10 on Linux

 

Resolution:

Patch PTF_10.0.013 has been produced to fix this issue. 
If seeing the above issue please contact CA Spectrum Support to request  a copy of the PTF_10.0.013 patch.

Attachments

    Outcomes