The thing about btrees, linked lists and similar data structures is that all references should be to valid memory locations else sigsegv.
That said, it looks like you're accessing the member...