[Mesa-dev] Fwd: munmap_chunk(): invalid pointer in libgl1-mesa-dri_9.2.1-1
Ian Romanick
idr at freedesktop.org
Fri Jan 17 13:02:49 PST 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/16/2014 10:42 PM, scarp wrote:
> Hi,
>
> I originally posted this to dri-users and got no response. I
> thought about it further and decided it's really a bug and deserves
> to be posted to dri-devel, after all it is a crash and crashes are
> supposed to be handled.
These days dri-* is generally for kernel related discussions. mesa-*
is the right place. I'm moving the discussion to mesa-dev.
> Any custom configurations provided by Whonix can be found in:
>
> Gateway VM that has Tor process:
> https://github.com/adrelanos/Whonix/tree/master/whonix_gateway
>
> Shared, files that are used in both virtual machines
> https://github.com/adrelanos/Whonix/tree/master/whonix_shared
>
> Files only used in the Workstation VM
> https://github.com/adrelanos/Whonix/tree/master/whonix_workstation
>
>
> In case this is something like a grub config option or something
> like that is why I posted these.
>
>
> -------- Original Message -------- Subject: munmap_chunk(): invalid
> pointer in libgl1-mesa-dri_9.2.1-1 Date: Thu, 26 Dec 2013 07:13:45
> +0000 From: scarp <scarp at riseup.net> To:
> dri-users at lists.freedesktop.org
>
> Hi,
>
> I've been testing the privacy orientated virtual machine
> distribution Whonix http://whonix.org. It's a Debian blend
> specifically designed to be an anonymous operating system. In this
> case I am using the latest VirtualBox (4.3.6) - without guest
> utilities.
>
> Recently I started having some problems with xvideo, in things
> like mplayer and vlc, and also glxinfo from mesa-utils. Where they
> would simply crash with an error and a backtrace. Exactly this one:
> (full crash attached)
>
> *** Error in `glxinfo': munmap_chunk(): invalid pointer:
> 0x000000000138d8a0 *** ======= Backtrace: =========
> /lib/x86_64-linux-gnu/libc.so.6(+0x7aa16)[0x7f88a36f2a16]
> /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x248688)[0x7f88a04e6688]
>
>
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x3263a3)[0x7f88a05c43a3]
> /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x14f412)[0x7f88a03ed412]
>
>
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(dri_destroy_context+0x38)[0x7f88a0597a58]
> /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x450c3)[0x7f88a02e30c3]
>
>
/usr/lib/x86_64-linux-gnu/libGL.so.1(+0x3b34f)[0x7f88a42aa34f]
> /usr/lib/x86_64-linux-gnu/libGL.so.1(+0x1c281)[0x7f88a428b281]
> /usr/lib/x86_64-linux-gnu/libGL.so.1(+0x1c305)[0x7f88a428b305]
> /usr/lib/x86_64-linux-gnu/libX11.so.6(XCloseDisplay+0xa2)[0x7f88a3c55c02]
>
>
glxinfo[0x401c14]
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f88a3699995]
>
>
glxinfo[0x401ee6]
If this distro has "debug" packages, you should install those for
libgl1-mesa-dri. That way the backtrace can have source file names
and line numbers. You might also try running with valgrind.
> I discovered the problem was directly related to libgl1-mesa-dri.
> Rolling back to the previous version of the package made the
> problem disappear.
>
> libgl1-mesa-dri_9.1.7-1 works
> http://snapshot.debian.org/package/mesa/9.1.7-1/#libgl1-mesa-dri_9.1.7-1
>
> libgl1-mesa-dri_9.2.1-1 doesn't
> http://snapshot.debian.org/package/mesa/9.2-1/#libgl1-mesa-dri_9.2-1
>
> I'm wondering what could have changed in between these two
> versions?
>
> I installed the whole "xorg" metapackage from Debian and it didn't
> seem to help. I thought maybe some functionality of
> libgl1-mesa-dri might have been modularized into another package.
> Rolling that package back seemed to fix it.
>
> Whonix by default uses KDE, however I was able to reproduce the
> crash when using TWM as well.
>
> The interesting thing is I couldn't reproduce it with a stock
> standard desktop install from debian-testing-amd64-kde-CD-1.iso I
> did a comparison of the packages installed ie dpkg -l in both
> Whonix and debian-testing-amd64-kde-CD-1.iso and didn't find that
> anything was missing.
>
> It has been reported by one other user
> https://www.whonix.org/wiki/Special:AWCforum/st/id282/vlc_video_crash.html
>
>
and while a work around for VLC was found it doesn't really solve this
> issue.
>
> If anyone doesn't know what could be causing this perhaps you can
> give me some tips on how to find out what is.
>
>
>
>
> _______________________________________________ dri-devel mailing
> list dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
iEYEARECAAYFAlLZmnUACgkQX1gOwKyEAw81+ACcCqyjnMfMu4SzW0YAXY9cNLy2
ZVcAn13HVtF/AATtrMW0+TPzIAwfmC3z
=Yko4
-----END PGP SIGNATURE-----
More information about the mesa-dev
mailing list