Daniel-Constantin Mierla writes:
However, that had invalid access to transaction pointer. In this case, accessing transaction is ok, by setting a variable to the address of one of its fields, but then the variable becomes NULL, which is not possible unless the stack got corrupted/overwritten. However, from the moment of setting the variable till the moment of the crash, there are no other set or copy operations, therefore nothing that I can relate to kamailio's c code. Maybe it happens another time and the backtrace will be different.
I agree, Juha