-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
so many llvmpipe thread #38
Comments
I think those are SDL2 threads. You can try using VNC to see if those threads have disappeared. |
@78 There is an assertion when using VNC, do you know what the possible cause is? |
VNC has only recently been added to the repository. This error is weird, you should edit the assertion code to print the specific return value to debug further. From the zlib manual (https://www.zlib.net/manual.html)
|
If coredump is on,
|
Thank you @78 .Today I will try to collect more information for debug.The return error code is Z_BUF_ERROR |
It seems the buffer size (either input or output) is too small. What's your guest OS? |
@78 sorry for delay, I went to the hospital in the morning. my guest is ubuntu 18.04, I will try rocky linux 9.0 to reproduce this problem. |
rocky linux 9.0 still failed, I wonder if it is a problem with my host ? No LSB modules are available. If the problem is not particularly important, I can find a way to avoid it.The sdl method can also be used:) |
I tested it with RealVNC Viewer 7.11.0 and TigerVNC Viewer v1.13.1. I will try it with mobaxterm later. |
@78 RealVNC Viewer work nice, it seems that the problem is most likely caused by mobaxterm. My mobaxterm version is v24.2, though I think it may have nothing to do with the version. We use mobaxterm because we need to manage many linux servers which can only be accessed via ssh. Which vnc do you mainly use when working? I want to use the same toolset as you. And as if RealVNC Viewer is Easier to use? |
Back to the issue itself, after using the vnc method, the extra threads did disappear. Thank you @78 |
I have two hosts and each created a virtual machine, but one of them has a large number of "llvmpipe" threads.Can you help me find out the reason?
1、ubuntu machine:
info threads
Id Target Id Frame
2 Thread 0x7ffef53b6640 (LWP 6359) "mvisor-disk" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55555597bc70) at ./nptl/futex-internal.c:57
3 Thread 0x7ffef4bb5640 (LWP 6360) "mvisor-vcpu-0" __GI___ioctl (fd=10, request=44672) at ../sysdeps/unix/sysv/linux/ioctl.c:36
4 Thread 0x7ffedffff640 (LWP 6361) "mvisor-vcpu-1" __GI___ioctl (fd=11, request=44672) at ../sysdeps/unix/sysv/linux/ioctl.c:36
5 Thread 0x7ffedf7fe640 (LWP 6362) "mvisor-vcpu-2" __GI___ioctl (fd=12, request=44672) at ../sysdeps/unix/sysv/linux/ioctl.c:36
6 Thread 0x7ffedeffd640 (LWP 6363) "mvisor-vcpu-3" __GI___ioctl (fd=13, request=44672) at ../sysdeps/unix/sysv/linux/ioctl.c:36
7 Thread 0x7ffede7fc640 (LWP 6364) "mvisor-iothread" 0x00007ffff6eb8e2e in epoll_wait (epfd=5, events=0x7ffede7fafb0, maxevents=256, timeout=896) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
8 Thread 0x7ffed2c20640 (LWP 6365) "llvmpipe-0" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a11888) at ./nptl/futex-internal.c:57
9 Thread 0x7ffed241f640 (LWP 6366) "llvmpipe-1" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a119e8) at ./nptl/futex-internal.c:57
10 Thread 0x7ffed1c1e640 (LWP 6367) "llvmpipe-2" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a11b48) at ./nptl/futex-internal.c:57
11 Thread 0x7ffed141d640 (LWP 6368) "llvmpipe-3" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a11ca8) at ./nptl/futex-internal.c:57
12 Thread 0x7ffed0c1c640 (LWP 6369) "llvmpipe-4" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a11e08) at ./nptl/futex-internal.c:57
13 Thread 0x7ffec3fff640 (LWP 6370) "llvmpipe-5" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a11f68) at ./nptl/futex-internal.c:57
14 Thread 0x7ffec37fe640 (LWP 6371) "llvmpipe-6" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a120c8) at ./nptl/futex-internal.c:57
15 Thread 0x7ffec2ffd640 (LWP 6372) "llvmpipe-7" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a12228) at ./nptl/futex-internal.c:57
16 Thread 0x7ffec27fc640 (LWP 6373) "llvmpipe-8" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a12388) at ./nptl/futex-internal.c:57
17 Thread 0x7ffec1ffb640 (LWP 6374) "llvmpipe-9" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a124e8) at ./nptl/futex-internal.c:57
18 Thread 0x7ffec17fa640 (LWP 6375) "llvmpipe-10" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a12648) at ./nptl/futex-internal.c:57
19 Thread 0x7ffec0ff9640 (LWP 6376) "llvmpipe-11" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a127a8) at ./nptl/futex-internal.c:57
20 Thread 0x7ffe97fff640 (LWP 6377) "llvmpipe-12" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a12908) at ./nptl/futex-internal.c:57
21 Thread 0x7ffe9ffff640 (LWP 6378) "llvmpipe-13" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a12a68) at ./nptl/futex-internal.c:57
22 Thread 0x7ffe9f7fe640 (LWP 6379) "llvmpipe-14" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a12bc8) at ./nptl/futex-internal.c:57
23 Thread 0x7ffe9effd640 (LWP 6380) "llvmpipe-15" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a12d28) at ./nptl/futex-internal.c:57
24 Thread 0x7ffe9e7fc640 (LWP 6381) "llvmpipe-16" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a12e88) at ./nptl/futex-internal.c:57
25 Thread 0x7ffe9dffb640 (LWP 6382) "llvmpipe-17" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a12fe8) at ./nptl/futex-internal.c:57
26 Thread 0x7ffe9d7fa640 (LWP 6383) "llvmpipe-18" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a13148) at ./nptl/futex-internal.c:57
27 Thread 0x7ffe9cff9640 (LWP 6384) "llvmpipe-19" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a132a8) at ./nptl/futex-internal.c:57
28 Thread 0x7ffe977fe640 (LWP 6385) "llvmpipe-20" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a13408) at ./nptl/futex-internal.c:57
29 Thread 0x7ffe96ffd640 (LWP 6386) "llvmpipe-21" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a13568) at ./nptl/futex-internal.c:57
30 Thread 0x7ffe967fc640 (LWP 6387) "llvmpipe-22" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a136c8) at ./nptl/futex-internal.c:57
31 Thread 0x7ffe95ffb640 (LWP 6388) "llvmpipe-23" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a13828) at ./nptl/futex-internal.c:57
32 Thread 0x7ffe957fa640 (LWP 6389) "llvmpipe-24" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a13988) at ./nptl/futex-internal.c:57
33 Thread 0x7ffe94ff9640 (LWP 6390) "llvmpipe-25" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a13ae8) at ./nptl/futex-internal.c:57
34 Thread 0x7ffe5ffff640 (LWP 6391) "llvmpipe-26" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a13c48) at ./nptl/futex-internal.c:57
35 Thread 0x7ffe5f7fe640 (LWP 6392) "llvmpipe-27" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a13da8) at ./nptl/futex-internal.c:57
36 Thread 0x7ffe5effd640 (LWP 6393) "llvmpipe-28" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a13f08) at ./nptl/futex-internal.c:57
37 Thread 0x7ffe5e7fc640 (LWP 6394) "llvmpipe-29" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a14068) at ./nptl/futex-internal.c:57
38 Thread 0x7ffe5dffb640 (LWP 6395) "llvmpipe-30" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a141c8) at ./nptl/futex-internal.c:57
39 Thread 0x7ffe5d7fa640 (LWP 6396) "llvmpipe-31" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a14328) at ./nptl/futex-internal.c:57
40 Thread 0x7ffe5cff9640 (LWP 6397) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
41 Thread 0x7ffe3bfff640 (LWP 6398) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
42 Thread 0x7ffe33fff640 (LWP 6399) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
43 Thread 0x7ffe3b7fe640 (LWP 6400) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
44 Thread 0x7ffe3affd640 (LWP 6401) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
45 Thread 0x7ffe3a7fc640 (LWP 6402) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
46 Thread 0x7ffe39ffb640 (LWP 6403) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
47 Thread 0x7ffe397fa640 (LWP 6404) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
48 Thread 0x7ffe38ff9640 (LWP 6405) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
49 Thread 0x7ffe337fe640 (LWP 6406) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
50 Thread 0x7ffe32ffd640 (LWP 6407) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
51 Thread 0x7ffe327fc640 (LWP 6408) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
52 Thread 0x7ffe31ffb640 (LWP 6409) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
53 Thread 0x7ffe317fa640 (LWP 6410) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
54 Thread 0x7ffe30ff9640 (LWP 6411) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
55 Thread 0x7ffdfbfff640 (LWP 6412) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
56 Thread 0x7ffdf3fff640 (LWP 6413) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
57 Thread 0x7ffdfb7fe640 (LWP 6414) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
58 Thread 0x7ffdfaffd640 (LWP 6415) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
59 Thread 0x7ffdfa7fc640 (LWP 6416) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
60 Thread 0x7ffdf9ffb640 (LWP 6417) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
61 Thread 0x7ffdf97fa640 (LWP 6418) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
62 Thread 0x7ffdf8ff9640 (LWP 6419) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
63 Thread 0x7ffdf37fe640 (LWP 6420) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
64 Thread 0x7ffdf2ffd640 (LWP 6421) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
65 Thread 0x7ffdf27fc640 (LWP 6422) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
66 Thread 0x7ffdf1ffb640 (LWP 6423) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
67 Thread 0x7ffdf17fa640 (LWP 6424) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
68 Thread 0x7ffdf0ff9640 (LWP 6425) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
69 Thread 0x7ffdbbfff640 (LWP 6426) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
70 Thread 0x7ffdb3fff640 (LWP 6427) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
71 Thread 0x7ffdbb7fe640 (LWP 6428) "mvisor-main" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555a03f30) at ./nptl/futex-internal.c:57
72 Thread 0x7ffdbaffd640 (LWP 6429) "mvisor:disk$0" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555ad4640) at ./nptl/futex-internal.c:57
73 Thread 0x7ffdba7fc640 (LWP 6430) "mvisor-viewer" 0x00007ffff6eabbcf in __GI___poll (fds=0x7ffdba7fb9e8, nfds=1, timeout=300) at ../sysdeps/unix/sysv/linux/poll.c:29
host info:
rtl2c@rtl2c-155:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
2、debian machine:
But the other machine is normal
(gdb) info threads
Id Target Id Frame
2 Thread 0x7ffdf4e5a700 (LWP 2424082) "mvisor-disk" futex_wait_cancelable (private=0, expected=0, futex_word=0x5555557cd454) at ../sysdeps/nptl/futex-internal.h:186
3 Thread 0x7ffddffff700 (LWP 2424083) "mvisor-vcpu-0" 0x00007ffff72aa277 in ioctl () at ../sysdeps/unix/syscall-template.S:120
4 Thread 0x7ffddf7fe700 (LWP 2424084) "mvisor-vcpu-1" 0x00007ffff72aa277 in ioctl () at ../sysdeps/unix/syscall-template.S:120
5 Thread 0x7ffddeffd700 (LWP 2424085) "mvisor-vcpu-2" 0x00007ffff72aa277 in ioctl () at ../sysdeps/unix/syscall-template.S:120
6 Thread 0x7ffdde7fc700 (LWP 2424086) "mvisor-vcpu-3" 0x00007ffff72aa277 in ioctl () at ../sysdeps/unix/syscall-template.S:120
7 Thread 0x7ffdddffb700 (LWP 2424087) "mvisor-iothread" 0x00007ffff72b4d96 in epoll_wait (epfd=5, events=events@entry=0x7ffdddffa060, maxevents=maxevents@entry=256, timeout=1000) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
8 Thread 0x7ffdd9fe2700 (LWP 2424088) "mvisor-viewer" 0x00007ffff727b1e1 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7ffdd9fe1bc0, rem=0x7ffdd9fe1bb0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
9 Thread 0x7ffdd91c1700 (LWP 2424099) "CPMMListener" 0x00007ffff72a89af in __GI___poll (fds=0x7ffdd91c0c58, nfds=1, timeout=300000) at ../sysdeps/unix/sysv/linux/poll.c:29
host info:
root@debian:/home/shiguowang/mvisor_learn# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
The text was updated successfully, but these errors were encountered: