From: Robert Pluim <rpluim@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: jporterbugs@gmail.com, eggert@cs.ucla.edu, emacs-devel@gnu.org
Subject: Re: server.el test failures
Date: Tue, 28 Feb 2023 08:42:56 +0100 [thread overview]
Message-ID: <87h6v6qlq7.fsf@gmail.com> (raw)
In-Reply-To: <83sfergdgf.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 27 Feb 2023 20:39:28 +0200")
>>>>> On Mon, 27 Feb 2023 20:39:28 +0200, Eli Zaretskii <eliz@gnu.org> 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=<optimized out>, must_succeed=XIL(0)) at xfns.c:7548
#6 0x00005555557a2f15 in exec_byte_code (fun=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) 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=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) 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=<optimized out>, arg=<optimized out>) at eval.c:2884
#13 0x000055555575be04 in internal_condition_case_1
(bfun=bfun@entry=0x5555557a5bb0 <read_process_output_call>, arg=XIL(0x7ffff08d5073), handlers=handlers@entry=XIL(0), hfun=hfun@entry=0x5555557a5af0 <read_process_output_error_handler>) 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=<optimized out>) at process.c:5901
#17 0x00005555555aae9b in Fsleep_for (seconds=<optimized out>, milliseconds=<optimized out>) at lisp.h:1164
#18 0x00005555557a2f15 in exec_byte_code (fun=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at bytecode.c:809
#19 0x0000555555762797 in apply_lambda (fun=XIL(0x7ffff17d8845), args=<optimized out>, count=...) at eval.c:3105
#20 0x0000555555760e5d in eval_sub (form=<optimized out>) 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=<optimized out>) at eval.c:1047
#24 0x000055555576117a in eval_sub (form=<optimized out>) 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=<optimized out>) 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=<optimized out>) 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=<optimized out>) at lisp.h:765
#34 0x000055555576146d in Fprogn (body=XIL(0x7ffff08f5313)) at eval.c:436
#35 0x000055555576117a in eval_sub (form=<optimized out>) at lisp.h:765
#36 0x0000555555763287 in Funwind_protect (args=XIL(0x7ffff08f5333)) at lisp.h:765
#37 0x000055555576117a in eval_sub (form=<optimized out>) 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=<optimized out>) 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=<optimized out>) at lisp.h:765
#44 0x0000555555763287 in Funwind_protect (args=XIL(0x7ffff08f7d63)) at lisp.h:765
#45 0x000055555576117a in eval_sub (form=<optimized out>) 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=<optimized out>) 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=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at bytecode.c:811
#52 0x0000555555762797 in apply_lambda (fun=XIL(0x555555f7f395), args=<optimized out>, count=...) at eval.c:3105
#53 0x0000555555760e5d in eval_sub (form=<optimized out>) at eval.c:2590
#54 0x0000555555763830 in Feval (form=XIL(0x7ffff08e5f33), lexical=<optimized out>) at eval.c:2363
#55 0x00005555557a2f15 in exec_byte_code (fun=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at bytecode.c:809
#56 0x0000555555762797 in apply_lambda (fun=XIL(0x7ffff1ad0ff5), args=<optimized out>, count=...) at eval.c:3105
#57 0x0000555555760e5d in eval_sub (form=<optimized out>) at eval.c:2590
#58 0x0000555555763830 in Feval (form=XIL(0x7ffff1f07deb), lexical=<optimized out>) at eval.c:2363
#59 0x000055555575bd77 in internal_condition_case
(bfun=bfun@entry=0x5555556d1590 <top_level_2>, handlers=handlers@entry=XIL(0x90), hfun=hfun@entry=0x5555556d88e0 <cmd_error>) 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 <top_level_1>, 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=<optimized out>, argv=<optimized out>) 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
--
next prev parent reply other threads:[~2023-02-28 7:42 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <877h40vb8h.fsf@mail.jurta.org>
[not found] ` <4EA4D31B.4050604@cs.ucla.edu>
[not found] ` <E1RISPO-0007Eu-TE@fencepost.gnu.org>
[not found] ` <4EA5E08D.8070903@cs.ucla.edu>
[not found] ` <861qmvcglp.fsf@aarsen.me>
[not found] ` <f711f43f-6892-f849-21ec-26376c351f11@cs.ucla.edu>
2023-02-13 21:55 ` server.el test failures (was: Re: bug#9800: Incomplete truncated file buffers from the /proc filesystem) Jim Porter
2023-02-14 2:47 ` Paul Eggert
2023-02-15 7:06 ` Jim Porter
2023-02-15 18:20 ` Paul Eggert
2023-02-23 23:42 ` Paul Eggert
2023-02-24 0:50 ` Jim Porter
2023-02-24 2:20 ` Jim Porter
2023-02-24 3:25 ` Po Lu
2023-02-24 3:38 ` Jim Porter
2023-02-24 7:52 ` Eli Zaretskii
2023-02-24 17:48 ` Jim Porter
2023-02-24 18:37 ` Eli Zaretskii
2023-02-24 19:45 ` Alan Mackenzie
2023-02-24 20:31 ` Jim Porter
2023-02-24 20:47 ` Eli Zaretskii
2023-02-26 8:29 ` Paul Eggert
2023-02-26 9:47 ` Eli Zaretskii
2023-02-27 5:31 ` Jim Porter
2023-02-27 16:40 ` server.el test failures Robert Pluim
2023-02-27 16:50 ` Eli Zaretskii
2023-02-27 18:14 ` Robert Pluim
2023-02-27 18:39 ` Eli Zaretskii
2023-02-28 7:42 ` Robert Pluim [this message]
2023-02-28 12:13 ` Eli Zaretskii
2023-02-28 13:05 ` Robert Pluim
2023-02-28 19:02 ` Jim Porter
2023-02-28 19:23 ` Eli Zaretskii
2023-02-28 19:41 ` Jim Porter
2023-03-01 8:22 ` Robert Pluim
2023-03-02 22:15 ` Jim Porter
2023-03-03 7:00 ` Eli Zaretskii
2023-03-03 7:15 ` Jim Porter
2023-03-03 8:00 ` Jim Porter
2023-03-03 8:10 ` Eli Zaretskii
2023-03-03 17:27 ` Jim Porter
2023-03-03 8:16 ` Robert Pluim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h6v6qlq7.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=eggert@cs.ucla.edu \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=jporterbugs@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).