[Marble-bugs] Marble-0.8.0 crashes on tile load

Algirdas Mockus algirdas.public at gmail.com
Tue Nov 10 13:01:34 CET 2009


Hello,

I compiled Marble-0.8.0 on Windws with MinGW 3.4.5 for Qt 4.5.3. I try to
run it on Win XP Sp3.
On development machine it runs fine. Bu if I move app to other XP machines,
it crashes when loading tiles (seems *division by zero*). The same thing
happens eith release and debug versions.

*Here's what GDB shows:*

...

warning: "Loading Default Placemark Cache
File:Z:/release/data/placemarks/bounda
ryplacemarks.cache"
warning: "Loading Default Placemark Cache
File:Z:/release/data/placemarks/citypl
acemarks.cache"
warning: "Loading Default Placemark Cache
File:Z:/release/data/placemarks/elevpl
acemarks.cache"
warning: "Loading Default Placemark Cache
File:Z:/release/data/placemarks/otherp
lacemarks.cache"
warning: newGeoDataDocumentAdded "elevplacemarks"
warning: Loading ended true
warning: placemarksLoaded
warning: newGeoDataDocumentAdded "otherplacemarks"
warning: Loading ended true
warning: placemarksLoaded
warning: TextureColorizer: Time elapsed: 110 ms
warning: THEME CHANGED: *** "earth/srtm/srtm.dgml"
warning: Style reset requested.
warning: Zoom:  1050  Distance:  9401.94
warning: Containername: "baseplacemarks" to be finalized: false 5
warning: Containername: "elevplacemarks" to be finalized: false 4
warning: Containername: "otherplacemarks" to be finalized: false 3
warning: "TileLoaderHelper::levelToColumn(): Invalid level: -2147483648"
warning: "TileLoaderHelper::levelToRow(): Invalid level: -2147483648"

*Program received signal SIGFPE, Arithmetic exception.
0x706b719e in Marble::AbstractScanlineTextureMapper::nextTile ()
   from Z:\release\libmarblewidget.dll*
(gdb)

------------------------------------------------------------------------------------------------------------

this was release version. If I run debug version, I get more exact info:

problem is in file "AbstractScanlineTextureMapper.cpp" in line 473.

   470: // tileCol counts the tile columns left from the current tile.
   471: // tileRow counts the tile rows on the top from the current tile.
   472:
  * 473: int tileCol = lon / m_tileLoader->tileWidth();*
   474: int tileRow = lat / m_tileLoader->tileHeight();

WHY DOES THIS HAPPEN ONLY ON OTHER XP MACHINES? As I mentoined on
development machine everything works fine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/marble-bugs/attachments/20091110/10d781b3/attachment.htm 


More information about the Marble-bugs mailing list