yr framebuffer is not being loaded and hence yr getting segfault

you need to look into that to find a solution