CI failures caused by NestedServer.applies_display_config_on_startup memory error (invalid read of size 8)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
New
|
Undecided
|
Unassigned | ||
mir (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
12:10:32 11: [ RUN ] NestedServer.
12:10:32 11: [2016-08-03 12:10:32.254941] mirserver: Starting
12:10:32 11: [2016-08-03 12:10:32.256803] mirserver: Selected driver: mir:stub-graphics (version 0.25.0)
12:10:32 11: [2016-08-03 12:10:32.260847] mirserver: Using software cursor
12:10:32 11: [2016-08-03 12:10:32.282496] mirserver: Selected input driver: mir:stub-input (version: 0.25.0)
12:10:32 11: [2016-08-03 12:10:32.283421] mirserver: Mir version 0.25.0
12:10:32 11: [2016-08-03 12:10:32.332147] mirserver: Starting
12:10:32 11: [2016-08-03 12:10:32.454335] mirserver: Using nested cursor
12:10:32 11: [2016-08-03 12:10:32.504765] mirserver: Initial display configuration:
12:10:32 11: [2016-08-03 12:10:32.505625] mirserver: 1.1: VGA 0.0" 0x0mm
12:10:32 11: [2016-08-03 12:10:32.505887] mirserver: Current mode 640x480 60.00Hz
12:10:32 11: [2016-08-03 12:10:32.506133] mirserver: Preferred mode 640x480 60.00Hz
12:10:32 11: [2016-08-03 12:10:32.506341] mirserver: Logical position +0+0
12:10:32 11: [2016-08-03 12:10:32.506978] mirserver: 1.2: VGA 0.0" 0x0mm
12:10:32 11: [2016-08-03 12:10:32.507230] mirserver: Current mode 1920x1080 60.00Hz
12:10:32 11: [2016-08-03 12:10:32.507475] mirserver: Preferred mode 1920x1080 60.00Hz
12:10:32 11: [2016-08-03 12:10:32.507690] mirserver: Logical position +640+0
12:10:32 11: [2016-08-03 12:10:32.521401] mirserver: Mir version 0.25.0
12:10:32 11: [2016-08-03 12:10:32.650729] mirserver: Stopping
12:10:32 11: ==11247== Thread 11 Input dispatch:
12:10:32 11: ==11247== Invalid read of size 8
12:10:32 11: ==11247== at 0x4116330: mir::graphics:
12:10:32 11: ==11247== by 0x4E6BDBD: std::_Function_
12:10:32 11: ==11247== by 0x4EA007F: mir::input:
12:10:32 11: ==11247== by 0x50E2209: operator() (functional:2267)
12:10:32 11: ==11247== by 0x50E2209: (anonymous namespace)
12:10:32 11: ==11247== by 0x50E330C: mir::dispatch:
12:10:32 11: ==11247== by 0x50E330C: mir::dispatch:
12:10:32 11: ==11247== by 0x50F250E: (anonymous namespace)
12:10:32 11: ==11247== by 0x50EACFD: _M_invoke (functional:1531)
12:10:32 11: ==11247== by 0x50EACFD: operator() (functional:1520)
12:10:32 11: ==11247== by 0x50EACFD: std::thread:
12:10:32 11: ==11247== by 0x586496F: ??? (in /usr/lib/
12:10:32 11: ==11247== by 0x5D4F709: start_thread (pthread_
12:10:32 11: ==11247== by 0x606B6AC: clone (clone.S:109)
12:10:32 11: ==11247== Address 0xe043c20 is 64 bytes inside a block of size 136 free'd
12:10:32 11: ==11247== at 0x4C2F24B: operator delete(void*) (in /usr/lib/
12:10:32 11: ==11247== by 0x41125B8: _M_release (shared_
12:10:33 11: ==11247== by 0x41125B8: __base_dtor (shared_
12:10:33 11: ==11247== by 0x41125B8: __base_dtor (shared_
12:10:33 11: ==11247== by 0x41125B8: __base_dtor (shared_ptr.h:93)
12:10:33 11: ==11247== by 0x41125B8: __base_dtor (stl_pair.h:96)
12:10:33 11: ==11247== by 0x41125B8: destroy (new_allocator.
12:10:33 11: ==11247== by 0x41125B8: destroy (alloc_
12:10:33 11: ==11247== by 0x41125B8: std::__
12:10:33 11: ==11247== by 0x4119877: _M_deallocate_nodes (hashtable_
12:10:33 11: ==11247== by 0x4119877: clear (hashtable.h:1914)
12:10:33 11: ==11247== by 0x4119877: std::_Hashtable
12:10:33 11: ==11247== by 0x4107FB6: __base_dtor (unordered_
12:10:33 11: ==11247== by 0x4107FB6: mir::graphics:
12:10:33 11: ==11247== by 0x4108058: mir::graphics:
12:10:33 11: ==11247== by 0x41410E5: std::_Sp_
12:10:33 11: ==11247== by 0x4141860: __base_dtor (shared_
12:10:33 11: ==11247== by 0x4141860: __base_dtor (shared_
12:10:33 11: ==11247== by 0x4141860: __base_dtor (shared_ptr.h:93)
12:10:33 11: ==11247== by 0x4141860: __base_dtor (display_
12:10:33 11: ==11247== by 0x4141860: mir::DisplaySer
12:10:33 11: ==11247== by 0x40B39DF: mir::run_
12:10:33 11: ==11247== by 0x4089425: mir::Server::run() (server.cpp:454)
12:10:33 11: ==11247== by 0x53C693: operator() (async_
12:10:33 11: ==11247== by 0x53C693: _M_invoke<> (functional:1531)
12:10:33 11: ==11247== by 0x53C693: operator() (functional:1520)
12:10:33 11: ==11247== by 0x53C693: std::thread:
12:10:33 11: ==11247== by 0x586496F: ??? (in /usr/lib/
12:10:33 11: ==11247== by 0x5D4F709: start_thread (pthread_
12:10:33 11: ==11247== by 0x606B6AC: clone (clone.S:109)
12:10:33 11: ==11247== Block was alloc'd at
12:10:33 11: ==11247== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/
12:10:33 11: ==11247== by 0x410523E: mir::graphics:
12:10:33 11: ==11247== by 0x41DCD83: operator() (functional:2267)
12:10:33 11: ==11247== by 0x41DCD83: mir::graphics:
12:10:33 11: ==11247== by 0x412BB25: mir::graphics:
12:10:33 11: ==11247== by 0x41082F1: mir::graphics:
12:10:33 11: ==11247== by 0x4116ED6: make_module_ptr (module_
12:10:33 11: ==11247== by 0x4116ED6: mir::graphics:
12:10:33 11: ==11247== by 0x40E38B5: operator() (default_
12:10:33 11: ==11247== by 0x40E38B5: std::_Function_
12:10:33 11: ==11247== by 0x40EC042: operator() (functional:2267)
12:10:33 11: ==11247== by 0x40EC042: mir::CachedPtr<
12:10:33 11: ==11247== by 0x4134C06: mir::DefaultSer
12:10:33 11: ==11247== by 0x40B36E1: __base_ctor (display_
12:10:33 11: ==11247== by 0x40B36E1: __base_ctor (display_
12:10:33 11: ==11247== by 0x40B36E1: mir::run_
12:10:33 11: ==11247== by 0x4089425: mir::Server::run() (server.cpp:454)
12:10:33 11: ==11247== by 0x53C693: operator() (async_
12:10:33 11: ==11247== by 0x53C693: _M_invoke<> (functional:1531)
12:10:33 11: ==11247== by 0x53C693: operator() (functional:1520)
12:10:33 11: ==11247== by 0x53C693: std::thread:
12:10:33 11: ==11247== by 0x586496F: ??? (in /usr/lib/
12:10:33 11: ==11247== by 0x5D4F709: start_thread (pthread_
12:10:33 11: ==11247== by 0x606B6AC: clone (clone.S:109)
12:10:33 11: ==11247==
12:10:33 11: [2016-08-03 12:10:32.774153] mirserver: Stopping
12:10:33 11: [ OK ] NestedServer.
tags: | added: testsfail |
Seen again here: https:/ /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= clang,platform= mesa,release= vivid+overlay/ 1772/console