Not sure why you are having trouble with GDB, I ran this through a debugger and it looks like the seg fault is coming from LibXC.
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
* frame #0: 0x0000000101c4e54f libxc.dylib`work_mgga_c + 1183
frame #1: 0x0000000101c3d5d3 libxc.dylib`xc_mgga + 787
frame #2: 0x0000000101c3d7a9 libxc.dylib`xc_mgga_exc_vxc + 153
frame #3: 0x000000010484f451 core.so`psi::LibXCFunctional::compute_functional(this=0x000000010192b470, in=size=9, out=size=4, npoints=58, deriv=1) at LibXCfunctional.cc:526
frame #4: 0x0000000104867099 core.so`psi::SuperFunctional::compute_functional(this=0x0000000101923a30, vals=size=9, npoints=58) at superfunctional.cc:607
Hmm, do SCAN functionals need the rho laplacian? If so, this could be it; however, you should get an error message if the laplacian is required.