Hi Sebastian, yes there seems to be a problem. A wonder it did not crash on Linux. I wish Linux would be less tolerant on accessing memory that is already freed. Any way the latest commit in SVN should fix it. I changed the CMakefile too.
Thanks for reporting Oliver Am 28.08.2014 00:39, schrieb Sebastian Reitenbach: > Hi, > > in qlgt 1.7.7 (but bug was also apparent for me on 1.7.5, but never got > around to report), > > in the Waypoints menu, choose new waypoint, > > click on the map, and wait for the waypoint editor window. > > Now close the window with the X in the top right corner. > This ends for me in a bus error on OpenBSD 5.6-current amd64. > > Program received signal SIGBUS, Bus error. > operator= (l=..., this=<optimized out>) at > /usr/local/include/X11/qt4/QtCore/qlist.h:442 > 442 if (!d->ref.deref()) > (gdb) bt > #0 operator= (l=..., this=<optimized out>) at > /usr/local/include/X11/qt4/QtCore/qlist.h:442 > #1 QList<CWpt::buddy_t>::clear (this=0x1661ea4c9728) at > /usr/local/include/X11/qt4/QtCore/qlist.h:766 > #2 0x0000165f23b9852f in CWpt::showBuddies (this=0x1661ea4c9600, show=false) > at > /home/ports/pobj/amd64/qlandkartegt-1.7.7/qlandkartegt-1.7.7/src/CWpt.cpp:1256 > #3 0x0000165f23bdc173 in CDlgEditWpt::~CDlgEditWpt (this=0x7f7ffffccde0, > __in_chrg=<optimized out>) > at > /home/ports/pobj/amd64/qlandkartegt-1.7.7/qlandkartegt-1.7.7/src/CDlgEditWpt.cpp:120 > #4 0x0000165f23ba8741 in CWptDB::newWpt (this=0x1661e8979b40, > lon=0.226921335, lat=0.914430261, ele=9.99999956e+24, name=...) > at > /home/ports/pobj/amd64/qlandkartegt-1.7.7/qlandkartegt-1.7.7/src/CWptDB.cpp:312 > #5 0x0000165f23aed20c in CMouseAddWpt::mousePressEvent (this=<optimized > out>, e=<optimized out>) > at > /home/ports/pobj/amd64/qlandkartegt-1.7.7/qlandkartegt-1.7.7/src/CMouseAddWpt.cpp:54 > #6 0x000016616df114a1 in QWidget::event(QEvent*) () from > /usr/local/lib/qt4/libQtGui.so.10.1 > #7 0x000016616deaf9af in QApplicationPrivate::notify_helper(QObject*, > QEvent*) () from /usr/local/lib/qt4/libQtGui.so.10.1 > #8 0x000016616deb8fae in QApplication::notify(QObject*, QEvent*) () from > /usr/local/lib/qt4/libQtGui.so.10.1 > #9 0x0000166181cfc000 in QCoreApplication::notifyInternal(QObject*, QEvent*) > () from /usr/local/lib/qt4/libQtCore.so.9.0 > #10 0x000016616deb2a1f in QApplicationPrivate::sendMouseEvent(QWidget*, > QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () > from /usr/local/lib/qt4/libQtGui.so.10.1 > #11 0x000016616df44325 in QETWidget::translateMouseEvent(_XEvent const*) () > from /usr/local/lib/qt4/libQtGui.so.10.1 > #12 0x000016616df43419 in QApplication::x11ProcessEvent(_XEvent*) () from > /usr/local/lib/qt4/libQtGui.so.10.1 > #13 0x000016616df70468 in ?? () from /usr/local/lib/qt4/libQtGui.so.10.1 > #14 0x0000166124ad4f1f in g_main_context_dispatch () from > /usr/local/lib/libglib-2.0.so.4000.0 > #15 0x0000166124ad6f1e in g_main_context_iterate () from > /usr/local/lib/libglib-2.0.so.4000.0 > #16 0x0000166124ad6ff7 in g_main_context_iteration () from > /usr/local/lib/libglib-2.0.so.4000.0 > #17 0x0000166181d34fec in > QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () > from /usr/local/lib/qt4/libQtCore.so.9.0 > #18 0x000016616df6ffa9 in > QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) > () from /usr/local/lib/qt4/libQtGui.so.10.1 > #19 0x0000166181cfaecc in > QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from > /usr/local/lib/qt4/libQtCore.so.9.0 > #20 0x0000166181cfb2ed in > QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from > /usr/local/lib/qt4/libQtCore.so.9.0 > #21 0x0000166181d002de in QCoreApplication::exec() () from > /usr/local/lib/qt4/libQtCore.so.9.0 > #22 0x0000165f23a81957 in main (argc=1, argv=<optimized out>) at > /home/ports/pobj/amd64/qlandkartegt-1.7.7/qlandkartegt-1.7.7/src/main.cpp:332 > > cheers, > Sebastian > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Qlandkartegt-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Qlandkartegt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
