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

Prismatik segfaults on Ubuntu20.04 with --nogui option #368

Closed
the-black-eagle opened this issue Jul 3, 2020 · 4 comments
Closed

Prismatik segfaults on Ubuntu20.04 with --nogui option #368

the-black-eagle opened this issue Jul 3, 2020 · 4 comments

Comments

@the-black-eagle
Copy link

As per the title, if I try to run Prismatik from the command line with the --nogui option, it segfaults.

15:00:21:781 Debug: void MoodLampManager::initColors(int) 180
15:00:21:781 Debug: static int SettingsScope::Settings::getMoodLampLamp()
Segmentation fault

From the backtrace in gdb, it crashes at #0 here

#0  0x00007ffff76b6375 in QWidget::testAttribute_helper(Qt::WidgetAttribute) const () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#1  0x00007ffff76bf2e2 in QWidget::winId() const () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#2  0x0000555555584436 in LightpackApplication::initGrabManager() (this=0x7fffffffde60) at LightpackApplication.cpp:706
#3  0x000055555558076e in LightpackApplication::initializeAll(QString const&) (this=0x7fffffffde60, appDirPath=...) at LightpackApplication.cpp:167
#4  0x000055555558cf85 in main(int, char**) (argc=2, argv=0x7fffffffe028) at main.cpp:143

The nogui option would be ideal as this particular screen has no window manager so I can't minimize Prismatik and if I run it with a GUI it covers the TV picture :(

@zomfg
Copy link

zomfg commented Jul 3, 2020

try this

@the-black-eagle
Copy link
Author

Same result unfortunately

@zomfg
Copy link

zomfg commented Jul 4, 2020

same backtrace? you 100% sure you ran the new binary?

$ md5sum ./prismatik
b101709165784abba69fa4595c876fdb  ./prismatik

@the-black-eagle
Copy link
Author

same backtrace? you 100% sure you ran the new binary?

Apparently not! Yeah, can confirm that that does work now with the --nogui option. Thanks for the quick fix!

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

2 participants