Hi all,

Today when I was trying to create a realation it failed. I was supprised to 
see Merkaartor trowh a segfault in my face. I have tried it with various 
roads but no succes. 

I have attached the latest part of the valgrind log. 

I'm running revision 8331 wich is the latest right now.

Hope you can fix it,
Roeland
==5626== Invalid read of size 4
==5626==    at 0x810517E: LayerDock::activeLayer() (LayerDock.cpp:100)
==5626==    by 0x80E774B: MainWindow::on_createRelationAction_triggered() 
(MainWindow.cpp:618)
==5626==    by 0x8149456: MainWindow::qt_metacall(QMetaObject::Call, int, 
void**) (moc_MainWindow.cpp:197)
==5626==    by 0x5659DE3: QMetaObject::activate(QObject*, int, int, void**) (in 
/usr/lib/qt4/libQtCore.so.4.4.0)
==5626==    by 0x565A22C: QMetaObject::activate(QObject*, QMetaObject const*, 
int, int, void**) (in /usr/lib/qt4/libQtCore.so.4.4.0)
==5626==    by 0x4A86428: QAction::triggered(bool) (in 
/usr/lib/qt4/libQtGui.so.4.4.0)
==5626==    by 0x5225FF3: (within /usr/lib/qt4/libQtGui.so.4.4.0)
==5626==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==5626==
==5626== Process terminating with default action of signal 11 (SIGSEGV)
==5626==  Access not within mapped region at address 0x0
==5626==    at 0x810517E: LayerDock::activeLayer() (LayerDock.cpp:100)
==5626==    by 0x80E774B: MainWindow::on_createRelationAction_triggered() 
(MainWindow.cpp:618)
==5626==    by 0x8149456: MainWindow::qt_metacall(QMetaObject::Call, int, 
void**) (moc_MainWindow.cpp:197)
==5626==    by 0x5659DE3: QMetaObject::activate(QObject*, int, int, void**) (in 
/usr/lib/qt4/libQtCore.so.4.4.0)
==5626==    by 0x565A22C: QMetaObject::activate(QObject*, QMetaObject const*, 
int, int, void**) (in /usr/lib/qt4/libQtCore.so.4.4.0)
==5626==    by 0x4A86428: QAction::triggered(bool) (in 
/usr/lib/qt4/libQtGui.so.4.4.0)
==5626==    by 0x5225FF3: (within /usr/lib/qt4/libQtGui.so.4.4.0)

_______________________________________________
Merkaartor mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/merkaartor

Reply via email to