Valgrind reports "Mismatched free() / delete / delete []" #2199

Closed
opened 2026-02-20 22:01:50 -05:00 by deekerman · 0 comments
Owner

Originally created by @davidebeatrici on GitHub (May 9, 2021).

Originally assigned to: @Krzmbrzl on GitHub.

==111464== Mismatched free() / delete / delete []
==111464==    at 0x4839EAB: operator delete(void*) (vg_replace_malloc.c:584)
==111464==    by 0x6D73F4: ProcessResolver::freeAndClearData() (ProcessResolver.cpp:21)
==111464==    by 0x6D7335: ProcessResolver::~ProcessResolver() (ProcessResolver.cpp:16)
==111464==    by 0x5C2430: PluginManager::selectActivePositionalDataPlugin() (PluginManager.cpp:244)
==111464==    by 0x699E8C5: call (qobjectdefs_impl.h:398)
==111464==    by 0x699E8C5: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3870)
==111464==    by 0x69A2249: QTimer::timeout(QTimer::QPrivateSignal) (moc_qtimer.cpp:205)
==111464==    by 0x6994E5E: QObject::event(QEvent*) (qobject.cpp:1361)
==111464==    by 0x4E2703E: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3685)
==111464==    by 0x6969B61: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1075)
==111464==    by 0x69BE6C2: QTimerInfoList::activateTimers() (qtimerinfo_unix.cpp:643)
==111464==    by 0x69BEF43: timerSourceDispatch(_GSource*, int (*)(void*), void*) (qeventdispatcher_glib.cpp:183)
==111464==    by 0x53DBE6A: g_main_dispatch (gmain.c:3325)
==111464==    by 0x53DBE6A: g_main_context_dispatch (gmain.c:4043)
==111464==  Address 0x153d6940 is 0 bytes inside a block of size 6 alloc'd
==111464==    at 0x483950F: operator new[](unsigned long) (vg_replace_malloc.c:431)
==111464==    by 0x6D7D9B: addName (ProcessResolver.cpp:55)
==111464==    by 0x6D7D9B: ProcessResolver::doResolve() (ProcessResolver.cpp:190)
==111464==    by 0x6D7291: resolve (ProcessResolver.cpp:39)
==111464==    by 0x6D7291: ProcessResolver::ProcessResolver(bool) (ProcessResolver.cpp:11)
==111464==    by 0x5C1EEE: PluginManager::selectActivePositionalDataPlugin() (PluginManager.cpp:202)
==111464==    by 0x699E8C5: call (qobjectdefs_impl.h:398)
==111464==    by 0x699E8C5: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3870)
==111464==    by 0x69A2249: QTimer::timeout(QTimer::QPrivateSignal) (moc_qtimer.cpp:205)
==111464==    by 0x6994E5E: QObject::event(QEvent*) (qobject.cpp:1361)
==111464==    by 0x4E2703E: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3685)
==111464==    by 0x6969B61: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1075)
==111464==    by 0x69BE6C2: QTimerInfoList::activateTimers() (qtimerinfo_unix.cpp:643)
==111464==    by 0x69BEF43: timerSourceDispatch(_GSource*, int (*)(void*), void*) (qeventdispatcher_glib.cpp:183)
==111464==    by 0x53DBE6A: g_main_dispatch (gmain.c:3325)
==111464==    by 0x53DBE6A: g_main_context_dispatch (gmain.c:4043)
Originally created by @davidebeatrici on GitHub (May 9, 2021). Originally assigned to: @Krzmbrzl on GitHub. ```cpp ==111464== Mismatched free() / delete / delete [] ==111464== at 0x4839EAB: operator delete(void*) (vg_replace_malloc.c:584) ==111464== by 0x6D73F4: ProcessResolver::freeAndClearData() (ProcessResolver.cpp:21) ==111464== by 0x6D7335: ProcessResolver::~ProcessResolver() (ProcessResolver.cpp:16) ==111464== by 0x5C2430: PluginManager::selectActivePositionalDataPlugin() (PluginManager.cpp:244) ==111464== by 0x699E8C5: call (qobjectdefs_impl.h:398) ==111464== by 0x699E8C5: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3870) ==111464== by 0x69A2249: QTimer::timeout(QTimer::QPrivateSignal) (moc_qtimer.cpp:205) ==111464== by 0x6994E5E: QObject::event(QEvent*) (qobject.cpp:1361) ==111464== by 0x4E2703E: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3685) ==111464== by 0x6969B61: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1075) ==111464== by 0x69BE6C2: QTimerInfoList::activateTimers() (qtimerinfo_unix.cpp:643) ==111464== by 0x69BEF43: timerSourceDispatch(_GSource*, int (*)(void*), void*) (qeventdispatcher_glib.cpp:183) ==111464== by 0x53DBE6A: g_main_dispatch (gmain.c:3325) ==111464== by 0x53DBE6A: g_main_context_dispatch (gmain.c:4043) ==111464== Address 0x153d6940 is 0 bytes inside a block of size 6 alloc'd ==111464== at 0x483950F: operator new[](unsigned long) (vg_replace_malloc.c:431) ==111464== by 0x6D7D9B: addName (ProcessResolver.cpp:55) ==111464== by 0x6D7D9B: ProcessResolver::doResolve() (ProcessResolver.cpp:190) ==111464== by 0x6D7291: resolve (ProcessResolver.cpp:39) ==111464== by 0x6D7291: ProcessResolver::ProcessResolver(bool) (ProcessResolver.cpp:11) ==111464== by 0x5C1EEE: PluginManager::selectActivePositionalDataPlugin() (PluginManager.cpp:202) ==111464== by 0x699E8C5: call (qobjectdefs_impl.h:398) ==111464== by 0x699E8C5: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3870) ==111464== by 0x69A2249: QTimer::timeout(QTimer::QPrivateSignal) (moc_qtimer.cpp:205) ==111464== by 0x6994E5E: QObject::event(QEvent*) (qobject.cpp:1361) ==111464== by 0x4E2703E: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3685) ==111464== by 0x6969B61: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1075) ==111464== by 0x69BE6C2: QTimerInfoList::activateTimers() (qtimerinfo_unix.cpp:643) ==111464== by 0x69BEF43: timerSourceDispatch(_GSource*, int (*)(void*), void*) (qeventdispatcher_glib.cpp:183) ==111464== by 0x53DBE6A: g_main_dispatch (gmain.c:3325) ==111464== by 0x53DBE6A: g_main_context_dispatch (gmain.c:4043) ```
deekerman 2026-02-20 22:01:50 -05:00
  • closed this issue
  • added the
    client
    bug
    labels
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mumble-mumble-voip#2199
No description provided.