From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dhruva Newsgroups: gmane.emacs.devel Subject: Re: Emacs on GNU/Linux kernel 2.4 - Problems Date: Wed, 12 Mar 2008 18:05:28 +0530 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205325365 14891 80.91.229.12 (12 Mar 2008 12:36:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Mar 2008 12:36:05 +0000 (UTC) To: "Emacs Devel" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 12 13:36:32 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JZQBz-0000Td-Hr for ged-emacs-devel@m.gmane.org; Wed, 12 Mar 2008 13:36:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZQBQ-0004wm-SQ for ged-emacs-devel@m.gmane.org; Wed, 12 Mar 2008 08:35:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JZQBL-0004tR-NE for emacs-devel@gnu.org; Wed, 12 Mar 2008 08:35:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JZQBI-0004oQ-Qj for emacs-devel@gnu.org; Wed, 12 Mar 2008 08:35:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZQBI-0004oF-Ew for emacs-devel@gnu.org; Wed, 12 Mar 2008 08:35:40 -0400 Original-Received: from ti-out-0910.google.com ([209.85.142.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JZQBH-0003ui-3m for emacs-devel@gnu.org; Wed, 12 Mar 2008 08:35:40 -0400 Original-Received: by ti-out-0910.google.com with SMTP id a20so1158497tia.10 for ; Wed, 12 Mar 2008 05:35:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=a6cS/26/HQp0PQaSLkVu4/LbnEneSts/ARAwpvh1ons=; b=tdnav19hckzj+r0v82lNkbIiEhQQfJ0/nLja9oUIklFjt2ODJ1uTo/Wkj+XzVUOqCtROBjBF/prf3y2LOGyaQF2xKZvjniK2m61PoBdr5gpVK8Kz+WWjDkoFN733B1R5dYGdKUxsCfBZeX+oBqFaVz4WOox+bOifVrDrQl30NII= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=W0OwyiV6RU8Zp0VOlvSS2ghD8vcojgjdEzWtiHs1tEOVjczOTIj+cl+mMa5fJxpmdZ+irM1/+sZOQuWNT8WuZU5OJ+3Dh2qWA1FTLv+eumjSE1npJ/3IqokPeOAAnbaR7uvNHmKFa6/dvJnCqyu0QIg2+2Rhy+vrD0ttdRGp2WY= Original-Received: by 10.110.10.11 with SMTP id 11mr2208768tij.13.1205325328560; Wed, 12 Mar 2008 05:35:28 -0700 (PDT) Original-Received: by 10.110.3.13 with HTTP; Wed, 12 Mar 2008 05:35:28 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:92273 Archived-At: Hello, A question on debugging: How do I send a control-c to gdb when I am debugging emacs on GNU/Linux? I read the .gdbinit and it says send SIGTSTP and what key sequence will generate that signal? Some additional information. (gdb) xbacktrace "call-process" (0xbfffcccc) "get-free-disk-space" (0xbfffcdec) "insert-directory" (0xbfffcf2c) "dired-insert-directory" (0xbfffd04c) "dired-readin-insert" (0xbfffd16c) "dired-readin" (0xbfffd27c) "dired-internal-noselect" (0xbfffd39c) "dired-noselect" (0xbfffd5d0) "run-hook-with-args-until-success" (0xbfffd5cc) "find-file-noselect" (0xbfffd6ec) "find-file" (0xbfffd80c) "call-interactively" (0xbfffdb04) (gdb) bt #0 0x420cdb44 in read () from /lib/i686/libc.so.6 #1 0x0810ad9c in emacs_read (fildes=5, buf=0xbffecc50 "'%\227\b|\315\376\277|\315\376\277", nbyte=16384) at /u/dhruva/stub/repo/cvs/emacs/src/sysdep.c:3369 #2 0x08185175 in Fcall_process (nargs=6, args=0xbfffcccc) at /u/dhruva/stub/repo/cvs/emacs/src/callproc.c:712 #3 0x08155426 in Ffuncall (nargs=7, args=0xbfffccc8) at /u/dhruva/stub/repo/cvs/emacs/src/eval.c:3006 #4 0x0817a26c in Fbyte_code (bytestr=136259419, vector=136259436, maxdepth=64) at /u/dhruva/stub/repo/cvs/emacs/src/bytecode.c:679 #5 0x081559c4 in funcall_lambda (fun=136259380, nargs=1, arg_vector=0xbfffcdec) at /u/dhruva/stub/repo/cvs/emacs/src/eval.c:3212 #6 0x081555c9 in Ffuncall (nargs=2, args=0xbfffcde8) at /u/dhruva/stub/repo/cvs/emacs/src/eval.c:3082 #7 0x0817a26c in Fbyte_code (bytestr=136260283, vector=136260300, maxdepth=112) at /u/dhruva/stub/repo/cvs/emacs/src/bytecode.c:679 #8 0x081559c4 in funcall_lambda (fun=136260212, nargs=4, arg_vector=0xbfffcf2c) at /u/dhruva/stub/repo/cvs/emacs/src/eval.c:3212 #9 0x081555c9 in Ffuncall (nargs=5, args=0xbfffcf28) at /u/dhruva/stub/repo/cvs/emacs/src/eval.c:3082 #10 0x0817a26c in Fbyte_code (bytestr=143315091, vector=146373836, maxdepth=48) at /u/dhruva/stub/repo/cvs/emacs/src/bytecode.c:679 #11 0x081559c4 in funcall_lambda (fun=144467508, nargs=5, arg_vector=0xbfffd04c) at /u/dhruva/stub/repo/cvs/emacs/src/eval.c:3212 #12 0x081555c9 in Ffuncall (nargs=6, args=0xbfffd048) at /u/dhruva/stub/repo/cvs/emacs/src/eval.c:3082 #13 0x0817a26c in Fbyte_code (bytestr=143316363, vector=144728308, maxdepth=48) at /u/dhruva/stub/repo/cvs/emacs/src/bytecode.c:679 #14 0x081559c4 in funcall_lambda (fun=145996012, nargs=0, arg_vector=0xbfffd16c) at /u/dhruva/stub/repo/cvs/emacs/src/eval.c:3212 #15 0x081555c9 in Ffuncall (nargs=1, args=0xbfffd168) at /u/dhruva/stub/repo/cvs/emacs/src/eval.c:3082 #16 0x0817a26c in Fbyte_code (bytestr=143316899, vector=146822900, maxdepth=32) at /u/dhruva/stub/repo/cvs/emacs/src/bytecode.c:679 On Wed, Mar 12, 2008 at 5:18 PM, dhruva wrote: > Hello, > I happened to try building Emacs from CVS and running on GNU/Linux > kernel 2.4 series. Opening a folder in "dired" to list the files and > folders just freezes. There is not high CPU usage to suggest any > looping, it appears more like a deadlock. My guess is it might be due > to non-preemptive kernel. The same works on 2.6 series of the kernel. > > I will explore further if this can be handled. > > -dhruva > > -- > Contents reflect my personal views only! > -- Contents reflect my personal views only!