Hi all,
found a slight problem tonight -- seems to be a gc-related
memory leak in 21.5.b16:
$ /usr/ucb/ps -auxwww |grep xemacs
USER PID %CPU %MEM SZ RSS TT S START TIME COMMAND
jmcp 17583 0.0 58.9968632600680 ? T Jan 06 11:18
/usr/local/bin/xemacs -geometry 90x65+0+0
jmcp 17585 0.0 0.0 1920 4 pts/6 S Jan 06 0:00
/d00/xemacs/lib/xemacs-21.5-b16/i386-pc-solaris2.9/gnuserv
$ ps -o user,pid,pcpu,pmem,vsz,rss,osz,comm -p 17583,17585
USER PID %CPU %MEM VSZ RSS SZ COMMAND
jmcp 17583 0.0 63.8 968632 650592 242158 /usr/local/bin/xemacs
jmcp 17585 0.0 0.0 1920 4 480
/d00/xemacs/lib/xemacs-21.5-b16/i386-pc-solaris2.9/gnuserv
espresso:d01 $ pstack 17583
17583: /usr/local/bin/xemacs -geometry 90x65+0+0
0809756f Fgarbage_collect () + 803
00000000 ???????? ()
Once gcore of 17583 had finished (20mins later!) I ran
dbx over it:
espresso:jmcp $ dbx /d00/xemacs/bin/xemacs-21.5-b16 /home/jmcp/core.17583
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.1' in
your .dbxrc
Reading xemacs-21.5-b16
core file header read successfully
Reading ld.so.1
Reading libtiff.so.3
Reading libpng.so.2.1.0.15
Reading libjpeg.so.62.0.0
Reading libz.so.1
Reading libXpm.so.4
Reading libgtk-1.2.so.0.9.1
Reading libgdk-1.2.so.0.9.1
Reading libgmodule-1.2.so.0.0.10
Reading libglib-1.2.so.0.0.10
Reading libdl.so.1
Reading libXext.so.0
Reading libX11.so.4
Reading libsocket.so.1
Reading libnsl.so.1
Reading libm.so.1
Reading libcurses.so.1
Reading libelf.so.1
Reading libgen.so.1
Reading libc.so.1
Reading libm.so.2
t@null (l@1) program terminated by signal 0 (UNKNOWN SIGNAL)
0x0809756f: Fgarbage_collect+0x0803: movl (%edx),%edx
dbx: core file read error: address 0x6565726a not in data space
dbx: attempt to read frame failed -- cannot get return address
0x08133de9: Fdo_auto_save+0x0969: addl $0xc,%esp
(dbx) where
dbx: core file read error: address 0x6565726a not in data space
dbx: attempt to read frame failed -- cannot get return address
[1] Fgarbage_collect(0x4345524c, 0x5f44524f, 0x45455246), at 0x809756f
=>[2] Fdo_auto_save(), at 0x8133de9
[3] 0x0(), at 0xffffffff
which doesn't tell _me_ much but it might (I hope) help you.
My Installation file is at
http://espresso.jjcma.isa-geek.com/Installation.gtk.working
and the mdb disassembly is at
http://espresso.jjcma.isa-geek.com/Fgarbage_collect.txt
cheers,
James C. McPherson