[Marble-devel] Segfault when loading map themes

Jeremie Scheer jeremie.scheer at armadeus.com
Tue Jun 5 09:32:54 UTC 2012


The platform I'm using is in fact created by my company. But if Marble 
can run on other most standard ARM devices, it must also be possible to 
run it on mine.

Yes, all plugins are installed in //usr/local/lib/marble/plugins/ on the 
system with LD_LIBRARY_PATH pointing on //usr/local/lib/ where 
libmarblewidget is installed.
But maybe it must also point on plugins path ?

I've tried with and without the plugins but it doesn't changed anything.

If it can be relevant, I'm using Linux with uClibc 0.9.33 and 
GCC 4.4 on the embedded system.


Jérémie SCHEER

On 06/05/2012 10:58 AM, Torsten Rahn wrote:
> Hi,
> Well, if you don't set a theme then Marble won't do much except for showing
> the Marble Logo. So at that stage there isn't much going on in terms of
> framework.
> The problems you are facing sound somewhat awkward: I've seen Marble running
> on several ARM devices without problems (Nokia N900, Nokia N9/N950 and Archos)
> - all including cross compilation, but also all of them running on X11.
> Do you have all plugins installed?
> BR,
> Torsten
> On Montag, 4. Juni 2012 15:25:39 Jeremie Scheer wrote:
>> Hi,
>> I'm using Marble as a library on an embedded ARM system with Qt Embedded
>> ARM 4.7.4.
>> I only try to instanciate a MarbleWidget in my application, load a map
>> theme and display it. But when the program is running, it crashes on a
>> Segmentation fault at the instruction qApp->exec(), when executing the
>> Qt event loop (see the topic /"Using Marble library with Qt Embedded"/
>> I've already made on this mailing list).
>> After some tests, I found that if I don't load any map theme
>> (mapWidget->setMapThemeId("earth/openstreetmap/openstreetmap.dgml")) or
>> if it doesn't exist at the given path, my app doesn't crash and Marble
>> widget is displayed on screen but nothing is showed on it (what is
>> actually normal).
>> It is only if I load a map theme into the MarbleWidget object that it
>> crashed on a Segfault.
>> Is there something I'm missing here ?
>> Regards,

Jérémie Scheer
Software Engineer
Tel: +33 (0)9 72 29 41 44
Fax: +33 (0)9 72 28 79 26
Armadeus Systems - A new vision of the embedded world
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20120605/a356137b/attachment.html>

More information about the Marble-devel mailing list