Date: Mon, 01 Jul 2019 18:14:41 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-feedback requested: [Bug 238931] graphics/mesa-dri: mutter and gnome-shell segfault when i915kms.ko from base is used Message-ID: <bug-238931-7141-PnAYUVVfd6@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-238931-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-238931-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 mailing li= st <x11@FreeBSD.org> for maintainer-feedback: Bug 238931: graphics/mesa-dri: mutter and gnome-shell segfault when i915kms= .ko from base is used https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238931 --- Description --- Since the update of Mesa to 18.3.2, I am unable to run mutter and gnome-she= ll with i915kms.ko from base. Xorg can be successfully started, and simple programs such as xterm and glxgears work. However, GDM won't show anything because gnome-shell segfault immediately in /usr/local/lib/dri/i965_dri.so.= The segfault issue can be avoided by downgrading Mesa to 18.2.8 or switching to drm-fbsd12.0-kmod, but downgrading is seldom the correct way to resolve problem. Switching to drm-fbsd12.0-kmod is also not practical on this compu= ter because of memory leak: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238925. I tried to upgr= ade Mesa to 18.3.6 with patch from https://reviews.freebsd.org/D19099, but the result was the same. I also tried the patch posted at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235487#c11, but it didn= 't help as well. This is the backtrace of mutter 3.33.3-30-gf2f4af0d5 running with Mesa 18.3= .6. #0 memcpy () at /usr/src/lib/libc/amd64/string/memmove.S:268 #1 0x000000080415c2d5 in ?? () from /usr/local/lib/dri/i965_dri.so #2 0x000000080415b170 in ?? () from /usr/local/lib/dri/i965_dri.so #3 0x0000000803e8f6db in ?? () from /usr/local/lib/dri/i965_dri.so #4 0x0000000803e8e791 in ?? () from /usr/local/lib/dri/i965_dri.so #5 0x0000000803e95fa1 in ?? () from /usr/local/lib/dri/i965_dri.so #6 0x0000000803b87c9a in ?? () from /usr/local/lib/dri/i965_dri.so #7 0x0000000803b87d76 in ?? () from /usr/local/lib/dri/i965_dri.so #8 0x0000000803e97a65 in ?? () from /usr/local/lib/dri/i965_dri.so #9 0x0000000803e96824 in ?? () from /usr/local/lib/dri/i965_dri.so #10 0x0000000803b71d91 in ?? () from /usr/local/lib/dri/i965_dri.so #11 0x0000000803b71faa in ?? () from /usr/local/lib/dri/i965_dri.so #12 0x0000000800b52ce1 in _cogl_texture_driver_upload_to_gl (ctx=3D0x802d40= 800, gl_target=3D<optimized out>, gl_handle=3D1, is_foreign=3D0, source_bmp=3D0x= 802c634a0, internal_gl_format=3D6408, source_gl_format=3D6408,=20 source_gl_type=3D5121, error=3D0x0) at ../../source/mutter/cogl/cogl/driver/gl/gl/cogl-texture-driver-gl.c:333 #13 0x0000000800b47860 in allocate_from_bitmap (tex_2d=3D<optimized out>, loader=3D<optimized out>, error=3D0x0) at ../../source/mutter/cogl/cogl/driver/gl/cogl-texture-2d-gl.c:268 #14 0x0000000800b757fa in cogl_texture_allocate (texture=3D0x802c24ea0, error=3D0x0) at ../../source/mutter/cogl/cogl/cogl-texture.c:1087 #15 0x0000000800b76c52 in cogl_texture_2d_new_from_data (ctx=3D0x802d40800, width=3D1, height=3D1, format=3D<optimized out>, rowstride=3D<optimized out= >, data=3D<optimized out>, error=3D0x0) at ../../source/mutter/cogl/cogl/cogl-texture-2d.c:224 #16 0x0000000800b54eb4 in cogl_context_new (display=3D<optimized out>, error=3D<optimized out>) at ../../source/mutter/cogl/cogl/cogl-context.c:398 #17 0x0000000800c53009 in clutter_backend_do_real_create_context (backend=3D<optimized out>, driver_id=3D<optimized out>, error=3D<optimized= out>) at ../../source/mutter/clutter/clutter/clutter-backend.c:294 #18 0x0000000800c52cbf in clutter_backend_real_create_context (backend=3D<optimized out>, error=3D0x7fffffffd780) at ../../source/mutter/clutter/clutter/clutter-backend.c:377 #19 0x0000000800c6af95 in _clutter_feature_init (error=3D0x7fffffffd780) at ../../source/mutter/clutter/clutter/clutter-feature.c:101 #20 0x0000000800c7f119 in clutter_init_real (error=3D0x7fffffffd780) at ../../source/mutter/clutter/clutter/clutter-main.c:1355 #21 0x0000000800c7ef12 in post_parse_hook (context=3D<optimized out>, group=3D<optimized out>, data=3D<optimized out>, error=3D0x7fffffffd780) at ../../source/mutter/clutter/clutter/clutter-main.c:1513 #22 0x00000008004906c8 in g_option_context_parse (context=3D0x802d0e220, argc=3D0x802d0e220, argv=3D<optimized out>, error=3D<optimized out>) at ../../source/glib/glib/goption.c:2224 #23 0x0000000800c7f2e8 in clutter_parse_args (argc=3D0x0, argv=3D0x0, error=3D0x7fffffffd7c0) at ../../source/mutter/clutter/clutter/clutter-main.c:1732 #24 0x0000000800c7f1de in clutter_init (argc=3D0x0, argv=3D0x0) at ../../source/mutter/clutter/clutter/clutter-main.c:1794 #25 0x00000008002feebb in meta_clutter_init () at ../../source/mutter/src/backends/meta-backend.c:1355 #26 0x0000000800345904 in meta_init () at ../../source/mutter/src/core/main.c:592 #27 0x0000000000219678 in main (argc=3D1, argv=3D0x7fffffffd8f8) at ../../source/mutter/src/core/mutter.c:82
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238931-7141-PnAYUVVfd6>