==6442== Memcheck, a memory error detector ==6442== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==6442== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==6442== Command: /usr/sbin/modem-manager ==6442== Parent PID: 6380 ==6442== ==6442== Warning: noted but unhandled ioctl 0x540c with no size/direction hints ==6442== This could cause spurious value errors to appear. ==6442== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper. ==6442== Warning: noted but unhandled ioctl 0x541e with no size/direction hints ==6442== This could cause spurious value errors to appear. ==6442== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper. ==6442== Warning: noted but unhandled ioctl 0x541f with no size/direction hints ==6442== This could cause spurious value errors to appear. ==6442== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper. ==6442== Invalid read of size 8 ==6442== at 0x59079F9: g_error_free (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x40E001: mm_callback_info_unref (mm-callback-info.c:224) ==6442== by 0x5918C3D: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591893A: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591AD9F: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591B09F: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591B499: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x40D144: main (main.c:199) ==6442== Address 0x9e66508 is 8 bytes inside a block of size 16 free'd ==6442== at 0x4C2A82E: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==6442== by 0x40E083: callback_info_done (mm-callback-info.c:79) ==6442== by 0x5918C3D: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591893A: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591AD9F: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591B09F: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591B499: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x40D144: main (main.c:199) ==6442== ==6442== Invalid free() / delete / delete[] / realloc() ==6442== at 0x4C2A82E: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==6442== by 0x5907A01: g_error_free (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x40E001: mm_callback_info_unref (mm-callback-info.c:224) ==6442== by 0x5918C3D: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591893A: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591AD9F: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591B09F: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591B499: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x40D144: main (main.c:199) ==6442== Address 0x9e66550 is 0 bytes inside a block of size 14 free'd ==6442== at 0x4C2A82E: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==6442== by 0x5907A01: g_error_free (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x40E083: callback_info_done (mm-callback-info.c:79) ==6442== by 0x5918C3D: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591893A: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591AD9F: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591B09F: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591B499: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x40D144: main (main.c:199) ==6442== ==6442== Invalid free() / delete / delete[] / realloc() ==6442== at 0x4C2A82E: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==6442== by 0x40E001: mm_callback_info_unref (mm-callback-info.c:224) ==6442== by 0x5918C3D: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591893A: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591AD9F: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591B09F: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591B499: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x40D144: main (main.c:199) ==6442== Address 0x9e66500 is 0 bytes inside a block of size 16 free'd ==6442== at 0x4C2A82E: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==6442== by 0x40E083: callback_info_done (mm-callback-info.c:79) ==6442== by 0x5918C3D: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591893A: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591AD9F: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591B09F: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x591B499: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) ==6442== by 0x40D144: main (main.c:199) ==6442== ==6442== ==6442== HEAP SUMMARY: ==6442== in use at exit: 111,859 bytes in 1,297 blocks ==6442== total heap usage: 36,276 allocs, 34,981 frees, 2,525,095 bytes allocated ==6442== ==6442== LEAK SUMMARY: ==6442== definitely lost: 7,878 bytes in 112 blocks ==6442== indirectly lost: 6,112 bytes in 224 blocks ==6442== possibly lost: 7,796 bytes in 134 blocks ==6442== still reachable: 90,073 bytes in 827 blocks ==6442== suppressed: 0 bytes in 0 blocks ==6442== Rerun with --leak-check=full to see details of leaked memory ==6442== ==6442== For counts of detected and suppressed errors, rerun with: -v ==6442== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 2 from 2)