[konsole] [Bug 480884] New: Konsole terminates when a program launched by it runs out of memory (oom-kill)

Massimiliano L bugzilla_noreply at kde.org
Mon Feb 5 09:28:37 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=480884

            Bug ID: 480884
           Summary: Konsole terminates when a program launched by it runs
                    out of memory (oom-kill)
    Classification: Applications
           Product: konsole
           Version: 23.08.4
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: m.lincetto at gmail.com
  Target Milestone: ---

SUMMARY
When launching a program from Konsole and the program runs out of memory,
Konsole terminates as well. Here is an extract from kernel logs:

[ 4798.852688]
oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/user at 1000.service/app.slice/app-org.kde.konsole-0b1078c44601481893367fffe01d53f3.scope,task=python,pid=33408,uid=1000
[ 4798.852755] Out of memory: Killed process 33408 (python)
total-vm:40125280kB, anon-rss:24510464kB, file-rss:4604kB, shmem-rss:0kB,
UID:1000 pgtables:60432kB oom_score_adj:200

STEPS TO REPRODUCE
1. launch a memory-eater program;
2. wait until it fills the entire RAM and is killed by the kernel.

OBSERVED RESULT
The Konsole window disappears.

EXPECTED RESULT
The Konsole window should stay open, and report that the program has been
terminated because of an OOM.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 39
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
The same behaviour is shown by Yakuake. On the other hand GNOME Terminal
survives the killing of the process.

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


More information about the konsole-devel mailing list