Created attachment 108641 [details] Crash log Trojita latest git rev crashing hard on Haiku. See the attached debug log. Interestingly if i comment theese lines, it work ok: https://github.com/jktjkt/trojita/blob/master/src/Gui/main.cpp#L60-L65 Current Trojita recipe: https://github.com/haikuports/haikuports/pull/1758
Sorry, we cannot help with platform-specific issues. If I were you, I would start with writing a simple Qt app which exercises the QApplication/QTranslator combination. If that doesn't work, then you will know that it is a Qt bug, and that you should bring this to the Haiku/Qt maintainers.
Sorry, I got confused by the crash log and the patch-observation.
*** This bug has been marked as a duplicate of bug 386353 ***
You should esp. figure whether PKGDATADIR is set and whether a (bad?) locale file exists in that path. Also which particular call in that segment causes the segfault (and whether directly or later on - can you create a non-binary backtrace eg. using gdm?)
Git commit 4c02000a91f499dcd9caf5a3d77cd6fd2d2734fe by Caspar Schutijser. Committed on 30/10/2017 at 14:10. Pushed by gerrit into branch 'master'. Apply "Construct On First Use Idiom" to warningBorder It suffered from the "static initialization order fiasco" [1], as pointed out by Jan, which was accidentally introduced by commit f70690899d2a6c69495d225214a7279ba8c1ff73. First reported by miqlas on IRC. 1: https://isocpp.org/wiki/faq/ctors#static-init-order Related: bug 386353 Change-Id: I559c12e606883068e09072de26bdaac3b1d5d73c M +1 -1 src/Gui/ComposeWidget.cpp M +1 -1 src/Gui/SettingsDialog.cpp M +5 -1 src/Gui/Util.cpp M +1 -3 src/Gui/Util.h https://commits.kde.org/trojita/4c02000a91f499dcd9caf5a3d77cd6fd2d2734fe