Brad Chin - 2017-11-21

Hi,

I was running a powercycle test on my servers when STAF on my servers crashed

STAFProc version 3.4.11 initialized
20171120-23:30:29;140652566550272;00000100;STAFProcess::processMonitorThread: Error opening /dev/tty, errno: 6
Error in `/var/staf/bin/STAFProc': free(): invalid size: 0x00007fec14001b80
======= Backtrace: =========
/lib64/libc.so.6(+0x7c619)[0x7fec45853619]
/var/staf/lib/libSTAF.so(STAFStringDestruct+0x27)[0x7fec46642407]
/var/staf/lib/libSTAF.so(_Z30STAFObjectFreeSTAFStringTArrayPP24STAFStringImplementationj+0x21)[0x7fec46623e01]
/var/staf/lib/libSTAF.so(STAFObjectMarshallToString+0x1038)[0x7fec46628278]
/var/staf/lib/libSTAF.so(STAFObjectMarshallToString+0x329)[0x7fec46627569]
/var/staf/lib/libSTAF.so(STAFObjectMarshallToString+0x888)[0x7fec46627ac8]
/var/staf/lib/libSTAF.so(_ZN10STAFObject8marshallEj+0x25)[0x7fec4662de45]
/var/staf/bin/STAFProc[0x471339]
/var/staf/bin/STAFProc(_ZN18STAFProcessService24sendNotificationCallbackEPv+0xd)[0x47227d]
/var/staf/lib/libSTAF.so(_ZN17STAFThreadManager12workerThreadEv+0x9a)[0x7fec4663aeaa]
/var/staf/lib/libSTAF.so(_ZN17STAFThreadManager16callWorkerThreadEPv+0x9)[0x7fec4663b149]
/var/staf/lib/libSTAF.so(+0x1b7ea)[0x7fec4661f7ea]
/lib64/libpthread.so.0(+0x7e25)[0x7fec46cc9e25]
/lib64/libc.so.6(clone+0x6d)[0x7fec458cf34d]
======= Memory map: ========
...
7ffe34075000-7ffe34096000 rw-p 00000000 00:00 0 [stack]
7ffe340e4000-7ffe340e6000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
20171120-23:33:32;140652583470848;00000100;Received signal 6 (SIGABRT)

Not sure if you want the entire memory map.

Anyways, my driver is using CentOS 6.6, while my servers are running CentOS 7.4.1708. I wasn't able to find whether this issue has been fixed. I've been using STAF 3.4.11 for many years now because it was stable, so I'll upgrade if necessary.