To make things easier to debug, here's the minimal reproducer:
rm -ri lp1528139 mkdir lp1528139 echo ' /foo { } /bar { network inet6 dgram, # any rule handled by a *Rule class will cause the crash } ' > lp1528139/lplp1528139.profile
python3 aa-logprof -d lp1528139/ -f <(echo '[ 2590.544373] audit: type=1400 audit(1450688542.244:3848): apparmor="ALLOWED" operation="open" profile="/foo" name="/crash/me" pid=7983 comm="foo" requested_mask="r" denied_mask="r" fsuid=0 ouid=0')
To make things easier to debug, here's the minimal reproducer:
rm -ri lp1528139 lplp1528139. profile
mkdir lp1528139
echo '
/foo {
}
/bar {
network inet6 dgram, # any rule handled by a *Rule class will cause the crash
}
' > lp1528139/
python3 aa-logprof -d lp1528139/ -f <(echo '[ 2590.544373] audit: type=1400 audit(145068854 2.244:3848) : apparmor="ALLOWED" operation="open" profile="/foo" name="/crash/me" pid=7983 comm="foo" requested_mask="r" denied_mask="r" fsuid=0 ouid=0')