Hi,
First to get proper error message for device side assert you can try two things:

Run on CPU to get the full cpu error stack trace.
Run your code with CUDA_LAUNCH_BLOCKING=1 to get the actual assert message printed.

For the hook issue, could you provide a small code sample to reproduce the segfault please?