I can confirm this. The problem is, as the reporter described, because
the files in /var/crash are constantly changing whilst Apport is doing
it's job.

When something changes in /var/crash, update-notifier calls /usr/share
/apport-checkreports up to 5 seconds later to see if there are any new
crash reports. apport-checkreports indicates that there are new reports
if any files modified time in /var/crash is newer than it's accessed
time (I think). Therefore, apport-checkreports will be called every 5
seconds whilst a report is being generated, and it will indicate that
there are new reports each time it is called.

The logic in crashreport_check() in update-notifier will display the
tray icon if there are new reports (as indicated by apport-checkreports)
AND one of these is a system report (ie, a crash of a root daemon - also
indicated by apport-checkreports).

This doesn't happen with crashes of user applications, because update-
notifier follows a different codepath which leads to apport-gtk being
launched instead of the tray icon being directly displayed.

** Changed in: apport (Ubuntu)
Sourcepackagename: None => apport
       Status: Incomplete => Confirmed

-- 
crash notification pops up repeatedly
https://bugs.launchpad.net/bugs/180743
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