[Merkaartor] SEGV at Layers/Layer.cpp:141
Chris Baird
cjb at brushtail.apana.org.au
Mon Jun 7 00:38:49 BST 2010
System particulars: NetBSD-5.99.29/current, qt4-libs-4.6.2, merkaartor
v0.16-svn(21521), gcc 4.1.3, '64 bit' AMD Dual Core 5050e.
I've zero understanding of how to headtrace C++ classes, so this is
much as I can say..
It's been a consistent problem for months. It usually occurs a few
edits after uploading changes.
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00000000005a41e1 in Layer::getFeatureSet (this=0x7f7ffa71fd10, theFeatures=@0x7f7ffdbf7620, theCoastlines=@0x7f7ffdbf7628, invalidRects=@0x7f7ffb115838, clipRect=@0x7f7fffff95f0, theProjection=@0x7f7ffdb2cdb0, theTransform=@0x7f7ffdbf7580) at Layers/Layer.cpp:141
#2 0x00000000004f61a4 in MapView::buildFeatureSet (this=0x7f7ffdb2cd80) at MapView.cpp:306
#3 0x00000000004fee97 in MapView::paintEvent (this=0x7f7ffdb2cd80, anEvent=0x7f7fffffa1d0) at MapView.cpp:202
#4 0x00007f7ff933ef60 in QWidget::event (this=0x7f7ffdb2cd80, event=0x7f7fffffa1d0) at kernel/qwidget.cpp:8144
(gdb) up
#1 0x00000000005a41e1 in Layer::getFeatureSet (this=0x7f7ffa71fd10, theFeatures=@0x7f7ffdbf7620, theCoastlines=@0x7f7ffdbf7628, invalidRects=@0x7f7ffb115838, clipRect=@0x7f7fffff95f0, theProjection=@0x7f7ffdb2cdb0, theTransform=@0x7f7ffdbf7580) at Layers/Layer.cpp:141
141 if (theFeatures[F->renderPriority()].contains(F))
(gdb) list 141
136 QList < MapFeaturePtr > ret;
137 for (int i=0; i < invalidRects.size(); ++i) {
138 indexFind(invalidRects[i], &ret);
139 }
140 foreach(MapFeaturePtr F, ret) {
141 if (theFeatures[F->renderPriority()].contains(F))
142 continue;
143
144 if (Way * R = CAST_WAY(F)) {
145 R->buildPath(theProjection, theTransform, clipRect);
(gdb) print F
$1 = (MapFeaturePtr) 0x7f7ff6bf2f80
(gdb) print theFeatures[F->renderPriority()]
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
--
Chris Baird,, <cjb brushtail apana org au>
More information about the Merkaartor
mailing list