[Marble-devel] Mac Crash for trunk

Tim Sutton tim at linfiniti.com
Wed May 21 21:14:30 CEST 2008


Hi Folks / Torsten

After chatting to you on IRC the other day I did some more testing and
built marble from scratch instead of just svn updating and make
installing into the existing mac bundle I had. Now when the app starts
I get a crash (see stacktrace below) and on stdout I get:

"TileLoaderHelper::levelToColumn(): Invalid level: -2147483648"
"TileLoaderHelper::levelToRow(): Invalid level: -2147483648"

This all looks very familiar, and if my brain was bigger than a pea I
might even remember why it looks familiar. Can you shed any light on
it?

Regards

Tim

BTW: can you remember the file size of the last .dmg installer I made?
The one for the next release looks like it will pan out to ~30mb with
PPC support included.


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

Stacktrace:

Exception:  EXC_ARITHMETIC (0x0003)
Codes:      EXC_I386_DIV (divide by zero)

Thread 0 Crashed:
0   libmarblewidget.5.dylib 	0x01a131b6
AbstractScanlineTextureMapper::nextTile() + 86
1   libmarblewidget.5.dylib 	0x01a13306
AbstractScanlineTextureMapper::pixelValue(double const&, double
const&, unsigned*) + 148
2   libmarblewidget.5.dylib 	0x01a14a07
SphericalScanlineTextureMapper::mapTexture(ViewParams*) + 1981
3   libmarblewidget.5.dylib 	0x019c72c4
MarbleModel::paintGlobe(GeoPainter*, int, int, ViewParams*, bool,
QRect const&) + 1856
4   libmarblewidget.5.dylib 	0x019cea80 MarbleMap::paint(GeoPainter&,
QRect&) + 176
5   libmarblewidget.5.dylib 	0x019c0f90
MarbleWidget::paintEvent(QPaintEvent*) + 140
6   QtGui                   	0x01052901 QWidget::event(QEvent*) + 1823
7   QtGui                   	0x01016086
QApplicationPrivate::notify_helper(QObject*, QEvent*) + 438
8   QtGui                   	0x01018515 QApplication::notify(QObject*,
QEvent*) + 255
9   QtCore                  	0x002bacdb
QCoreApplication::notifyInternal(QObject*, QEvent*) + 83
10  QtGui                   	0x01078c91
QWidgetPrivate::qt_widget_event(OpaqueEventHandlerCallRef*,
OpaqueEventRef*, void*) + 4175
11  com.apple.HIToolbox     	0x92de64d7
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*,
HandlerCallRec*) + 1093
12  com.apple.HIToolbox     	0x92de5b7c
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,
HandlerCallRec*) + 304
13  com.apple.HIToolbox     	0x92de5a41 SendEventToEventTargetWithOptions + 55
14  com.apple.HIToolbox     	0x92e12f98 HIView::SendDraw(short,
OpaqueGrafPtr*, __HIShape const*, CGContext*) + 466
15  com.apple.HIToolbox     	0x92f89b68
HIView::RecursiveDrawComposited(__HIShape const*, unsigned long,
HIView*, CGContext*, unsigned char) + 874
16  com.apple.HIToolbox     	0x92f89cfa
HIView::RecursiveDrawComposited(__HIShape const*, unsigned long,
HIView*, CGContext*, unsigned char) + 1276
17  com.apple.HIToolbox     	0x92f89cfa
HIView::RecursiveDrawComposited(__HIShape const*, unsigned long,
HIView*, CGContext*, unsigned char) + 1276
18  com.apple.HIToolbox     	0x92f89cfa
HIView::RecursiveDrawComposited(__HIShape const*, unsigned long,
HIView*, CGContext*, unsigned char) + 1276
19  com.apple.HIToolbox     	0x92f89cfa
HIView::RecursiveDrawComposited(__HIShape const*, unsigned long,
HIView*, CGContext*, unsigned char) + 1276
20  com.apple.HIToolbox     	0x92f89cfa
HIView::RecursiveDrawComposited(__HIShape const*, unsigned long,
HIView*, CGContext*, unsigned char) + 1276
21  com.apple.HIToolbox     	0x92f8a4ed HIView::DrawComposited(short,
OpaqueGrafPtr*, __HIShape const*, unsigned long, HIView*, CGContext*)
+ 601
22  com.apple.HIToolbox     	0x92e12a01 HIView::Draw(short,
OpaqueGrafPtr*, unsigned long) + 75
23  com.apple.HIToolbox     	0x92e1293d HIView::Render(unsigned long,
CGContext*) + 45
24  com.apple.HIToolbox     	0x92e024ce _ShowHideWindows + 504
25  com.apple.HIToolbox     	0x92e022d2 ShowHide + 38
26  QtGui                   	0x010765fa QWidgetPrivate::show_sys() + 308
27  QtGui                   	0x01055a4f QWidgetPrivate::show_helper() + 461
28  QtGui                   	0x0105714e QWidget::setVisible(bool) + 950
29                          	0x0000d340 main + 1256
30                          	0x000041e2 _start + 216
31                          	0x00004109 start + 41

Thread 1:
0   libSystem.B.dylib       	0x90026d5c kevent + 12
1   QtCore                  	0x0020e276 QThreadPrivate::start(void*) + 190
2   libSystem.B.dylib       	0x90024227 _pthread_body + 84

Thread 2:
0   libSystem.B.dylib       	0x9001a1cc select + 12
1   QtCore                  	0x002db73e
QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>,
timeval*) + 442
2   QtCore                  	0x002dca54
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
+ 152
3   QtCore                  	0x002ba8fc
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 54
4   QtCore                  	0x002baa1b
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 109
5   QtCore                  	0x0020c201 QThread::exec() + 87
6   QtCore                  	0x002977de
QPollingFileSystemWatcherEngine::run() + 100
7   QtCore                  	0x0020e276 QThreadPrivate::start(void*) + 190
8   libSystem.B.dylib       	0x90024227 _pthread_body + 84

Thread 0 crashed with X86 Thread State (32-bit):


-- 
Tim Sutton
QGIS Project Steering Committee Member - Release  Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net


More information about the Marble-devel mailing list