Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Merkaartor segfaults when uploading a new relation #922

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Merkaartor segfaults when uploading a new relation #922

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: ColinMarquardt
[Submitted to the original trac issue database at 8.55am, Monday, 26th May 2008]

I was adding a new relation in Merkaartor SVN, and when trying to upload it, I get a segmentation fault. The backtrace follows.

This GDB was configured as "x86_64-linux-gnu"...
(gdb) run
Starting program: /usr/local/bin/merkaartor 
[Thread debugging using libthread_db enabled]
[New Thread 0x7f7ac8435780 (LWP 7182)]
Object::connect: No such signal QWebFrame::loadDone(bool)
[New Thread 0x414e2950 (LWP 7187)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f7ac8435780 (LWP 7182)]
0x000000000045862c in Road::get (this=0x0, idx=0) at Map/Road.cpp:160
160		return p->Nodes[idx];
(gdb) bt
#0  0x000000000045862c in Road::get (this=0x0, idx=0) at Map/Road.cpp:160
#1  0x0000000000493287 in DirtyListVisit::add (this=0x7fffd0458080, F=0x912100) at Sync/DirtyList.cpp:179
#2  0x000000000041bfa0 in AddFeatureCommand::buildDirtyList (this=0xc81d30, theList=@0x7fffd0458080)
    at Command/DocumentCommands.cpp:37
#3  0x0000000000419eb3 in CommandHistory::buildDirtyList (this=0x8b5e70, theList=@0x7fffd0458080)
    at Command/Command.cpp:227
#4  0x000000000049273b in DirtyListVisit::runVisit (this=0x7fffd0458080) at Sync/DirtyList.cpp:131
#5  0x0000000000492907 in DirtyListDescriber::showChanges (this=0x7fffd0458080, aParent=0x7fffd0459950)
    at Sync/DirtyList.cpp:247
#6  0x000000000049a2fd in syncOSM (theMain=0x7fffd0459950, aWeb=@0x7fffd0458260, aUser=@0x7fffd0458250, 
    aPwd=@0x7fffd0458240, UseProxy=false, ProxyHost=@0x7fffd0458230, ProxyPort=0) at Sync/SyncOSM.cpp:22
#7  0x000000000049f0ba in MainWindow::on_fileUploadAction_triggered (this=0x7fffd0459950) at MainWindow.cpp:380
#8  0x00000000004fd30e in MainWindow::qt_metacall (this=0x7fffd0459950, _c=QMetaObject::InvokeMetaMethod, 
    _id=18, _a=0x7fffd0458460) at tmp/moc_MainWindow.cpp:194
#9  0x00007f7ac623b286 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0x00007f7ac69e5fa7 in QAction::triggered () from /usr/lib/libQtGui.so.4
#11 0x00007f7ac69e67b0 in QAction::activate () from /usr/lib/libQtGui.so.4
#12 0x00007f7ac6d7bcaa in ?? () from /usr/lib/libQtGui.so.4
#13 0x00007f7ac6a3a4e0 in QWidget::event () from /usr/lib/libQtGui.so.4
#14 0x00007f7ac6d79a21 in QMenu::event () from /usr/lib/libQtGui.so.4
#15 0x00007f7ac69ec54f in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#16 0x00007f7ac69f1329 in QApplication::notify () from /usr/lib/libQtGui.so.4
#17 0x00007f7ac6227109 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#18 0x00007f7ac69ee455 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#19 0x00007f7ac6a5091b in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007f7ac6a4f66b in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#21 0x00007f7ac6a758f3 in ?? () from /usr/lib/libQtGui.so.4
#22 0x00007f7ac4455262 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0x00007f7ac4458516 in ?? () from /usr/lib/libglib-2.0.so.0
#24 0x00007f7ac44589af in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#25 0x00007f7ac62503af in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#26 0x00007f7ac6a7572f in ?? () from /usr/lib/libQtGui.so.4
#27 0x00007f7ac6226585 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#28 0x00007f7ac62266db in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#29 0x00007f7ac6228729 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#30 0x000000000049ab77 in main (argc=1, argv=0x7fffd0459df8) at Main.cpp:47


@openstreetmap-trac
Copy link
Author

Author: patou
[Added to the original trac issue at 8.58pm, Wednesday, 28th May 2008]

This was fixed in svn r7914 on 05/24/08.[[BR]]
Please update your svn

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant