Class reset arduino ?

i am coding a class that will manage the serial on an arduino, it work fine but after sometime the arduino just reset and i cant find why...

Post where i submit my lib and keep it up to date :

Sorry for bothering .... i got it it is solved now..... (it was because i made the function buffer smaller of the number of byte and some times it was trying to lunch our of array function..... that was bad....)