This repository has been archived by the owner on Feb 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
Clicking ‘reconnect’ under Connection Settings causes Segmentation fault #5758
Labels
C-crash
The issue contains a crash report
Comments
anthonybilinski
added
C-bug
The issue contains a bug report
C-crash
The issue contains a crash report
labels
Aug 2, 2019
1 task
I'm tempted to remove this whole "reconnect" functionality, it's only causing problems and I don't see a great benefit over completely restarting qTox. It's also not clear to the user why there is a reconnect button and when they should use it. @hart0 since you are actively using that functionality, do you see any problems with that? I think adding a message to that page, that changing a setting there needs a restart of qTox might be sufficient. |
I only tried using it originally as I wasn’t sure if I needed to or not after setting my proxy settings on a new account, so I don’t see it causing issues removing it if there is a warning that you need to restart qtox to apply the changes made |
Fixed by #5778, present in nightlies. Closing issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Brief Description
Clicking 'reconnect' under Connection Settings in the Advanced settings tab causes qTox to crash with a segfault.
qTox version: You are using qTox version v1.16.3-570-g174d6ef8
Commit hash: 174d6ef
toxcore: v0.2.10
Qt: 5.12.4
Reproducible: Always
Steps to reproduce
Click 'reconnect' under the Connection Settings area.
Observed Behavior
I originally tried this on a profile with 2 friends, after setting the proxy settings to a Socks proxy and clicking 'reconnect' to attempt to apply the settings without having to restart qTox. However, it crashed.
The crash also happens when I tested it on a brand new profile with 0 friends, and simply clicking 'reconnect' with the default settings (so not changing any port/proxy/settings, just making a new account, going straight to that tab and clicking reconnect).
When testing on the new profile with default proxy/blank connection settings, my status appears to go blank (grey outlined circle), and a few seconds later it crashes. gdb shows:
bt shows:
When testing on my normal account which has 2 friends added and a Socks proxy, clicking reconnect causes a slightly different segfault message:
And the bt for that profile:
I tested again with that account and that time gdb blamed QMutex::lock() from /lib64/libQt5Core.so.5, so the reasons it’s giving for the crashes seem to vary.
I also ran this nightly appimage to see if it was caused by my Qt version (appimage uses older 5.7.1) but that crashed too.
The text was updated successfully, but these errors were encountered: