Skip to content
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

twmnd crashes after a random amount of time #89

Open
sniff122 opened this issue Jun 13, 2020 · 3 comments
Open

twmnd crashes after a random amount of time #89

sniff122 opened this issue Jun 13, 2020 · 3 comments

Comments

@sniff122
Copy link

For a while now i have had twmnd crash, printing the following error when crashing

twmnd: /usr/include/boost/optional/optional.hpp:1217: boost::optional<T>::pointer_type boost::optional<T>::operator->() [with T = QVariant; boost::optional<T>::pointer_type = QVariant*]: Assertion `this->is_initialized()' failed.
Aborted (core dumped)

I have tried to do some googling and stuff what wasnt exactly useful i think, as far as i know boost 1.71 is up to date. I have twmnd start on i3 login with an exec in the config and then i start it in screen when it first initially crashes just so i can hide the terminal with twmnd. I have used twmnd in the past without any forms of crashes and im really not sure on what is going on specifically.

@croyleje
Copy link

It appears from what I can find is this was addressed in the boost dev branch boost 1.72.0-2 is all I have on hand to check but it has been fixed in that release but I can not find at what release the fix was pushed.

@eguiraud
Copy link

Same problem here, arch linux, twmnd installed from AUR.

This is the relevant part of the output of journalctl -b --user-unit twmnd:

Jun 20 23:53:40 marvin systemd[571]: twmnd.service: Main process exited, code=dumped, status=6/ABRT
Jun 20 23:53:40 marvin systemd[571]: twmnd.service: Failed with result 'core-dump'.
Jun 20 23:53:40 marvin systemd-coredump[348627]: Process 348625 (twmnd) of user 1000 dumped core.
                                                 
                                                 Stack trace of thread 348625:
                                                 #0  0x00007f1823061355 raise (libc.so.6 + 0x3c355)
                                                 #1  0x00007f182304a853 abort (libc.so.6 + 0x25853)
                                                 #2  0x00007f18236629ac _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x909ac)
                                                 #3  0x00007f1823e5d0e6 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x1330e6)
                                                 #4  0x00007f1823e5d581 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x133581)
                                                 #5  0x00007f182388b2e6 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2b92e6)
                                                 #6  0x00007f1823e605c0 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x1365c0)
                                                 #7  0x00007f182455e68a _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x16168a)
                                                 #8  0x000055f431b3b37e n/a (twmnd + 0xb37e)
                                                 #9  0x00007f182304c002 __libc_start_main (libc.so.6 + 0x27002)
                                                 #10 0x000055f431b3b20e n/a (twmnd + 0xb20e)

The crash is always at that same location, so this looks like a bug in twmn. I'll try to run a version of twmn built with debug symbols for a while to see whether I can find out the offending line.

@sniff122
Copy link
Author

I compiled and installed from the github repo, ill try a different version too, I have noticed that it crashes when i have discord's desktop notifications enabled. I havent seen any crashes with it disabled but the only way i notice if twmnd has crashed is by discord freezing up (what is a known issue with discord or electron)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants