-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
'Teamviewer' terminated by Segmentation fault (core dumped) #151784
Comments
@khrj Can you provide the version of both the client and server UPDATE: I just retested the window to nixos 21.05 case and indeed I can confirm the observed segmentation fault. Windows side version is |
When the problem occurs, the daemon remains up bot prints some session error message: $ sudo teamviewerd -f
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key the crash actually occurs with the teamviewer client that is run server side: $ teamviewer
Init...
CheckCPU: SSE2 support: yes
Checking setup...
Launching TeamViewer ...
Launching TeamViewer GUI ...
Segmentation fault (core dumped) Most likely we should be able to debug what is the actual problem by loading the core dump from I tried to reset the content under There does not seem to be much helping information in the daemon log other then that the client disconnected:
|
I have the same issue on Pop!_OS 21.10. Following is my metadata
|
@jraygauthier I was able to solve this issue by using nixGL. So instead I run the command
Though I have been able to figure out how to start the daemon. I have the following line in my
I am not sure what else I need. |
@isFakeAccount: Thanks, but this is clearly not the same issue. |
Loading core dump with gdb gave me that: $ coredumpctl gdb
PID: 177727 (TeamViewer)
UID: 1000 (my-user)
GID: 100 (users)
Signal: 11 (SEGV)
Timestamp: Wed 2022-01-19 19:27:26 EST (2min 42s ago)
Command Line: /nix/store/1r7x2yclq3xbfn6cg02b5fba2rmcvza5-teamviewer-15.22.3/share/teamviewer/tv_bin/TeamViewer
Executable: /nix/store/1r7x2yclq3xbfn6cg02b5fba2rmcvza5-teamviewer-15.22.3/share/teamviewer/tv_bin/TeamViewer
Control Group: /user.slice/user-1000.slice/session-2.scope
Unit: session-2.scope
Slice: user-1000.slice
Session: 2
Owner UID: 1000 (my-user)
Boot ID: ddd0f8257ef643a7a4e9235234130f92
Machine ID: 14a0c8436c784b45a8927f528521e17c
Hostname: my-host
Storage: /var/lib/systemd/coredump/core.TeamViewer.1000.ddd0f8257ef643a7a4e9235234130f92.177727.1642638446000000.lz4
Message: Process 177727 (TeamViewer) of user 1000 dumped core.
GNU gdb (GDB) 10.2
# ,,
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/nix/store/jsp3h3wpzc842j0rz61m5ly71ak6qgdn-glibc-2.32-54/lib/libthread_db.so.1".
--Type <RET> for more, q to quit, c to continue without paging--
Core was generated by `/nix/store/1r7x2yclq3xbfn6cg02b5fba2rmcvza5-teamviewer-15.22.3/share/teamviewer'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000000000e396d0 in ?? ()
[Current thread is 1 (Thread 0x7fca967fc640 (LWP 177860))]
(gdb) bt
#0 0x0000000000e396d0 in ?? ()
#1 0x0000000000e77d71 in ?? ()
#2 0x0000000000e045de in ?? ()
#3 0x0000000000e01db6 in ?? ()
#4 0x0000000000dd34c1 in ?? ()
#5 0x0000000000d0487a in ?? ()
#6 0x000000000136398b in ?? ()
#7 0x00007fcb59caae9e in start_thread () from /nix/store/jsp3h3wpzc842j0rz61m5ly71ak6qgdn-glibc-2.32-54/lib/libpthread.so.0
#8 0x00007fcb59a994af in clone () from /nix/store/jsp3h3wpzc842j0rz61m5ly71ak6qgdn-glibc-2.32-54/lib/libc.so.6
(gdb) |
A quick
So a workaround would be to disable audio (yet to be tested here). We can decide to revert back to 15.15.5 hoping federa user find the cause Alternatively we can attempt to investigate what is wrong with our packaging. |
I confirm the audio disable workaround works fine. It really needs to be disabled on the computer that connects and not on the target nixos. |
The most logical culprit feature that has been added to 15.16.8 (and was not in 15.15.5) would be they started supporting hearing target linux audio from the connected computer: [Linux] v15.16.8 — TeamViewer Support : So the issue most likely is with the code that perform the sampling of this audio on the target nixos computer. |
I have this issue when connecting from 15.25.5 on Ubuntu 20.04 to 15.22.3 on NixOS. The workaround of disabling the "Play computer sounds and music" checkbox stops the crashes for me. |
This issue is still happening for me before connecting to remote computer, so disabling remote audio will do nothing. I closed my issue on this above (#151784) because I think this issue covers it but I want to maintain that it's still basically not working if I want to control a remote Windows computer from Linux. |
@vegabook : current issue should remain open as long as the audio issue / crash is not fixed at this root. The above is merely a workaround. Unfortunately, I do not have much time lately to invest here. Help is welcome.
This seems odd, this workflow works fine here. There is certainly something different. Do you have more information? |
Well the only information I have is I've tried it on Ubuntu and on Steam Deck (Arch) with identical results. My original issue has all the tech details. #169040 Basically, segfaults as soon as launched. |
@vegabook : It might not be the same cause for the segmentation fault then. You should re-open your ticket. |
Hey @jraygauthier I can't seem to reopen it. Shall I copy it into a new open issue? |
@vegabook : No trouble, I just re-opened it. |
Describe the bug
Teamviewer exits with "Segmentation fault (core dumped)" about 20 seconds after connecting remotely from a device (server is NixOS, client is macOS)
Steps To Reproduce
Steps to reproduce the behavior:
Segmentation fault (core dumped)
Expected behavior
Teamviewer doesn't quit after 20 seconds of remote access
Screenshots
Additional context
Possibly fixed in next minor version 15.25.5 (unstable is on 15.24.5)
Notify maintainers
@jagajaga
@jraygauthier
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information:
The text was updated successfully, but these errors were encountered: