(no subject)

Alexey Shuvaev shuvaev at physik.uni-wuerzburg.de
Tue Jan 27 07:56:00 PST 2009


On Mon, Jan 26, 2009 at 04:58:23PM -0300, Arthur Melo wrote:
> Dear Srs.
> 
> The error ocurred when I enter in my gmail.
> 
> [suporte at bsdteste /usr/home/suporte]$ firefox --sync
> :1: error: unexpected character `\1', expected keyword - e.g. `style'
> NP_Initialize
> New
> open dsp: No such file or directory
> SetWindow
> SetWindow
> NewStream
> WriteReady
> Write
> decoding...
> shmget: Cannot allocate memory
  ^^^^^^^
> Size = 547 x 225
> shmat: Invalid argument
> The program 'firefox-bin' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadAccess (attempt to access private resource denied)'.
>   (Details: serial 33 error_code 10 request_code 146 minor_code 1)
>   (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.)
> [suporte at bsdteste /usr/home/suporte]$ uname -a
> FreeBSD bsdteste.grupoatemde.com.br 7.1-RELEASE FreeBSD 7.1-RELEASE
> #0: Thu Jan  1 14:37:25 UTC 2009
> root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
> [suporte at bsdteste /usr/home/suporte]$
> 
Any chance you have running postgresql server on this machine?
Seems you are running out of kernel's limits on SysV shared memory resources.
You could try doing what is in postgresql's pkg-message:

[snip]
To allow many simultaneous connections to your PostgreSQL server, you
should raise the SystemV shared memory limits in your kernel. Here are
example values for allowing up to 180 clients (configurations in
postgresql.conf also needed, of course):
  options         SYSVSHM
  options         SYSVSEM
  options         SYSVMSG
  options         SHMMAXPGS=65536
  options         SEMMNI=40
  options         SEMMNS=240
  options         SEMUME=40
  options         SEMMNU=120
[snip]

My 0.02$,
Alexey.


More information about the freebsd-gnome mailing list