I have tried setting "ulimit -c unlimited". And I have edited the "/etc/security/limits.conf" and set the first line to unlimited. I have restarted apport. I have restarted my system.
However, when I run my program (with AddressSanitizer enabled and configured to create coredumps), "/var/log/apport.log" prints "core limit 0".
What on earth could be the problem?