>From looking at the source code (bin/apport), apport does not record the
crash if a report exists already and has been seen by the user.

>From the code:
        report = '%s/%s.%i.crash' % (apport.fileutils.report_dir, 
info['ExecutablePath'].replace('/', '_'), pidstat.st_uid)
        if os.path.exists(report):
            if apport.fileutils.seen_report(report):
                # do not flood the logs and the user with repeated crashes
                crash_counter = 
apport.fileutils.get_recent_crashes(open(report))
                crash_counter += 1
                if crash_counter > 1:
                    drop_privileges(pid)
                    write_user_coredump(pid, cwd, core_ulimit)
                    sys.exit(1)
            else:
                error_log('apport: report %s already exists and unseen, doing 
nothing to avoid disk usage DoS' % report)
                drop_privileges(pid)
                write_user_coredump(pid, cwd, core_ulimit)
                sys.exit(1)

-- 
apport does not catch crashes sometimes
https://bugs.launchpad.net/bugs/215381
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to