The `pv_get_buffer()` return the pointer of the allocated buffer, which should be aligned:
``` 3593 p = pv_get_buffer(); 3594 memcpy(p, in->s, in->len); ```
That means there is a buffer overflow/memory overwrite in one of the components you use. If you can narrow it down to a minimal config, it would help a lot. Also, knowing if default `kamailio.cfg` + `append_hf_value()` works or not would help to rule out many modules.