A recent commit d428fc8e6447ede81f1e1911d0b66b39265672f3 removed old custom crash handling code in favor of KCrash. But this actually adds a dependency on there being a valid QCoreApplication object (since KCrash uses it in its own init).
I had thought this was done in kdeinit5 (which launches the kioslave) but that does not appear to be the case, when I looked at the sibling kio_file code, it initialized its own QCoreApplication.
I took from that example to simply create the QCoreApplication here.
BUG: 399709
If this works I'd like to commit shortly to avoid landing a new bug in 5.51.0 :)