Summary: | Marble crashes at startup | ||
---|---|---|---|
Product: | [Applications] marble | Reporter: | David Broome <dbroome> |
Component: | general | Assignee: | Torsten Rahn <rahn> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Crash report
from the konsole New crash report |
Description
David Broome
2008-05-01 05:13:22 UTC
after todays build, it loads but stalls at creating map. When I run it from the konsole, the following stands out Succesfully parsed file! DGML2 Name : "Atlas" Base tiles not available. Creating Tiles ... Creating tiles from: "" QFSFileEngine::open: No file name specified "TileCreator::createTiles() image dimensions 4294967295 x 4294967295" Install map too large! If I cancel, it tries again. I cancel one more time and it crashes. I tried letting it run for a couple of minutes, but it never got past 0% Created attachment 24610 [details]
Crash report
I doubt this is useful (I imagine it is crashing because the maps were never
created) but just in case
Yes, it looks like that. I'll have a look into the issue over the weekend and will add some more safe programming. Currently there's a lot of refactoring going on and we've made severe changes in several places. David: If you rely on this crash being fixed as soon as possible then you can always join us on IRC: #kde-edu. Otherwise I'll add some further debug statements to be better able to figure out what's wrong in your next build. Thanks for testing! I've added some further debug statements. Please update your sources, rebuild and send me your command line output again. Thanks! Created attachment 24615 [details]
from the konsole
This is copy and paste from the konsole after updating kdeedu
Created attachment 24616 [details]
New crash report
This is the crash report after canceling the request to build the initial maps.
I guess that marble can't find the file srtm.jpg which acts as an install map and from which the tiles get generated. Do you have an srtm.jpg file in either of these two directories? Local Path: "/home/david/.marble/data/maps/earth/srtm/" System Path: "/usr/local/share/apps/marble/data/maps/earth/srtm/" If not then the tiles should have been created at compiletime from the sources and there's something wrong there. You can choose between two modes to generate tiles via configuring cmake with the option cmake -DTILES_AT_COMPILETIME=OFF ~/marble cmake -DTILES_AT_COMPILETIME=ON ~/marble Usually the latter way should be default (and has only been introduced recently). So you might want to try the OFF case. I added that option (tried both) and received compiling errors. (It looked like it was trying to install the i18n stuff.) Based on what you wrote though, I copied that file over to the system path and that fixed the problem. Thank you. Sorry, to be clear, "that file" was of course srtm.jpg As I was finally able to reproduce your issue I've just committed a fix. David: Could you maybe remove the install map and the installed tiles in the system path and try to check out whether it works for you? If it does please mark as "fixed" :) Thanks for your testing! First Marble hangs when creating map (at 0%). I have to cancel it twice. Than crash. Console output: dorian@linux-t1b6:~> marble loadLegend Starting to load Plugins. Files: "libCompassFloatItem.so" Files: "libMarbleOverviewMap.so" Files: "libMarbleStarsPlugin.so" === MarbleDirs: === Local Path: "/home/dorian/.marble/data" Plugin Local Path: "/home/dorian/.marble/plugins" Marble Data Path (Run Time) : "" Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data" Marble Plugin Path (Run Time) : "" Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble" System Path: "/usr/share/kde4/apps/marble/data" Plugin System Path: "/usr/lib/kde4/plugins/marble" =================== "libCompassFloatItem.so" - "/usr/lib/kde4/plugins/marble/libCompassFloatItem.so" "libMarbleOverviewMap.so" - "/usr/lib/kde4/plugins/marble/libMarbleOverviewMap.so" "libMarbleStarsPlugin.so" - "/usr/lib/kde4/plugins/marble/libMarbleStarsPlugin.so" "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/cityplacemarks.cache" "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/baseplacemarks.cache" "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/elevplacemarks.cache" "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/otherplacemarks.cache" "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/boundaryplacemarks.cache" loadMapTheme "earth/citylights/citylights.dgml" Succesfully parsed file! loadMapTheme "earth/bluemarble/bluemarble.dgml" Succesfully parsed file! QAbstractItemView::setSelectionModel() failed: Trying to set a selection model, which works on a different model than the view. initTheme loadLegend path to watch: "/home/dorian/.marble/data/maps" path to watch: "/usr/share/kde4/apps/marble/data/maps" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/bluemarble" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/bluemarble/bluemarble.dgml" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/citylights" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/citylights/citylights.dgml" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/openstreetmap" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/openstreetmap/openstreetmap.dgml" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/plain" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/plain/plain.dgml" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/srtm" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/srtm/srtm.dgml" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/temp-dec" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/temp-dec/temp-dec.dgml" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/temp-july" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/temp-july/temp-july.dgml" QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Datei oder Verzeichnis nicht gefunden QFileSystemWatcher: failed to add paths: /home/dorian/.marble/data/maps MapThemeId "" Falling back to default theme loadMapTheme "earth/srtm/srtm.dgml" Succesfully parsed file! DGML2 Name : "Atlas" Base tiles not available. Creating Tiles ... SourceDir: "earth/srtm" InstallMap: "srtm.jpg" === MarbleDirs: === Local Path: "/home/dorian/.marble/data" Plugin Local Path: "/home/dorian/.marble/plugins" Marble Data Path (Run Time) : "" Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data" Marble Plugin Path (Run Time) : "" Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble" System Path: "/usr/share/kde4/apps/marble/data" Plugin System Path: "/usr/lib/kde4/plugins/marble" =================== Prefix: "earth/srtm" installmap: "srtm.jpg" Trying relative path: "maps/earth/srtm/srtm.jpg" Creating tiles from: "" Installing tiles to: "/home/dorian/.marble/data/maps//" QFSFileEngine::open: No file name specified "TileCreator::createTiles() image dimensions -1 x -1" Invalid imagemap! Files: "earth/bluemarble/bluemarble.dgml" Files: "earth/citylights/citylights.dgml" Files: "earth/openstreetmap/openstreetmap.dgml" Files: "earth/plain/plain.dgml" Files: "earth/srtm/srtm.dgml" Files: "earth/temp-dec/temp-dec.dgml" Files: "earth/temp-july/temp-july.dgml" MapThemeManager: Building Model, MapThemeID: loadMapTheme "earth/bluemarble/bluemarble.dgml" Succesfully parsed file! Found 4294497908 GeoNode object LEAKS! MapThemeManager: Building Model, MapThemeID: loadMapTheme "earth/citylights/citylights.dgml" Succesfully parsed file! MapThemeManager: Building Model, MapThemeID: loadMapTheme "earth/openstreetmap/openstreetmap.dgml" level zero columns x rows: 1 x 1 Succesfully parsed file! MapThemeManager: Building Model, MapThemeID: loadMapTheme "earth/plain/plain.dgml" Succesfully parsed file! MapThemeManager: Building Model, MapThemeID: loadMapTheme "earth/srtm/srtm.dgml" Succesfully parsed file! MapThemeManager: Building Model, MapThemeID: loadMapTheme "earth/temp-dec/temp-dec.dgml" Succesfully parsed file! MapThemeManager: Building Model, MapThemeID: loadMapTheme "earth/temp-july/temp-july.dgml" Succesfully parsed file! ========================== First hangup ========================== Tile creation completed File does not exist: "" emit downloadTile( QUrl( "http://download.kde.org/apps/marble/maps/earth/srtm/0/000000/000000_000000.jpg" ) "maps/earth/srtm/0/000000/000000_000000.jpg" ); TextureTile::loadRawTile end m_depth = 0 TileLoader::maxPartialTileLevel tilepath "/usr/share/kde4/apps/marble/data/maps/earth/srtm" Detected maximum tile level that contains data: -1 MaxTileLevel: 0 Use workaround: 0 Style reset requested. initTheme loadLegend TileLoader::maxPartialTileLevel tilepath "/usr/share/kde4/apps/marble/data/maps/earth/srtm" Detected maximum tile level that contains data: -1 MaxTileLevel: 0 MarbleWidget::setProxy 2 "http://" 8080 Updating Settings ... kiloBytes 30000 "Setting tile cache to 30000 kilobytes." MarbleWidget::setProxy 2 "http://" 8080 MapThemeId "" Selected theme doesn't work, so we stick to the previous one DGML2 Name : "Atlas" Base tiles not available. Creating Tiles ... SourceDir: "earth/srtm" InstallMap: "srtm.jpg" === MarbleDirs: === Local Path: "/home/dorian/.marble/data" Plugin Local Path: "/home/dorian/.marble/plugins" Marble Data Path (Run Time) : "" Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data" Marble Plugin Path (Run Time) : "" Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble" System Path: "/usr/share/kde4/apps/marble/data" Plugin System Path: "/usr/lib/kde4/plugins/marble" =================== Prefix: "earth/srtm" installmap: "srtm.jpg" Trying relative path: "maps/earth/srtm/srtm.jpg" Creating tiles from: "" Installing tiles to: "/home/dorian/.marble/data/maps//" QFSFileEngine::open: No file name specified "TileCreator::createTiles() image dimensions -1 x -1" Invalid imagemap! TileLoader::maxPartialTileLevel tilepath "/usr/share/kde4/apps/marble/data/maps/earth/srtm" Detected maximum tile level that contains data: -1 MaxTileLevel: 0 ========================== Second hangup ========================== "TileLoaderHelper::levelToColumn(): Invalid level: -2147483648" "TileLoaderHelper::levelToRow(): Invalid level: -2147483648" KCrash: Application 'marble' crashing... sock_file=/home/dorian/.kde4/socket-linux-t1b6/kdeinit4__0 QSocketNotifier: Invalid socket 16 and type 'Read', disabling... ========================== Crash ========================== Backtrace: Anwendung: Marble-Schreibtischglobus (marble), Signal SIGFPE [?1034h(no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0xb64546d0 (LWP 6550)] [New Thread 0xb498bb90 (LWP 6551)] [KCrash handler] #6 0xb778fad1 in ?? () from /usr/lib/libmarblewidget.so.4 #7 0xb77906a9 in ?? () from /usr/lib/libmarblewidget.so.4 #8 0xb7792c2d in ?? () from /usr/lib/libmarblewidget.so.4 #9 0xb77387a6 in MarbleModel::paintGlobe () from /usr/lib/libmarblewidget.so.4 #10 0xb773ebc2 in MarbleMap::paint () from /usr/lib/libmarblewidget.so.4 #11 0xb7732937 in MarbleWidget::paintEvent () from /usr/lib/libmarblewidget.so.4 #12 0xb6b09f61 in QWidget::event () from /usr/lib/libQtGui.so.4 #13 0xb6ab7ecc in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #14 0xb6abe3ea in QApplication::notify () from /usr/lib/libQtGui.so.4 #15 0xb7c4109d in KApplication::notify () from /usr/lib/libkdeui.so.5 #16 0xb75c1bc1 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #17 0xb6b1081e in ?? () from /usr/lib/libQtGui.so.4 #18 0xb6b06f60 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #19 0xb6b0779f in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #20 0xb6b07661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #21 0xb6b06cd4 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #22 0xb6b0779f in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #23 0xb6b06cd4 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #24 0xb6b0779f in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #25 0xb6b07661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #26 0xb6b07661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #27 0xb6b06cd4 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #28 0xb6c553a0 in ?? () from /usr/lib/libQtGui.so.4 #29 0xb6c55ff5 in ?? () from /usr/lib/libQtGui.so.4 #30 0xb6b1266d in ?? () from /usr/lib/libQtGui.so.4 #31 0xb6b1be7c in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 #32 0xb6b423ae in ?? () from /usr/lib/libQtGui.so.4 #33 0xb75c033a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #34 0xb75c04fa in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #35 0xb75c26dd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 #36 0xb6ab7d47 in QApplication::exec () from /usr/lib/libQtGui.so.4 #37 0x0805bca5 in _start () #0 0xffffe430 in __kernel_vsyscall () I hope this is useful. It crashes even with the version from svn: Anwendung: Marble-Schreibtischglobus (marble), Signal SIGFPE [?1034h[Thread debugging using libthread_db enabled] [New Thread 0xb63cf6d0 (LWP 5292)] [New Thread 0xb48f5b90 (LWP 5369)] [KCrash handler] #6 0xb77e6aa1 in AbstractScanlineTextureMapper::nextTile (this=0xaf73e20, posX=@0xaf73e28, posY=@0xaf73e2c) at /usr/src/debug/kdeedu-4.0.85/marble/src/lib/AbstractScanlineTextureMapper.cpp:268 #7 0xb77e7654 in AbstractScanlineTextureMapper::pixelValue (this=0xaf73e20, lon=@0xbf8bd618, lat=@0xbf8bd610, scanLine=0xb381614c, smooth=false) at /usr/src/debug/kdeedu-4.0.85/marble/src/lib/AbstractScanlineTextureMapper.cpp:245 #8 0xb77e9bfd in SphericalScanlineTextureMapper::mapTexture (this=0xaf73e20, viewParams=0x820ae7c) at /usr/src/debug/kdeedu-4.0.85/marble/src/lib/SphericalScanlineTextureMapper.cpp:239 #9 0xb778e02e in MarbleModel::paintGlobe (this=0x81b53f0, painter=0xbf8bd834, width=200, height=459, viewParams=0x820ae7c, redrawBackground=true, dirtyRect=@0xbf8bd8ac) at /usr/src/debug/kdeedu-4.0.85/marble/src/lib/MarbleModel.cpp:428 #10 0xb7794572 in MarbleMap::paint (this=0x81d2f88, painter=@0xbf8bd834, dirtyRect=@0xbf8bd8ac) at /usr/src/debug/kdeedu-4.0.85/marble/src/lib/MarbleMap.cpp:893 #11 0xb77880d7 in MarbleWidget::paintEvent (this=0x8238db8, evt=0xbf8bdcfc) at /usr/src/debug/kdeedu-4.0.85/marble/src/lib/MarbleWidget.cpp:828 #12 0xb6b5cf61 in QWidget::event () from /usr/lib/libQtGui.so.4 #13 0xb6b0aecc in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #14 0xb6b113ea in QApplication::notify () from /usr/lib/libQtGui.so.4 #15 0xb7c9e5dd in KApplication::notify () from /usr/lib/libkdeui.so.5 #16 0xb7614b51 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #17 0xb6b6381e in ?? () from /usr/lib/libQtGui.so.4 #18 0xb6b59f60 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #19 0xb6b5a79f in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #20 0xb6b5a661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #21 0xb6b59cd4 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #22 0xb6b5a79f in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #23 0xb6b59cd4 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #24 0xb6b5a79f in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #25 0xb6b5a661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #26 0xb6b5a661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #27 0xb6b59cd4 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #28 0xb6ca8380 in ?? () from /usr/lib/libQtGui.so.4 #29 0xb6ca8fd5 in ?? () from /usr/lib/libQtGui.so.4 #30 0xb6b6566d in ?? () from /usr/lib/libQtGui.so.4 #31 0xb6b6ee7c in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 #32 0xb6b953ae in ?? () from /usr/lib/libQtGui.so.4 #33 0xb76132ca in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #34 0xb761348a in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #35 0xb761566d in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 #36 0xb6b0ad47 in QApplication::exec () from /usr/lib/libQtGui.so.4 #37 0x08055945 in main (argc=1, argv=0xbf8bf0c4) at /usr/src/debug/kdeedu-4.0.85/marble/src/kdemain.cpp:112 #0 0xffffe430 in __kernel_vsyscall () Do you build from source or do you use packages? The problem apparently is that during compilation the tiles for Marble haven't been created. If you add the file /usr/share/kde4/apps/marble/data/maps/earth/srtm/srtm.jpg manually then Marble will start however that doesn't fix the problem. So what you'd need to do is investigate why during the compilation process the Marble tiles don't get generated. David, it would also be helpful if you added as many details about your setup as possible. - Do you compile the KDE version of Marble or the Qt version? - Which distribution do you use? - Do you compile yourself or do you use packages. - Do you install on a fresh system (i.e. has there been a previous version of Marble installed) ? BTW: If you'd join us on IRC today then we could try to sort out the issue. We are on #kde-edu (my nick is "tackat" and you can also talk to "SaroEngels" about the issue). Tackat, I don't have this issue anymore. Can you mark it solved when you and Dorian work it out? Thanks David: Sorry, I meant Dorian actually. Dorian: I bet you are running openSUSE. If so the bug you have reported is a packaging bug in openSUSE which has been fixed just today. Please update your packages (especially kde4-marble-data) and tell me whether the problem is still there. Best Regards, Torsten No new info for almost a month. And in the mean time, KDE 4.1 was released. I think we can regard this bug as fixed. |