<div dir="ltr">Using the build-commands<div>"build-commands": [ "./build.sh debug", "cd build && make deploy", "mkdir /app/bin/","cp -a ./build/debug/bin/* /app/bin/"],<br></div><div>should give you debug symbols in the application. </div><div><br></div><div>And that points to the lines:</div><div><div>engine.load(QUrl(QStringLiteral("qrc:///main.qml")));</div><div>QObject *rootObject = engine.rootObjects().first();<br></div></div><div><br></div><div>where first() throws an assert. </div><div><br></div><div>About XmlListModel, I have tried</div><div><div>$ flatpak run --devel --command=sh org.getmonero.Wallet</div><div><div>sh-4.3$ find /lib/|grep -i XmlListModel</div></div><div><br></div><div>which returns nothing... and I thought that it would be located there since the rest of the qml/QtQuick submodules seems to be there.</div><div><br></div><div>//Snaggen</div></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">mån 10 apr. 2017 kl 19:38 skrev Aleix Pol <<a href="mailto:aleixpol@kde.org">aleixpol@kde.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Apr 10, 2017 at 9:07 AM, Alexander Larsson <<a href="mailto:alexl@redhat.com" class="gmail_msg" target="_blank">alexl@redhat.com</a>> wrote:<br class="gmail_msg">
> On Sun, 2017-04-09 at 08:39 +0000, Mattias Eriksson wrote:<br class="gmail_msg">
><br class="gmail_msg">
> Hi have tried to build a flatpak of the monero gui wallet, but it segfaults<br class="gmail_msg">
> and I'm not sure how to continue... more about it here:<br class="gmail_msg">
> <a href="https://www.reddit.com/r/Monero/comments/64c5pj/need_help_trying_to_build_a_flatpak_of_the_monero/" rel="noreferrer" class="gmail_msg" target="_blank">https://www.reddit.com/r/Monero/comments/64c5pj/need_help_trying_to_build_a_flatpak_of_the_monero/</a><br class="gmail_msg">
><br class="gmail_msg">
> So if anyone have any pointers on how to get any further, I would be really<br class="gmail_msg">
> greatful.<br class="gmail_msg">
><br class="gmail_msg">
> I don't really have any ideas on the qt side, but you should install the kde<br class="gmail_msg">
> runtime debug extension to get real debug info in your backtraces.<br class="gmail_msg">
<br class="gmail_msg">
Hi,<br class="gmail_msg">
XmlListModel is definitely there, as it's part of qtdeclarative, which<br class="gmail_msg">
is used by several of the available applications. Also if you were<br class="gmail_msg">
missing any qml symbols you'd get an error message rather than a<br class="gmail_msg">
blatant crash.<br class="gmail_msg">
<br class="gmail_msg">
I have the impression there's something weird going on with how the<br class="gmail_msg">
application is compiled though, I'd look into it. This build.sh is<br class="gmail_msg">
weirdly opaque and I cannot debug it. I tried reproducing your issue<br class="gmail_msg">
and I did, but never got debug symbols from the application. I have<br class="gmail_msg">
the impression it's failing to build parts of monero though.<br class="gmail_msg">
<br class="gmail_msg">
My guess would be, try to figure out exactly what the problem is<br class="gmail_msg">
before trying to guess what could be failing...<br class="gmail_msg">
<br class="gmail_msg">
Regards,<br class="gmail_msg">
Aleix<br class="gmail_msg">
</blockquote></div>