unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: yotam@il.ibm.com (Yotam Medini)
Cc: yotam.medini@gmail.com
Subject: CC Mode 5.28 (); emacs hangs. bcause of gdb/gud ?
Date: Wed, 27 Dec 2006 11:06:25 +0200 (IST)	[thread overview]
Message-ID: <20061227090625.65BD8DE7B6@tp-yotam> (raw)



Emacs  : GNU Emacs 21.4.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2006-05-18 on rothera, modified by Debian
Package: CC Mode 5.28 ()
Buffer Style: 

Emacs frequently hangs and takes most of CPU
when having gdb/gud session.
It happens even when no specific gdb/gud action is made by user.
For example, just re-exposing Emacs window.

Here is a 'where' output I got , via:
   gdb /usr/bin/emacs
and attaching to the 'hang' process.

Current directory is /usr/bin/
GNU gdb 6.4-debian
Copyright 2005 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 "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) attach 7392
Attaching to program: /usr/bin/emacs, process 7392
(no debugging symbols found)
Reading symbols from /usr/lib/libXaw3d.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXaw3d.so.6
Reading symbols from /usr/lib/libXmu.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXmu.so.6
Reading symbols from /usr/lib/libXt.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXt.so.6
Reading symbols from /usr/lib/libSM.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libSM.so.6
Reading symbols from /usr/lib/libICE.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libICE.so.6
Reading symbols from /usr/lib/libXext.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib/libtiff.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libtiff.so.4
Reading symbols from /usr/lib/libjpeg.so.62...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libpng12.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/tls/i686/cmov/libm.so.6...Reading symbols from /usr/lib/debug/lib/tls/i686/cmov/libm-2.3.6.so...
(no debugging symbols found)...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /usr/lib/libungif.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libungif.so.4
Reading symbols from /usr/lib/libXpm.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXpm.so.4
Reading symbols from /usr/lib/libX11.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /lib/libncurses.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/tls/i686/cmov/libc.so.6...Reading symbols from /usr/lib/debug/lib/tls/i686/cmov/libc-2.3.6.so...
(no debugging symbols found)...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /usr/lib/libXau.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /lib/ld-linux.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.3.6.so...(no debugging symbols found)...done.

(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...Reading symbols from /usr/lib/debug/lib/tls/i686/cmov/libdl-2.3.6.so...(no debugging symbols found)...done.

(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2...Reading symbols from /usr/lib/debug/lib/tls/i686/cmov/libnss_files-2.3.6.so...(no debugging symbols found)...done.

(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_compat.so.2...Reading symbols from /usr/lib/debug/lib/tls/i686/cmov/libnss_compat-2.3.6.so...(no debugging symbols found)...done.

(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_compat.so.2
Reading symbols from /lib/tls/i686/cmov/libnsl.so.1...Reading symbols from /usr/lib/debug/lib/tls/i686/cmov/libnsl-2.3.6.so...(no debugging symbols found)...done.

(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnsl.so.1
Reading symbols from /lib/tls/i686/cmov/libnss_nis.so.2...Reading symbols from /usr/lib/debug/lib/tls/i686/cmov/libnss_nis-2.3.6.so...(no debugging symbols found)...done.

(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_nis.so.2
Reading symbols from /usr/lib/libXcursor.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libXrender.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libXfixes.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXfixes.so.3

0x08159daf in error ()
(gdb) where
#0  0x08159daf in error ()
#1  0x0815e502 in error ()
#2  0x08163747 in error ()
#3  0x0813a2f8 in re_compile_pattern ()
#4  0x0813c869 in error ()
#5  0x08166555 in error ()
#6  0x0813a2f8 in re_compile_pattern ()
#7  0x08139720 in re_compile_pattern ()
#8  0x081664e2 in error ()
#9  0x0813ad9f in re_compile_pattern ()
#10 0x0813b267 in re_compile_pattern ()
#11 0x0816727b in error ()
#12 0x0813ad9f in re_compile_pattern ()
#13 0x0813affa in re_compile_pattern ()
#14 0x0813a1a3 in re_compile_pattern ()
#15 0x0813cd43 in error ()
#16 0x0813a40e in re_compile_pattern ()
#17 0x0813cc82 in error ()
#18 0x0813a40e in re_compile_pattern ()
#19 0x0813b35d in re_compile_pattern ()
#20 0x0816727b in error ()
#21 0x0813ad9f in re_compile_pattern ()
#22 0x0813b267 in re_compile_pattern ()
#23 0x0816727b in error ()
#24 0x0813ad9f in re_compile_pattern ()
#25 0x0813b267 in re_compile_pattern ()
#26 0x0816727b in error ()
#27 0x0813ad9f in re_compile_pattern ()
#28 0x0813b267 in re_compile_pattern ()
#29 0x0813c1d6 in error ()
#30 0x0813c2ee in error ()
#31 0x0813b4bb in re_compile_pattern ()
#32 0x0816727b in error ()
#33 0x0813ad9f in re_compile_pattern ()
#34 0x0813b267 in re_compile_pattern ()
#35 0x0816727b in error ()
#36 0x0813ad9f in re_compile_pattern ()
#37 0x0813b267 in re_compile_pattern ()
#38 0x0813c4aa in error ()
#39 0x0813b4bb in re_compile_pattern ()
#40 0x0816727b in error ()
#41 0x0813a2f8 in re_compile_pattern ()
#42 0x0813c869 in error ()
#43 0x08166555 in error ()
#44 0x0813ad9f in re_compile_pattern ()
#45 0x0813b267 in re_compile_pattern ()
#46 0x0813c06d in error ()
#47 0x080e0f7d in abort ()
#48 0x080e106f in abort ()
#49 0x080e6d9f in abort ()
#50 0x080e6e56 in abort ()
#51 0x0816c22f in error ()
#52 0x08053a36 in ?? ()
#53 0x00000043 in ?? ()
#54 0x00000000 in ?? ()
(gdb) 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


                 reply	other threads:[~2006-12-27  9:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061227090625.65BD8DE7B6@tp-yotam \
    --to=yotam@il.ibm.com \
    --cc=yotam.medini@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).