add test of signal
do not generate error message in freeing
prevent access freed area
fix double free
fix double freeing
Merge branch 'play-with-signal'