Summary: | xrandr makes Xorg memory leak on Debian8 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | jorge_monteagudo | ||||||||||||
Component: | Server/Ext/RandR | Assignee: | Xorg Project Team <xorg-team> | ||||||||||||
Status: | RESOLVED DUPLICATE | QA Contact: | Xorg Project Team <xorg-team> | ||||||||||||
Severity: | normal | ||||||||||||||
Priority: | medium | ||||||||||||||
Version: | unspecified | ||||||||||||||
Hardware: | Other | ||||||||||||||
OS: | All | ||||||||||||||
Whiteboard: | |||||||||||||||
i915 platform: | i915 features: | ||||||||||||||
Attachments: |
|
Description
jorge_monteagudo
2017-02-20 07:18:49 UTC
Created attachment 129749 [details]
Little test app implementing xrandr loop
Created attachment 129750 [details]
Script to read memfree from /proc/meminfo and stay alive while a given process is alive
Created attachment 129751 [details]
dmesg
As mentioned in bug 99521, there will likely be no more upstream 1.18.y releases, much less 1.16.y. Does the problem also happen with a different Xorg driver? If so, can you reproduce with Xorg running in valgrind --leak-check=full and attach the valgrind output (from after Xorg terminated) here? Make sure debugging symbols are available for the binaries of Xorg and its modules. Hi, Xorg running under valgrind with this command: #!/bin/bash exec valgrind --error-limit=no --log-file=/home/Xorg-valgrind.log --leak-check=full --leak-resolution=high --show-reachable=yes /usr/bin/Xorg.valgrind-testing "$@" I've attached a log with the test app running 1 hour more or less... Next night I'll leave the test running with valgrind but I think something is shown in the log. Basically this calls ==659== 307,824 bytes in 1,749 blocks are still reachable in loss record 470 of 473 ==659== at 0x4C2AD10: calloc (vg_replace_malloc.c:623) ==659== by 0x2C5140: XNFcalloc (utils.c:1129) ==659== by 0x1DCBA7: DDCModeFromDetailedTiming (xf86EdidModes.c:583) ==659== by 0x1DCBA7: handle_detailed_modes (xf86EdidModes.c:1010) ==659== by 0x1E91CF: xf86ForEachDetailedBlock (interpret_edid.c:247) ==659== by 0x1DD10F: xf86DDCGetModes (xf86EdidModes.c:1066) ==659== by 0x1DD2D4: xf86EdidMonitorSet (xf86EdidModes.c:1172) ==659== by 0x1EAF63: xf86SetDDCproperties (ddcProperty.c:81) ==659== by 0x9728257: amd_xserver116_xf86OutputSetEDID (in /usr/lib/xorg/modules/drivers/fglrx_drv.so) ==659== by 0x8FA0EEC: amd_xf86OutputSetEDID (in /usr/lib/xorg/modules/drivers/fglrx_drv.so) ==659== by 0x91E2638: atiddxDisplayMonitorCallbackDetect (in /usr/lib/xorg/modules/drivers/fglrx_drv.so) ==659== by 0x972677D: amd_xserver116_xf86ProbeOutputModes (in /usr/lib/xorg/modules/drivers/fglrx_drv.so) ==659== by 0x97307D2: xf86RandR12GetInfo12 (in /usr/lib/xorg/modules/drivers/fglrx_drv.so) ==659== ==659== 307,824 bytes in 1,749 blocks are still reachable in loss record 471 of 473 ==659== at 0x4C2AD10: calloc (vg_replace_malloc.c:623) ==659== by 0x2C5140: XNFcalloc (utils.c:1129) ==659== by 0x1DB446: xf86GTFMode (xf86gtf.c:107) ==659== by 0x1DCA11: DDCModesFromStandardTiming.isra.7 (xf86EdidModes.c:492) ==659== by 0x1DD1A0: xf86DDCGetModes (xf86EdidModes.c:1074) ==659== by 0x1DD2D4: xf86EdidMonitorSet (xf86EdidModes.c:1172) ==659== by 0x1EAF63: xf86SetDDCproperties (ddcProperty.c:81) ==659== by 0x9728257: amd_xserver116_xf86OutputSetEDID (in /usr/lib/xorg/modules/drivers/fglrx_drv.so) ==659== by 0x8FA0EEC: amd_xf86OutputSetEDID (in /usr/lib/xorg/modules/drivers/fglrx_drv.so) ==659== by 0x91E2638: atiddxDisplayMonitorCallbackDetect (in /usr/lib/xorg/modules/drivers/fglrx_drv.so) ==659== by 0x972677D: amd_xserver116_xf86ProbeOutputModes (in /usr/lib/xorg/modules/drivers/fglrx_drv.so) ==659== by 0x97307D2: xf86RandR12GetInfo12 (in /usr/lib/xorg/modules/drivers/fglrx_drv.so) ==659== ==659== 410,432 bytes in 2,332 blocks are still reachable in loss record 472 of 473 ==659== at 0x4C28C20: malloc (vg_replace_malloc.c:296) ==659== by 0x2C5108: XNFalloc (utils.c:1113) ==659== by 0x1DDAA2: xf86DuplicateMode (xf86Modes.c:218) ==659== by 0x1DD16C: DDCModesFromEstablished (xf86EdidModes.c:307) ==659== by 0x1DD16C: xf86DDCGetModes (xf86EdidModes.c:1070) ==659== by 0x1DD2D4: xf86EdidMonitorSet (xf86EdidModes.c:1172) ==659== by 0x1EAF63: xf86SetDDCproperties (ddcProperty.c:81) ==659== by 0x9728257: amd_xserver116_xf86OutputSetEDID (in /usr/lib/xorg/modules/drivers/fglrx_drv.so) ==659== by 0x8FA0EEC: amd_xf86OutputSetEDID (in /usr/lib/xorg/modules/drivers/fglrx_drv.so) ==659== by 0x91E2638: atiddxDisplayMonitorCallbackDetect (in /usr/lib/xorg/modules/drivers/fglrx_drv.so) ==659== by 0x972677D: amd_xserver116_xf86ProbeOutputModes (in /usr/lib/xorg/modules/drivers/fglrx_drv.so) ==659== by 0x97307D2: xf86RandR12GetInfo12 (in /usr/lib/xorg/modules/drivers/fglrx_drv.so) ==659== by 0x224D21: RRGetInfo (rrinfo.c:196) ==659== Regards Created attachment 129788 [details]
Xorg running under Valgrind log
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.