[Mesa-dev] Double free error on etnaviv driver.
Nazarov Sergey
s-nazarov at yandex.ru
Thu Jan 17 15:14:28 UTC 2019
Hi, Lucas!
Here is result of execution standard Qt5 example application mainwindow
built under custom buildroot with gcc-4.9.4, mesa3d-17.3.6.
But we had the same error with latest buildroot and latest supported mesa and gcc.
---
# ./mainwindow
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/root/.tmp/runtime-root'
Failed to move cursor on screen LVDS1: -14
*** Error in `./mainwindow': double free or corruption (fasttop): 0x021295b8 ***
Aborted
---
Some from valgrind output:
==1473== Invalid free() / delete / delete[] / realloc()
==1473== at 0x48469F8: free (vg_replace_malloc.c:530)
==1473== by 0x825C61B: _mesa_glsl_release_builtin_functions() (in /usr/lib/dri/imx-drm_dri.so)
==1473== by 0x8286113: _mesa_destroy_shader_compiler (in /usr/lib/dri/imx-drm_dri.so)
==1473== by 0x808F073: one_time_fini (in /usr/lib/dri/imx-drm_dri.so)
==1473== Address 0x96f4ee8 is 0 bytes inside a block of size 24 free'd
==1473== at 0x48469F8: free (vg_replace_malloc.c:530)
==1473== by 0x4015CF7: _dl_close_worker (in /lib/ld-2.23.so)
==1473== Block was alloc'd at
==1473== at 0x48454B0: malloc (vg_replace_malloc.c:299)
==1473== by 0x829EA7F: ralloc_size (in /usr/lib/dri/imx-drm_dri.so)
Regards, Sergey.
More information about the mesa-dev
mailing list