[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#616485: libgl1-mesa-dri/radeon: [amd64] iceweasel segfault from flashplugin-nonfree inside libgl-mesa-*



On Fri, Mar 04, 2011 at 10:30:52PM +0100, Cyril Brulebois wrote:
> Hi Yann,
> 
> Yann Dirson <ydirson@free.fr> (04/03/2011):
> > My main iceweasel session started yesterday to crash the browser.
> > It has many tabs open (read ~100), so locating the precise page will
> > unfortunately take some time (I'll keep the session for further
> > investigation anyway).  Running it under -debug, I got different
> > backtraces, but the common point is:
> > 
> > * the crash occurs in libgl1-mesa-* (the
> >   numerous initial debug sessions without -dbg package installed
> >   pointed to -dri, but afterwards I got other trace involving -glx)
> > * the libgl* functions are called from flashplugin-nonfree
> > 
> > Note that I had upgraded mesalibs to unstable the same day, but it was
> > after the first crashes, in the hope that they would be fixed:
> > 
> > [UPGRADE] libgl1-mesa-dev 7.7.1-4 -> 7.10-4
> > [UPGRADE] libgl1-mesa-dri 7.7.1-4 -> 7.10-4
> > [UPGRADE] libgl1-mesa-glx 7.7.1-4 -> 7.10-4
> > [UPGRADE] mesa-common-dev 7.7.1-4 -> 7.10-4
> 
> what if you try 7.10-2 from snapshot.d.o?

Still crashes, even after restart X (for the 3rd backtrace here only),
but different traces:

#0  _math_matrix_analyse (mat=0x0) at math/m_matrix.c:1372
#1  0x00007fffa76ead98 in _mesa_update_modelview_project (ctx=0x7fffa7102000, new_state=<value optimized out>) at main/matrix.c:624
#2  0x00007fffa7715823 in _mesa_update_state_locked (ctx=0x7fffa7102000) at main/state.c:585
#3  0x00007fffa7715d21 in _mesa_update_state (ctx=0x7fffa7102000) at main/state.c:674
#4  0x00007fffa7693fdc in radeonMakeCurrent (driContextPriv=<value optimized out>, driDrawPriv=0x7fffa2205e80, driReadPriv=0x7fffa2205e80) at radeon_common_context.c:839
#5  0x00007fffa76544e7 in driBindContext (pcp=0x7fffa58ccd80, pdp=0x14e1007, prp=0x7fffa2205e80) at ../common/dri_util.c:196
#6  0x00007fffa7feeb2f in dri2_bind_context (context=0x7fffb9190da0, old=<value optimized out>, draw=<value optimized out>, read=<value optimized out>) at dri2_glx.c:149
#7  0x00007fffa7fc8453 in MakeContextCurrent (dpy=0x7ffff6d72000, draw=41960380, read=41960380, gc_user=<value optimized out>) at glxcurrent.c:263
#8  0x00007fffaf5ea51c in ?? () from /usr/lib/flashplugin-nonfree/libflashplayer.so
[...]

#0  _mesa_lock_context_textures (ctx=0x0) at main/texobj.c:1242
#1  0x00007fffa2eb7d19 in _mesa_update_state (ctx=0x0) at main/state.c:673
#2  0x00007fffa2e35fdc in radeonMakeCurrent (driContextPriv=<value optimized out>, driDrawPriv=0x7fffd0791c40, driReadPriv=0x7fffd0791c40) at radeon_common_context.c:839
#3  0x00007fffa2df64e7 in driBindContext (pcp=0x7fffcecaff80, pdp=0x7fffa37963d0, prp=0x7fffd0791c40) at ../common/dri_util.c:196
#4  0x00007fffa3790b2f in dri2_bind_context (context=0x7fffca0abfc0, old=<value optimized out>, draw=<value optimized out>, read=<value optimized out>) at dri2_glx.c:149
#5  0x00007fffa376a453 in MakeContextCurrent (dpy=0x7ffff6d72000, draw=41966645, read=41966645, gc_user=<value optimized out>) at glxcurrent.c:263
#6  0x00007fffaa8f851c in ?? () from /usr/lib/flashplugin-nonfree/libflashplayer.so
[...]

#0  0x00007fffafb8d837 in _math_matrix_viewport (m=0x7fffaf511b18, x=0, y=0, width=0, height=0, zNear=0, zFar=<value optimized out>, depthMax=65535) at math/m_matrix.c:1121
#1  0x00007fffafb7fcd7 in _mesa_set_viewport (ctx=0x7fffaf502000, x=0, y=0, width=0, height=0) at main/viewport.c:90
#2  0x00007fffafb01515 in _mesa_check_init_viewport (ctx=0x7fffaf511b18, width=640, height=390) at main/context.c:1378
#3  0x00007fffafb018db in _mesa_make_current (newCtx=0x7fffaf502000, drawBuffer=0x7fffa9a4e800, readBuffer=0x7fffa9a4e800) at main/context.c:1511
#4  0x00007fffafaddfcf in radeonMakeCurrent (driContextPriv=<value optimized out>, driDrawPriv=0x7fffa8279480, driReadPriv=0x7fffa8279480) at radeon_common_context.c:835
#5  0x00007fffafa9e4e7 in driBindContext (pcp=0x7fffde814840, pdp=0x0, prp=0x7fffa8279480) at ../common/dri_util.c:196
#6  0x00007fffb0438b2f in dri2_bind_context (context=0x7fffb9b2f300, old=<value optimized out>, draw=<value optimized out>, read=<value optimized out>) at dri2_glx.c:149
#7  0x00007fffb0412453 in MakeContextCurrent (dpy=0x7ffff6d72000, draw=52440619, read=52440619, gc_user=<value optimized out>) at glxcurrent.c:263
#8  0x00007fffb66f851c in ?? () from /usr/lib/flashplugin-nonfree/libflashplayer.so
[...]

> Maybe r600c instead of r600g
> will help. See 3rd bullet on: http://blog.ikibiki.org/2011/02/21/DXN-6/

Ah, so that's planned for 7.10-5 or so ?  But then 7.10-2 would have
made things better, if I understand well.

I also note that I still have the old 7.7.1 glu packages.  Not being
sure about the effect of any mismatch here...

Should I try to downgrade any other packages ?  Or to another specific
version ?



Reply to: