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 : http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1247171437

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....)