From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.bugs Subject: bug#16119: 24.3.50; emacs aborted -- [xcb] Unknown request in queue while appending request Date: Thu, 12 Dec 2013 13:25:01 +0100 Message-ID: <52A9AB1D.20607@yahoo.fr> References: <87sity72sa.fsf@yahoo.fr> <52A9A664.3050802@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1386851116 15564 80.91.229.3 (12 Dec 2013 12:25:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Dec 2013 12:25:16 +0000 (UTC) Cc: 16119@debbugs.gnu.org To: Dmitry Antipov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 12 13:25:21 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vr5KT-0006C5-Ep for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Dec 2013 13:25:21 +0100 Original-Received: from localhost ([::1]:35570 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr5KT-0002Yh-2m for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Dec 2013 07:25:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr5KK-0002YP-CJ for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 07:25:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vr5KD-00005J-NX for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 07:25:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr5KD-00005E-JT for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 07:25:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vr5KC-00014q-SK for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 07:25:05 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Richard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Dec 2013 12:25:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16119 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16119-submit@debbugs.gnu.org id=B16119.13868510854096 (code B ref 16119); Thu, 12 Dec 2013 12:25:04 +0000 Original-Received: (at 16119) by debbugs.gnu.org; 12 Dec 2013 12:24:45 +0000 Original-Received: from localhost ([127.0.0.1]:44883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vr5Jq-00013s-Bk for submit@debbugs.gnu.org; Thu, 12 Dec 2013 07:24:43 -0500 Original-Received: from mxin.ulb.ac.be ([164.15.128.112]:41393) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vr5Jk-00013c-M3 for 16119@debbugs.gnu.org; Thu, 12 Dec 2013 07:24:39 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtkJAFSqqVKkD4Nx/2dsb2JhbABZg0KDWKBNApUJgTODGQEBBAEjDwFGBQsLDgoCAgUhAgIPAkYGDQEHAQGHawEMCA2yLFOHXwGHaReBKYZXhxQHgmyBSASYFYEwhH6LZoFrgT8 Original-Received: from geodiff-mac3.ulb.ac.be (HELO [164.15.131.113]) ([164.15.131.113]) by smtp.ulb.ac.be with ESMTP; 12 Dec 2013 13:24:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 In-Reply-To: <52A9A664.3050802@yandex.ru> X-TagToolbar-Keys: D20131212132500951 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:81810 Archived-At: Le 12/12/2013 13:04, Dmitry Antipov a écrit : > On 12/12/2013 02:59 PM, Nicolas Richard wrote: > >> [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called > > 1) Hm...could you also run 'info threads' in GDB and, if there are more than one of them, > collect all backtraces? I assumed that collecting all backtraces could be done via "thread " and then "bt". Here's what I've done : (gdb) info threads Id Target Id Frame 6 Thread 0xb1d93b40 (LWP 10061) "emacs" deliver_input_available_signal (sig=29) at keyboard.c:7151 5 Thread 0xb2594b40 (LWP 10060) "emacs" 0xb6efd325 in sys_futex0 (val=4, op=, addr=0xb4f83fc) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/x86/futex.h:90 4 Thread 0xb38ffb40 (LWP 8571) "dconf worker" 0xb7fdf424 in __kernel_vsyscall () 3 Thread 0xb42a8b40 (LWP 8570) "gdbus" 0xb7fdf424 in __kernel_vsyscall () 2 Thread 0xb4cceb40 (LWP 8569) "gmain" 0xb7fdf424 in __kernel_vsyscall () * 1 Thread 0xb5077880 (LWP 8565) "emacs" 0xb7fdf424 in __kernel_vsyscall () (gdb) thread 2 [Switching to thread 2 (Thread 0xb4cceb40 (LWP 8569))] #0 0xb7fdf424 in __kernel_vsyscall () (gdb) bt #0 0xb7fdf424 in __kernel_vsyscall () #1 0xb6e4a00b in *__GI___poll (fds=0xb4300478, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #2 0xb78444cb in g_poll (fds=0xb4300478, nfds=1, timeout=-1) at gpoll.c:132 #3 0xb783685e in g_main_context_poll (n_fds=1, fds=0xb4300478, timeout=, context=0x88fbc70, priority=) at gmain.c:3995 #4 g_main_context_iterate (dispatch=1, block=-1216068448, context=0x88fbc70, self=) at gmain.c:3696 #5 g_main_context_iterate (context=0x88fbc70, block=-1216068448, dispatch=1, self=) at gmain.c:3638 #6 0xb7836997 in g_main_context_iteration (context=0x88fbc70, may_block=1) at gmain.c:3762 #7 0xb7836a16 in glib_worker_main (data=0x0) at gmain.c:5427 #8 0xb785b84a in g_thread_proxy (data=0x88fc800) at gthread.c:798 #9 0xb6f0b017 in start_thread (arg=0xb4cceb40) at pthread_create.c:305 #10 0xb6e54cbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133 Lisp Backtrace: Program received signal SIGABRT, Aborted. [Switching to Thread 0xb5077880 (LWP 8565)] 0xb7fdf424 in __kernel_vsyscall () The program received a signal in another thread while making a function call from GDB. Evaluation of the expression containing the function (backtrace_top) will be abandoned. When the function is done executing, GDB will silently stop. (gdb) info threads Id Target Id Frame 6 Thread 0xb1d93b40 (LWP 10061) "emacs" 0xb6efd2fa in do_wait (val=4, addr=0xb4f83fc) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/wait.h:53 5 Thread 0xb2594b40 (LWP 10060) "emacs" 0xb6efd325 in sys_futex0 (val=4, op=, addr=0xb4f83fc) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/x86/futex.h:90 4 Thread 0xb38ffb40 (LWP 8571) "dconf worker" 0xb7fdf424 in __kernel_vsyscall () 3 Thread 0xb42a8b40 (LWP 8570) "gdbus" 0xb7fdf424 in __kernel_vsyscall () 2 Thread 0xb4cceb40 (LWP 8569) "gmain" backtrace_top () at eval.c:209 * 1 Thread 0xb5077880 (LWP 8565) "emacs" 0xb7fdf424 in __kernel_vsyscall () (gdb) thread 3 [Switching to thread 3 (Thread 0xb42a8b40 (LWP 8570))] #0 0xb7fdf424 in __kernel_vsyscall () (gdb) bt #0 0xb7fdf424 in __kernel_vsyscall () #1 0xb6e4a00b in *__GI___poll (fds=0xb39023b0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #2 0xb78444cb in g_poll (fds=0xb39023b0, nfds=3, timeout=-1) at gpoll.c:132 #3 0xb783685e in g_main_context_poll (n_fds=3, fds=0xb39023b0, timeout=, context=0x8935fb0, priority=) at gmain.c:3995 #4 g_main_context_iterate (dispatch=1, block=-1216068448, context=0x8935fb0, self=) at gmain.c:3696 #5 g_main_context_iterate (context=0x8935fb0, block=-1216068448, dispatch=1, self=) at gmain.c:3638 #6 0xb7836d73 in g_main_loop_run (loop=0x8935f90) at gmain.c:3895 #7 0xb7a75aca in gdbus_shared_thread_func (user_data=0x8937078) at gdbusprivate.c:278 #8 0xb785b84a in g_thread_proxy (data=0x88fce60) at gthread.c:798 #9 0xb6f0b017 in start_thread (arg=0xb42a8b40) at pthread_create.c:305 #10 0xb6e54cbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133 [Switching to Thread 0xb4cceb40 (LWP 8569)] The program stopped in another thread while making a function call from GDB. Evaluation of the expression containing the function (backtrace_top) will be abandoned. When the function is done executing, GDB will silently stop. (gdb) info threads Id Target Id Frame 6 Thread 0xb1d93b40 (LWP 10061) "emacs" do_wait (val=4, addr=0xb4f83fc) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/wait.h:53 5 Thread 0xb2594b40 (LWP 10060) "emacs" 0xb6efd325 in sys_futex0 (val=4, op=, addr=0xb4f83fc) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/x86/futex.h:90 4 Thread 0xb38ffb40 (LWP 8571) "dconf worker" 0xb7fdf424 in __kernel_vsyscall () 3 Thread 0xb42a8b40 (LWP 8570) "gdbus" * 2 Thread 0xb4cceb40 (LWP 8569) "gmain" 0xb7fdf424 in __kernel_vsyscall () 1 Thread 0xb5077880 (LWP 8565) "emacs" 0xb7fdf424 in __kernel_vsyscall () (gdb) thread 4 [Switching to thread 4 (Thread 0xb38ffb40 (LWP 8571))] #0 0xb7fdf424 in __kernel_vsyscall () (gdb) bt #0 0xb7fdf424 in __kernel_vsyscall () #1 0xb6e4a00b in *__GI___poll (fds=0xb2f00c78, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #2 0xb78444cb in g_poll (fds=0xb2f00c78, nfds=1, timeout=-1) at gpoll.c:132 #3 0xb783685e in g_main_context_poll (n_fds=1, fds=0xb2f00c78, timeout=, context=0x8957220, priority=) at gmain.c:3995 #4 g_main_context_iterate (dispatch=1, block=-1216068448, context=0x8957220, self=) at gmain.c:3696 #5 g_main_context_iterate (context=0x8957220, block=-1216068448, dispatch=1, self=) at gmain.c:3638 #6 0xb7836d73 in g_main_loop_run (loop=0xb2f00c68) at gmain.c:3895 #7 0xb4457736 in dconf_context_thread (data=0x8957220) at dconfcontext.c:11 #8 0xb785b84a in g_thread_proxy (data=0x894a6c0) at gthread.c:798 #9 0xb6f0b017 in start_thread (arg=0xb38ffb40) at pthread_create.c:305 #10 0xb6e54cbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133 [Switching to Thread 0xb42a8b40 (LWP 8570)] The program stopped in another thread while making a function call from GDB. Evaluation of the expression containing the function (backtrace_top) will be abandoned. When the function is done executing, GDB will silently stop. (gdb) info threads Id Target Id Frame 6 Thread 0xb1d93b40 (LWP 10061) "emacs" 0xb6efd304 in do_wait (val=4, addr=0xb4f83fc) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/wait.h:53 5 Thread 0xb2594b40 (LWP 10060) "emacs" 0xb6efd325 in sys_futex0 (val=4, op=, addr=0xb4f83fc) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/x86/futex.h:90 4 Thread 0xb38ffb40 (LWP 8571) "dconf worker" * 3 Thread 0xb42a8b40 (LWP 8570) "gdbus" 0xb7fdf424 in __kernel_vsyscall () 2 Thread 0xb4cceb40 (LWP 8569) "gmain" 0xb7fdf424 in __kernel_vsyscall () 1 Thread 0xb5077880 (LWP 8565) "emacs" 0xb7fdf424 in __kernel_vsyscall () (gdb) thread 5 [Switching to thread 5 (Thread 0xb2594b40 (LWP 10060))] #0 0xb6efd325 in sys_futex0 (val=4, op=, addr=0xb4f83fc) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/x86/futex.h:90 90 /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/x86/futex.h: Aucun fichier ou dossier de ce type. (gdb) bt #0 0xb6efd325 in sys_futex0 (val=4, op=, addr=0xb4f83fc) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/x86/futex.h:90 #1 futex_wait (val=4, addr=0xb4f83fc) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/x86/futex.h:120 #2 do_wait (val=4, addr=0xb4f83fc) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/wait.h:58 #3 gomp_barrier_wait_end (bar=0xb4f83f8, state=4) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/bar.c:49 #4 0xb6efd3cc in gomp_barrier_wait (bar=0xb4f83f8) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/bar.c:57 #5 0xb6efbc28 in gomp_thread_start (xdata=0xbfffacf0) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/team.c:119 #6 0xb6f0b017 in start_thread (arg=0xb2594b40) at pthread_create.c:305 #7 0xb6e54cbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133 Lisp Backtrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb5077880 (LWP 8565)] *__GI_abort () at abort.c:127 127 abort.c: Aucun fichier ou dossier de ce type. The program received a signal in another thread while making a function call from GDB. Evaluation of the expression containing the function (backtrace_p) will be abandoned. When the function is done executing, GDB will silently stop. (gdb) info threads Id Target Id Frame 6 Thread 0xb1d93b40 (LWP 10061) "emacs" 0xb6efd304 in do_wait (val=4, addr=0xb4f83fc) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/wait.h:53 5 Thread 0xb2594b40 (LWP 10060) "emacs" backtrace_p (pdl=0x88f5a68) at eval.c:205 4 Thread 0xb38ffb40 (LWP 8571) "dconf worker" 3 Thread 0xb42a8b40 (LWP 8570) "gdbus" 0xb7fdf424 in __kernel_vsyscall () 2 Thread 0xb4cceb40 (LWP 8569) "gmain" 0xb7fdf424 in __kernel_vsyscall () * 1 Thread 0xb5077880 (LWP 8565) "emacs" *__GI_abort () at abort.c:127 (gdb) thread 6 [Switching to thread 6 (Thread 0xb1d93b40 (LWP 10061))] #0 0xb6efd304 in do_wait (val=4, addr=0xb4f83fc) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/wait.h:53 53 /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/wait.h: Aucun fichier ou dossier de ce type. (gdb) bt #0 0xb6efd304 in do_wait (val=4, addr=0xb4f83fc) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/wait.h:53 #1 gomp_barrier_wait_end (bar=0xb4f83f8, state=4) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/bar.c:49 #2 0xb6efd3cc in gomp_barrier_wait (bar=0xb4f83f8) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/config/linux/bar.c:57 #3 0xb6efbc28 in gomp_thread_start (xdata=0xbfffad24) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgomp/team.c:119 #4 0xb6f0b017 in start_thread (arg=0xb1d93b40) at pthread_create.c:305 #5 0xb6e54cbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133 Lisp Backtrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb5077880 (LWP 8565)] *__GI_abort () at abort.c:127 127 abort.c: Aucun fichier ou dossier de ce type. The program received a signal in another thread while making a function call from GDB. Evaluation of the expression containing the function (backtrace_p) will be abandoned. When the function is done executing, GDB will silently stop. (gdb) I understand that gdb is not completely happy with that, but I do not know what to do with its complaint. > 2) According to http://cgit.freedesktop.org/xorg/lib/libX11, libX11-1.5.0 is 18 months old. > Could you try an upgrade? My system has 1.6.0. Sure, will do. Nico.