Because I was able to crash phoc 2-3 times and trigger many freezes in less than 10 minutes, the first thing going through my mind was: CHALLENGE ACCEPTED !
I spend my yesterdey evening (around 2-3 hours) hunting and crash testing byzantium with phosh 0.7.0 in Librem5 VM, here is what I could trigger :
0 crash
2 small temporary freezes
Because I didn’t wanted to come back empty-handed from my hunt, I decided to be more creative, I was able to trigger 2 minor bugs I could not even reproduce
Nautilus showed me a message saying something like ‘gnome extension could not be loaded’, I had to restart it
For few minutes, I was in a state were I was not able to close the settings app by swiping to top, nor clicking the cross : the preview of the app was disapearing …theeen… coming back from the top (but it was working for any other apps)
I have another small minor bug in my pocket, maybe related to xwayland, that I need to confirm, I will hunt another night soon !
Damn it…… I’m so mad…
You know that feeling ? when you search something for hours and do not find it, then 2 days later, the thing you search just falls before your feet, you didn’t even ask
well … I crashed it … Now the title fits !
The good news is the probabilities it happens to you in an everyday regular use seems to me close to zero
mars 27 13:07:08 pureos phoc[3557]: [backend/session/logind.c:76] Failed to take device '/dev/dri/card0': Device or resource busy
mars 27 13:07:08 pureos phoc[3557]: [backend/backend.c:235] failed to start backend 'drm'
mars 27 13:07:08 pureos phoc[3557]: Could not create backend
Looks like sddm is running first and in turn phoc can’t get access to the DRI node because it’s already taken. sudo systemctl disable --now sddm
Damn it …
You know that feeling ? When you think you have found something, but you didn’t…
More seriousely, I did your command now it’s starting again
But I still find odd that, in that case, the process ends up with SIGTRAP producing a coredump
Shouldn’t this stop the process with a regular exit or end of main ?