[Konsole-devel] [konsole] [Bug 358751] New: konsole loses file descriptors and eventually runs out of them and crashes

Karsten Künne via KDE Bugzilla bugzilla_noreply at kde.org
Fri Jan 29 22:03:32 UTC 2016


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

            Bug ID: 358751
           Summary: konsole loses file descriptors and eventually runs out
                    of them and crashes
           Product: konsole
           Version: unspecified
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: kuenne at rentec.com

If I start a fresh konsole process it has 3 socket connections open. If I work
for a while and then check again the number of sockets belonging to konsole
increases. This is going on until konsole reaches the file descriptor limit and
either won't let me open more sessions or crashes. Most of the socket
connections are between itself. Following is the current situation on my
desktop for instance (netstat_unix is a simple script which adds the other end
of a socket to the output):

./netstat_unix | grep konsole
Warning: couldn't map 4 sockets.
unix  3      [ ]         STREAM     CONNECTED     58236419 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58236420 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58244071 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58232305 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58209503 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58196821 1997/dbus-daemon  
25237/konsole               @/tmp/dbus-ZwOV6P0BFv
unix  3      [ ]         STREAM     CONNECTED     58197623 25237/konsole     
2054/ksmserver              
unix  3      [ ]         STREAM     CONNECTED     58244072 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58209504 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58212918 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58236369 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58304458 665/dbus-daemon   
25237/konsole               /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     58196824 1885/Xorg         
25237/konsole               @/tmp/.X11-unix/X0
unix  3      [ ]         STREAM     CONNECTED     58236370 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58214076 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58197618 25237/konsole     
1997/dbus-daemon            
unix  3      [ ]         STREAM     CONNECTED     58215713 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58215714 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58214075 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58209509 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58212919 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58232306 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58208783 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58208784 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58209508 25237/konsole     
25237/konsole               
unix  3      [ ]         STREAM     CONNECTED     58305787 25237/konsole     
665/dbus-daemon             
unix  3      [ ]         STREAM     CONNECTED     58199112 2054/ksmserver [kd
25237/konsole             e @/tmp/.ICE-unix/2054
unix  3      [ ]         STREAM     CONNECTED     58197622 25237/konsole     
1885/Xorg                   


Over time the number of sockets from konsole process 25237 to itself will
continue to rise.
This is with Version 15.12.0, Using: 
KDE Frameworks 5.16.0
Qt 5.5.1 (built against 5.5.0)
The xcb windowing system

on OpenSUSE Leap 42.1


Reproducible: Always

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


More information about the konsole-devel mailing list