LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-20-2017, 04:17 PM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Maximum number of clients reached Segmentation fault


Quote:
Maximum number of clients reached
Segmentation fault
how does someone fix something like that? I am running a program that changes background images, now I am using a linked list to do this, and not a bash script, which the bash script has never ever gave me this Maximum number of clients reached Segmentation fault.

so I am guessing it is somehow linked to the link list (pun intended).

how do I deal with such a thing if it is going to be giving me this error blow up and quit?

what is this max number of clients for a changing desktop images for?

its broke I cannot even use my normal desktop image setter - I just keep getting that same error then boom! seg fault.

Googled it and it looks like I am not the only one that has experienced this one, but I'm confused on this one. I see no fixes -- work around but see some post that say solved but not how they did it.

Last edited by BW-userx; 08-20-2017 at 04:53 PM.
 
Old 08-23-2017, 01:45 PM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
I don't know anything about the situation here, but maybe your program has a bug in it. Maybe it is "racing" uncontrollably and saturating the service that it is talking to. There is usually a "give and take, start and finish" protocol that must be observed, and perhaps your program has that sort of bug in it.
 
Old 08-23-2017, 02:26 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Googling for "Maximum number of clients reached" (which is definitely being thrown by X) got me... a lot of recent links that I didn't bother reading. You can google it yourself. Here are a couple of hits I got:

https://bugs.launchpad.net/ubuntu/+s...z/+bug/1518411
https://bbs.archlinux.org/viewtopic.php?id=188052

For the segfaults involving your linked list, you'd debug them using a procedure like this.

http://www.cprogramming.com/debugging/segfaults.html

The relationship between the two, if there is one, would be that the X error confused your program to the point where it segfaulted. So solve the "Maximum number of clients reached" first. Honestly, I'd start by turning the box off and on again and seeing if it goes away.

Last edited by dugan; 08-23-2017 at 02:53 PM.
 
Old 08-23-2017, 08:13 PM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by dugan View Post
Googling for "Maximum number of clients reached" (which is definitely being thrown by X) got me... a lot of recent links that I didn't bother reading. You can google it yourself. Here are a couple of hits I got:

https://bugs.launchpad.net/ubuntu/+s...z/+bug/1518411
https://bbs.archlinux.org/viewtopic.php?id=188052

For the segfaults involving your linked list, you'd debug them using a procedure like this.

http://www.cprogramming.com/debugging/segfaults.html

The relationship between the two, if there is one, would be that the X error confused your program to the point where it segfaulted. So solve the "Maximum number of clients reached" first. Honestly, I'd start by turning the box off and on again and seeing if it goes away.
yeah google here is saturated with this seg fault.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libva crash (Maximum number of clients reached) Bad Blue Bull Slackware 12 07-26-2017 01:49 AM
[SOLVED] Gtk-WARNING **: cannot open display: :0, Maximum number of clients reached allenlinux Linux - Newbie 0 09-17-2014 05:44 AM
IPv6: Maximum number of routes reached, consider increasing route/max shailendra7479@gmail.com Linux - Kernel 5 12-23-2013 10:11 AM
X11: Maximum number of clients reached willysr Slackware 6 04-18-2012 02:21 PM
Maximum number of clients svetlio0o Slackware 4 12-19-2008 09:30 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration