After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 633086 - SEGV on start when MAXCLIENTS is reached - Maximum number of clients reached
SEGV on start when MAXCLIENTS is reached - Maximum number of clients reached
Status: RESOLVED NOTGNOME
Product: nautilus
Classification: Core
Component: general
unspecified
Other FreeBSD
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-10-25 09:02 UTC by kenorb
Modified: 2010-10-25 09:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description kenorb 2010-10-25 09:02:14 UTC
If this is reached:
./include/misc.h:#define MAXCLIENTS	256

You see following errors:
<code>
Maximum number of clients reached
** (nautilus:40909): WARNING **: Unable to open display ':0.0' when setting background pixmap

(nautilus:40909): Gdk-CRITICAL **: gdk_draw_pixbuf: assertion `GDK_IS_DRAWABLE (drawable)' failed

(nautilus:40909): GLib-CRITICAL **: g_convert: assertion `str != NULL' failed

(nautilus:40909): GLib-CRITICAL **: g_convert: assertion `str != NULL' failed
Segmentation fault
</code>
Comment 1 kenorb 2010-10-25 09:02:41 UTC
See also:
http://forums.freebsd.org/showthread.php?p=103112
Comment 2 Cosimo Cecchi 2010-10-25 09:12:50 UTC
(In reply to comment #0)
> If this is reached:
> ./include/misc.h:#define MAXCLIENTS    256
> 
> You see following errors:
> <code>
> Maximum number of clients reached
> ** (nautilus:40909): WARNING **: Unable to open display ':0.0' when setting
> background pixmap

That doesn't seem to be a bug in nautilus, but you genuinely might have hit the maximum number of X clients.
To see who is hammering X, you can use `xlsclients`. Please reopen if that shows nautilus is the culprit.
Comment 3 kenorb 2010-10-25 09:38:13 UTC
At least there shouldn't be: Segmentation fault
All 'Segmentation fault' are bugs.

> sudo chrome
Maximum number of clients reached
(chrome:55704): Gtk-WARNING **: cannot open display: :0.0

> xlsclients 
Maximum number of clients reachedxlsclients:  unable to open display ":0.0"


> gnome-about
Maximum number of clients reached/usr/local/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)


> firefox3 
Maximum number of clients reachedMaximum number of clients reachedError: cannot open display: :0.0

All other application doesn't do SEGV if Maximum number of clients is reached.
Comment 4 kenorb 2010-10-25 09:40:10 UTC
http://en.wikipedia.org/wiki/Segmentation_fault
So it's normal behavior then that it dump core files all the time, when I run it?