Bug 183252

Summary: Empty "Default Browser" launches fill x client limit and freezes kde.
Product: [Unmaintained] kdelibs Reporter: parand <paradoxin>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: anselmolsm, kdestuff, magnus.bergmark, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description parand 2009-02-05 02:14:51 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Gentoo Packages

Trying to launch a browser from a link, (Say for example, clicking "Open in new browser" on a link in Xchat), caused an uncountable amount of the application /usr/bin/kfmclient trying to access that url. 

The task bar was flooded with Konqueror applications and icons, clipping each other until KDE became unresponsive. After 20 seconds or so, they all disappeared, but I could not launch any new applications, with the error: 
Maximum number of clients reachedError: cannot open display: :0

xrestop showed that there were many "unknown" applications taking client slots, with very small memory usage, as seen in the next post.

I encountered this after setting the default browser to mozilla firefox, after installing mozilla-firefox-bin from portage, then removing that with emerge -C, and installing mozilla-firefox. This left the Default Browser field blank, which led to a flood of konquerors. This is always reproducible.
Comment 1 parand 2009-02-05 02:16:23 UTC
xrestop - Display: localhost:0
          Monitoring 236 clients. XErrors: 0
          Pixmaps:  122586K total, Other:     146K total, All:  122732K total

res-base Wins  GCs Fnts Pxms Misc   Pxm mem  Other   Total   PID Identifier
3200000   545  126    0  186  157    81414K     19K  81433K   876 kpdf
11600000    27    1    0  719  811    17340K     19K  17359K  1509 Qt-subapplication
4000000    56    1    1    5 1199     6594K     30K   6625K   ?   compiz
1d600000   132   65    1  431   92     5373K      7K   5381K  1648 codeblocks
0c00000   178   44    1   99  172     4197K     10K   4207K   924 emerald
2e00000     5    1    0   92  135     3840K      3K   3843K   869 Qt-subapplication
1800000     3    1    0   66  134     1621K      3K   1624K   818
1e00000   302   84    1  336  142     1114K     13K   1127K  2146 Vuze
2a00000     3    1    0   80   96      761K      2K    763K   854 Nepomuk Strigi File Indexing - Nepomuk Service Stub
3a00000     6    1    0   18   31      124K    912B    125K   917 klipper
2c00000     5    1    0   27   38      111K      1K    112K   867 Intel ICH
3400000    69   29    1   17   78       40K      5K     45K   897 Pidgin
3c00000     2    1    0    7   16       29K    456B     30K   925
0000000     2    0    2    0  128        0B      5K      5K   ?   <unknown>
0a00000     0    1    0    0  115        0B      2K      2K   ?   <unknown>
3800000     2    1    0    0    6        0B    216B    216B   906 kded
0e00000     1    1    0    0    5        0B    168B    168B   ?   <unknown>
2800000     0    1    0    0    3        0B     96B     96B   ?   <unknown>
2600000     0    1    0    0    3        0B     96B     96B   ?   <unknown>
2200000     0    1    0    0    3        0B     96B     96B   ?   <unknown>
2000000     0    1    0    0    3        0B     96B     96B   ?   <unknown>
1a00000     0    1    0    0    3        0B     96B     96B   ?   <unknown>
1400000     0    1    0    0    3        0B     96B     96B   ?   <unknown>
1200000     0    1    0    0    3        0B     96B     96B   ?   <unknown>
0400000     0    1    0    0    3        0B     96B     96B   ?   <unknown>
1d400000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1d200000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1d000000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1ce00000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1cc00000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1ca00000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1c800000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1c600000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1c400000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1c200000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1c000000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1be00000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1bc00000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1ba00000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1b800000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1b600000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1b400000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1b200000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1b000000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1ae00000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1ac00000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1aa00000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1a800000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
1a600000     0    1    0    0    2        0B     72B     72B   ?   <unknown>
Comment 2 Morten Sjoegren 2009-05-03 22:31:27 UTC
I can confirm it bug on kubuntu 9.04 with KDE4.2.2.

The problem also exist is the alternative browser isn't valid (doesn't exist)
Comment 3 Magnus Bergmark 2009-08-19 23:03:19 UTC
I, too, can confirm this on Kubuntu 9.04, KDE 4.3.00. The browser command blanked itself out when switching from Firefox 3.0 to Firefox 3.5 on Kubuntu, so this can happen to a lot of people.

Always reproducible and makes the session unusable to less knowledgeable people.

I propose moving this up in severity (since clicking a link may force a user to log out). Platform can also be changed from Gentoo Packages.

IMO, a dialog should pop up saying "Cannot find your specified browser: 'xxxx'.
[ Try again ]  [ Open in Konqueror ]  [ Don't open ]"
Comment 4 Magnus Bergmark 2009-12-09 22:20:21 UTC
What's the status of this bug? It's still unconfirmed
Comment 5 Andrew Crouthamel 2018-11-02 22:56:00 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Andrew Crouthamel 2018-11-16 05:35:55 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version?

Thank you for helping us make KDE software even better for everyone!
Comment 7 Anselmo L. S. Melo (anselmolsm) 2019-02-01 18:39:47 UTC
I've just hit this issue.

KDE Frameworks 5.54.0
Qt 5.12.0 (built against 5.12.0)
The xcb windowing system
Built from sources.
Comment 8 Nate Graham 2019-12-06 19:10:02 UTC
Can you provide clear steps to reproduce so we can see how you hit this bug?
Comment 9 Bug Janitor Service 2019-12-21 04:33:07 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2020-01-05 04:33:09 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!