Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

cstd crash

807575Apr 23 2003 — edited May 19 2003
Hi.
The program which linked libCstd crashes by the machine of 2CPUs.
please help me.

signal : SIGABRT fault pc: 0xff149ab8 libthread.so.1:__sigprocmask+0x8
or
A response is lost by __leap_wait.
----------------------
simple.cc:
int main() {
return 0;
}
----------------------
Makefile:
simple: simple.o
CC -o $@ -v -mt -i -xO2 -xarch=v8plus -library=no%Cstd /usr/lib/libCstd.so.1 simple.o

simple.o: simple.cc
CC -c $< -v -mt -KPIC -xarch=v8plus -xO2

-----------------------
# test case(It reappears by 40000 times from 6000 times.)
./loop.sh simple

-----------------------
loop.sh:
#!/bin/sh
usage() {
echo "usage:"
echo " $0 cmdName"
exit 1
}

if [ $# -ne 1 ];then
usage
fi

# main
n=0
date > $1-date.txt
while true;do
n=`expr $n + 1`
echo $n
./$1
if [ $? -ne 0 ];then
echo "$1 abnormally end."
date >> $1.date
exit 1
fi
trap "date >> $1-date.txt; echo $n >> $1-date.txt; exit 1" 1 2 3 4 6 9 10
done
date >> $1-date.txt
echo $n >> $1-$date.txt
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 16 2003
Added on Apr 23 2003
2 comments
101 views