<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
I've identified what caused the segfault on ARM : it was crashing
during the initialization of the QStringList in Planet.cpp -
planetList().<br>
<br>
I don't know why but the following code l.364 made the app crash,
but only on embedded ARM system:<br>
<blockquote><small>planets << "mercury"<br>
<< "venus"<br>
<< "earth"<br>
<< "mars"<br>
<< "jupiter"<br>
<< "saturn"<br>
<< "uranus"<br>
<< "neptune"<br>
<< "pluto"<br>
<< "sun"<br>
<< "moon"<br>
<< "sky";<br>
</small></blockquote>
So I replaced it by : <br>
<blockquote><small>QString planetsStringList =
"mercury,venus,earth,mars,jupiter,saturn,uranus,neptune,pluto,sun,moon,sky";<br>
planets = planetsStringList.split(",");<br>
</small></blockquote>
<br>
Now MarbleWidget is correctly instanciated but my app crashes on
another <b>Segmentation fault</b> after the instruction <small>mapWidget->show();</small>,
only on ARM.<br>
<br>
Regards,<br>
-- <br>
Jérémie Scheer<br>
Software Engineer<br>
Tel: +33 (0)9 72 29 41 44<br>
Fax: +33 (0)9 72 28 79 26<br>
Armadeus Systems - A new vision of the embedded world<br>
<a class="moz-txt-link-freetext" href="http://www.armadeus.com">http://www.armadeus.com</a><br>
<br>
<br>
On 05/30/2012 10:50 AM, Jeremie Scheer wrote:
<blockquote cite="mid:4FC5DF64.2000907@armadeus.com" type="cite">Hi
Dennis,
<br>
<br>
I tried to compile Marble with the latest master where you have
commited the fix for static QSettings and I tested it with my
application.
<br>
<br>
The good news is that it doesn't crash anymore on a QMutex
deadlock on QVFB or ARM platforms. And without the little trick
I'd done in Qt to fix it (I commented a QMutex lock).
<br>
<br>
For the Segmentation Fault crash, I've no more bitmaps loading
warnings with your commit but it still crashes on my ARM embedded
system.
<br>
The crash happens just when the MarbleWidget object is initialized
as it tries to get profiles for the MarbleWidgetPrivate object
(MarbleWidget.cpp : l.95).
<br>
<br>
Regards,
<br>
</blockquote>
</body>
</html>