Date: Sat, 5 Jun 1999 22:17:59 +0100 (WEST) From: Jose Gabriel Marcelino <gabriel@maquina.com> To: freebsd-current@freebsd.org Subject: Gtk trouble.. Message-ID: <Pine.BSF.4.05.9906052130440.12277-100000@devils.int.maquina.com>
next in thread | raw e-mail | index | archive | help
Hi! Since upgrading to the gtk-1.2 ports I've been having some problems with programs compiled with it (like Gimp or e-conf) If I run them as a regular user I get the following errors during startup or during execution at random intervals (sometimes it takes longer than other times..) However if I run them as root everything works perfectly. ---- DUMP HERE devils% gimp Message: Passed serialization test IMLIB ERROR: SHM can't attach SHM Segment for Shared Pixmap mask Wrapper Falling back on Shared XImages Imlib ERROR: SHM can't attach SHM Segment for Shared XImage mask Falling back on XImages Gdk-ERROR **: BadAccess (attempt to access private resource denied) serial 2147 error_code 10 request_code 129 minor_code 1 aborting... gimp terminated: sigabrt caught Gdk-ERROR (recursed) **: BadShmSeg (invalid shared segment parameter) serial 2148 error_code 128 request_code 129 minor_code 5 aborting... gimp terminated: sigabrt caught ---- END DUMP I also noticed that the shared memory blocks are not released after this crash so they tend to use up resources. ---- BEGIN DUMP (gimp started without any previously assigned shm blocks) devils% ipcs Message Queues: T ID KEY MODE OWNER GROUP Shared Memory: T ID KEY MODE OWNER GROUP m 14090246 0 --rwarwarwa gabriel gabriel m 2424839 0 --rwarwarwa gabriel gabriel m 131080 0 --rwarwarwa gabriel gabriel Semaphores: T ID KEY MODE OWNER GROUP ---- END DUMP My 4.0-CURRENT (Jun 3) kernel conf has the following SYSV options options SYSVSHM options SYSVMSG options SYSVSEM options SHMMAX=(SHMMAXPGS*PAGE_SIZE+1) options SHMMAXPGS=4097 (The SHMMAX options were added when trying to fix the problem, but weren't useful) ktrace shows the problem starting: ---- BEGIN DUMP 12319 gimp CALL shmsys(0x3,0,0x40,0x3ff) 12319 gimp RET shmsys 2555913/0x270009 12319 gimp CALL shmsys(0,0x270009,0,0) 12319 gimp RET shmsys 805814272/0x3007c000 12319 gimp CALL shmsys(0x3,0,0x40,0x3ff) 12319 gimp RET shmsys 131083/0x2000b 12319 gimp CALL shmsys(0,0x2000b,0,0) 12319 gimp RET shmsys -1 errno 24 Too many open files <<< 12319 gimp CALL write(0x2,0xbfbfcc10,0x49) 12319 gimp GIO fd 2 wrote 73 bytes "IMLIB ERROR: SHM can't attach SHM Segment for Shared Pixmap mask Wrapp\ er " 12319 gimp RET write 73/0x49 12319 gimp CALL write(0x2,0xbfbfcc08,0x2c) 12319 gimp GIO fd 2 wrote 44 bytes " Falling back on Shared XImages " ---- END DUMP I tried playing around with the maxfiles in sysctl (kern.maxfiles and kern.maxfilesperproc) but to no effect :-\ I've sincerily run out of ideas :-( Can anyone help me fix this? Is this a limit problem?? How can I increase it? My full kernel conf file is at: http://www.maquina.com/pessoas/gabriel/DEVILS Thanks Jose Marcelino To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9906052130440.12277-100000>