From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: server.el test failures Date: Tue, 28 Feb 2023 08:42:56 +0100 Message-ID: <87h6v6qlq7.fsf@gmail.com> References: <877h40vb8h.fsf@mail.jurta.org> <4EA4D31B.4050604@cs.ucla.edu> <4EA5E08D.8070903@cs.ucla.edu> <861qmvcglp.fsf@aarsen.me> <98e880a0-d076-cfd9-b39d-50c84fa8975a@gmail.com> <811d85e0-4032-68df-bc0c-1073ff5d1b96@cs.ucla.edu> <5a38c18d-263c-223b-7335-8395a10eb494@gmail.com> <00864fe6-b63a-685f-2d20-4e1fd5a5573e@cs.ucla.edu> <3e7c26d6-215a-6c29-5304-0e32f42b2174@gmail.com> <87zg8z5afj.fsf@gmail.com> <83ttz7giib.fsf@gnu.org> <87r0ub561t.fsf@gmail.com> <83sfergdgf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30997"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jporterbugs@gmail.com, eggert@cs.ucla.edu, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 28 08:43:52 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pWueN-0007ws-Ru for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Feb 2023 08:43:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWudd-0002we-7V; Tue, 28 Feb 2023 02:43:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWudb-0002wW-WE for emacs-devel@gnu.org; Tue, 28 Feb 2023 02:43:04 -0500 Original-Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWudZ-000819-Go; Tue, 28 Feb 2023 02:43:03 -0500 Original-Received: by mail-wm1-x334.google.com with SMTP id j19-20020a05600c191300b003eb3e1eb0caso4176417wmq.1; Mon, 27 Feb 2023 23:43:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=mzfgGgCkNI5phgnYnLk0YWYp14j4l2BMr8FlBxZlhD0=; b=lvf6I83o1RKYljuj1gJZ8zcKvdw/vI0dHIiQXjVtw1cUjUSNtfkVuapm5GZwdDFPNU oRBCqlWA7nXRwJlihzRundClP7X5JDt0wnGGnPhNC+R4yKyUa8gDG/tc1gcp9mOHsLdu G+EjbMUhuJUJTEHXXvk3CziLU5hyriBJ3Z5CXI8lnN9V/FTznOprYQr61Pjir0xHMa/W OSb1DJZFo3l7GwPjmwgj8dGCMzw3mPnfCOAOF/S4mI+uDn7VBKcFvhcQNhXts8e546MZ 2Z4dU7CMovfs2idBcujtHP6HQFOxrpUUwJGHXuD+xnpJOAgzdwzObTy4MttzaNoFQx4G lVAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mzfgGgCkNI5phgnYnLk0YWYp14j4l2BMr8FlBxZlhD0=; b=rMPbwAqK2T68RrzLOiCbZZLup07i3o3AwDSaICDVI4iZLLCpxzZwpHvkBTrgvA1hcR nBLPhSoDF4vgPJz9OXX/HjzHqOkUhG7RMHnkHP+ohUZBK8rg+0S3mWiqmZLgH9N0la2q 06Gpy6uUlN3nlt/eZokZrT2UQqDISCH42It9/KUCUFtoRFHzXnX36is0lfQWpwjthuTm tHhdftchntsBm8tjrti5qAvUom67oI89BM0FoSW0bGzWiFg6VDNy3BGQuy3bx/R9yrDq TupIG6VTE2c0zFZEyyv1pEseRRMzsgy0BA1SqhXguhZDtia1diiizQju0fKaxzHEcvyT 8y0A== X-Gm-Message-State: AO0yUKUqjR5jUjpoyFt/zR+ZC4Pp88B6NbyTicRapAeR21lusN2f3UZD Tb5xe9UT5Rfk+vrZAdf7vAJCYy4Ue50= X-Google-Smtp-Source: AK7set/MIKOtcqdNo/+EH6HnYZqNUaWf2fajhDB5/LPLBemNt1OLQXBQPYZA4LmQvUg4XCR3b9BPiA== X-Received: by 2002:a05:600c:1819:b0:3eb:3945:d405 with SMTP id n25-20020a05600c181900b003eb3945d405mr1460154wmp.38.1677570178130; Mon, 27 Feb 2023 23:42:58 -0800 (PST) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id k14-20020a05600c1c8e00b003eae73f0fc1sm12641803wms.18.2023.02.27.23.42.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Feb 2023 23:42:57 -0800 (PST) In-Reply-To: <83sfergdgf.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 27 Feb 2023 20:39:28 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=rpluim@gmail.com; helo=mail-wm1-x334.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:303848 Archived-At: >>>>> On Mon, 27 Feb 2023 20:39:28 +0200, Eli Zaretskii said: Eli> What does "handle SIGIO" say before you type "run"? Try this: Eli> (gdb) handle SIGIO stop print Eli> and then run the test in batch mode again. That gets me the same backtrace: (gdb) set args --module-assertions --no-init-file --no-site-file --no-site-lisp -L ":." \ -l ert -l lisp/server-tests.el \ --batch --eval '(ert-run-tests-batch-and-exit (quote (not (or (tag :unstable) (tag :nativecomp)))))' (gdb) handle SIGIO stop print Signal Stop Print Pass to program Description SIGIO Yes Yes Yes I/O possible (gdb) r Starting program: /home/rpluim/repos/emacs/src/emacs --module-assertions --no-init-file --no-site-file --no-site-lisp -L ":." \ -l ert -l lisp/server-tests.el \ --batch --eval '(ert-run-tests-batch-and-exit (quote (not (or (tag :unstable) (tag :nativecomp)))))' [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff129d700 (LWP 26168)] Running 1 tests (2023-02-28 08:39:54+0100, selector `(not (or (tag :unstable) (tag :nativecomp)))') [Detaching after vfork from child process 26169] [New Thread 0x7fffebfff700 (LWP 26170)] [New Thread 0x7fffeb66e700 (LWP 26171)] Thread 1 "emacs" received signal SIGIO, I/O possible. 0x00007ffff530fd2f in __GI___poll (fds=0x7fffffffa698, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 29 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory. (gdb) bt #0 0x00007ffff530fd2f in __GI___poll (fds=0x7fffffffa698, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007ffff6d92d02 in () at /lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007ffff6d94d7f in () at /lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007ffff6d94e91 in xcb_wait_for_reply () at /lib/x86_64-linux-gnu/libxcb.so.1 #4 0x00005555556a629b in x_term_init (display_name=display_name@entry=XIL(0x5555560152d4), xrm_option=xrm_option@entry=0x0, resource_name=0x555556010260 "emacs") at xterm.c:30964 #5 0x00005555556a96c7 in Fx_open_connection (display=XIL(0x5555560152d4), xrm_string=, must_succeed=XIL(0)) at xfns.c:7548 #6 0x00005555557a2f15 in exec_byte_code (fun=, args_template=, nargs=, args=) at bytecode.c:809 #7 0x000055555575d633 in Ffuncall (nargs=2, args=0x7ffff12b27c8) at eval.c:2997 #8 0x000055555575daf2 in Fapply (nargs=2, args=0x7ffff12b27c8) at eval.c:2625 #9 0x00005555557a2f15 in exec_byte_code (fun=, args_template=, nargs=, args=) at bytecode.c:809 #10 0x000055555575d633 in Ffuncall (nargs=3, args=0x7fffffffb3d0) at eval.c:2997 #11 0x000055555575d850 in Fapply (nargs=nargs@entry=2, args=args@entry=0x7fffffffb460) at eval.c:2668 #12 0x000055555575dbbc in apply1 (fn=, arg=) at eval.c:2884 #13 0x000055555575be04 in internal_condition_case_1 (bfun=bfun@entry=0x5555557a5bb0 , arg=XIL(0x7ffff08d5073), handlers=handlers@entry=XIL(0), hfun=hfun@entry=0x5555557a5af0 ) at eval.c:1498 #14 0x00005555557a86bb in read_and_dispose_of_process_output (coding=0x555555ff41a0, nbytes=3886, chars=0x7fffffffb4b0 "-env PWD=/home/rpluim/repos/emacs/test -env OLDPWD=/home/rpluim/repos/emacs -env GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/terminator.desktop -env GIO_LAUNCHED_DESKTOP_FILE_PID=2330 -env DBUS_"..., p=0xfffffffffffffffb) at process.c:6307 #15 read_process_output (proc=proc@entry=XIL(0x555555fff8e5), channel=channel@entry=10) at process.c:6217 #16 0x00005555557afe11 in wait_reading_process_output (time_limit=time_limit@entry=0, nsecs=nsecs@entry=100000000, read_kbd=read_kbd@entry=0, do_display=do_display@entry=false, wait_for_cell=wait_for_cell@entry=XIL(0), wait_proc=wait_proc@entry=0x0, just_wait_proc=) at process.c:5901 #17 0x00005555555aae9b in Fsleep_for (seconds=, milliseconds=) at lisp.h:1164 #18 0x00005555557a2f15 in exec_byte_code (fun=, args_template=, nargs=, args=) at bytecode.c:809 #19 0x0000555555762797 in apply_lambda (fun=XIL(0x7ffff17d8845), args=, count=...) at eval.c:3105 #20 0x0000555555760e5d in eval_sub (form=) at eval.c:2590 #21 0x0000555555761b8d in Fprogn (body=XIL(0)) at eval.c:436 #22 prog_ignore (body=XIL(0x7ffff08f0cc3)) at eval.c:447 #23 Fwhile (args=) at eval.c:1047 #24 0x000055555576117a in eval_sub (form=) at lisp.h:765 #25 0x0000555555762d15 in Fprogn (body=XIL(0)) at eval.c:436 #26 Flet (args=XIL(0x7ffff08f0d23)) at eval.c:1026 #27 0x000055555576117a in eval_sub (form=) at lisp.h:765 #28 0x0000555555762d15 in Fprogn (body=XIL(0x7ffff08f2203)) at eval.c:436 #29 Flet (args=XIL(0x7ffff08f3e03)) at eval.c:1026 #30 0x000055555576117a in eval_sub (form=) at lisp.h:765 #31 0x0000555555762d15 in Fprogn (body=XIL(0)) at eval.c:436 #32 Flet (args=XIL(0x7ffff08f3e33)) at eval.c:1026 #33 0x000055555576117a in eval_sub (form=) at lisp.h:765 #34 0x000055555576146d in Fprogn (body=XIL(0x7ffff08f5313)) at eval.c:436 #35 0x000055555576117a in eval_sub (form=) at lisp.h:765 #36 0x0000555555763287 in Funwind_protect (args=XIL(0x7ffff08f5333)) at lisp.h:765 #37 0x000055555576117a in eval_sub (form=) at lisp.h:765 #38 0x0000555555762d15 in Fprogn (body=XIL(0)) at eval.c:436 #39 Flet (args=XIL(0x7ffff08f7cf3)) at eval.c:1026 #40 0x000055555576117a in eval_sub (form=) at lisp.h:765 #41 0x00005555557630f5 in Fprogn (body=XIL(0)) at eval.c:436 #42 FletX (args=XIL(0x7ffff08f7d33)) at eval.c:958 #43 0x000055555576117a in eval_sub (form=) at lisp.h:765 #44 0x0000555555763287 in Funwind_protect (args=XIL(0x7ffff08f7d63)) at lisp.h:765 #45 0x000055555576117a in eval_sub (form=) at lisp.h:765 #46 0x00005555557630f5 in Fprogn (body=XIL(0x7ffff08e8233)) at eval.c:436 #47 FletX (args=XIL(0x7ffff08e8243)) at eval.c:958 #48 0x000055555576117a in eval_sub (form=) at lisp.h:765 #49 0x000055555576203d in Fprogn (body=XIL(0)) at eval.c:436 #50 funcall_lambda (fun=XIL(0x7ffff08e5db3), nargs=0, arg_vector=0x7ffff12b2468) at eval.c:3235 #51 0x00005555557a30e1 in exec_byte_code (fun=, args_template=, nargs=, args=) at bytecode.c:811 #52 0x0000555555762797 in apply_lambda (fun=XIL(0x555555f7f395), args=, count=...) at eval.c:3105 #53 0x0000555555760e5d in eval_sub (form=) at eval.c:2590 #54 0x0000555555763830 in Feval (form=XIL(0x7ffff08e5f33), lexical=) at eval.c:2363 #55 0x00005555557a2f15 in exec_byte_code (fun=, args_template=, nargs=, args=) at bytecode.c:809 #56 0x0000555555762797 in apply_lambda (fun=XIL(0x7ffff1ad0ff5), args=, count=...) at eval.c:3105 #57 0x0000555555760e5d in eval_sub (form=) at eval.c:2590 #58 0x0000555555763830 in Feval (form=XIL(0x7ffff1f07deb), lexical=) at eval.c:2363 #59 0x000055555575bd77 in internal_condition_case (bfun=bfun@entry=0x5555556d1590 , handlers=handlers@entry=XIL(0x90), hfun=hfun@entry=0x5555556d88e0 ) at eval.c:1474 #60 0x00005555556d1eb6 in top_level_1 (ignore=ignore@entry=XIL(0)) at keyboard.c:1141 #61 0x000055555575bcd1 in internal_catch (tag=tag@entry=XIL(0x103e0), func=func@entry=0x5555556d1e90 , arg=arg@entry=XIL(0)) at eval.c:1197 #62 0x00005555556d1508 in command_loop () at lisp.h:1164 #63 0x00005555556d8493 in recursive_edit_1 () at keyboard.c:711 #64 0x00005555556d880c in Frecursive_edit () at keyboard.c:794 #65 0x00005555555a9e43 in main (argc=, argv=) at emacs.c:2530 Thread 3 "gdbus" received signal SIGIO, I/O possible. [Switching to Thread 0x7fffebfff700 (LWP 26170)] 0x00007ffff530fd2f in __GI___poll (fds=0x5555560b0ad0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 29 in ../sysdeps/unix/sysv/linux/poll.c 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. Robert --