From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "A. Soare" Newsgroups: gmane.emacs.devel Subject: Re: GDB does not stop in breakpoint! Date: Thu, 14 Jan 2010 09:49:31 +0100 (CET) Message-ID: <21632016.662061263458971470.JavaMail.www@wwinf4630> Reply-To: alinsoar@voila.fr NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1263459555 7008 80.91.229.12 (14 Jan 2010 08:59:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Jan 2010 08:59:15 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 14 09:59:07 2010 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 1NVLXn-0004kY-Da for ged-emacs-devel@m.gmane.org; Thu, 14 Jan 2010 09:59:07 +0100 Original-Received: from localhost ([127.0.0.1]:49020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVLXo-0003RX-Aq for ged-emacs-devel@m.gmane.org; Thu, 14 Jan 2010 03:59:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NVLOg-0007U3-6d for emacs-devel@gnu.org; Thu, 14 Jan 2010 03:49:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NVLOb-0007S7-HF for emacs-devel@gnu.org; Thu, 14 Jan 2010 03:49:41 -0500 Original-Received: from [199.232.76.173] (port=34188 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVLOb-0007RZ-3q for emacs-devel@gnu.org; Thu, 14 Jan 2010 03:49:37 -0500 Original-Received: from smtp3.voila.fr ([193.252.22.173]:45023 helo=smtp1.voila.fr) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NVLOX-000640-Co; Thu, 14 Jan 2010 03:49:33 -0500 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf4927.voila.fr (SMTP Server) with ESMTP id A6326700008C; Thu, 14 Jan 2010 09:49:31 +0100 (CET) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf4927.voila.fr (SMTP Server) with ESMTP id 992CF700008E; Thu, 14 Jan 2010 09:49:31 +0100 (CET) Original-Received: from wwinf4630 (wwinf4630 [10.232.13.104]) by mwinf4927.voila.fr (SMTP Server) with ESMTP id 7AE46700008C; Thu, 14 Jan 2010 09:49:31 +0100 (CET) X-ME-UUID: 20100114084931503.7AE46700008C@mwinf4927.voila.fr X-Originating-IP: [91.201.80.240] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-CC: |~| X-WUM-REPLYTO: |~| X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:119980 Archived-At: > I put a breakpoint in Fx_create_frame. When I start emacs using "r" ,= the > breakpoint is never reached, and the X windows stops responding. >=20 > There are times, when the screen is grabbed, that stopping the program > would cause X not to respond. If you have put the breakpoint at a > line which is in the middle of a grab, that would explain this. >=20 What means that the screen to be grabbed? How does this happen? > Most of the code inside Fx_create_frame is NOT in the middle of a > grab, and this problem should not happen in those places. >=20 > Can you connect from another machine with ssh and run gdb from > the other machine? >=20 >=20 I have a macintosh on my table, and I connect on linux, but there is no use= ... over ssh the code will be the code for console, that works well. If I = set the DISPLAY var: Emacs checks at startup whether DISPLAY variable is set, and here is the re= sult. (gdb) set height 10000 (gdb) show environment=20 TERM=3Dxterm-color SHELL=3D/bin/bash XDG_SESSION_COOKIE=3D28814368defdc69e6f7455fa4b4dfcdd-1263458361.341927-147= 1763996 SSH_CLIENT=3D192.168.2.124 50118 22 SSH_TTY=3D/dev/pts/7 USER=3Droot LS_COLORS=3Drs=3D0:di=3D01;34:ln=3D01;36:hl=3D44;37:pi=3D40;33:so=3D01;35:d= o=3D01;35:bd=3D40;33;01:cd=3D40;33;01:or=3D40;31;01:su=3D37;41:sg=3D30;43:c= a=3D30;41:tw=3D30;42:ow=3D34;42:st=3D37;44:ex=3D01;32:*.tar=3D01;31:*.tgz= =3D01;31:*.arj=3D01;31:*.taz=3D01;31:*.lzh=3D01;31:*.lzma=3D01;31:*.zip=3D0= 1;31:*.z=3D01;31:*.Z=3D01;31:*.dz=3D01;31:*.gz=3D01;31:*.bz2=3D01;31:*.bz= =3D01;31:*.tbz2=3D01;31:*.tz=3D01;31:*.deb=3D01;31:*.rpm=3D01;31:*.jar=3D01= ;31:*.rar=3D01;31:*.ace=3D01;31:*.zoo=3D01;31:*.cpio=3D01;31:*.7z=3D01;31:*= .rz=3D01;31:*.jpg=3D01;35:*.jpeg=3D01;35:*.gif=3D01;35:*.bmp=3D01;35:*.pbm= =3D01;35:*.pgm=3D01;35:*.ppm=3D01;35:*.tga=3D01;35:*.xbm=3D01;35:*.xpm=3D01= ;35:*.tif=3D01;35:*.tiff=3D01;35:*.png=3D01;35:*.svg=3D01;35:*.svgz=3D01;35= :*.mng=3D01;35:*.pcx=3D01;35:*.mov=3D01;35:*.mpg=3D01;35:*.mpeg=3D01;35:*.m= 2v=3D01;35:*.mkv=3D01;35:*.ogm=3D01;35:*.mp4=3D01;35:*.m4v=3D01;35:*.mp4v= =3D01;35:*.vob=3D01;35:*.qt=3D01;35:*.nuv=3D01;35:*.wmv=3D01;35:*.asf=3D01;= 35:*.rm=3D01;35:*.rmvb=3D01;35:*.flc=3D01;35:*.avi=3D01;35:*.fli=3D01;35:*.= flv=3D01;35:*.gl=3D01;35:*.dl=3D01;35:*.xcf=3D01;35:*.xwd=3D01;35:*.yuv=3D0= 1;35:*.axv=3D01;35:*.anx=3D01;35:*.ogv=3D01;35:*.ogx=3D01;35:*.aac=3D00;36:= *.au=3D00;36:*.flac=3D00;36:*.mid=3D00;36:*.midi=3D00;36:*.mka=3D00;36:*.mp= 3=3D00;36:*.mpc=3D00;36:*.ogg=3D00;36:*.ra=3D00;36:*.wav=3D00;36:*.axa=3D00= ;36:*.oga=3D00;36:*.spx=3D00;36:*.xspf=3D00;36: MAIL=3D/var/mail/root PATH=3D/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/ga= mes PWD=3D/emacs/src LANG=3Den_US.UTF-8 SPEECHD_PORT=3D6560 SHLVL=3D1 HOME=3D/root LOGNAME=3Droot SSH_CONNECTION=3D192.168.2.124 50118 192.168.2.64 22 LESSOPEN=3D| /usr/bin/lesspipe %s LESSCLOSE=3D/usr/bin/lesspipe %s %s _=3D/usr/bin/gdb OLDPWD=3D/emacs LINES=3D24 COLUMNS=3D80 (gdb) set environment DISPLAY=3D:0 (gdb) set environment DISPLAY=3D:0.0 (gdb) r -Q Starting program: /emacs/src/emacs -Q [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0x080f314f in check_x_display_info (object=3D138336946) at xfns.c:289 289=09 dpyinfo =3D FRAME_X_DISPLAY_INFO (f); (gdb)=20 ____________________________________________________ Vous n=E2=80=99avez pas encore adress=C3=A9 vos voeux=C2=A0? Retrouvez nos = cartes sur http://carte-de-voeux.voila.fr=20