[Merkaartor] SEGV at Layers/Layer.cpp:141

Chris Browet cbro at semperpax.com
Mon Jun 7 01:40:03 BST 2010


It's been(most probably) solved a couple of days ago.
Please update to the latest revision (and use git; svn will disappear soon).

- Chris -

On Mon, Jun 7, 2010 at 01:38, Chris Baird <cjb at brushtail.apana.org.au>wrote:

> 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>
>
> _______________________________________________
> Merkaartor mailing list
> Merkaartor at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/merkaartor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/merkaartor/attachments/20100607/7c267ce0/attachment.html>


More information about the Merkaartor mailing list