[Bug 703098] New: KDE4 is filling up "~/.xsession-errors" with 1 MiB / 32 secs.!!
https://bugzilla.novell.com/show_bug.cgi?id=703098 https://bugzilla.novell.com/show_bug.cgi?id=703098#c0 Summary: KDE4 is filling up "~/.xsession-errors" with 1 MiB / 32 secs.!! Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Critical Priority: P5 - None Component: KDE4 Workspace AssignedTo: kde-maintainers@suse.de ReportedBy: DOlsson@WEB.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 After having installed a fresh openSUSE 11.4, I have been working as root for quite some time in order to prepare for a system move from openSUSE 11.1 to 11.4. During this work, I was quite repeatedly informed by the file system monitor that my root file system was running full. Investigating this, I found that I had a 320 MiB large "/root/.xsession-errors" file and while my root file system is rather minimal (total size is 768 MiB), this is not good. Further investigations revealed that this file is growing with 1 MiB every 32. secs.!!! Reproducible: Always Steps to Reproduce: 1. Fresh install openSUSE 11.4 using a separate file system ala: Filesystem Size Used Avail Use% Mounted on rootfs 756M 422M 296M 59% / devtmpfs 1.5G 300K 1.5G 1% /dev tmpfs 1.5G 1.8M 1.5G 1% /dev/shm /dev/mapper/os-root114 756M 422M 296M 59% / /dev/sda2 251M 27M 211M 12% /boot /dev/mapper/os-usr114 6.0G 4.2G 1.5G 75% /usr /dev/mapper/os-usrsrc 9.9G 151M 9.2G 2% /usr/src /dev/mapper/os-var114 5.0G 415M 4.3G 9% /var /dev/mapper/os-vartmp 6.0G 197M 5.5G 4% /var/tmp /dev/mapper/os-opt114 2.0G 67M 1.9G 4% /opt /dev/mapper/os-srv114 567M 18M 521M 4% /srv /dev/mapper/os-tmp 6.0G 196M 5.5G 4% /tmp /dev/mapper/os-home 25G 22G 3.6G 86% /home 2. Do a graphical login as "root" 3. Now sit around and observe that the root file system is being filled up at a rate of ca. 1 MiB per half minute. Actual Results: The "~/.xsession-errors" file is being filled up with tons of irrelevant debugging messages from KDE4 (see attachment). Expected Results: That KDE4 stops spitting output tons of irrelevant debug messages, so that it is possible to do actually work on ones system, without having to allocate 1 TiB of disk space for each file system upon which a user home directory happens to be located! Currently the only "work-around" I have found is to do a periodical: date '+%Y-%m-%dT%T Log was forcible shorten' >~/.xsession-errors in order to release the data blocks used (a nice side effect on *nix systems;-). But, this is really not the way to solve this, although it works. The reason why you cannot do anything else is that tons of applications have the "~/.xsession-error" file opened, so removing it will not release the blocks until one has logged out. Removing it only means that you cannot access the file name any more, but the file is still around in memory / kernel, and will eventually fill up the file system (you can see this with "lsof | grep /.xsession-errors", where it has been marked as "(deleted)"). Using the above work-around releases the allocated data blocks and replaces these with NULLs instead, but the file keeps its idea of how large it is, e.g. # ls -lah ~/.xsession-errors -rw------- 1 root root 158M Jun 30 09:53 /root/.xsession-errors But, at some point even this will fail, while the under laying file system also has a limit on how large a file can be, which eventually means that you will have to logout from your graphical session, and somehow remove the "~/.xsession-errors" file from a non graphical login, in order to be able to resume your graphical work. Not a good idea for how a notebook user should use her system... The only other report on this I have found is bug 574732, although this is about KDE 4.4 and openSUSE 11.4 uses 4.6 -- But, the problem with KDE4 has definitively *not* been solved! Oh yes, I *have* checked the suggestion from comment 9 in bug 574732 -- "kdebugdialog" reports that "disable all debug output" is indeed checked! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=703098 https://bugzilla.novell.com/show_bug.cgi?id=703098#c1 --- Comment #1 from Dennis Olsson <DOlsson@WEB.de> 2011-06-30 21:23:04 CEST --- Interesting enough, this filling up with the "QPainter::" error messages *only* happens, when running as "root". I do not get these error messages in the "~/.xsession-errors" file, when running as a normal user (I get others, but to a much smaller extent!-). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=703098 https://bugzilla.novell.com/show_bug.cgi?id=703098#c2 --- Comment #2 from Dennis Olsson <DOlsson@WEB.de> 2011-06-30 21:29:16 CEST --- Created an attachment (id=437811) --> (http://bugzilla.novell.com/attachment.cgi?id=437811) Sample of how the "~/.xsessions-errors" file looks like after a few seconds of logon time (~1.5 secs!). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=703098 https://bugzilla.novell.com/show_bug.cgi?id=703098#c3 --- Comment #3 from Christoph Feck <christoph@maxiom.de> 2011-08-01 22:32:36 UTC --- Those QPainter messages are very likely from KHTML. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=703098 https://bugzilla.novell.com/show_bug.cgi?id=703098#c4 --- Comment #4 from Dennis Olsson <D.Olsson@Netzwerk-Design.de> 2011-08-02 11:44:12 CEST --- HHmmm, and how can this help me in not getting the "~/.xsession-errors" filled up? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=703098 https://bugzilla.novell.com/show_bug.cgi?id=703098#c5 Bernhard Wiedemann <bwiedemann@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@novell.com --- Comment #5 from Bernhard Wiedemann <bwiedemann@novell.com> 2011-08-21 08:21:23 CEST --- as the messages QPainter::setPen: Painter not active QPainter::brush: Painter not active QPainter::setBrush: Painter not active QPainter::pen: Painter not active are also mentioned in https://debianforum.de/forum/viewtopic.php?f=12&t=126974&start=0#p812550 I would think, this is an upstream problem that should have been filed on bugs.kde.org. I do not see this with KDE-4.7 on openSUSE-12.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=703098 https://bugzilla.novell.com/show_bug.cgi?id=703098#c6 Hrvoje Senjan <hrvoje.senjan@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED CC| |hrvoje.senjan@gmail.com Resolution| |FIXED --- Comment #6 from Hrvoje Senjan <hrvoje.senjan@gmail.com> 2012-11-15 22:03:05 UTC --- Closing, 11.4 reached EOL, if you can reproduce with >= 12.1 open a new BR. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com