[Bug 257314] FBSD 13 crash after some KDE parts crash supposing out of swap space

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 21 Jul 2021 15:13:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257314

            Bug ID: 257314
           Summary: FBSD 13 crash after some KDE parts crash supposing out
                    of swap space
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: michael.hmich@gmail.com

it happens generally while using gimp which crashes in a sudden disappearing
from screen, then for some time other apps were open and they vanish too until
the screen is black, no panel nothing but my konsole which I always have in the
corner, so I can do "shutdown now" and it works but hangs on a stalled block
cursor on first character top left



thing here is I have enough memory, I have enough swap space which is barely
used and also Gimp's gegl cache file which has no limite is in moderate use
between 300MB up to 1GB



here comes what I get in messages, sometimes there are more, sometimes less
programms



Jul 19 07:43:27 hm-fbsd kernel: pid 1551 (chrome), jid 0, uid 1002, was killed:
out of swap space
Jul 19 07:43:27 hm-fbsd kernel: pid 1685 (gimp-2.10), jid 0, uid 1002, was
killed: out of swap space
Jul 19 07:43:27 hm-fbsd kernel: pid 1546 (chrome), jid 0, uid 1002, was killed:
out of swap space
Jul 19 07:43:27 hm-fbsd kernel: pid 1574 (chrome), jid 0, uid 1002, was killed:
out of swap space
Jul 19 07:43:27 hm-fbsd kernel: pid 1283 (plasmashell), jid 0, uid 1002, was
killed: out of swap space
Jul 19 07:43:27 hm-fbsd kernel: pid 1548 (chrome), jid 0, uid 1002, was killed:
out of swap space
Jul 19 07:43:27 hm-fbsd kernel: pid 1786 (chrome), jid 0, uid 1002, was killed:
out of swap space
Jul 19 07:43:27 hm-fbsd kernel: pid 1193 (Xorg), jid 0, uid 0, was killed: out
of swap space
Jul 19 07:43:33 hm-fbsd console-kit-daemon[1189]: GLib-GObject-WARNING:
instance of invalid non-instantiatable type '(null)'
Jul 19 07:43:33 hm-fbsd console-kit-daemon[1189]: GLib-GObject-CRITICAL:
g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE
(instance)'
failed
Jul 19 07:43:33 hm-fbsd console-kit-daemon[1189]: GLib-GObject-WARNING:
instance of invalid non-instantiatable type '(null)'
Jul 19 07:43:33 hm-fbsd console-kit-daemon[1189]: GLib-GObject-CRITICAL:
g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE
(instance)'
failed
Jul 19 07:43:33 hm-fbsd console-kit-daemon[1189]: GLib-GObject-WARNING:
instance of invalid non-instantiatable type '(null)'
Jul 19 07:43:33 hm-fbsd console-kit-daemon[1189]: GLib-GObject-CRITICAL:
g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE
(instance)'
failed
Jul 19 07:43:41 hm-fbsd devd[663]: check_clients:  dropping disconnected client
Jul 19 07:43:41 hm-fbsd syslogd: last message repeated 1 times


some irrelevant lines later this:

Jul 19 07:44:04 hm-fbsd dbus-daemon[1122]: [system] Rejected send message, 2
matched rules; type="method_call", sender=":1.100" (uid=1002 pid=1904 comm="/us
r/local/lib/libexec/org_kde_powerdevil ")
interface="org.freedesktop.ConsoleKit.Manager" member="CanSuspendThenHibernate"
error name="(unset)" requested_rep
ly="0" destination="org.freedesktop.ConsoleKit" (uid=0 pid=1189
comm="/usr/local/sbin/console-kit-daemon --no-daemon ")
Jul 19 07:47:23 hm-fbsd chrome[2001]:
[2001:101263:0719/074723.261261:ERROR:browser_dm_token_storage_linux.cc(93)]
Error: /etc/machine-id contains 0 charact
ers (32 were expected).




sudo swapinfo -h 
Device              Size     Used    Avail Capacity
/dev/md99           8.0G       0B     8.0G     0%



ll /zroot/gimpswap/
-rwxr-x---  1 hm  wheel  3298597664 21 jul 10:59 gegl-swap-3266-0-shared*

the gimpswap is not very big as it seems, I work on 24 megapixel images in
32bit mode 


I can repeat the issue easily by repeating a memory intensive function 3 or 4
times and bang, means if you could tell me a better debug method I can do it
quite fast

on the same machine I have a linux disk with the same setup and never had any
problem

this disk is a factory zfs root install freeBSD 13 and amd cpu

GIMP has a setting to use or not to use hardware acceleration and it doesn't
matter

-- 
You are receiving this mail because:
You are the assignee for the bug.