[Mesa-dev] [Bug 93091] [opencl] segfault when running any opencl programs (like clinfo)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Nov 23 23:25:51 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=93091
Bug ID: 93091
Summary: [opencl] segfault when running any opencl programs
(like clinfo)
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Other
Assignee: mesa-dev at lists.freedesktop.org
Reporter: paulo.miguel.dias at gmail.com
QA Contact: mesa-dev at lists.freedesktop.org
the title says it all, clinfo and other opencl programs segfaults
last time i tested, like 2 weeks ago it was working fine.
using llvm 3.8 git, mesa git, radeonsi git all from today, xrog 1.17, kubuntu
15.10 + padoka ppa
---
groo at hydra:~$ gdb clinfo
GNU gdb (Ubuntu 7.10-1ubuntu2) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from clinfo...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/clinfo
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffec786700 (LWP 3683)]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff09c26c1 in ?? () from /usr/lib/x86_64-linux-gnu/libMesaOpenCL.so.1
(gdb) bt
#0 0x00007ffff09c26c1 in ?? () from
/usr/lib/x86_64-linux-gnu/libMesaOpenCL.so.1
#1 0x00007ffff09eb610 in ?? () from
/usr/lib/x86_64-linux-gnu/libMesaOpenCL.so.1
#2 0x00007ffff09f7864 in ?? () from
/usr/lib/x86_64-linux-gnu/libMesaOpenCL.so.1
#3 0x00007ffff09c2276 in ?? () from
/usr/lib/x86_64-linux-gnu/libMesaOpenCL.so.1
#4 0x00007ffff7de95ba in call_init (l=<optimized out>, argc=argc at entry=1,
argv=argv at entry=0x7fffffffdec8, env=env at entry=0x7fffffffded8) at dl-init.c:72
#5 0x00007ffff7de96cb in call_init (env=<optimized out>, argv=<optimized out>,
argc=<optimized out>, l=<optimized out>) at dl-init.c:30
#6 _dl_init (main_map=main_map at entry=0x67ffd0, argc=1, argv=0x7fffffffdec8,
env=0x7fffffffded8) at dl-init.c:120
#7 0x00007ffff7dee587 in dl_open_worker (a=a at entry=0x7fffffffd9b8) at
dl-open.c:579
#8 0x00007ffff7de9464 in _dl_catch_error
(objname=objname at entry=0x7fffffffd9a8,
errstring=errstring at entry=0x7fffffffd9b0,
mallocedp=mallocedp at entry=0x7fffffffd9a7, operate=operate at entry=0x7ffff7dee0a0
<dl_open_worker>,
args=args at entry=0x7fffffffd9b8) at dl-error.c:187
#9 0x00007ffff7ded9a3 in _dl_open (file=0x68bd10 "libMesaOpenCL.so.1",
mode=-2147483647, caller_dlopen=0x7ffff7bd1dea, nsid=-2, argc=<optimized out>,
argv=<optimized out>, env=0x7fffffffded8) at dl-open.c:663
#10 0x00007ffff7600fc9 in dlopen_doit (a=a at entry=0x7fffffffdbd0) at dlopen.c:66
#11 0x00007ffff7de9464 in _dl_catch_error (objname=0x7ffff78030f0
<last_result+16>, errstring=0x7ffff78030f8 <last_result+24>,
mallocedp=0x7ffff78030e8 <last_result+8>, operate=0x7ffff7600f70 <dlopen_doit>,
args=0x7fffffffdbd0)
at dl-error.c:187
#12 0x00007ffff760162d in _dlerror_run (operate=operate at entry=0x7ffff7600f70
<dlopen_doit>, args=args at entry=0x7fffffffdbd0) at dlerror.c:163
#13 0x00007ffff7601061 in __dlopen (file=<optimized out>, mode=<optimized out>)
at dlopen.c:87
#14 0x00007ffff7bd1dea in ?? () from /usr/lib/x86_64-linux-gnu/libOpenCL.so.1
#15 0x00007ffff7bd1f40 in ?? () from /usr/lib/x86_64-linux-gnu/libOpenCL.so.1
#16 0x00007ffff7bd24d9 in ?? () from /usr/lib/x86_64-linux-gnu/libOpenCL.so.1
#17 0x00007ffff7bd2d0b in clGetPlatformIDs () from
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1
#18 0x0000000000401328 in ?? ()
#19 0x00007ffff7824a40 in __libc_start_main (main=0x401170, argc=1,
argv=0x7fffffffdec8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffdeb8) at libc-start.c:289
#20 0x00000000004015a9 in ?? ()
(gdb) quit
A debugging session is active.
Inferior 1 [process 3678] will be killed.
----
groo at hydra:~/devel/opencl/tools-master$ gdb --args ./cl-demo 1000000 10
GNU gdb (Ubuntu 7.10-1ubuntu2) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./cl-demo...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/groo/devel/opencl/tools-master/cl-demo 1000000 10
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffec786700 (LWP 3934)]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff07ba6c1 in ?? () from /usr/lib/x86_64-linux-gnu/libMesaOpenCL.so.1
(gdb) bt
#0 0x00007ffff07ba6c1 in ?? () from
/usr/lib/x86_64-linux-gnu/libMesaOpenCL.so.1
#1 0x00007ffff07e3610 in ?? () from
/usr/lib/x86_64-linux-gnu/libMesaOpenCL.so.1
#2 0x00007ffff07ef864 in ?? () from
/usr/lib/x86_64-linux-gnu/libMesaOpenCL.so.1
#3 0x00007ffff07ba276 in ?? () from
/usr/lib/x86_64-linux-gnu/libMesaOpenCL.so.1
#4 0x00007ffff7de95ba in call_init (l=<optimized out>, argc=argc at entry=3,
argv=argv at entry=0x7fffffffde58, env=env at entry=0x7fffffffde78) at dl-init.c:72
#5 0x00007ffff7de96cb in call_init (env=<optimized out>, argv=<optimized out>,
argc=<optimized out>, l=<optimized out>) at dl-init.c:30
#6 _dl_init (main_map=main_map at entry=0x675760, argc=3, argv=0x7fffffffde58,
env=0x7fffffffde78) at dl-init.c:120
#7 0x00007ffff7dee587 in dl_open_worker (a=a at entry=0x7fffffffc798) at
dl-open.c:579
#8 0x00007ffff7de9464 in _dl_catch_error
(objname=objname at entry=0x7fffffffc788,
errstring=errstring at entry=0x7fffffffc790,
mallocedp=mallocedp at entry=0x7fffffffc787, operate=operate at entry=0x7ffff7dee0a0
<dl_open_worker>,
args=args at entry=0x7fffffffc798) at dl-error.c:187
#9 0x00007ffff7ded9a3 in _dl_open (file=0x675740 "libMesaOpenCL.so.1",
mode=-2147483647, caller_dlopen=0x7ffff79c9dea, nsid=-2, argc=<optimized out>,
argv=<optimized out>, env=0x7fffffffde78) at dl-open.c:663
#10 0x00007ffff71dafc9 in dlopen_doit (a=a at entry=0x7fffffffc9b0) at dlopen.c:66
#11 0x00007ffff7de9464 in _dl_catch_error (objname=0x60f0e0,
errstring=0x60f0e8, mallocedp=0x60f0d8, operate=0x7ffff71daf70 <dlopen_doit>,
args=0x7fffffffc9b0) at dl-error.c:187
#12 0x00007ffff71db62d in _dlerror_run (operate=operate at entry=0x7ffff71daf70
<dlopen_doit>, args=args at entry=0x7fffffffc9b0) at dlerror.c:163
#13 0x00007ffff71db061 in __dlopen (file=<optimized out>, mode=<optimized out>)
at dlopen.c:87
#14 0x00007ffff79c9dea in ?? () from /usr/lib/x86_64-linux-gnu/libOpenCL.so.1
#15 0x00007ffff79c9f40 in ?? () from /usr/lib/x86_64-linux-gnu/libOpenCL.so.1
#16 0x00007ffff79ca4d9 in ?? () from /usr/lib/x86_64-linux-gnu/libOpenCL.so.1
#17 0x00007ffff79cad0b in clGetPlatformIDs () from
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1
#18 0x0000000000402a3f in create_context_on ()
#19 0x00000000004016bd in main ()
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151124/02c8ee54/attachment-0001.html>
More information about the mesa-dev
mailing list