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

[BUG] Random crash on startup - possible race condition #44

Open
smac89 opened this issue Mar 7, 2024 · 0 comments
Open

[BUG] Random crash on startup - possible race condition #44

smac89 opened this issue Mar 7, 2024 · 0 comments

Comments

@smac89
Copy link

smac89 commented Mar 7, 2024

I noticed that sometimes when I open this tool from the applications menu, it wouldn't open, yet other times it does.

I decided to test it on the command line, and here are the results of opening the application 6 times:

➜ sddm-conf       
qt.svg: <input>:1646:6: Could not resolve property: #linearGradient4636
qt.svg: <input>:1646:6: Could not resolve property: #linearGradient4592
qt.svg: <input>:1646:6: Could not resolve property: #linearGradient4247

~ took 28s 
➜ sddm-conf
qt.svg: <input>:1646:6: Could not resolve property: #linearGradient4636
qt.svg: <input>:1646:6: Could not resolve property: #linearGradient4592
qt.svg: <input>:1646:6: Could not resolve property: #linearGradient4247
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
[1]    325120 IOT instruction (core dumped)  sddm-conf

~ 
✖ sddm-conf
qt.svg: <input>:1646:6: Could not resolve property: #linearGradient4636
qt.svg: <input>:1646:6: Could not resolve property: #linearGradient4592
qt.svg: <input>:1646:6: Could not resolve property: #linearGradient4247

~ took 2s 
➜ sddm-conf
qt.svg: <input>:1646:6: Could not resolve property: #linearGradient4636
qt.svg: <input>:1646:6: Could not resolve property: #linearGradient4592
qt.svg: <input>:1646:6: Could not resolve property: #linearGradient4247
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
[1]    325832 IOT instruction (core dumped)  sddm-conf

~ 
✖ sddm-conf
qt.svg: <input>:1646:6: Could not resolve property: #linearGradient4636
qt.svg: <input>:1646:6: Could not resolve property: #linearGradient4592
qt.svg: <input>:1646:6: Could not resolve property: #linearGradient4247
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
[1]    325884 IOT instruction (core dumped)  sddm-conf

~ 
✖ sddm-conf
qt.svg: <input>:1646:6: Could not resolve property: #linearGradient4636
qt.svg: <input>:1646:6: Could not resolve property: #linearGradient4592
qt.svg: <input>:1646:6: Could not resolve property: #linearGradient4247

As you can see, out of 6 times, it only opened properly 3 times, and the occurrence of the crash doesn't seem to be consistent, nor do we get any extra messages printed before it occurs.

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

1 participant