Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 724196 - kde-apps/kpat-20.04.0 spams ~/.local/share/sddm/xorg-session.log
Summary: kde-apps/kpat-20.04.0 spams ~/.local/share/sddm/xorg-session.log
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-19 22:14 UTC by James L. Hammons
Modified: 2020-05-20 18:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James L. Hammons 2020-05-19 22:14:38 UTC
kpat fills up ~/.local/share/sddm/xorg-session.log with spam like the following:

print-layout-begin
Play0: |8S |6H |KH |4S |TH 8S 
Play1: |5S |4H |QH |8H |AH TH 
Play2: |6S |6H |KS |5H |TS 6S 
Play3: |KS |9S |2S |JS |QS 8S 
Play4: |AH |2S |5S |9H JH 
Play5: |JS |KS |4S |2H 7H 
Play6: |5S |QH |3H |9H 9H 
Play7: |QH |KH |7S |4S TS 
Play8: |KH |2S |6S |2H 2H 
Play9: |4S |3S |TH |9S AS 
Deal0: |5H |3H |QH |2H |3S |9S |7S |9H |7H |8H 
Deal1: |TS |8S |JS |4H |7S |3S |JS |7H |7H |5H 
Deal2: |2S |JH |TS |TH |9S |QS |4H |3H |KH |JH 
Deal3: |3S |AH |6H |5S |8H |AS |QS |AH |JH |4H 
Deal4: |AS |3H |QS |6H |7S |5H |8H |KS |AS |6S 
Off: 
print-layout-end
moves 10
  move 0 from 0 to 6 (1) Prio: 12
  move 0 from 1 to 4 (1) Prio: 22
  move 0 from 2 to 5 (1) Prio: 12
  move 0 from 3 to 6 (1) Prio: 12
  move 0 from 5 to 0 (1) Prio: 12
  move 0 from 5 to 3 (1) Prio: 12
  move 0 from 6 to 1 (1) Prio: 23
  move 0 from 6 to 7 (1) Prio: 12
  move 0 from 7 to 4 (1) Prio: 12
  move 0 from 9 to 8 (1) Prio: 12

In looking at the source, you can see where this comes from (patsolve/spidersolver.cpp).  However, the code that prints this stuff *should* be commented out by the #if PRINT ... #endif lines, as there is a #define that sets PRINT to 0.

And yes, this is a problem; in less than a day it chewed up over 10GB of disk space with this stuff (currently, the size of xorg-session.log is at ~64GB!).

Reproducible: Always

Steps to Reproduce:
1. Check the size of ~/.local/share/sddm/xorg-session.log
2. Open kpat, play a few rounds of spider
3. Check the size of ~/.local/share/sddm/xorg-session.log, it will be larger than before you played kpat/spider
Actual Results:  
Running out of disk space due to kpat/spider spam.

Expected Results:  
No spam from running kpat/spider.

$ emerge --info
Portage 2.3.99 (python 3.8.2-final-0, default/linux/amd64/17.1, gcc-8.4.0, glibc-2.31-r2, 5.1.2 x86_64)
=================================================================
System uname: Linux-5.1.2-x86_64-AMD_Ryzen_5_1600X_Six-Core_Processor-with-glibc2.2.5
KiB Mem:    16434216 total,    390720 free
KiB Swap:   16777212 total,  16571316 free
Timestamp of repository gentoo: Mon, 11 May 2020 14:00:01 +0000
Head commit of repository gentoo: b48852ff06bb5f4f240c384a3e63ece65268c746
sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p1) 2.34.0
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.2::gentoo
dev-lang/python:          2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo
dev-util/cmake:           3.17.1::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.34::gentoo
sys-devel/gcc:            8.3.0-r3::gentoo, 8.4.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

Local-Portage-Overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/mnt/filestore/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j13"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="10bit 12bit X a52 aac aacs acl alsa amd64 apng berkdb bzip2 cairo cli crypt cups dbus djvu dri dvd elogind faad fdk flac fluidsynth fortran gdbm gif gstreamer iconv javafx jpeg jpeg2k jumbo-build lcms libtirpc matroska midi mikmod minizip mng mod modplug mp3 mp4 mpeg multilib ncurses nls nptl numa ofx ogg opengl openmp opus pam pcre pcre16 pdfimport png postscript qt5 readline seccomp smpeg speex split-usr sqlite ssl svg system-av1 system-cairo system-harfbuzz system-icu system-jpeg system-lcms system-libevent system-sqlite system-zlib taglib tahoma tcpd text theora threads tiff truetype udisks unicode usb vorbis wav x264 x265 xattr xcb xkb xvid zip zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias authn_dbd dbd access_compat" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS