Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-30040

Abort with memcheck result parsing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 12.0.0
    • None
    • Linux/X11

    Description

      After normal exit program with memcheck analyse, Qt Creator is crashed with SIGABRT.

      Also when load memcheck xml log file, Qt Creator is crashed with SIGABRT.

      gdb bt output:

      #0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
      #1  0x00007ffff5cac8a3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
      #2  0x00007ffff5c5c668 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
      #3  0x00007ffff5c444b8 in __GI_abort () at abort.c:79
      #4  0x00007ffff5edd3b2 in std::__glibcxx_assert_fail(char const*, int, char const*, char const*)
          (file=file@entry=0x7fffba78fdb8 "/usr/include/c++/13.2.1/optional", line=line@entry=477, function=function@entry=0x7fffba78fd30 "constexpr _Tp& std::_Optional_base_impl<_Tp, _Dp>::_M_get() [with _Tp = QString; _Dp = std::_Optional_base<QString, false, false>]", condition=condition@entry=0x7fffba78bb7e "this->_M_is_engaged()") at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/debug.cc:61
      #5  0x00007fffba779190 in std::_Optional_base_impl<QString, std::_Optional_base<QString, false, false> >::_M_get() (this=<optimized out>) at /usr/include/c++/13.2.1/optional:475
      #6  std::_Optional_base_impl<QString, std::_Optional_base<QString, false, false> >::_M_get() (this=<optimized out>) at /usr/include/c++/13.2.1/optional:475
      #7  std::optional<QString>::operator*() & (this=<optimized out>) at /usr/include/c++/13.2.1/optional:974
      #8  Valgrind::XmlProtocol::ParserPrivate::start()::{lambda()#1}::operator()() const (__closure=0x55555835f410)
          at /usr/src/debug/qtcreator/qt-creator-opensource-src-12.0.0/src/plugins/valgrind/xmlprotocol/parser.cpp:713
      #9  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Valgrind::XmlProtocol::ParserPrivate::start()::{lambda()#1}>::call(Valgrind::XmlProtocol::ParserPrivate::start()::{lambda()#1}&, void**) (arg=<optimized out>, f=...) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:137
      #10 QtPrivate::Functor<Valgrind::XmlProtocol::ParserPrivate::start()::{lambda()#1}, 0>::call<QtPrivate::List<>, void>(Valgrind::XmlProtocol::ParserPrivate::start()::{lambda()#1}&, void*, void**)
          (arg=<optimized out>, f=...) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:339
      #11 QtPrivate::QCallableObject<Valgrind::XmlProtocol::ParserPrivate::start()::{lambda()#1}, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
          (which=<optimized out>, this_=0x55555835f400, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:522
      #12 0x00007ffff63b9ec9 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffffffd048, r=0x7fffe400a710, this=0x55555835f400, this=<optimized out>, r=<optimized out>, a=<optimized out>)
          at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qobjectdefs_impl.h:433
      #13 doActivate<false>(QObject*, int, void**) (sender=0x555558742d20, signal_index=4, argv=0x7fffffffd048) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qobject.cpp:4021
      #14 0x00007ffff64d7bc4 in QFutureWatcherBase::finished() (this=0x555558742d20) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qfuturewatcher.cpp:454
      #15 QFutureWatcherBasePrivate::sendCallOutEvent(QFutureCallOutEvent*) (event=0x7fff2c000a90, this=0x555557d35650) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qfuturewatcher.cpp:493
      #16 QFutureWatcherBase::event(QEvent*) (this=<optimized out>, event=0x7fff2c000a90) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qfuturewatcher.cpp:392
      #17 0x00007ffff737319b in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x555558742d20, e=0x7fff2c000a90)
          at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/kernel/qapplication.cpp:3296
      #18 0x00007ffff6362a78 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x555558742d20, event=event@entry=0x7fff2c000a90)
          at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qcoreapplication.cpp:1121
      #19 0x00007ffff6362dfb in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x7fff2c000a90, receiver=<optimized out>)
          at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qcoreapplication.cpp:1539
      #20 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5555555af7a0)
          at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qcoreapplication.cpp:1901
      #21 0x00007ffff659ead4 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qcoreapplication.cpp:1760
      #22 postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55555561b4d0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qeventdispatcher_glib.cpp:243
      #23 0x00007ffff510df69 in g_main_dispatch (context=0x7fffec000ef0) at ../glib/glib/gmain.c:3476
      #24 0x00007ffff516c367 in g_main_context_dispatch_unlocked (context=0x7fffec000ef0) at ../glib/glib/gmain.c:4284
      #25 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fffec000ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
      #26 0x00007ffff510c162 in g_main_context_iteration (context=0x7fffec000ef0, may_block=1) at ../glib/glib/gmain.c:4414
      #27 0x00007ffff659d074 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x555555614350, flags=...)
          at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qeventdispatcher_glib.cpp:393
      #28 0x00007ffff636cf5e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=..., this=0x7fffffffd4c0)
          at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qeventloop.cpp:100
      #29 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fffffffd4c0, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qeventloop.cpp:182
      #30 0x00007ffff6365518 in QCoreApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/global/qflags.h:74
      #31 0x00007ffff736fd1a in QApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/kernel/qapplication.cpp:2574
      #32 0x00005555555604a3 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/qtcreator/qt-creator-opensource-src-12.0.0/src/app/main.cpp:831
      

       
       
       
       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            gecheim Andrey Tsarkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes