[Mesa-dev] [Bug 37177] Mathematica Plot3D Crash

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 1 05:22:53 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=37177

Ivan Iakoupov <voxiac at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Mathematica Plot3D: Crash   |Mathematica Plot3D Crash
                   |in dri2InvalidateBuffers    |

--- Comment #1 from Ivan Iakoupov <voxiac at gmail.com> 2011-06-01 05:22:51 PDT ---
I did some updates: libdrm, mesa, xf86-videl-intel to recent'ish versions from
master, kernel 2.6.39 (xserver is still 1.9.5 though). Now I cannot reproduce
any crash with that apitrace file. I can still reliably reproduce it using
Mathematica 8 itself though. Just open a new notebook. Type something like

Plot3D[Sin[x*y], {x, 0, 1}, {y, 0, 1}]

Shift+Enter to run and then rotate the resulting plot with the mouse. Upon
releasing the mouse button it crashes. Backtrace is this

Program received signal SIGSEGV, Segmentation fault.
intelDRI2Flush (drawable=<value optimized out>) at intel_screen.c:111
111       if (intel->gen < 4)
(gdb) bt
#0  intelDRI2Flush (drawable=<value optimized out>) at intel_screen.c:111
#1  0x00007f5517f51d23 in dri2SwapBuffers (pdraw=<value optimized out>,
target_msc=0, divisor=0, 
    remainder=0) at dri2_glx.c:542
#2  0x0000000000a9a425 in ?? ()
#3  0x0000000000ad934b in ?? ()
#4  0x0000000000cce6d5 in ?? ()
#5  0x0000000000cd16c2 in ?? ()
#6  0x000000000044174e in ?? ()
#7  0x0000000000441c0a in ?? ()
#8  0x0000000000437bab in ?? ()
#9  0x0000000000990fc4 in ?? ()
#10 0x0000000000992084 in ?? ()
#11 0x00000000009b3d00 in ?? ()
#12 0x00000000009ec0e3 in ?? ()
#13 0x00000000009dd6fc in ?? ()
#14 0x00000000009dd900 in ?? ()
#15 0x00007f5516d5db8f in QWidget::event(QEvent*) ()
   from
/home/ivan/Mathematica/8.0/SystemFiles/Libraries/Linux-x86-64/libQtGui.so.4
#16 0x00007f5516d0555f in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
   from
/home/ivan/Mathematica/8.0/SystemFiles/Libraries/Linux-x86-64/libQtGui.so.4
#17 0x00007f5516d096b7 in QApplication::notify(QObject*, QEvent*) ()
   from
/home/ivan/Mathematica/8.0/SystemFiles/Libraries/Linux-x86-64/libQtGui.so.4
#18 0x00007f55166c6024 in QCoreApplication::notifyInternal(QObject*, QEvent*)
()
   from
/home/ivan/Mathematica/8.0/SystemFiles/Libraries/Linux-x86-64/libQtCore.so.4
#19 0x00007f5516d08b86 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from
/home/ivan/Mathematica/8.0/SystemFiles/Libraries/Linux-x86-64/libQtGui.so.4
#20 0x00007f5516d88569 in ?? ()
   from
/home/ivan/Mathematica/8.0/SystemFiles/Libraries/Linux-x86-64/libQtGui.so.4
#21 0x00007f5516d873d7 in QApplication::x11ProcessEvent(_XEvent*) ()
   from
/home/ivan/Mathematica/8.0/SystemFiles/Libraries/Linux-x86-64/libQtGui.so.4
#22 0x00007f5516db0252 in ?? ()
   from
/home/ivan/Mathematica/8.0/SystemFiles/Libraries/Linux-x86-64/libQtGui.so.4
#23 0x00007f55132f67ae in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#24 0x00007f55132f6f98 in g_main_context_iterate.clone.6 () from
/usr/lib/libglib-2.0.so.0
#25 0x00007f55132f722d in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#26 0x00007f55166f0705 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from
/home/ivan/Mathematica/8.0/SystemFiles/Libraries/Linux-x86-64/libQtCore.so.4
#27 0x00007f5516db007f in ?? ()
   from
/home/ivan/Mathematica/8.0/SystemFiles/Libraries/Linux-x86-64/libQtGui.so.4
#28 0x00007f55166c73ac in
QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from
/home/ivan/Mathematica/8.0/SystemFiles/Libraries/Linux-x86-64/libQtCore.so.4
#29 0x00000000009e76f6 in ?? ()
#30 0x00007f5515508c7d in __libc_start_main (main=0x9e6c70, argc=3,
ubp_av=0x7ffffe0f4e88, 
    init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value
optimized out>, 
    stack_end=0x7ffffe0f4e78) at libc-start.c:226
#31 0x000000000042cfca in ?? ()
#32 0x00007ffffe0f4e78 in ?? ()
#33 0x000000000000001c in ?? ()
#34 0x0000000000000003 in ?? ()
#35 0x00007ffffe0f634d in ?? ()
#36 0x00007ffffe0f639f in ?? ()
#37 0x00007ffffe0f63ad in ?? ()
#38 0x0000000000000000 in ?? ()

It seems that somehow "GET_CURRENT_CONTEXT(ctx)" a couple of lines above gets a
NULL ctx.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list