Last active
February 4, 2017 20:13
-
-
Save dogbert17/069bf4c7614f5467850370e3a1a9293a to your computer and use it in GitHub Desktop.
Running spectest with HARNESS_TYPE=6 and an attached gdb process
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dogbert@dogbert-VirtualBox ~/repos/rakudo $ ./perl6-m -Ilib t/harness6 --fudge --tests-from-file=t/spectest.data | |
t/spec/S01-perl-5-integration/array.rakudo.moar ................... ok | |
t/spec/S01-perl-5-integration/basic.rakudo.moar ................... ok | |
...[plenty of tests omitted from listing] | |
t/spec/S32-num/unpolar.t .......................................... ok | |
t/spec/S32-scalar/defined.t ....................................... ok | |
t/spec/S32-scalar/perl.rakudo.moar ................................ ok | |
t/spec/S32-scalar/undef.rakudo.moar ............................... ok | |
t/spec/S32-str/append.t ........................................... ok | |
t/spec/S32-str/bool.t ............................................. ok | |
moar: 3rdparty/libuv/src/unix/stream.c:1499: uv_read_start: Assertion `((stream)->io_watcher.fd) >= 0' failed. | |
Aborted | |
gdb output, tried to debug the entire thing | |
Program received signal SIGABRT, Aborted. | |
[Switching to Thread 0xb5c5eb40 (LWP 32633)] | |
0xb776acb0 in ?? () | |
(gdb) bt | |
#0 0xb776acb0 in ?? () | |
#1 0xb73c9caa in read_to_buffer (tc=0xb72bf78, data=0xb4b785a0, bytes=65536) at src/io/syncstream.c:71 | |
#2 0xb73c9e20 in MVM_io_syncstream_read_line (tc=0xb72bf78, h=0xb518d484, chomp=0) at src/io/syncstream.c:107 | |
#3 0xb73c694a in MVM_io_readline (tc=0xb72bf78, oshandle=0xb518d484, chomp=0) at src/io/io.c:146 | |
#4 0xb7380768 in MVM_interp_run (tc=0xb72bf78, initial_invoke=0xb73a359b <thread_initial_invoke>, invoke_data=0xb72a360) at src/core/interp.c:3634 | |
#5 0xb73a36dd in start_thread (data=0xb72a360) at src/core/threads.c:77 | |
#6 0xb749d896 in uv__thread_start (arg=0xb72a370) at 3rdparty/libuv/src/unix/thread.c:49 | |
#7 0xb70a9f72 in start_thread (arg=0xb5c5eb40) at pthread_create.c:312 | |
#8 0xb71f1f8e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129 | |
(gdb) frame 1 | |
#1 0xb73c9caa in read_to_buffer (tc=0xb72bf78, data=0xb4b785a0, bytes=65536) at src/io/syncstream.c:71 | |
71 if ((r = uv_read_start(data->handle, on_alloc, on_read)) < 0) | |
(gdb) p MVM_dump_backtrace(tc) | |
at <unknown>:1 (./CORE.setting.moarvm:get) | |
from SETTING::src/core/IO/Pipe.pm:12 (./CORE.setting.moarvm:) | |
from SETTING::src/core/Seq.pm:265 (./CORE.setting.moarvm:) | |
from SETTING::src/core/Seq.pm:286 (./CORE.setting.moarvm:pull-one) | |
from SETTING::src/core/Any-iterable-methods.pm:458 (./CORE.setting.moarvm:) | |
from SETTING::src/core/Any-iterable-methods.pm:454 (./CORE.setting.moarvm:sink-all) | |
from SETTING::src/core/Seq.pm:184 (./CORE.setting.moarvm:sink) | |
from /home/dogbert/repos/rakudo/lib/TAP.pm6 (TAP):885 (/home/dogbert/repos/rakudo/lib/.precomp/CF0A967EEA40B43E91E75F753ADB5E22B8474B83.1486144735.68594/FB/FB7BC71B84DC9F961E5538C6DC0BFA7D98E5F671:) | |
from /home/dogbert/repos/rakudo/lib/TAP.pm6 (TAP):858 (/home/dogbert/repos/rakudo/lib/.precomp/CF0A967EEA40B43E91E75F753ADB5E22B8474B83.1486144735.68594/FB/FB7BC71B84DC9F961E5538C6DC0BFA7D98E5F671:) | |
from /home/dogbert/repos/rakudo/lib/TAP.pm6 (TAP):857 (/home/dogbert/repos/rakudo/lib/.precomp/CF0A967EEA40B43E91E75F753ADB5E22B8474B83.1486144735.68594/FB/FB7BC71B84DC9F961E5538C6DC0BFA7D98E5F671:run) | |
from /home/dogbert/repos/rakudo/lib/TAP.pm6 (TAP):1039 (/home/dogbert/repos/rakudo/lib/.precomp/CF0A967EEA40B43E91E75F753ADB5E22B8474B83.1486144735.68594/FB/FB7BC71B84DC9F961E5538C6DC0BFA7D98E5F671:) | |
from SETTING::src/core/Any-iterable-methods.pm:466 (./CORE.setting.moarvm:) | |
from SETTING::src/core/Any-iterable-methods.pm:454 (./CORE.setting.moarvm:sink-all) | |
from SETTING::src/core/Seq.pm:184 (./CORE.setting.moarvm:sink) | |
from /home/dogbert/repos/rakudo/lib/TAP.pm6 (TAP):1036 (/home/dogbert/repos/rakudo/lib/.precomp/CF0A967EEA40B43E91E75F753ADB5E22B8474B83.1486144735.68594/FB/FB7BC71B84DC9F961E5538C6DC0BFA7D98E5F671:) | |
from /home/dogbert/repos/rakudo/lib/TAP.pm6 (TAP):1035 (/home/dogbert/repos/rakudo/lib/.precomp/CF0A967EEA40B43E91E75F753ADB5E22B8474B83.1486144735.68594/FB/FB7BC71B84DC9F961E5538C6DC0BFA7D98E5F671:) | |
from SETTING::src/core/Promise.pm:218 (./CORE.setting.moarvm:) | |
from SETTING::src/core/ThreadPoolScheduler.pm:284 (./CORE.setting.moarvm:) | |
from SETTING::src/core/ThreadPoolScheduler.pm:173 (./CORE.setting.moarvm:) | |
from SETTING::src/core/ThreadPoolScheduler.pm:166 (./CORE.setting.moarvm:) | |
from SETTING::src/core/ThreadPoolScheduler.pm:163 (./CORE.setting.moarvm:) | |
from SETTING::src/core/Thread.pm:30 (./CORE.setting.moarvm:THREAD-ENTRY) | |
update, attaching strace at a convenient time shows the following | |
[pid 26813] socketpair(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0, [1021, 1022]) = 0 | |
[pid 26813] pipe2(0xb5036b18, O_CLOEXEC) = -1 EMFILE (Too many open files) | |
[pid 26813] close(1021) = 0 | |
[pid 26813] close(1022) = 0 | |
[pid 26813] write(2, "moar: 3rdparty/libuv/src/unix/st"..., 111) = 111 | |
[pid 26813] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7250000 | |
[pid 26813] rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 | |
[pid 26813] tgkill(24455, 26813, SIGABRT) = 0 | |
[pid 26813] --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=24455, si_uid=1000} --- | |
[pid 26813] +++ killed by SIGABRT +++ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment