Dhanaraj M
pgAdmin3 - Failed to start (BadAlloc problem)
Recently I heard from the customer that pgadmin fails to start with the information..
BadAlloc (insufficient resources for operation)
(Details: serial 172 error_code 11 request_code 131 minor_code 5)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
I root-caused the problem. The summary is here..
There has been a Xserver fix integrated which affects both Xsun/Xorg (sprac/x86). It was
integrated into SNV_79a & S10U5-05.
Hence, 119050-36 (sparc) & 119060-35 (x86) bad patches cause the Badalloc
problem.
This is fixed in SNV_84 & S10U5-09. Another solution is to upgrade to the recent 119059-40 (sparc) & 119060-40 (x86) patch level or the above.
Another workaround for X86:
1. To work around the described issues for the Xorg(1) server, the affected X Server extensions may be disabled.
$ /usr/X11/bin/Xorg -extension MIT-SHM
2. The X Server extensions may also be disabled by editing the xorg.conf(4) file. For example, to disable the MIT-SHM extension, the following lines may be added to the xorg.conf(4) file:
Section "Extensions" Option "MIT-SHM" "disable" EndSection
Posted at 11:37AM Feb 15, 2008 by dhanarajm in Sun | Comments[3]
We are seeing this issue - we are running Solaris Sparc 5.10 generic_127111-09.
If we run it from the command line on the SAME server that the X/Sun Ray session is logged in on we get errors every time. However, if we login to the other Sun Ray server (the opposite one from the one that our session is logged into) and set the DISPLAY environment variable, and
then run pgadmin, it works. This works with both version 1.6.3 and 1.8.0.
Any ideas?
Posted by Eric Dunn on March 06, 2008 at 09:36 PM IST #
Looking on the Sun Site I do not see the above mentioned patch for SPARC- 119059-40 (sparc) .
Where might I get the said patch?
Thanks,
Eric
Posted by Eric Dunn on March 06, 2008 at 10:08 PM IST #
1. 119059-40 patch will be out soon. "Sun solve" is the right place to check.
2. When DISPLAY is set, you don't use the server's xserver. You are using the local machine's xserver. Hence, check the patch level of your local machine.
Posted by 192.18.17.40 on March 10, 2008 at 05:04 PM IST #