Bug#364425: emacs-snapshot-gtk crashes (segmentation fault) with remote DISPLAY

2006-04-24 Thread Vincent Lefevre
On 2006-04-24 18:53:25 +0200, Romain Francoise wrote: > Yeah, so the problem is that SSH uses untrusted cookies for X11 > forwarding by default, and Emacs needs full access to the X server. OK. What is strange is that Emacs was working on April 17... well, not completely: I could use Emacs, but co

Bug#364425: emacs-snapshot-gtk crashes (segmentation fault) with remote DISPLAY

2006-04-24 Thread Romain Francoise
Vincent Lefevre <[EMAIL PROTECTED]> writes: > Both emacs-snapshot-x and emacs-snapshot-gtk work correctly! Yeah, so the problem is that SSH uses untrusted cookies for X11 forwarding by default, and Emacs needs full access to the X server. This is documented in the OpenSSH FAQ: http://openss

Bug#364425: emacs-snapshot-gtk crashes (segmentation fault) with remote DISPLAY

2006-04-24 Thread Vincent Lefevre
On 2006-04-24 14:17:19 +0200, Romain Francoise wrote: > What if you ssh in the GNU/Linux box with ssh -Y? Both emacs-snapshot-x and emacs-snapshot-gtk work correctly! -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: 100% accessible validated (X)HTML - Blog:

Bug#364425: emacs-snapshot-gtk crashes (segmentation fault) with remote DISPLAY

2006-04-24 Thread Romain Francoise
Vincent Lefevre <[EMAIL PROTECTED]> writes: > Is that emacs-snapshot-x? Yep. > dixsept:~> emacs-snapshot-x -q > X protocol error: BadWindow (invalid Window parameter) on protocol request 38 > zsh: exit 70emacs-snapshot-x -q > I get this error when I try to click & drag. Hmm. What if you s

Bug#364425: emacs-snapshot-gtk crashes (segmentation fault) with remote DISPLAY

2006-04-24 Thread Vincent Lefevre
On 2006-04-24 12:26:27 +0200, Romain Francoise wrote: > Could you try downgrading libgtk2.0-0 to version 2.8.16-1 and see if > that fixes the problem? Same problem: segmentation fault. > Also, does the Lucid version work in similar circumstances? Is that emacs-snapshot-x? dixsept:~> emacs-snaps

Bug#364425: emacs-snapshot-gtk crashes (segmentation fault) with remote DISPLAY

2006-04-24 Thread Romain Francoise
Vincent Lefevre <[EMAIL PROTECTED]> writes: > 20060406-1 worked on April 17, but crashed yesterday. Then I saw that > it wasn't the latest version, and I did the upgrade to 20060420-1, > which also crashed. Moreover, between April 17 and yesterday, several > libraries had been upgraded. Hmm. Cou

Bug#364425: emacs-snapshot-gtk crashes (segmentation fault) with remote DISPLAY

2006-04-24 Thread Vincent Lefevre
On 2006-04-24 08:41:22 +0200, Romain Francoise wrote: > Hmm. Could you provide the xbacktrace as well? You need to launch gdb > from the src directory in the Emacs source tree to get this macro (or > move the .gbdinit file elsewhere). dixsept:...cal/src/emacs/src> gdb emacs ~/core [...] #0 0xb7

Bug#364425: emacs-snapshot-gtk crashes (segmentation fault) with remote DISPLAY

2006-04-24 Thread Vincent Lefevre
On 2006-04-24 08:34:39 +0200, Romain Francoise wrote: > Vincent Lefevre <[EMAIL PROTECTED]> writes: > > > The latest upgrade of emacs-snapshot-* I did before this was on > > April 12, so it was 20060406-1. But before upgrading to 20060420-1, > > this was also the latest upgrade, and this version w

Bug#364425: emacs-snapshot-gtk crashes (segmentation fault) with remote DISPLAY

2006-04-23 Thread Romain Francoise
Vincent Lefevre <[EMAIL PROTECTED]> writes: > (gdb) bt [...] > #13 0x080f4fa9 in x_error_handler () > #14 0xb79ee1ff in _XError () from /usr/X11R6/lib/libX11.so.6 > #15 0xb79ee8ef in _XReply () from /usr/X11R6/lib/libX11.so.6 > #16 0xb79e3c7b in XQueryPointer () from /usr/X11R6/lib/libX11.so.6 > #

Bug#364425: emacs-snapshot-gtk crashes (segmentation fault) with remote DISPLAY

2006-04-23 Thread Romain Francoise
Vincent Lefevre <[EMAIL PROTECTED]> writes: > The latest upgrade of emacs-snapshot-* I did before this was on > April 12, so it was 20060406-1. But before upgrading to 20060420-1, > this was also the latest upgrade, and this version was crashing > too (I did the upgrade in case it fixed this crash

Bug#364425: emacs-snapshot-gtk crashes (segmentation fault) with remote DISPLAY

2006-04-23 Thread Vincent Lefevre
On 2006-04-23 21:44:58 +0200, Romain Francoise wrote: > Then install pbuilder and use that, or create a sid chroot with > debootstrap and build Emacs there. I managed to use pbuilder and build emacs. dixsept:~> /home/vlefevre/software/tmp-deb/usr/local/src/emacs/src/emacs Warning: arch-independen

Bug#364425: emacs-snapshot-gtk crashes (segmentation fault) with remote DISPLAY

2006-04-23 Thread Vincent Lefevre
On 2006-04-23 21:21:14 +0200, Romain Francoise wrote: > Vincent Lefevre <[EMAIL PROTECTED]> writes: > > > Yes, when I tried (for the first time) on April 17, it was working. > > I forgot to ask: which version of emacs-snapshot were you using then? > (20060406-1 or 20060415-{1,2})? First, this wa

Bug#364425: emacs-snapshot-gtk crashes (segmentation fault) with remote DISPLAY

2006-04-23 Thread Vincent Lefevre
On 2006-04-23 21:09:04 +0200, Romain Francoise wrote: > 1) apt-get build-dep emacs-snapshot-gtk On the x86 machine, apt-get wants to upgrade Xorg and remove some packages. I don't want such an upgrade now. On the PPC machine, I get: ay:~> sudo apt-get build-dep emacs-snapshot-gtk Reading package

Bug#364425: emacs-snapshot-gtk crashes (segmentation fault) with remote DISPLAY

2006-04-23 Thread Romain Francoise
Vincent Lefevre <[EMAIL PROTECTED]> writes: > Yes, when I tried (for the first time) on April 17, it was working. I forgot to ask: which version of emacs-snapshot were you using then? (20060406-1 or 20060415-{1,2})? Thanks, -- ,''`. : :' :Romain Francoise <[EMAIL PROTECTED]> `. `'

Bug#364425: emacs-snapshot-gtk crashes (segmentation fault) with remote DISPLAY

2006-04-23 Thread Romain Francoise
Vincent Lefevre <[EMAIL PROTECTED]> writes: > On the x86 machine, apt-get wants to upgrade Xorg and remove some > packages. I don't want such an upgrade now. Then install pbuilder and use that, or create a sid chroot with debootstrap and build Emacs there. I can send you a tar containing a debug

Bug#364425: emacs-snapshot-gtk crashes (segmentation fault) with remote DISPLAY

2006-04-23 Thread Romain Francoise
Vincent Lefevre <[EMAIL PROTECTED]> writes: > Yes, when I tried (for the first time) on April 17, it was working. Ah, that's interesting, thanks. > What's the simplest way to build with debug symbols? > e.g. is it possible with "apt-get -b" and some option? Nope. The best for me would be for y

Bug#364425: emacs-snapshot-gtk crashes (segmentation fault) with remote DISPLAY

2006-04-23 Thread Vincent Lefevre
On 2006-04-23 15:10:16 +0200, Romain Francoise wrote: > Vincent Lefevre <[EMAIL PROTECTED]> writes: > > When I execute emacs-snapshot-gtk on a remote machine (Linux/x86 > > or Linux/powerpc) with the DISPLAY set by ssh X forwarding to my > > local machine (Mac OS X), it crashes. > > Is this a new

Bug#364425: emacs-snapshot-gtk crashes (segmentation fault) with remote DISPLAY

2006-04-23 Thread Romain Francoise
Vincent Lefevre <[EMAIL PROTECTED]> writes: > When I execute emacs-snapshot-gtk on a remote machine (Linux/x86 > or Linux/powerpc) with the DISPLAY set by ssh X forwarding to my > local machine (Mac OS X), it crashes. Is this a new bug? Did it work before? > The backtrace doesn't give much info