I just realized that gnomine is a hard example, as it forks, and thus killall will kill both processes. So you either manage to kill the right one, or apport will race with itself, and you might catch the wrong process first.
So you get the exception because in this case the symlink shows "... (deleted)" and thus the stat only stats the /exe symlink instead of the target binary. The followup exception catches this and still prevents the bug from being reported, so this scenario actually already works in precise final. But I can easily clean this up to work without an exception.
I just realized that gnomine is a hard example, as it forks, and thus killall will kill both processes. So you either manage to kill the right one, or apport will race with itself, and you might catch the wrong process first.
So you get the exception because in this case the symlink shows "... (deleted)" and thus the stat only stats the /exe symlink instead of the target binary. The followup exception catches this and still prevents the bug from being reported, so this scenario actually already works in precise final. But I can easily clean this up to work without an exception.