Mir

Mir clients leak all driver modules including the unused ones, keeping them resident

Bug #1527449 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Medium
Daniel van Vugt
mir (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Mir clients leak all driver modules including the unused ones, keeping them resident.

$ sudo mir_demo_server
$ sudo mir_demo_client_egltriangle
$ sudo grep client- /proc/`pidof mir_demo_client_egltriangle`/maps
7f7ff23e7000-7f7ff23f5000 r-xp 00000000 08:02 6050064 /usr/lib/x86_64-linux-gnu/mir/client-platform/mesa.so.3
7f7ff23f5000-7f7ff25f5000 ---p 0000e000 08:02 6050064 /usr/lib/x86_64-linux-gnu/mir/client-platform/mesa.so.3
7f7ff25f5000-7f7ff25f6000 r--p 0000e000 08:02 6050064 /usr/lib/x86_64-linux-gnu/mir/client-platform/mesa.so.3
7f7ff25f6000-7f7ff25f7000 rw-p 0000f000 08:02 6050064 /usr/lib/x86_64-linux-gnu/mir/client-platform/mesa.so.3
7f7ff2c22000-7f7ff2c35000 r-xp 00000000 08:02 6051608 /usr/lib/x86_64-linux-gnu/mir/client-platform/android.so.3
7f7ff2c35000-7f7ff2e35000 ---p 00013000 08:02 6051608 /usr/lib/x86_64-linux-gnu/mir/client-platform/android.so.3
7f7ff2e35000-7f7ff2e36000 r--p 00013000 08:02 6051608 /usr/lib/x86_64-linux-gnu/mir/client-platform/android.so.3
7f7ff2e36000-7f7ff2e37000 rw-p 00014000 08:02 6051608 /usr/lib/x86_64-linux-gnu/mir/client-platform/android.so.3

I think this also explains bug 1526658 as some people might also have mesa.so.2 still installed.

Related branches

description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

OK, this looks really simple. The only challenge is fixing it in a way that also simplifies the code.

Changed in mir:
status: Triaged → In Progress
Changed in mir:
milestone: 0.19.0 → 0.20.0
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir at revision 3258, scheduled for release in mir, milestone 0.20.0

Changed in mir:
status: In Progress → Fix Committed
Changed in mir:
milestone: 0.20.0 → 0.19.0
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

mir (0.19.0+16.04.20160128-0ubuntu1) xenial; urgency=medium

Changed in mir:
status: Fix Committed → Fix Released
Changed in mir (Ubuntu):
status: New → Fix Released
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir at revision 3286, scheduled for release in mir, milestone 0.20.0

Changed in mir:
status: Fix Released → Fix Committed
Changed in mir:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.