[Mesa-dev] leak of gem_objects on intel i965

Lampersperger Andreas lampersperger.andreas at heidenhain.de
Fri Jun 17 01:21:20 PDT 2011

Hello Stéphane,

I've applied your Patch against git mesa from yesterday.
It also results in the same SEGFAULT running simple from
the gtkglext examples. (see backtrace below, in
st_visual_to_context_mode(..) visual is not initialized properly).

When I try pure mesa git from yesterday, no SEGFAULT occurs but
the gem_object leak occurs with the modified simple.c.
(Running the attached modified simple.c from
the gtkglext examples for 2 minutes results in 500 MB object bytes)

Thread [1] 15321 (Suspended : Signal : SIGSEGV:Segmentation fault)
                st_visual_to_context_mode() at st_manager.c:310 0xb63fdd20
                st_framebuffer_create() at st_manager.c:436 0xb63fe4a9
                st_api_make_current() at st_manager.c:729 0xb63fe586
                dri_make_current() at dri_context.c:194 0xb636e79f
                driBindContext() at dri_util.c:196 0xb636a4f9
                dri2_bind_context() at dri2_glx.c:151 0xb7476950
                MakeContextCurrent() at glxcurrent.c:275 0xb744f63b
                glXMakeCurrent() at glxcurrent.c:294 0xb744f753
                gdk_gl_window_impl_x11_make_context_current() at gdkglwindow-x11.c:250 0xb7fc483e
                gdk_gl_drawable_gl_begin() at gdkgldrawable.c:143 0xb7fa284d
                configure_event() at simple.c:83 0x80496c2
                _gtk_marshal_BOOLEAN__BOXED() at gtkmarshalers.c:84 0xb7c19d40
                IA__g_closure_invoke() at gclosure.c:767 0xb72ee2bb
                signal_emit_unlocked_R() at gsignal.c:3.244 0xb72ff61d
                IA__g_signal_emit_valist() at gsignal.c:2.987 0xb730092f
                IA__g_signal_emit() at gsignal.c:3.034 0xb7300c49
                gtk_widget_event_internal() at gtkwidget.c:4.761 0xb7d29134
                gtk_drawing_area_send_configure() at gtkdrawingarea.c:148 0xb7b96b50
                gtk_drawing_area_realize() at gtkdrawingarea.c:110 0xb7b96d47
                IA__g_cclosure_marshal_VOID__VOID() at gmarshal.c:77 0xb72fb82b
                <...more frames...>

Von: marcheu at google.com [mailto:marcheu at google.com] Im Auftrag von Stéphane Marchesin
Gesendet: Donnerstag, 16. Juni 2011 19:29
An: Lampersperger Andreas
Cc: mesa-dev at lists.freedesktop.org
Betreff: Re: [Mesa-dev] leak of gem_objects on intel i965

On Thu, Jun 16, 2011 at 02:05, Lampersperger Andreas <lampersperger.andreas at heidenhain.de<mailto:lampersperger.andreas at heidenhain.de>> wrote:
Hello Stéphane,

your are right, I forgot to attach, here it is...

Erm, you miss half the patch in there... Can you try with my patch on git mesa instead?


------------------------------------------------------------------------------------------------------ <br>
Registergericht: Traunstein / Registry Court: HRB 275 - Sitz / Head Office: Traunreut <br>
Aufsichtsratsvorsitzender / Chairman of Supervisory Board: Rainer Burkhard <br>
Geschäftsführung / Management Board: Thomas Sesselmann (Vorsitzender / Chairman),<br>
Michael Grimm, Matthias Fauser, Sebastian Tondorf<br><br>
<a href="http://www.heidenhain.de/disclaimer" target="_blank">E-Mail Haftungsausschluss / E-Mail Disclaimer</a><br><pre>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110617/486c30e2/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: simple.c
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110617/486c30e2/attachment-0001.asc>

More information about the mesa-dev mailing list