Hello,
I have an issue on SDK2.0 where my QT application crashes with the following output
[ 1115.934859] ------------[ cut here ]------------ [ 1115.939620] WARNING: CPU: 0 PID: 973 at mm/page_alloc.c:6520 free_contig_range+0xa0/0xb8() [ 1115.949102] 375 pages are still in use! [ 1115.953019] Modules linked in: iio_trig_sysfs usb_f_ecm g_ether usb_f_rndis libcomposite u_ether ipv6 cryptodev(O) musb_dsps musb_hdrc usbcore udc_core joydev snd_socn [ 1115.989957] CPU: 0 PID: 973 Comm: kworker/u2:2 Tainted: G W O 4.1.6-g52c4aa7 #9 [ 1115.998930] Hardware name: Generic AM33XX (Flattened Device Tree) [ 1116.005306] Workqueue: tilcdc flip_worker [ 1116.009363] Backtrace: [ 1116.011885] [<c0012b10>] (dump_backtrace) from [<c0012d30>] (show_stack+0x18/0x1c) [ 1116.020368] r7:c0790168 r6:00001978 r5:00000009 r4:00000000 [ 1116.026292] [<c0012d18>] (show_stack) from [<c061b0a8>] (dump_stack+0x20/0x28) [ 1116.033586] [<c061b088>] (dump_stack) from [<c0037d6c>] (warn_slowpath_common+0x7c/0xb4) [ 1116.042475] [<c0037cf0>] (warn_slowpath_common) from [<c0037ddc>] (warn_slowpath_fmt+0x38/0x40) [ 1116.051359] r8:c0876580 r7:00000177 r6:c08cf5c4 r5:0008ec77 r4:c0790854 [ 1116.058601] [<c0037da8>] (warn_slowpath_fmt) from [<c00c5d54>] (free_contig_range+0xa0/0xb8) [ 1116.067742] r3:00000177 r2:c0790854 [ 1116.071528] r4:00000000 [ 1116.074137] [<c00c5cb4>] (free_contig_range) from [<c0106380>] (cma_release+0x94/0xbc) [ 1116.082816] r9:ce4d3000 r8:ceb00000 r7:cd8f1e10 r6:00000001 r5:c08d03fc r4:0008eb00 [ 1116.090860] [<c01062ec>] (cma_release) from [<c04067d8>] (dma_release_from_contiguous+0x34/0x3c) [ 1116.100255] r5:00210c00 r4:00177000 [ 1116.103956] [<c04067a4>] (dma_release_from_contiguous) from [<c001af14>] (__arm_dma_free+0x14c/0x1f8) [ 1116.113806] [<c001adc8>] (__arm_dma_free) from [<c001b010>] (arm_dma_free+0x24/0x2c) [ 1116.121720] r10:cde01b14 r9:cde01a80 r8:cd9d8834 r7:cde01b08 r6:00000001 r5:c001afec [ 1116.130050] r4:ca0c8e00 [ 1116.132650] [<c001afec>] (arm_dma_free) from [<c03e994c>] (drm_gem_cma_free_object+0x5c/0x98) [ 1116.141949] [<c03e98f0>] (drm_gem_cma_free_object) from [<c03cd768>] (drm_gem_object_free+0x30/0x38) [ 1116.151258] r5:ffffffff r4:ca0c8e00 [ 1116.155370] [<c03cd738>] (drm_gem_object_free) from [<c03c8e9c>] (drm_fb_cma_destroy+0xa8/0xb4) [ 1116.164145] [<c03c8df4>] (drm_fb_cma_destroy) from [<c03d7cfc>] (drm_framebuffer_free+0x54/0x58) [ 1116.173676] r10:cd9d9358 r9:cd9d9370 r8:cd85e000 r7:cde01a80 r6:cd9d8800 r5:cd9d895c [ 1116.181731] r4:cde01a84 r3:c03c8df4 [ 1116.185808] [<c03d7ca8>] (drm_framebuffer_free) from [<c03d7d4c>] (drm_framebuffer_unreference+0x4c/0x80) [ 1116.195961] r7:cd9d9350 r6:cd85feb8 r5:cde01a80 r4:cde01a80 [ 1116.201768] [<c03d7d00>] (drm_framebuffer_unreference) from [<c03f53f4>] (unref_worker+0x28/0x34) [ 1116.211229] r4:cd9d88f8 [ 1116.213827] [<c03f53cc>] (unref_worker) from [<c03e6fac>] (flip_worker+0xbc/0xe0) [ 1116.221898] r5:cc7229c0 r4:cd85feb8 [ 1116.225664] [<c03e6ef0>] (flip_worker) from [<c004c43c>] (process_one_work+0x12c/0x374) [ 1116.233735] r10:ca0c8800 r9:00000000 r8:cd803a00 r7:cd94cf00 r6:00000000 r5:cd9d9358 [ 1116.242226] r4:ca0c8800 [ 1116.246021] [<c004c310>] (process_one_work) from [<c004c6e4>] (worker_thread+0x60/0x5cc) [ 1116.255186] r10:ca0c8800 r9:00000000 r8:cd803a00 r7:cd803a10 r6:00000088 r5:ca0c8818 [ 1116.263777] r4:cd803a00 [ 1116.267118] [<c004c684>] (worker_thread) from [<c0051a9c>] (kthread+0xd4/0xf0) [ 1116.274615] r10:00000000 r9:00000000 r8:00000000 r7:c004c684 r6:ca0c8800 r5:cc711900 [ 1116.282514] r4:00000000 [ 1116.285265] [<c00519c8>] (kthread) from [<c000f928>] (ret_from_fork+0x14/0x2c) [ 1116.292519] r7:00000000 r6:00000000 r5:c00519c8 r4:cc711900 [ 1116.298486] ---[ end trace 7ba1fffa9d691d00 ]---
Any idea what could be causing this? The output of gfx_check.sh is
WSEGL settings
[default]
WindowSystem=libpvrDRMWSEGL_FRONT.so
#WindowSystem=libpvrDRMWSEGL.so
#WindowSystem=libpvrQWSWSEGL.so
#WindowSystem=libpvrPVR2D_FRONTWSEGL.so
DisableHWTQTextureUpload=1
------
ARM CPU information
processor : 0
model name : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 298.29
Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc08
CPU revision : 2
Hardware : Generic AM33XX (Flattened Device Tree)
Revision : 0000
Serial : 0000000000000000
------
SGX driver information
Version SGX_DDK_Linux_CustomerTI sgxddk 19 1.9@2253347 (release) omap335x_linux
System Version String: SGX revision = 125
------
Framebuffer settings
mode "480x800"
geometry 480 800 480 800 16
timings 0 0 0 0 0 0 0
accel true
rgba 5/10,5/5,5/0,1/15
endmode
Frame buffer device information:
Name :
Address : 0x8e900000
Size : 1536000
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 1
YPanStep : 1
YWrapStep : 0
LineLength : 1920
Accelerator : No
------
Rotation settings
0
------
Kernel Module information
Module Size Used by
iio_trig_sysfs 3341 2
usb_f_ecm 8211 1
g_ether 4803 0
usb_f_rndis 21059 2 g_ether
libcomposite 47227 3 usb_f_ecm,usb_f_rndis,g_ether
u_ether 14662 3 usb_f_ecm,usb_f_rndis,g_ether
ipv6 303675 24
cryptodev 33670 0
musb_dsps 7797 0
musb_hdrc 69070 1 musb_dsps
usbcore 189289 1 musb_hdrc
udc_core 11612 2 musb_hdrc,libcomposite
joydev 9160 0
snd_soc_simple_card 6396 0
pm33xx 4633 0
omapdrm_pvr 336001 0
omap_rng 4470 0
rng_core 7464 2 omap_rng
zsc31014 2190 0
industrialio_triggered_buffer 1395 1 zsc31014
kfifo_buf 3028 1 industrialio_triggered_buffer
evdev 10092 0
industrialio 47775 4 industrialio_triggered_buffer,iio_trig_sysfs,kfifo_buf,zsc31014
hx8379_lcd 3745 0
edt_ft5x06 10127 0
snd_soc_tlv320aic31xx 21542 1
musb_am335x 1240 0
rtc_omap 7578 0
omap_wdt 4479 0
cpufreq_voltdm 3277 0
leds_gpio 3445 0
thermal_sys 39123 1 cpufreq_voltdm
hwmon 3823 1 thermal_sys
------
Boot settings
console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
------
Linux Kernel version
Linux am335x-evm 4.1.6-g52c4aa7 #9 PREEMPT Tue Nov 24 09:27:05 GMT 2015 armv7l GNU/Linux
Thanks