o erro está na função:

gObjCreateBug(

tem que ser

gObjCreateSemBug(

k