Forum Discussion
JGurn
New Contributor
7 years agoIt appears that there is an X11 feature that Quartus uses that requires a native or 3d accelerated Xserver to run. There is apparently some error recovery code that frees an invalid pointer when the resource fails to allocate, and by using tcmalloc, it ignores it.
The reason I believe this is the issue is that when running under VirtualBox, when I had 3d acceleration enabled it would run fine natively, but get the free(): invalid pointer when run over an ssh -X tunnel. When I disabled 3d acceleration (because there are some redraw issues w/ it), I got the same issues when run natively. LD_PRELOAD'ing tcmalloc fixed it both when running w/o 3d acceleration enabled and over an ssh -X tunnel.