Bug 781463 - Gstreamer errors fill up disk space, in loop with knotify4 recording same error messages over and over
Summary: Gstreamer errors fill up disk space, in loop with knotify4 recording same err...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gstreamer
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Benjamin Otte
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-13 14:37 UTC by Bill C. Riemers
Modified: 2013-02-14 02:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-14 02:08:51 UTC
Type: ---


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 781462 0 low CLOSED .xsession-errors file will fill up HDD inordinately 2021-02-22 00:41:40 UTC

Internal Links: 781462

Description Bill C. Riemers 2012-01-13 14:37:33 UTC
Description of problem:

Occasionally gstreamer will go into and endless loop writing error messages over and over as fast as it can to the .xsession-errors file, both filling up the disk space and freezing the system with IO. 

In this particular case the error message is:

(knotify4:21680): GStreamer-CRITICAL **: gst_poll_write_control: assertion `set != NULL' failed

(knotify4:21680): GStreamer-WARNING **: gstsystemclock: write control failed in wakeup_async, trying again : 24:Too many open files


Version-Release number of selected component (if applicable):

gstreamer-0.10.35-1.fc16

How reproducible:

Happens to me about once a week, more often if I don't reboot every night.  I do not know what conditions cause this.

Steps to Reproduce:
1. Login to gnome
2. Do my work
3.
  
Actual results:

Eventually goes into a loop, bringing  my system to a crawl until it finishes writing it's 30 GB file.  At that point the only way to recover completely is to delete the log file and reboot.

Expected results:

Still be running until the day I die.

Additional info:

The final block of messages in the log file is always warnings about the disk being full.  Consequently most people probably never even find the correct error message to report.

Comment 1 Bill C. Riemers 2012-02-11 02:33:05 UTC
Here is some fresh information.  Currently this bug is happening right now.  I have in one terminal:

watch truncate --size=0 .xsession-errors

So every two seconds the .xsession-errors file is truncated.

Everytime I check the file is back to a significant size.  When I do head .xsession-errors I see something like:

[briemers@briemersw ~]$ head .xsession-errors

(knotify4:3136): GStreamer-WARNING **: gstsystemclock: write control failed in wakeup_async, trying again : 28:No space left on device


(knotify4:3136): GStreamer-CRITICAL **: gst_poll_write_control: assertion `set != NULL' failed

(knotify4:3136): GStreamer-WARNING **: gstsystemclock: write control failed in wakeup_async, trying again : 28:No space left on device


(knotify4:3136): GStreamer-CRITICAL **: gst_poll_write_control: assertion `set != NULL' failed


I then did: 

killall knotify4

Now I see:

[briemers@briemersw ~]$ ls -la .xsession-errors
-rw-------. 1 briemers briemers 0 Feb 10 21:30 .xsession-errors


I also see knotify4 has restarted.  I killed my watch process, and the file size has remained at zero.

So it looks like a HUGE part of the problem is gstreamer is ending up in a loop with knotify4 where it keeps logging same error over and over, even after the error condition that caused the error has been resolved...

Comment 2 Fedora Update System 2012-03-01 00:32:06 UTC
gstreamer-plugins-bad-free-0.10.23-2.fc17,gstreamer-plugins-good-0.10.31-1.fc17,gstreamer-plugins-base-0.10.36-1.fc17,gstreamer-0.10.36-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/gstreamer-plugins-bad-free-0.10.23-2.fc17,gstreamer-plugins-good-0.10.31-1.fc17,gstreamer-plugins-base-0.10.36-1.fc17,gstreamer-0.10.36-1.fc17

Comment 3 Fedora Update System 2012-03-02 00:59:46 UTC
Package gstreamer-plugins-bad-free-0.10.23-2.fc17, gstreamer-plugins-good-0.10.31-1.fc17, gstreamer-plugins-base-0.10.36-1.fc17, gstreamer-0.10.36-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gstreamer-plugins-bad-free-0.10.23-2.fc17 gstreamer-plugins-good-0.10.31-1.fc17 gstreamer-plugins-base-0.10.36-1.fc17 gstreamer-0.10.36-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-2823/gstreamer-plugins-bad-free-0.10.23-2.fc17,gstreamer-plugins-good-0.10.31-1.fc17,gstreamer-plugins-base-0.10.36-1.fc17,gstreamer-0.10.36-1.fc17
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-03-05 20:56:37 UTC
Package gstreamer-plugins-bad-free-0.10.23-2.fc17, gstreamer-plugins-good-0.10.31-1.fc17, gstreamer-plugins-base-0.10.36-1.fc17, gstreamer-0.10.36-1.fc17, qt-mobility-1.2.0-10.20110922.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gstreamer-plugins-bad-free-0.10.23-2.fc17 gstreamer-plugins-good-0.10.31-1.fc17 gstreamer-plugins-base-0.10.36-1.fc17 gstreamer-0.10.36-1.fc17 qt-mobility-1.2.0-10.20110922.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-2823/gstreamer-plugins-bad-free-0.10.23-2.fc17,gstreamer-plugins-good-0.10.31-1.fc17,gstreamer-plugins-base-0.10.36-1.fc17,gstreamer-0.10.36-1.fc17,qt-mobility-1.2.0-10.20110922.fc17
then log in and leave karma (feedback).

Comment 5 Hans Ecke 2012-03-06 01:24:20 UTC
Could we please get this for F15/F16 as well? Today this filled a .xsession file with 24GB of junk, then /home was entirely full, then sendmail could not deliver email anymore, then the NFS server locked up, and then all hell broke lose.

Comment 6 Bill C. Riemers 2012-03-06 14:07:08 UTC
I am marking this back to assigned, as this is a bug report for F16, but the fix that is ON_QA is for F17.

To work around first turn off notifications on your login account.

I've only seen this happen once since I turned off notifications...  To avoid having it fill up your disk completely in that rare instance make a scheduled job that does the following:
   killall knotify4
   truncate --size=0 ~/.xsessionerrors

Comment 7 Fedora Update System 2012-03-11 16:59:55 UTC
gstreamer-plugins-bad-free-0.10.23-2.fc17, gstreamer-plugins-good-0.10.31-1.fc17, gstreamer-plugins-base-0.10.36-1.fc17, gstreamer-0.10.36-1.fc17, qt-mobility-1.2.0-10.20110922.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Bill C. Riemers 2012-03-12 12:23:33 UTC
Can we get a fedora 16 build for this fix?

Comment 9 Hans Ecke 2012-03-12 12:51:02 UTC
I don't know why our systems would be so susceptible to this problem, but it just happened again. If not for a script along the lines of what Bill provided above, we would have been hosed again. (See my whine above) So *please* fix this for F15/F16 as well!

Comment 10 Fedora End Of Life 2013-02-14 02:08:55 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.