Bug 91123 - [swrast] piglit egl-create-pbuffer-surface regression
Summary: [swrast] piglit egl-create-pbuffer-surface regression
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/swrast (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords: bisected, regression
Depends on:
Blocks:
 
Reported: 2015-06-27 01:05 UTC by Vinson Lee
Modified: 2019-09-18 18:45 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2015-06-27 01:05:43 UTC
mesa: 35d83793047b3de31a706fa2a62a233090ea7cfc (master 10.7.0-devel)

$ ./bin/egl-create-pbuffer-surface -auto
Segmentation fault (core dumped)

(gdb) bt
#0  __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:35
#1  0x00007fc57c7f02b1 in memcpy (__len=262144, __src=<optimized out>, __dest=0x0) at /usr/include/x86_64-linux-gnu/bits/string3.h:53
#2  swrastGetImage (read=<optimized out>, x=<optimized out>, y=<optimized out>, w=<optimized out>, h=<optimized out>, data=0x0, loaderPrivate=0x977030)
    at platform_x11.c:175
#3  0x00007fc5772ebbeb in swrastSetTexBuffer2 (pDRICtx=<optimized out>, target=<optimized out>, texture_format=8410, dPriv=0x977140) at swrast.c:110
#4  0x00007fc57c7ed4a2 in dri2_bind_tex_image (drv=0x7b0e50, disp=0x7b0810, surf=0x977030, buffer=12420) at egl_dri2.c:1288
#5  0x00007fc57c7e691a in eglBindTexImage (dpy=0x7b0810, surface=<optimized out>, buffer=12420) at eglapi.c:948
#6  0x0000000000402507 in draw (state=0x7fff293a4900) at piglit/tests/egl/egl-create-pbuffer-surface.c:64
#7  0x0000000000401d55 in event_loop (state=0x7fff293a4900, test=0x7fff293a4980) at piglit/tests/egl/egl-util.c:156
#8  0x00000000004022fb in egl_util_run (test=0x7fff293a4980, argc=2, argv=0x7fff293a4a98) at piglit/tests/egl/egl-util.c:302
#9  0x00000000004026ef in main (argc=2, argv=0x7fff293a4a98) at piglit/tests/egl/egl-create-pbuffer-surface.c:100
(gdb) frame 2
#2  swrastGetImage (read=<optimized out>, x=<optimized out>, y=<optimized out>, w=<optimized out>, h=<optimized out>, data=0x0, loaderPrivate=0x977030)
    at platform_x11.c:175
175	      memcpy(data, idata, bytes);


dd048543e944d95b4471572454cfa902392e3f61 is the first bad commit
commit dd048543e944d95b4471572454cfa902392e3f61
Author: Marek Olšák <marek.olsak@amd.com>
Date:   Tue May 26 12:47:03 2015 +0200

    configure.ac: enable building GLES1 and GLES2 by default
    
    Reviewed-by: Matt Turner <mattst88@gmail.com>
    Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>

:100644 100644 5594548ddfd174103f5c793a06504d25ea744d1b 84b404eb8b2b2985496ba4555fa301c50b66bc28 M	configure.ac
bisect run success
Comment 1 Marek Olšák 2015-06-27 08:27:36 UTC
The bisected commit can't have caused any regression. The problem is that you didn't enable GLES1 and GLES2 in Mesa, so the test skipped (or passed) before that. It's possible that this isn't even a regression, because swrast EGL support if pretty new.
Comment 2 GitLab Migration User 2019-09-18 18:45:31 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/317.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.