[OSM-talk] osmeditor2 select problem
Andrew Findlay
andrew at findlay.org
Wed Apr 12 16:08:06 BST 2006
When selecting segments to construct ways I sometimes find that
certain segments refuse to select. It looks as if the GUI thinks they
are already selected but it has not marked them in yellow:
SELSEG: FOUND A FIRST POINT
52.3562
-2.0465
trying to select seg
SELSEG: SECOND POINT
52.357
-2.04659
found a selected seg
*************ADDING NEW SEG
SELSEG: FOUND A FIRST POINT
52.357
-2.04659
trying to select seg
SELSEG: SECOND POINT
52.3591
-2.04657
found a selected seg
SELSEG: FOUND A FIRST POINT
52.3591
-2.04657
trying to select seg
SELSEG: SECOND POINT
52.3616
-2.04612
found a selected seg
*************ADDING NEW SEG
SELSEG: FOUND A FIRST POINT
52.3591
-2.04657
trying to select seg
SELSEG: SECOND POINT
52.3616
-2.04612
found a selected seg
SELSEG: FOUND A FIRST POINT
52.3562
-2.0465
trying to select seg
SELSEG: SECOND POINT
52.357
-2.04659
found a selected seg
*************ADDING NEW SEG
Thinking that the segments might be 'invisibly selected' I tried to
upload the way, but that crashed the GUI:
creating way
setting segments on way
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1087139136 (LWP 16590)]
0x080728e2 in OpenStreetMap::Segment::setWayStatus (this=0x0, ws=true)
at Segment.h:139
139 wayStatus = ws;
(gdb) where
#0 0x080728e2 in OpenStreetMap::Segment::setWayStatus (this=0x0, ws=true)
at Segment.h:139
#1 0x080901f1 in OpenStreetMap::Way::addSegment (this=0x8279ff0, s=0x0)
at Way.h:94
#2 0x080969cb in OpenStreetMap::Way::setSegments (this=0x8279ff0,
s=@0xbfffeda4) at Way.cpp:31
#3 0x0806aeaf in OpenStreetMap::MainWindow2::uploadWay (this=0xbfffece0)
at MainWindow2.cpp:1616
#4 0x080852a2 in OpenStreetMap::MainWindow2::qt_invoke (this=0xbfffece0,
_id=95, _o=0xbfffe370) at moc_MainWindow2.cpp:240
#5 0x402a84ce in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#6 0x402a8c76 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#7 0x405efdcc in QButton::clicked () from /usr/lib/libqt-mt.so.3
#8 0x4033e509 in QButton::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#9 0x402dddf9 in QWidget::event () from /usr/lib/libqt-mt.so.3
#10 0x40246fef in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#11 0x402491c8 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#12 0x401e2753 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
#13 0x401e1345 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#14 0x401f5a85 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#15 0x4025ea31 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#16 0x4025e876 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#17 0x402488df in QApplication::exec () from /usr/lib/libqt-mt.so.3
#18 0x08053256 in main (argc=1, argv=0xbffff0d4) at osmeditor2.cpp:58
Andrew
--
-----------------------------------------------------------------------
| From Andrew Findlay, Skills 1st Ltd |
| Consultant in large-scale systems, networks, and directory services |
| http://www.skills-1st.co.uk/ +44 1628 782565 |
-----------------------------------------------------------------------
More information about the talk
mailing list