Hi, I haven’t worked with avp at all. Try making a debug build by changing CMAKE_BUILD_TYPE to Debug using ccmake or whatever CMake front-end you prefer. Then rebuild the game and run it in gdb (GNU debugger).
user@host:~$ gdb ./path/to/avp-executable
after the crash
It should print the line of code where the crash happens and how it got there. Hope this helps.