Intermittent FD Leak test failures in CI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Alberto Aguirre | ||
mir (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Probably related to the root cause of lp:1480420
9: [ RUN ] ClientFocusNoti
9: [1438355152.884096] mirserver: Starting
9: [1438355152.886304] mirserver: Selected driver: dummy (version 0.15.0)
9: [1438355152.918872] mirserver: Using software cursor
9: [1438355152.921286] mirserver: Mir version 0.15.0
9: ==21233==
9: ==21233== FILE DESCRIPTORS: 5 open at exit.
9: ==21233== Open file descriptor 7:
9: [ FAILED ] FD leak was detected
9: ==21238==
9: ==21238== FILE DESCRIPTORS: 5 open at exit.
9: ==21238== Open file descriptor 7:
9: ==21238== at 0x6EC21BC: eventfd (eventfd.c:28)
9: ==21238== by 0x7AE6636: ??? (in /lib/x86_
9: ==21238== by 0x7AA0982: g_main_context_new (in /lib/x86_
9: ==21238== by 0x7AA0A5C: g_main_
9: ==21238== by 0x7AA0C34: g_source_attach (in /lib/x86_
9: [ WARNING ] FD leak was detected and ignored
9: ==21238== by 0x50CEFDB: mir::detail:
9: ==21238== by 0x50CBB0F: ~AlarmImpl (glib_main_
9: ==21238== by 0x50CBB0F: (anonymous namespace)
9: ==21238== by 0x513ADC0: operator() (unique_ptr.h:76)
9: ==21238== by 0x513ADC0: ~unique_ptr (unique_ptr.h:236)
9: ==21238== by 0x513ADC0: mir::scene:
9: ==21238== by 0x512796D: _M_release (shared_
9: ==21238== by 0x512796D: ~__shared_count (shared_
9: ==21238== by 0x512796D: ~__shared_ptr (shared_
9: ==21238== by 0x512796D: ~shared_ptr (shared_ptr.h:93)
9: ==21238== by 0x512796D: mir::scene:
9: ==21238== by 0x519A742: _M_release (shared_
9: ==21238== by 0x519A742: ~__shared_count (shared_
9: ==21238== by 0x519A742: ~__shared_ptr (shared_
9: ==21238== by 0x519A742: ~shared_ptr (shared_ptr.h:93)
9: ==21238== by 0x519A742: mir::shell:
9: ==21238== by 0x648694: std::_Sp_
9: ==21238== by 0x642C6C: ~__shared_count (shared_
9: ==21238== by 0x642C6C: ~__shared_ptr (shared_
9: ==21238== by 0x642C6C: ~shared_ptr (shared_ptr.h:93)
9: ==21238== by 0x642C6C: ~ShellWrapper (shell_
9: ==21238== by 0x642C6C: ~MyShell (server_
9: ==21238== by 0x642C6C: destroy<(anonymous namespace)
9: ==21238== by 0x642C6C: _S_destroy<
9: ==21238== by 0x642C6C: destroy<(anonymous namespace)
9: ==21238== by 0x642C6C: std::_Sp_
9: ==21238== by 0x648694: std::_Sp_
9: ==21238== by 0x6486DF: ~__shared_count (shared_
9: ==21238== by 0x6486DF: ~__shared_ptr (shared_
9: ==21238== by 0x6486DF: ~shared_ptr (shared_ptr.h:93)
9: ==21238== by 0x6486DF: ~ServerConfigur
9: ==21238== by 0x6486DF: ~ServerConfigur
9: ==21238== by 0x6486DF: ServerConfigura
9: ==21238== by 0x88B1FF: testing:
9: ==21238== by 0x8966A9: void testing:
9: ==21238== by 0x891376: void testing:
9: ==21238== by 0x87741B: testing:
9: ==21238== by 0x877AD7: testing:
9: ==21238== by 0x87E9A9: testing:
9: ==21238== by 0x897C74: bool testing:
9: ==21238== by 0x892216: bool testing:
9: ==21238== by 0x87D46B: testing:
9: ==21238== by 0x64126E: RUN_ALL_TESTS (gtest.h:2288)
9: ==21238== by 0x64126E: mir_test_
9: ==21238== by 0x6DDBA3F: (below main) (libc-start.c:289)
9: ==21238==
9: ==21238== Open file descriptor 4: /tmp/buildd/
9: ==21238== <inherited from parent>
9: ==21238==
9: ==21238== Open file descriptor 2:
9: ==21238== <inherited from parent>
9: ==21238==
9: ==21238== Open file descriptor 1:
9: ==21238== <inherited from parent>
9: ==21238==
9: ==21238== Open file descriptor 0:
9: ==21238== <inherited from parent>
9: ==21238==
9: ==21238==
9: ==21238== HEAP SUMMARY:
9: ==21238== in use at exit: 87,630 bytes in 137 blocks
9: ==21238== total heap usage: 2,232,879 allocs, 2,232,742 frees, 236,917,836 bytes allocated
9: ==21238==
9: ==21233== at 0x6EC21BC: eventfd (eventfd.c:28)
9: ==21233== by 0x7AE6636: ??? (in /lib/x86_
9: ==21233== by 0x7AA0982: g_main_context_new (in /lib/x86_
9: ==21233== by 0x7AA0A5C: g_main_
9: ==21233== by 0x7AA0C34: g_source_attach (in /lib/x86_
9: ==21233== by 0x50CEFDB: mir::detail:
9: ==21233== by 0x50CBB0F: ~AlarmImpl (glib_main_
9: ==21233== by 0x50CBB0F: (anonymous namespace)
9: ==21233== by 0x513ADC0: operator() (unique_ptr.h:76)
9: ==21233== by 0x513ADC0: ~unique_ptr (unique_ptr.h:236)
9: ==21233== by 0x513ADC0: mir::scene:
9: ==21233== by 0x512796D: _M_release (shared_
9: ==21233== by 0x512796D: ~__shared_count (shared_
9: ==21233== by 0x512796D: ~__shared_ptr (shared_
9: ==21233== by 0x512796D: ~shared_ptr (shared_ptr.h:93)
9: ==21233== by 0x512796D: mir::scene:
9: ==21233== by 0x519A742: _M_release (shared_
9: ==21233== by 0x519A742: ~__shared_count (shared_
9: ==21233== by 0x519A742: ~__shared_ptr (shared_
9: ==21233== by 0x519A742: ~shared_ptr (shared_ptr.h:93)
9: ==21233== by 0x519A742: mir::shell:
9: ==21233== by 0x648694: std::_Sp_
9: ==21233== by 0x642C6C: ~__shared_count (shared_
9: ==21233== by 0x642C6C: ~__shared_ptr (shared_
9: ==21233== by 0x642C6C: ~shared_ptr (shared_ptr.h:93)
9: ==21233== by 0x642C6C: ~ShellWrapper (shell_
9: ==21233== by 0x642C6C: ~MyShell (server_
9: ==21233== by 0x642C6C: destroy<(anonymous namespace)
9: ==21233== by 0x642C6C: _S_destroy<
9: ==21233== by 0x642C6C: destroy<(anonymous namespace)
9: ==21233== by 0x642C6C: std::_Sp_
9: ==21233== by 0x648694: std::_Sp_
9: ==21233== by 0x6486DF: ~__shared_count (shared_
9: ==21233== by 0x6486DF: ~__shared_ptr (shared_
9: ==21233== by 0x6486DF: ~shared_ptr (shared_ptr.h:93)
9: ==21233== by 0x6486DF: ~ServerConfigur
9: ==21233== by 0x6486DF: ~ServerConfigur
9: ==21233== by 0x6486DF: ServerConfigura
9: ==21233== by 0x88B1FF: testing:
9: ==21233== by 0x8966A9: void testing:
9: ==21233== by 0x891376: void testing:
9: ==21233== by 0x87741B: testing:
9: ==21233== by 0x877AD7: testing:
9: ==21233== by 0x87E9A9: testing:
9: ==21233== by 0x897C74: bool testing:
9: ==21233== by 0x892216: bool testing:
9: ==21233== by 0x87D46B: testing:
9: ==21233== by 0x64126E: RUN_ALL_TESTS (gtest.h:2288)
9: ==21233== by 0x64126E: mir_test_
9: ==21233== by 0x6DDBA3F: (below main) (libc-start.c:289)
9: ==21233==
9: ==21233== Open file descriptor 4: /tmp/buildd/
9: ==21233== <inherited from parent>
9: ==21233==
9: ==21233== Open file descriptor 2:
9: ==21233== <inherited from parent>
9: ==21233==
9: ==21233== Open file descriptor 1:
9: ==21233== <inherited from parent>
9: ==21233==
9: ==21233== Open file descriptor 0:
9: ==21233== <inherited from parent>
9: ==21233==
9: ==21233==
9: ==21233== HEAP SUMMARY:
9: ==21233== in use at exit: 87,630 bytes in 137 blocks
9: ==21233== total heap usage: 2,232,952 allocs, 2,232,815 frees, 236,928,162 bytes allocated
9: ==21233==
9: ==21233== LEAK SUMMARY:
9: ==21233== definitely lost: 0 bytes in 0 blocks
9: ==21233== indirectly lost: 0 bytes in 0 blocks
9: ==21233== possibly lost: 533 bytes in 11 blocks
9: ==21233== still reachable: 87,097 bytes in 126 blocks
9: ==21233== suppressed: 0 bytes in 0 blocks
9: ==21233== Reachable blocks (those to which a pointer was found) are not shown.
9: ==21233== To see them, rerun with: --leak-check=full --show-
9: ==21233==
9: ==21233== For counts of detected and suppressed errors, rerun with: -v
9: ==21233== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 1 from 1)
9: ==21238== LEAK SUMMARY:
9: ==21238== definitely lost: 0 bytes in 0 blocks
9: ==21238== indirectly lost: 0 bytes in 0 blocks
9: ==21238== possibly lost: 533 bytes in 11 blocks
9: ==21238== still reachable: 87,097 bytes in 126 blocks
9: ==21238== suppressed: 0 bytes in 0 blocks
9: ==21238== Reachable blocks (those to which a pointer was found) are not shown.
9: ==21238== To see them, rerun with: --leak-check=full --show-
9: ==21238==
9: ==21238== For counts of detected and suppressed errors, rerun with: -v
9: ==21238== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 1 from 1)
9: [1438355154.065264] mirserver: Stopping
9: ==21029==
9: ==21029== FILE DESCRIPTORS: 5 open at exit.
9: ==21029== Open file descriptor 7:
9: ==21029== at 0x6EC21BC: eventfd (eventfd.c:28)
9: ==21029== by 0x7AE6636: ??? (in /lib/x86_
9: ==21029== by 0x7AA0982: g_main_context_new (in /lib/x86_
9: ==21029== by 0x7AA0A5C: g_main_
9: ==21029== by 0x7AA0C34: g_source_attach (in /lib/x86_
9: [ WARNING ] FD leak was detected and ignored
9: ==21029== by 0x50CEFDB: mir::detail:
9: ==21029== by 0x50CBB0F: ~AlarmImpl (glib_main_
9: ==21029== by 0x50CBB0F: (anonymous namespace)
9: ==21029== by 0x513ADC0: operator() (unique_ptr.h:76)
9: ==21029== by 0x513ADC0: ~unique_ptr (unique_ptr.h:236)
9: ==21029== by 0x513ADC0: mir::scene:
9: ==21029== by 0x512796D: _M_release (shared_
9: ==21029== by 0x512796D: ~__shared_count (shared_
9: ==21029== by 0x512796D: ~__shared_ptr (shared_
9: ==21029== by 0x512796D: ~shared_ptr (shared_ptr.h:93)
9: ==21029== by 0x512796D: mir::scene:
9: ==21029== by 0x519A742: _M_release (shared_
9: ==21029== by 0x519A742: ~__shared_count (shared_
9: ==21029== by 0x519A742: ~__shared_ptr (shared_
9: ==21029== by 0x519A742: ~shared_ptr (shared_ptr.h:93)
9: ==21029== by 0x519A742: mir::shell:
9: ==21029== by 0x648694: std::_Sp_
9: ==21029== by 0x642C6C: ~__shared_count (shared_
9: ==21029== by 0x642C6C: ~__shared_ptr (shared_
9: ==21029== by 0x642C6C: ~shared_ptr (shared_ptr.h:93)
9: ==21029== by 0x642C6C: ~ShellWrapper (shell_
9: ==21029== by 0x642C6C: ~MyShell (server_
9: ==21029== by 0x642C6C: destroy<(anonymous namespace)
9: ==21029== by 0x642C6C: _S_destroy<
9: ==21029== by 0x642C6C: destroy<(anonymous namespace)
9: ==21029== by 0x642C6C: std::_Sp_
9: ==21029== by 0x648694: std::_Sp_
9: ==21029== by 0x6486DF: ~__shared_count (shared_
9: ==21029== by 0x6486DF: ~__shared_ptr (shared_
9: ==21029== by 0x6486DF: ~shared_ptr (shared_ptr.h:93)
9: ==21029== by 0x6486DF: ~ServerConfigur
9: ==21029== by 0x6486DF: ~ServerConfigur
9: ==21029== by 0x6486DF: ServerConfigura
9: ==21029== by 0x88B1FF: testing:
9: ==21029== by 0x8966A9: void testing:
9: ==21029== by 0x891376: void testing:
9: ==21029== by 0x87741B: testing:
9: ==21029== by 0x877AD7: testing:
9: ==21029== by 0x87E9A9: testing:
9: ==21029== by 0x897C74: bool testing:
9: ==21029== by 0x892216: bool testing:
9: ==21029== by 0x87D46B: testing:
9: ==21029== by 0x64126E: RUN_ALL_TESTS (gtest.h:2288)
9: ==21029== by 0x64126E: mir_test_
9: ==21029== by 0x6DDBA3F: (below main) (libc-start.c:289)
9: ==21029==
9: ==21029== Open file descriptor 4: /tmp/buildd/
9: ==21029== <inherited from parent>
9: ==21029==
9: ==21029== Open file descriptor 2:
9: ==21029== <inherited from parent>
9: ==21029==
9: ==21029== Open file descriptor 1:
9: ==21029== <inherited from parent>
9: ==21029==
9: ==21029== Open file descriptor 0:
9: ==21029== <inherited from parent>
9: ==21029==
9: ==21029==
9: ==21029== HEAP SUMMARY:
9: ==21029== in use at exit: 87,891 bytes in 139 blocks
9: ==21029== total heap usage: 2,226,288 allocs, 2,226,149 frees, 236,612,130 bytes allocated
9: ==21029==
9: ==21029== LEAK SUMMARY:
9: ==21029== definitely lost: 0 bytes in 0 blocks
9: ==21029== indirectly lost: 0 bytes in 0 blocks
9: ==21029== possibly lost: 538 bytes in 11 blocks
9: ==21029== still reachable: 87,353 bytes in 128 blocks
9: ==21029== suppressed: 0 bytes in 0 blocks
9: ==21029== Reachable blocks (those to which a pointer was found) are not shown.
9: ==21029== To see them, rerun with: --leak-check=full --show-
9: ==21029==
9: ==21029== For counts of detected and suppressed errors, rerun with: -v
9: ==21029== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 1 from 1)
9: [ OK ] ClientFocusNoti
9: [----------] 2 tests from ClientFocusNoti
Related branches
- Alan Griffiths: Approve
- Daniel van Vugt: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 44 lines (+17/-8)1 file modifiedsrc/server/glib_main_loop_sources.cpp (+17/-8)
Changed in mir: | |
status: | New → In Progress |
Changed in mir: | |
milestone: | 0.15.0 → 0.16.0 |
Changed in mir: | |
milestone: | 0.16.0 → 0.15.0 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Fix committed into lp:mir at revision 2805, scheduled for release in mir, milestone 0.16.0