From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Gaute Strokkenes Newsgroups: gmane.emacs.devel Subject: Frequent hangs with 21.3.1. Date: Tue, 13 Apr 2004 13:23:18 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1081857614 23674 80.91.224.253 (13 Apr 2004 12:00:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Apr 2004 12:00:14 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Apr 13 14:00:07 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BDMaF-0005mY-00 for ; Tue, 13 Apr 2004 14:00:07 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BDMaE-0007m9-00 for ; Tue, 13 Apr 2004 14:00:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BDMRL-0001ls-H2 for emacs-devel@quimby.gnus.org; Tue, 13 Apr 2004 07:50:55 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BDMK5-0000D6-C4 for emacs-devel@gnu.org; Tue, 13 Apr 2004 07:43:25 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BDM1K-00063r-JI for emacs-devel@gnu.org; Tue, 13 Apr 2004 07:24:33 -0400 Original-Received: from [129.240.130.16] (helo=pat.uio.no) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BDM0i-0005si-RN for emacs-devel@gnu.org; Tue, 13 Apr 2004 07:23:24 -0400 Original-Received: from mail-mx3.uio.no ([129.240.10.44]) by pat.uio.no with esmtp (Exim 4.20) id 1BDM0h-0007JZ-2A for emacs-devel@gnu.org; Tue, 13 Apr 2004 13:23:23 +0200 Original-Received: from ulrik.uio.no ([129.240.12.4]) by mail-mx3.uio.no with esmtp (Exim 4.30) id 1BDM0d-0008TY-La for emacs-devel@gnu.org; Tue, 13 Apr 2004 13:23:19 +0200 Original-Received: from cama03.uio.no ([129.240.46.153]) by ulrik.uio.no with esmtp (Exim 2.12 #7) id 1BDM0d-0001G8-00 for emacs-devel@gnu.org; Tue, 13 Apr 2004 13:23:19 +0200 Original-Received: from gauts by cama03.uio.no with local (Exim 4.30) id 1BDM0c-0004X6-Pm for emacs-devel@gnu.org; Tue, 13 Apr 2004 13:23:18 +0200 Original-To: emacs-devel@gnu.org Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEWWWBTly7aGMwb+/vz9 +ffIilb///+yaCxNCwHGVC3gAAACU0lEQVR4nF2TQWvjMBBGVUGwj3WxaY/aAWNfi0zuwZPuHp0Q ob079OwYjHrsChb0s3dGctJ0ddTzm9F8lsR7WiNiWWL/flviul9Uh0NR4vY/gJUxJjOEtt/AubBy UsotRfH2DbxWE0hom3w5XJUEKis9hACt2hR4B86VDOtqTNHfgeEGvLiUN7Ddze26Dx6y1CUa+ygo NwFQm0N/BeMzCZAtNIoQrd9EhcH5mWpnztB8ZpJBlH23jaAbuE4EhZ2Bam0TeJ0DRMCKVP6CegWk q4z2TVFUx0946FOPcSe9ELE3rSHAj15rBuddS0C4BGyAutfpVAQkKdZOQiwMMIHxlUDrgeej5Ns7 I/ccSWNBLda1XwYBEG1Qswy1yXJf879nA4cjkNI0H+FzoUyuRodPA5eqZwFONG34i30ccOxeKFUy flNe1szqsgLdvXwKCj6zjTXODHV9M46gZPCLlYKCGTYO8S0aOAvJzRfD0w+1XcGIsxLUw/sYl5sM 9n0yjkoSUDOByrijwRRiAq13NhqLJYB3ACazrgN2bIwanyJQKXhHAJPRPQruEaCJP2Shy4DJ2As+ FQjJZH7AZIy6w0pQiiRYAh8nTEZHYDfRqSDeB5OXq4EEcAC4NocvoBl4+n1cyl54nyLRNA3iIwRP wNGFOK1g1Gz8jNfaCjdtqJLm2LXuqMc+50cDIJQpr6X0OHa4X58ULAw03QbRd7GUiG/K04mj0bNB xQhwJkEsJiZ1Bbgb6CnF79cBE+jwF91qniOCP3fghUFKxOShjIATw/wOfIQTg39LpFHtxhlKywAA AABJRU5ErkJggg== User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning X-UiO-MailScanner: No virus found X-UiO-Spam-info: not spam, SpamAssassin (score=-5, required 12, UIO_MAIL_IS_INTERNAL -5.00) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21561 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21561 I'm experiencing extremely frequent (hourly) hangs with emacs 21.3.1 on Redhat GNU/Linux 9. I suspect the problem is fixed in mainline with this patch: http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/src/alloc.c.diff?r1=1.328&r2=1.329 Can anyone confirm that this is the likely cause of the hangs? I've appended a gdb backtrace. The session is still around in case anyone is interested. GNU gdb 5.3 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) attach 17086 Attaching to process 17086 Reading symbols from /med/cama03/local/store/cama03/.emacs/ver-21.3/bin/emacs@386linuxlibc63...done. Reading symbols from /local/X11R6/lib/libXaw.so.7...done. Loaded symbols for /local/X11R6/lib/libXaw.so.7 Reading symbols from /local/X11R6/lib/libXmu.so.6...done. Loaded symbols for /local/X11R6/lib/libXmu.so.6 Reading symbols from /local/X11R6/lib/libXt.so.6...done. Loaded symbols for /local/X11R6/lib/libXt.so.6 Reading symbols from /local/X11R6/lib/libSM.so.6...done. Loaded symbols for /local/X11R6/lib/libSM.so.6 Reading symbols from /local/X11R6/lib/libICE.so.6...done. Loaded symbols for /local/X11R6/lib/libICE.so.6 Reading symbols from /local/X11R6/lib/libXext.so.6...done. Loaded symbols for /local/X11R6/lib/libXext.so.6 Reading symbols from /local/X11R6/lib/libXpm.so.4...done. Loaded symbols for /local/X11R6/lib/libXpm.so.4 Reading symbols from /local/X11R6/lib/libX11.so.6...done. Loaded symbols for /local/X11R6/lib/libX11.so.6 Reading symbols from /usr/lib/libncurses.so.5...done. Loaded symbols for /usr/lib/libncurses.so.5 Reading symbols from /lib/tls/libm.so.6...done. Loaded symbols for /lib/tls/libm.so.6 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/libnss_compat.so.2...done. Loaded symbols for /lib/libnss_compat.so.2 Reading symbols from /lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /lib/libnss_nis.so.2...done. Loaded symbols for /lib/libnss_nis.so.2 Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /local/X11R6/lib/X11/locale/lib/common/xlcDef.so.2...done. Loaded symbols for /local/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 Reading symbols from /local/X11R6/lib/libXcursor.so.1.0...done. Loaded symbols for /local/X11R6/lib/libXcursor.so.1.0 Reading symbols from /local/X11R6/lib/libXrender.so.1...done. Loaded symbols for /local/X11R6/lib/libXrender.so.1 Reading symbols from /local/X11R6/lib/X11/locale/lib/common/ximcp.so.2...done. Loaded symbols for /local/X11R6/lib/X11/locale/lib/common/ximcp.so.2 Reading symbols from /usr/lib/gconv/ISO8859-1.so...done. Loaded symbols for /usr/lib/gconv/ISO8859-1.so Reading symbols from /local/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2... done. Loaded symbols for /local/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2 Reading symbols from /lib/libnss_dns.so.2...done. Loaded symbols for /lib/libnss_dns.so.2 Reading symbols from /lib/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 0xffffe002 in ?? () (gdb) where #0 0xffffe002 in ?? () #1 0x0810fa5b in emacs_blocked_malloc (size=28) at /local/store/storeslem/emacs/src-21.3-386linuxlibc63/src/alloc.c:732 #2 0x42073735 in malloc () from /lib/tls/libc.so.6 #3 0x40148e7a in _XRegisterFilterByType () from /local/X11R6/lib/libX11.so.6 #4 0x4047dc83 in _XimLocalSetFocus () from /local/X11R6/lib/X11/locale/lib/common/ximcp.so.2 #5 0x401476b5 in XSetICFocus () from /local/X11R6/lib/libX11.so.6 #6 0x080b1f43 in XTread_socket (sd=0, bufp=0xbffd117c, numchars=4096, expected=1) at /local/store/storeslem/emacs/src-21.3-386linuxlibc63/src/xterm.c:10697 #7 0x080d57e0 in read_avail_input (expected=1) at /local/store/storeslem/emacs/src-21.3-386linuxlibc63/src/keyboard.c:6162 #8 0x080d5996 in input_available_signal (signo=29) at /local/store/storeslem/emacs/src-21.3-386linuxlibc63/src/keyboard.c:6315 #9 #10 0x42074d33 in malloc_consolidate () from /lib/tls/libc.so.6 #11 0x42075c38 in mALLOPt () from /lib/tls/libc.so.6 #12 0x08110b25 in allocate_vectorlike (len=1108554272, type=MEM_TYPE_VECTOR) at /local/store/storeslem/emacs/src-21.3-386linuxlibc63/src/alloc.c:2226 #13 0x08110ba2 in allocate_vector (nslots=1) at /local/store/storeslem/emacs/src-21.3-386linuxlibc63/src/alloc.c:2254 #14 0x08110cbd in Fmake_vector (length=1, init=405207420) at /local/store/storeslem/emacs/src-21.3-386linuxlibc63/src/alloc.c:2350 #15 0x08110e17 in Fvector (nargs=1, args=0x8267d6c) at /local/store/storeslem/emacs/src-21.3-386linuxlibc63/src/alloc.c:2414 #16 0x080d0fe1 in read_char (commandflag=1, nmaps=5, maps=0xbfffd7b0, prev_event=405207420, used_mouse_menu=0xbfffd808) at /local/store/storeslem/emacs/src-21.3-386linuxlibc63/src/keyboard.c:2688 #17 0x080d7ba8 in read_key_sequence (keybuf=0xbfffd930, bufsize=30, prompt=405207420, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at /local/store/storeslem/emacs/src-21.3-386linuxlibc63/src/keyboard.c:8209 #18 0x080cf9eb in command_loop_1 () at /local/store/storeslem/emacs/src-21.3-386linuxlibc63/src/keyboard.c:1451 #19 0x08122c16 in internal_condition_case (bfun=0x80cf814 , handlers=405303764, hfun=0x80cf43c ) at /local/store/storeslem/emacs/src-21.3-386linuxlibc63/src/eval.c:1267 #20 0x080cf6ee in command_loop_2 () at /local/store/storeslem/emacs/src-21.3-386linuxlibc63/src/keyboard.c:1245 #21 0x081227d1 in internal_catch (tag=33, func=0x80cf6d0 , arg=405207420) at /local/store/storeslem/emacs/src-21.3-386linuxlibc63/src/eval.c:1030 #22 0x080cf6a4 in command_loop () at /local/store/storeslem/emacs/src-21.3-386linuxlibc63/src/keyboard.c:1224 #23 0x080cf20c in recursive_edit_1 () at /local/store/storeslem/emacs/src-21.3-386linuxlibc63/src/keyboard.c:950 #24 0x080cf328 in Frecursive_edit () at /local/store/storeslem/emacs/src-21.3-386linuxlibc63/src/keyboard.c:1006 #25 0x080cddbb in main (argc=1, argv=0xbfffdef4, envp=0xbfffdefc) at /local/store/storeslem/emacs/src-21.3-386linuxlibc63/src/emacs.c:1547 #26 0x42015704 in __libc_start_main () from /lib/tls/libc.so.6 (gdb) -- Gaute Strokkenes