Description of problem: After latest mesa update the Einstein@home openCL app segfaults immediately. This affects both intel broadwell (beingnet backend) and AMD R5 M330 (mesa clover backend) GPU, so probably a problem in some common component. When I downgrade to mesa 11.0.3-1.20151012.fc23.x86_64 everything works fine. *** Error in `./einsteinbinary_BRP6_1.52_x86_64-pc-linux-gnu__BRP6-Beta-opencl-intel_gpu': free(): invalid pointer: 0x00007f9737df13a0 *** (gdb) bt #0 0x00007ffff6f91a28 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55 #1 0x00007ffff6f9362a in __GI_abort () at abort.c:89 #2 0x00007ffff6fd4d7a in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff70e7320 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175 #3 0x00007ffff6fdd1ca in malloc_printerr (ar_ptr=<optimized out>, ptr=<optimized out>, str=0x7ffff70e4c3d "free(): invalid pointer", action=3) at malloc.c:5004 #4 _int_free (av=<optimized out>, p=<optimized out>, have_lock=<optimized out>) at malloc.c:3865 #5 0x00007ffff6fe072c in __GI___libc_free (mem=<optimized out>) at malloc.c:2966 #6 0x000000000080fe82 in std::runtime_error::~runtime_error() () #7 0x000000000085ae1c in __gxx_exception_cleanup(_Unwind_Reason_Code, _Unwind_Exception*) () #8 0x00007fffef93a298 in clover::platform::platform (this=0x7ffff0909820 <(anonymous namespace)::_clover_platform>) at core/platform.cpp:37 #9 0x00007fffef905496 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at api/platform.cpp:29 #10 _GLOBAL__sub_I_platform.cpp(void) () at api/platform.cpp:120 #11 0x00007ffff7deb73a in call_init (l=<optimized out>, argc=argc@entry=19, argv=argv@entry=0x7fffffffde48, env=env@entry=0x7fffffffdee8) at dl-init.c:72 #12 0x00007ffff7deb84b in call_init (env=0x7fffffffdee8, argv=0x7fffffffde48, argc=19, l=<optimized out>) at dl-init.c:30 #13 _dl_init (main_map=main_map@entry=0xc711c0, argc=19, argv=0x7fffffffde48, env=0x7fffffffdee8) at dl-init.c:120 #14 0x00007ffff7df03a2 in dl_open_worker (a=a@entry=0x7ffffffe90d8) at dl-open.c:564 #15 0x00007ffff7deb5e4 in _dl_catch_error (objname=objname@entry=0x7ffffffe90c8, errstring=errstring@entry=0x7ffffffe90d0, mallocedp=mallocedp@entry=0x7ffffffe90c7, operate=operate@entry=0x7ffff7defd50 <dl_open_worker>, args=args@entry=0x7ffffffe90d8) at dl-error.c:187 #16 0x00007ffff7def6a3 in _dl_open (file=0xc7cce0 "libMesaOpenCL.so.1", mode=-2147483647, caller_dlopen=0x7ffff7bc3906 <_load_icd+107>, nsid=-2, argc=<optimized out>, argv=<optimized out>, env=0x7fffffffdee8) at dl-open.c:649 #17 0x00007ffff6d59fc9 in dlopen_doit (a=a@entry=0x7ffffffe92f0) at dlopen.c:66 #18 0x00007ffff7deb5e4 in _dl_catch_error (objname=0xc16fd0, errstring=0xc16fd8, mallocedp=0xc16fc8, operate=0x7ffff6d59f70 <dlopen_doit>, args=0x7ffffffe92f0) at dl-error.c:187 #19 0x00007ffff6d5a631 in _dlerror_run (operate=operate@entry=0x7ffff6d59f70 <dlopen_doit>, args=args@entry=0x7ffffffe92f0) at dlerror.c:163 #20 0x00007ffff6d5a061 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87 #21 0x00007ffff7bc3906 in _load_icd () from /lib64/libOpenCL.so.1 #22 0x00007ffff7bc3bdc in _open_driver () from /lib64/libOpenCL.so.1 #23 0x00007ffff7bc4fd8 in _initClIcd_real () from /lib64/libOpenCL.so.1 #24 0x00007ffff7bc564c in clGetPlatformIDs () from /lib64/libOpenCL.so.1 #25 0x0000000000488b21 in initialize_ocl (oclDeviceIdGiven=0, oclDeviceIdPtr=0x7fffffffdba8, boincPlatformId=0x0, boincDeviceId=0x7ffff6f91a28 <__GI_raise+56>) at /home/jenkins/workspace/workspace/EAH-BRP5-Release/SLAVE/LINUX64-OPENCL/TARGET/linux-opencl/src/opencl/app/demod_binary_ocl.cpp:119 #26 0x0000000000481881 in MAIN (argc=19, argv=0xc16e80) at /home/jenkins/workspace/workspace/EAH-BRP5-Release/SLAVE/LINUX64-OPENCL/TARGET/linux-opencl/src/demod_binary.c:476 #27 0x00000000004809fd in worker () at /home/jenkins/workspace/workspace/EAH-BRP5-Release/SLAVE/LINUX64-OPENCL/TARGET/linux-opencl/src/erp_boinc_wrapper.cpp:456 #28 0x0000000000480ed3 in main (argc=19, argv=0x7fffffffde48) at /home/jenkins/workspace/workspace/EAH-BRP5-Release/SLAVE/LINUX64-OPENCL/TARGET/linux-opencl/src/erp_boinc_wrapper.cpp:558 Version-Release number of selected component (if applicable): 11.1.0-3.20151218.fc23 How reproducible: always Steps to Reproduce: either test with the standalone test app: https://docs.google.com/uc?authuser=0&id=0B9BbqlcNtnE1SXNaQU4ybEpkZEE&export=download or the standard boinc way: 1. install boinc-client, start the boinc daemon 2. disable selinux (workaround bug 1340886) 3. attach to Einstein@home project and make sure to select GPU tasks in preferences Actual results: crash Expected results: no crash Additional info:
I hope this has been resolved already, if not - please report bug at https://bugs.freedesktop.org against mesa.