Subject: Re: bug#16027: 24.3; emacs infloop

From: Nicolas Richard <[email-masked]>
Date: Wed, 04 Dec 2013 17:53:22 +0100

Dmitry Antipov <[email-masked]> writes:

> This is very similar to what I've found a few weeks ago in trunk.
>
> Could you please try to run the following code:
>
> $ cat frame-test.el
>
> (defun frame-test ()
>   (interactive)
>   (dotimes (i 100)
>     (let ((frame-list nil))
>       (dotimes (j 10)
> 	(setq frame-list (cons (make-frame) frame-list)))
>       (mapcar #'delete-frame frame-list))))
>
> $ emacs -Q -l frame-test.el
> M-x frame-test
>
> Emacs probably hangs, with the backtrace similar to:

In fact it didn't hang. (I'm running the emacs-24 branch; I tried twice.)

I'll bootstrap trunk and see if I it hangs there.

(a few minutes later)

Indeed, I got a hang on trunk following your recipe.

youngfrog@geodiff-mac3 ~/sources/emacs-from-git/src $ gdb emacs 16793
GNU gdb (Gentoo 7.5.1 p2) 7.5.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /home/youngfrog/sources/emacs-from-git/src/emacs...done.
Attaching to program: /home/youngfrog/sources/emacs-from-git/src/emacs, process 16793

warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Reading symbols from /usr/lib/libtiff.so.5...Reading symbols from /usr/lib/debug/usr/lib/libtiff.so.5.2.0.debug...done.
done.
Loaded symbols for /usr/lib/libtiff.so.5
Reading symbols from /usr/lib/libjpeg.so.8...Reading symbols from /usr/lib/debug/usr/lib/libjpeg.so.8.0.2.debug...done.
done.
Loaded symbols for /usr/lib/libjpeg.so.8
Reading symbols from /usr/lib/libpng15.so.15...Reading symbols from /usr/lib/debug/usr/lib/libpng15.so.15.15.0.debug...done.
done.
Loaded symbols for /usr/lib/libpng15.so.15
Reading symbols from /lib/libz.so.1...Reading symbols from /usr/lib/debug/lib/libz.so.1.2.7.debug...done.
done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /lib/libm.so.6...Reading symbols from /usr/lib/debug/lib/libm-2.15.so.debug...done.
done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libgif.so.4...done.
Loaded symbols for /usr/lib/libgif.so.4
Reading symbols from /usr/lib/libXpm.so.4...Reading symbols from /usr/lib/debug/usr/lib/libXpm.so.4.11.0.debug...done.
done.
Loaded symbols for /usr/lib/libXpm.so.4
Reading symbols from /usr/lib/libXaw3d.so.8...Reading symbols from /usr/lib/debug/usr/lib/libXaw3d.so.8.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libXaw3d.so.8
Reading symbols from /usr/lib/libXmu.so.6...Reading symbols from /usr/lib/debug/usr/lib/libXmu.so.6.2.0.debug...done.
done.
Loaded symbols for /usr/lib/libXmu.so.6
Reading symbols from /usr/lib/libXt.so.6...Reading symbols from /usr/lib/debug/usr/lib/libXt.so.6.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libXt.so.6
Reading symbols from /usr/lib/libSM.so.6...Reading symbols from /usr/lib/debug/usr/lib/libSM.so.6.0.1.debug...done.
done.
Loaded symbols for /usr/lib/libSM.so.6
Reading symbols from /usr/lib/libICE.so.6...Reading symbols from /usr/lib/debug/usr/lib/libICE.so.6.3.0.debug...done.
done.
Loaded symbols for /usr/lib/libICE.so.6
Reading symbols from /usr/lib/libXext.so.6...Reading symbols from /usr/lib/debug/usr/lib/libXext.so.6.4.0.debug...done.
done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib/libX11.so.6...Reading symbols from /usr/lib/debug/usr/lib/libX11.so.6.3.0.debug...done.
done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libXrender.so.1...Reading symbols from /usr/lib/debug/usr/lib/libXrender.so.1.3.0.debug...done.
done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libXft.so.2...Reading symbols from /usr/lib/debug/usr/lib/libXft.so.2.3.1.debug...done.
done.
Loaded symbols for /usr/lib/libXft.so.2
Reading symbols from /usr/lib/libasound.so.2...Reading symbols from /usr/lib/debug/usr/lib/libasound.so.2.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libasound.so.2
Reading symbols from /usr/lib/librsvg-2.so.2...Reading symbols from /usr/lib/debug/usr/lib/librsvg-2.so.2.36.4.debug...done.
done.
Loaded symbols for /usr/lib/librsvg-2.so.2
Reading symbols from /usr/lib/libgio-2.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libgio-2.0.so.0.3508.0.debug...done.
done.
Loaded symbols for /usr/lib/libgio-2.0.so.0
Reading symbols from /usr/lib/libgdk_pixbuf-2.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libgdk_pixbuf-2.0.so.0.2800.1.debug...done.
done.
Loaded symbols for /usr/lib/libgdk_pixbuf-2.0.so.0
Reading symbols from /usr/lib/libgobject-2.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libgobject-2.0.so.0.3508.0.debug...done.
done.
Loaded symbols for /usr/lib/libgobject-2.0.so.0
Reading symbols from /usr/lib/libglib-2.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libglib-2.0.so.0.3508.0.debug...done.
done.
Loaded symbols for /usr/lib/libglib-2.0.so.0
Reading symbols from /usr/lib/libcairo.so.2...Reading symbols from /usr/lib/debug/usr/lib/libcairo.so.2.11000.2.debug...done.
done.
Loaded symbols for /usr/lib/libcairo.so.2
Reading symbols from /usr/lib/libMagickWand.so.5...Reading symbols from /usr/lib/debug/usr/lib/libMagickWand.so.5.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libMagickWand.so.5
Reading symbols from /usr/lib/libMagickCore.so.5...Reading symbols from /usr/lib/debug/usr/lib/libMagickCore.so.5.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libMagickCore.so.5
Reading symbols from /lib/libacl.so.1...Reading symbols from /usr/lib/debug/lib/libacl.so.1.1.0.debug...done.
done.
Loaded symbols for /lib/libacl.so.1
Reading symbols from /lib/librt.so.1...Reading symbols from /usr/lib/debug/lib/librt-2.15.so.debug...done.
done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /usr/lib/libdbus-1.so.3...Reading symbols from /usr/lib/debug/usr/lib/libdbus-1.so.3.7.3.debug...done.
done.
Loaded symbols for /usr/lib/libdbus-1.so.3
Reading symbols from /usr/lib/libXrandr.so.2...Reading symbols from /usr/lib/debug/usr/lib/libXrandr.so.2.2.0.debug...done.
done.
Loaded symbols for /usr/lib/libXrandr.so.2
Reading symbols from /usr/lib/libXinerama.so.1...Reading symbols from /usr/lib/debug/usr/lib/libXinerama.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libXinerama.so.1
Reading symbols from /usr/lib/libxml2.so.2...Reading symbols from /usr/lib/debug/usr/lib/libxml2.so.2.9.0.debug...done.
done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /lib/libgpm.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgpm.so.1
Reading symbols from /lib/libncurses.so.5...Reading symbols from /usr/lib/debug/lib/libncurses.so.5.9.debug...done.
done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /usr/lib/libgconf-2.so.4...Reading symbols from /usr/lib/debug/usr/lib/libgconf-2.so.4.1.5.debug...done.
done.
Loaded symbols for /usr/lib/libgconf-2.so.4
Reading symbols from /usr/lib/libfreetype.so.6...Reading symbols from /usr/lib/debug/usr/lib/libfreetype.so.6.10.0.debug...done.
done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libfontconfig.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/lib/libgnutls.so.26...Reading symbols from /usr/lib/debug/usr/lib/libgnutls.so.26.22.6.debug...done.
done.
Loaded symbols for /usr/lib/libgnutls.so.26
Reading symbols from /lib/libpthread.so.0...Reading symbols from /usr/lib/debug/lib/libpthread-2.15.so.debug...done.
done.
[New LWP 16796]
[New LWP 16795]
[New LWP 16794]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/gcc/i686-pc-linux-gnu/4.6.3/libgomp.so.1...Reading symbols from /usr/lib/debug/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/libgomp.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/4.6.3/libgomp.so.1
Reading symbols from /lib/libc.so.6...Reading symbols from /usr/lib/debug/lib/libc-2.15.so.debug...done.
done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.15.so.debug...done.
done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libuuid.so.1...Reading symbols from /usr/lib/debug/lib/libuuid.so.1.3.0.debug...done.
done.
Loaded symbols for /lib/libuuid.so.1
Reading symbols from /usr/lib/libxcb.so.1...Reading symbols from /usr/lib/debug/usr/lib/libxcb.so.1.1.0.debug...done.
done.
Loaded symbols for /usr/lib/libxcb.so.1
Reading symbols from /lib/libdl.so.2...Reading symbols from /usr/lib/debug/lib/libdl-2.15.so.debug...done.
done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libexpat.so.1...Reading symbols from /usr/lib/debug/usr/lib/libexpat.so.1.6.0.debug...done.
done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /lib/libbz2.so.1...Reading symbols from /usr/lib/debug/lib/libbz2.so.1.0.6.debug...done.
done.
Loaded symbols for /lib/libbz2.so.1
Reading symbols from /usr/lib/libpangocairo-1.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libpangocairo-1.0.so.0.3200.5.debug...done.
done.
Loaded symbols for /usr/lib/libpangocairo-1.0.so.0
Reading symbols from /usr/lib/libpango-1.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libpango-1.0.so.0.3200.5.debug...done.
done.
Loaded symbols for /usr/lib/libpango-1.0.so.0
Reading symbols from /usr/lib/libcroco-0.6.so.3...Reading symbols from /usr/lib/debug/usr/lib/libcroco-0.6.so.3.0.1.debug...done.
done.
Loaded symbols for /usr/lib/libcroco-0.6.so.3
Reading symbols from /usr/lib/libgmodule-2.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libgmodule-2.0.so.0.3508.0.debug...done.
done.
Loaded symbols for /usr/lib/libgmodule-2.0.so.0
Reading symbols from /lib/libresolv.so.2...Reading symbols from /usr/lib/debug/lib/libresolv-2.15.so.debug...done.
done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/lib/libffi.so.6...Reading symbols from /usr/lib/debug/usr/lib/libffi.so.6.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libffi.so.6
Reading symbols from /usr/lib/libpixman-1.so.0...Reading symbols from /usr/lib/debug/usr/lib/libpixman-1.so.0.28.0.debug...done.
done.
Loaded symbols for /usr/lib/libpixman-1.so.0
Reading symbols from /usr/lib/libEGL.so.1...Reading symbols from /usr/lib/debug/usr/lib/opengl/xorg-x11/lib/libEGL.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libEGL.so.1
Reading symbols from /usr/lib/libxcb-shm.so.0...Reading symbols from /usr/lib/debug/usr/lib/libxcb-shm.so.0.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libxcb-shm.so.0
Reading symbols from /usr/lib/libxcb-render.so.0...Reading symbols from /usr/lib/debug/usr/lib/libxcb-render.so.0.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libxcb-render.so.0
Reading symbols from /usr/lib/libGL.so.1...Reading symbols from /usr/lib/debug/usr/lib/opengl/xorg-x11/lib/libGL.so.1.2.0.debug...done.
done.
Loaded symbols for /usr/lib/libGL.so.1
Reading symbols from /usr/lib/liblcms2.so.2...Reading symbols from /usr/lib/debug/usr/lib/liblcms2.so.2.0.3.debug...done.
done.
Loaded symbols for /usr/lib/liblcms2.so.2
Reading symbols from /usr/lib/libltdl.so.7...Reading symbols from /usr/lib/debug/usr/lib/libltdl.so.7.3.0.debug...done.
done.
Loaded symbols for /usr/lib/libltdl.so.7
Reading symbols from /lib/libattr.so.1...Reading symbols from /usr/lib/debug/lib/libattr.so.1.1.0.debug...done.
done.
Loaded symbols for /lib/libattr.so.1
Reading symbols from /usr/lib/libORBit-2.so.0...Reading symbols from /usr/lib/debug/usr/lib/libORBit-2.so.0.1.0.debug...done.
done.
Loaded symbols for /usr/lib/libORBit-2.so.0
Reading symbols from /usr/lib/libnettle.so.4...Reading symbols from /usr/lib/debug/usr/lib/libnettle.so.4.5.debug...done.
done.
Loaded symbols for /usr/lib/libnettle.so.4
Reading symbols from /usr/lib/libgmp.so.10...Reading symbols from /usr/lib/debug/usr/lib/libgmp.so.10.0.2.debug...done.
done.
Loaded symbols for /usr/lib/libgmp.so.10
Reading symbols from /usr/lib/libhogweed.so.2...Reading symbols from /usr/lib/debug/usr/lib/libhogweed.so.2.3.debug...done.
done.
Loaded symbols for /usr/lib/libhogweed.so.2
Reading symbols from /usr/lib/libp11-kit.so.0...Reading symbols from /usr/lib/debug/usr/lib/libp11-kit.so.0.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libp11-kit.so.0
Reading symbols from /usr/lib/libXau.so.6...Reading symbols from /usr/lib/debug/usr/lib/libXau.so.6.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXdmcp.so.6...Reading symbols from /usr/lib/debug/usr/lib/libXdmcp.so.6.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /usr/lib/libpangoft2-1.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libpangoft2-1.0.so.0.3200.5.debug...done.
done.
Loaded symbols for /usr/lib/libpangoft2-1.0.so.0
Reading symbols from /usr/lib/libX11-xcb.so.1...Reading symbols from /usr/lib/debug/usr/lib/libX11-xcb.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libX11-xcb.so.1
Reading symbols from /usr/lib/libxcb-dri2.so.0...Reading symbols from /usr/lib/debug/usr/lib/libxcb-dri2.so.0.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libxcb-dri2.so.0
Reading symbols from /usr/lib/libxcb-xfixes.so.0...Reading symbols from /usr/lib/debug/usr/lib/libxcb-xfixes.so.0.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libxcb-xfixes.so.0
Reading symbols from /lib/libudev.so.1...Reading symbols from /usr/lib/debug/lib/libudev.so.1.3.1.debug...done.
done.
Loaded symbols for /lib/libudev.so.1
Reading symbols from /usr/lib/libdrm.so.2...Reading symbols from /usr/lib/debug/usr/lib/libdrm.so.2.4.0.debug...done.
done.
Loaded symbols for /usr/lib/libdrm.so.2
Reading symbols from /usr/lib/libglapi.so.0...Reading symbols from /usr/lib/debug/usr/lib/libglapi.so.0.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libglapi.so.0
Reading symbols from /usr/lib/libXdamage.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXdamage.so.1
Reading symbols from /usr/lib/libXfixes.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Reading symbols from /usr/lib/libxcb-glx.so.0...Reading symbols from /usr/lib/debug/usr/lib/libxcb-glx.so.0.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libxcb-glx.so.0
Reading symbols from /usr/lib/libXxf86vm.so.1...Reading symbols from /usr/lib/debug/usr/lib/libXxf86vm.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libXxf86vm.so.1
Reading symbols from /usr/lib/libharfbuzz.so.0...Reading symbols from /usr/lib/debug/usr/lib/libharfbuzz.so.0.912.0.debug...done.
done.
Loaded symbols for /usr/lib/libharfbuzz.so.0
Reading symbols from /usr/lib/libgraphite2.so.3...Reading symbols from /usr/lib/debug/usr/lib/libgraphite2.so.3.0.1.debug...done.
done.
Loaded symbols for /usr/lib/libgraphite2.so.3
Reading symbols from /usr/lib/libicule.so.51...Reading symbols from /usr/lib/debug/usr/lib/libicule.so.51.1.debug...done.
done.
Loaded symbols for /usr/lib/libicule.so.51
Reading symbols from /usr/lib/libicuuc.so.51...Reading symbols from /usr/lib/debug/usr/lib/libicuuc.so.51.1.debug...done.
done.
Loaded symbols for /usr/lib/libicuuc.so.51
Reading symbols from /usr/lib/gcc/i686-pc-linux-gnu/4.6.3/libstdc++.so.6...Reading symbols from /usr/lib/debug/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/libstdc++.so.6.0.16.debug...done.
done.
Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/4.6.3/libstdc++.so.6
Reading symbols from /usr/lib/gcc/i686-pc-linux-gnu/4.6.3/libgcc_s.so.1...Reading symbols from /usr/lib/debug/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/libgcc_s.so.1.debug...done.
done.
Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/4.6.3/libgcc_s.so.1
Reading symbols from /usr/lib/libicudata.so.51...Reading symbols from /usr/lib/debug/usr/lib/libicudata.so.51.1.debug...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libicudata.so.51
Reading symbols from /lib/libnss_files.so.2...Reading symbols from /usr/lib/debug/lib/libnss_files-2.15.so.debug...done.
done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_compat.so.2...Reading symbols from /usr/lib/debug/lib/libnss_compat-2.15.so.debug...done.
done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...Reading symbols from /usr/lib/debug/lib/libnsl-2.15.so.debug...done.
done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...Reading symbols from /usr/lib/debug/lib/libnss_nis-2.15.so.debug...done.
done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /usr/lib/libXcursor.so.1...Reading symbols from /usr/lib/debug/usr/lib/libXcursor.so.1.0.2.debug...done.
done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/gio/modules/libgvfsdbus.so...Reading symbols from /usr/lib/debug/usr/lib/gio/modules/libgvfsdbus.so.debug...done.
done.
Loaded symbols for /usr/lib/gio/modules/libgvfsdbus.so
Reading symbols from /usr/lib/libgvfscommon.so.0...Reading symbols from /usr/lib/debug/usr/lib/libgvfscommon.so.0.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libgvfscommon.so.0
Reading symbols from /usr/lib/gio/modules/libgioremote-volume-monitor.so...Reading symbols from /usr/lib/debug/usr/lib/gio/modules/libgioremote-volume-monitor.so.debug...done.
done.
Loaded symbols for /usr/lib/gio/modules/libgioremote-volume-monitor.so
Reading symbols from /usr/lib/gio/modules/libdconfsettings.so...Reading symbols from /usr/lib/debug/usr/lib/gio/modules/libdconfsettings.so.debug...done.
done.
Loaded symbols for /usr/lib/gio/modules/libdconfsettings.so
0x0815bd48 in unblock_input () at keyboard.c:7124
7124	  unblock_input_to (interrupt_input_blocked - 1);
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0.0
TERM = xterm
Breakpoint 1 at 0x8151ea0: file emacs.c, line 349.
Temporary breakpoint 2 at 0x816f540: file sysdep.c, line 846.
(gdb) bt
#0  0x0815bd48 in unblock_input () at keyboard.c:7124
#1  0x081318d2 in x_make_frame_visible (f=0x8b97820) at xterm.c:8940
#2  0x08066360 in Fmake_frame_visible (frame=146372645) at frame.c:1695
#3  0x081d706b in Ffuncall (nargs=2, args=0xbff81c34) at eval.c:2805
#4  0x08214e2f in exec_byte_code (bytestr=1, vector=152629416, maxdepth=16, args_template=139699138, nargs=-1074258888, args=0x2) at bytecode.c:919
#5  0x081d6971 in funcall_lambda (fun=137503357, nargs=1, arg_vector=0xbff81dd8) at eval.c:3039
#6  0x081d6cd7 in Ffuncall (nargs=2, args=0xbff81dd4) at eval.c:2866
#7  0x08214e2f in exec_byte_code (bytestr=1, vector=152629416, maxdepth=20, args_template=139699138, nargs=-1074258472, args=0x2) at bytecode.c:919
#8  0x081d6971 in funcall_lambda (fun=137828253, nargs=0, arg_vector=0xbff81f20) at eval.c:3039
#9  0x081d5aaa in apply_lambda (fun=137828253, args=<optimized out>) at eval.c:2914
#10 0x081d5d0c in eval_sub (form=142000190) at eval.c:2250
#11 0x081d5e98 in eval_sub (form=142000198) at eval.c:2160
#12 0x081d651d in Fsetq (args=<optimized out>) at eval.c:535
#13 Fsetq (args=142000246) at eval.c:521
#14 0x081d60d1 in eval_sub (form=142000470) at eval.c:2123
#15 0x081d66d6 in Fprogn (body=142045494) at eval.c:458
#16 0x081d99d0 in Fwhile (args=142045478) at eval.c:988
#17 0x081d60d1 in eval_sub (form=142045358) at eval.c:2123
#18 0x081d66d6 in Fprogn (body=142045318) at eval.c:458
#19 0x081da0bc in Flet (args=142045270) at eval.c:966
#20 0x081d60d1 in eval_sub (form=142045246) at eval.c:2123
#21 0x081d66d6 in Fprogn (body=142043878) at eval.c:458
#22 0x081da0bc in Flet (args=142043766) at eval.c:966
#23 0x081d60d1 in eval_sub (form=142043758) at eval.c:2123
#24 0x081d66d6 in Fprogn (body=142043726) at eval.c:458
#25 0x081d99d0 in Fwhile (args=142043742) at eval.c:988
#26 0x081d60d1 in eval_sub (form=142043750) at eval.c:2123
#27 0x081d66d6 in Fprogn (body=142043590) at eval.c:458
#28 0x081da0bc in Flet (args=142043550) at eval.c:966
#29 0x081d60d1 in eval_sub (form=142043526) at eval.c:2123
#30 0x081d66d6 in Fprogn (body=142043414) at eval.c:458
#31 0x081d6a34 in funcall_lambda (fun=142043502, nargs=0, arg_vector=0xbff82754) at eval.c:3032
#32 0x081d6cd7 in Ffuncall (nargs=1, args=0xbff82750) at eval.c:2866
#33 0x081d743c in apply1 (fn=144319186, arg=139699138) at eval.c:2571
#34 0x081d2527 in Fcall_interactively (function=144319186, record_flag=142050402, keys=139707981) at callint.c:378
#35 0x081d7018 in Ffuncall (nargs=4, args=0xbff8287c) at eval.c:2812
#36 0x08214e2f in exec_byte_code (bytestr=1, vector=152629416, maxdepth=52, args_template=4100, nargs=-1074255736, args=0x4) at bytecode.c:919
#37 0x081d6a03 in funcall_lambda (fun=137698725, nargs=2, arg_vector=0xbff82a38) at eval.c:2973
#38 0x081d6cd7 in Ffuncall (nargs=3, args=0xbff82a34) at eval.c:2866
#39 0x08214e2f in exec_byte_code (bytestr=1, vector=152629416, maxdepth=60, args_template=2052, nargs=-1074255312, args=0x3) at bytecode.c:919
#40 0x081d6a03 in funcall_lambda (fun=137698389, nargs=2, arg_vector=0xbff82be4) at eval.c:2973
#41 0x081d6cd7 in Ffuncall (nargs=3, args=0xbff82be0) at eval.c:2866
#42 0x081d80a9 in Fapply (nargs=2, args=0xbff82c68) at eval.c:2344
#43 0x081d741f in apply1 (fn=139854954, arg=143130574) at eval.c:2578
#44 0x081d2527 in Fcall_interactively (function=139854954, record_flag=139699138, keys=139707981) at callint.c:378
#45 0x081d7018 in Ffuncall (nargs=4, args=0xbff82dac) at eval.c:2812
#46 0x08214e2f in exec_byte_code (bytestr=1, vector=152629416, maxdepth=52, args_template=4100, nargs=-1074254408, args=0x4) at bytecode.c:919
#47 0x081d6a03 in funcall_lambda (fun=137698725, nargs=1, arg_vector=0xbff82f5c) at eval.c:2973
#48 0x081d6cd7 in Ffuncall (nargs=2, args=0xbff82f58) at eval.c:2866
#49 0x081d7337 in call1 (fn=139725546, arg1=139854954) at eval.c:2604
#50 0x08162b91 in command_loop_1 () at keyboard.c:1552
#51 0x081d4ef8 in internal_condition_case (bfun=0x81626e0 <command_loop_1>, handlers=139732170, hfun=0x8158260 <cmd_error>) at eval.c:1344
#52 0x081568b5 in command_loop_2 (ignore=139699138) at keyboard.c:1170
#53 0x081d4e1b in internal_catch (tag=139730218, func=0x8156890 <command_loop_2>, arg=139699138) at eval.c:1108
#54 0x08157dca in command_loop () at keyboard.c:1149
#55 recursive_edit_1 () at keyboard.c:777
#56 0x081580a0 in Frecursive_edit () at keyboard.c:841
#57 0x08057952 in main (argc=<optimized out>, argv=0xbff83234) at emacs.c:1598

Lisp Backtrace:
"make-frame-visible" (0xbff81c38)
"x-create-frame-with-faces" (0xbff81dd8)
"make-frame" (0xbff81f20)
"cons" (0xbff8206c)
"setq" (0xbff8212c)
"while" (0xbff821fc)
"let" (0xbff8231c)
"let" (0xbff8243c)
"while" (0xbff8250c)
"let" (0xbff8262c)
"frame-test" (0xbff82754)
"call-interactively" (0xbff82880)
"command-execute" (0xbff82a38)
"execute-extended-command" (0xbff82be4)
"call-interactively" (0xbff82db0)
"command-execute" (0xbff82f5c)
(gdb) finish
Run till exit from #0  0x0815bd48 in unblock_input () at keyboard.c:7124
x_make_frame_visible (f=0x8b97820) at xterm.c:8948
8948		if (input_polling_used ())
(gdb) 
Run till exit from #0  x_make_frame_visible (f=0x8b97820) at xterm.c:8948

(at this point it didn't return, so I used kill -TSTP ...)

Program received signal SIGTSTP, Stopped (user).
0xb773f424 in __kernel_vsyscall ()
(gdb) 
Run till exit from #0  0xb773f424 in __kernel_vsyscall ()
0xb65aa00b in *__GI___poll (fds=0xbff81958, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
87	../sysdeps/unix/sysv/linux/poll.c: Aucun fichier ou dossier de ce type.
(gdb) 

-- 
Nico.