[Pkg-opencl-devel] Bug#848792: beignet: Beignet causes blender crash

Jesús C. Del Moral Villalta jecomovi at gmail.com
Mon Dec 26 12:08:32 UTC 2016


Dear Maintainer,

I hope you have made your request correctly.

I then paste the result into terminal.

--------------------------------------------------------------------------------------

jecooxeon at jecoxeon:~$ lspci -nn | grep -e "\[03..\]:"
00:02.0 VGA compatible controller [0300]: Intel Corporation 4 Series
Chipset Integrated Graphics Controller [8086:2e22] (rev 03)
00:02.1 Display controller [0380]: Intel Corporation 4 Series Chipset
Integrated Graphics Controller [8086:2e23] (rev 03)

jecoxeon at jecoxeon:~$ blender
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for
4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for
4294967295, skipping unlock

read blend: /home/jecoxeon/Descargas/Demo_274/Demo_274/Ring_27.blend
blender: */home/geier/*beignet/src/intel/intel_driver.c:140:
intel_driver_context_init: Assertion `driver->ctx' failed.
Abortado

jecoxeon at jecoxeon:~$ gdb blender
GNU gdb (Debian 7.11.1-2+b1) 7.11.1
Copyright (C) 2016 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 blender...Reading symbols from
/usr/lib/debug/.build-id/e1/3b7904cb3b623ef9d1da9d473a1b3dfe7f0cb9.debug...done.
done.
(gdb) set pagination 0
(gdb) break intel/intel_bufmgr_gem.c:3175
No source file named intel/intel_bufmgr_gem.c.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (intel/intel_bufmgr_gem.c:3175) pending.
(gdb) run
Starting program: /usr/bin/blender
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffcffff700 (LWP 9550)]
[New Thread 0x7fffce7ff700 (LWP 9551)]
[New Thread 0x7fffcdffe700 (LWP 9552)]
[New Thread 0x7fffcd7fd700 (LWP 9553)]
[New Thread 0x7fffccffc700 (LWP 9554)]
[New Thread 0x7ffff7ebc700 (LWP 9555)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295,
skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295,
skipping unlock
[Thread 0x7ffff7ebc700 (LWP 9555) exited]
[New Thread 0x7fffcb7ff700 (LWP 9556)]
[Thread 0x7fffcb7ff700 (LWP 9556) exited]
[New Thread 0x7fffcb7ff700 (LWP 9557)]
[New Thread 0x7fffd095a700 (LWP 9558)]
[New Thread 0x7fffc1bff700 (LWP 9559)]
[Thread 0x7fffc1bff700 (LWP 9559) exited]
[New Thread 0x7fffbc9ff700 (LWP 9560)]
[New Thread 0x7fffbc1fe700 (LWP 9561)]
[New Thread 0x7fffbb9fd700 (LWP 9562)]
[New Thread 0x7fffbadfc700 (LWP 9566)]
[Thread 0x7fffbadfc700 (LWP 9566) exited]
read blend: /home/jecoxeon/Descargas/Demo_274/Demo_274/Ring_27.blend

Thread 1 "blender" hit Breakpoint 1, drm_intel_gem_context_create
(bufmgr=0x7fffd0051000) at ../../intel/intel_bufmgr_gem.c:3175
3175    ../../intel/intel_bufmgr_gem.c: No existe el fichero o el
directorio.
(gdb) bt full
#0  drm_intel_gem_context_create (bufmgr=0x7fffd0051000) at
../../intel/intel_bufmgr_gem.c:3175
        bufmgr_gem = 0x7fffd0051000
        create = {ctx_id = 0, pad = 0}
        context = 0x7fffbd583a50
        ret = -1
#1  0x00007fffb9bb519b in intel_driver_context_init (driver=0x7fffbda7e600,
driver=0x7fffbda7e600) at ./src/intel/intel_driver.c:139
No locals.
#2  intel_driver_init (driver=0x7fffbda7e600, dev_fd=<optimized out>) at
./src/intel/intel_driver.c:159
        dev_fd = <optimized out>
        driver = 0x7fffbda7e600
#3  0x00007fffb9bb557b in intel_driver_init_shared (driver=0x7fffbda7e600,
state=<optimized out>) at ./src/intel/intel_driver.c:287
        ret = <optimized out>
#4  0x00007fffb9bb5761 in intel_driver_open (intel=intel at entry=0x7fffbda7e600,
props=props at entry=0x0) at ./src/intel/intel_driver.c:212
        cardi = <optimized out>
        driver_name = 0x7fffbd88aff0 "i965"
#5  0x00007fffb9bb5dcd in intel_get_device_id () at
./src/intel/intel_driver.c:414
        driver = 0x7fffbda7e600
        intel_device_id = <optimized out>
#6  0x00007fffb9bb6428 in intel_setup_callbacks () at
./src/intel/intel_driver.c:965
No locals.
#7  0x00007ffff7de95da in call_init (l=<optimized out>, argc=argc at entry=1,
argv=argv at entry=0x7fffffffe298, env=env at entry=0x7fffffffe2a8) at
dl-init.c:72
        j = <optimized out>
        jm = <optimized out>
        addrs = <optimized out>
        init_array = <optimized out>
#8  0x00007ffff7de96eb in call_init (env=0x7fffffffe2a8,
argv=0x7fffffffe298, argc=1, l=<optimized out>) at dl-init.c:30
No locals.
#9  _dl_init (main_map=main_map at entry=0x7fffbd9ac200, argc=1,
argv=0x7fffffffe298, env=0x7fffffffe2a8) at dl-init.c:120
        preinit_array = <optimized out>
        preinit_array_size = <optimized out>
        i = 0
#10 0x00007ffff7dedc68 in dl_open_worker (a=a at entry=0x7fffffffc3e0) at
dl-open.c:575
        args = 0x7fffffffc3e0
        file = <optimized out>
        mode = <optimized out>
        call_map = <optimized out>
        dst = <optimized out>
        new = <optimized out>
        __PRETTY_FUNCTION__ = "dl_open_worker"
        r = <optimized out>
        reloc_mode = <optimized out>
        nmaps = <optimized out>
        l = <optimized out>
        maps = <optimized out>
        any_tls = <optimized out>
        first_static_tls = <optimized out>
#11 0x00007ffff7de9484 in _dl_catch_error
(objname=objname at entry=0x7fffffffc3d0,
errstring=errstring at entry=0x7fffffffc3d8,
mallocedp=mallocedp at entry=0x7fffffffc3cf,
operate=operate at entry=0x7ffff7ded880 <dl_open_worker>,
args=args at entry=0x7fffffffc3e0)
at dl-error.c:187
        errcode = 32767
        c = {objname = 0x7fffffffc3d0, errstring = 0x7fffffffc3d8, malloced
= 0x7fffffffc3cf, errcode = 0x7fffffffc2ac, env = {{__jmpbuf =
{140737488340208, -7162523156718243774, 2147483649, 140736619188288,
140736311824914, 140737354125376, -7162523156919570366,
-7162540481003474878}, __mask_was_saved = 1, __saved_mask = {__val =
{140737210772709, 34, 663, 2, 140736372670464, 663, 8, 4096,
140737213043664, 0, 140737210773310, 206158430248, 1, 140737488339856,
140736375386112, 140736687243456}}}}}
        catchp = 0x7ffff7ec80a8
        old = <optimized out>
#12 0x00007ffff7ded419 in _dl_open (file=0x7fffcc319040
"/usr/lib/x86_64-linux-gnu/beignet//libcl.so", mode=-2147483647,
caller_dlopen=0x7fffb9df9212, nsid=-2, argc=<optimized out>,
argv=<optimized out>, env=0x7fffffffe2a8) at dl-open.c:660
        args = {file = 0x7fffcc319040
"/usr/lib/x86_64-linux-gnu/beignet//libcl.so", mode = -2147483647,
caller_dlopen = 0x7fffb9df9212, caller_dl_open = 0x7fffee4f9ee9
<dlopen_doit+89>, map = 0x7fffbd9ac200, nsid = 0, argc = 1, argv =
0x7fffffffe298, env = 0x7fffffffe2a8}
        objname = 0x1001 <error: Cannot access memory at address 0x1001>
        errstring = 0xa290780830287800 <error: Cannot access memory at
address 0xa290780830287800>
        malloced = false
        errcode = <optimized out>
        __PRETTY_FUNCTION__ = "_dl_open"
#13 0x00007fffee4f9ee9 in dlopen_doit (a=a at entry=0x7fffffffc610) at
dlopen.c:66
        args = 0x7fffffffc610
#14 0x00007ffff7de9484 in _dl_catch_error (objname=0x7fffcead2a50,
errstring=0x7fffcead2a58, mallocedp=0x7fffcead2a48, operate=0x7fffee4f9e90
<dlopen_doit>, args=0x7fffffffc610) at dl-error.c:187
        errcode = 0
        c = {objname = 0x7fffcead2a50, errstring = 0x7fffcead2a58, malloced
= 0x7fffcead2a48, errcode = 0x7fffffffc4ec, env = {{__jmpbuf = {0,
-7162491132143947710, 140737488340496, 140736619188288, 45,
140736619823104, -7162523156693077950, -7162540481003474878},
__mask_was_saved = -804068992, __saved_mask = {__val = {140737188685289, 0,
140737188253392, 0, 140737188796349, 2050, 132910, 1, 33188, 0, 0, 44,
140736684286336, 0, 0, 140736619188288}}}}}
        catchp = 0x7ffff7ec80a8
        old = <optimized out>
#15 0x00007fffee4fa521 in _dlerror_run (operate=operate at entry=0x7fffee4f9e90
<dlopen_doit>, args=args at entry=0x7fffffffc610) at dlerror.c:163
        result = 0x7fffcead2a40
#16 0x00007fffee4f9f82 in __dlopen (file=<optimized out>, mode=<optimized
out>) at dlopen.c:87
        args = {file = 0x7fffcc319040
"/usr/lib/x86_64-linux-gnu/beignet//libcl.so", mode = 1, new =
0x7fffcc319040, caller = 0x7fffb9df9212}
#17 0x00007fffb9df9212 in ?? () from /usr/lib/x86_64-linux-gnu/libOpenCL.so
No symbol table info available.
#18 0x00007fffb9df9360 in ?? () from /usr/lib/x86_64-linux-gnu/libOpenCL.so
No symbol table info available.
#19 0x00007fffb9df98d0 in ?? () from /usr/lib/x86_64-linux-gnu/libOpenCL.so
No symbol table info available.
#20 0x00007fffb9dfa0d3 in clGetPlatformIDs () from
/usr/lib/x86_64-linux-gnu/libOpenCL.so
No symbol table info available.
#21 0x0000555557536422 in ccl::(anonymous
namespace)::opencl_get_usable_devices
(usable_devices=usable_devices at entry=0x7fffffffcfc0)
at ./intern/cycles/device/device_opencl.cpp:251
        force_all_platforms = false
        device_type = <optimized out>
        device_ids = {<std::vector<_cl_device_id*,
ccl::GuardedAllocator<_cl_device_id*> >> = std::vector of length 0,
capacity 0, <No data fields>}
        num_devices = 0
        platform_ids = {<std::vector<_cl_platform_id*,
ccl::GuardedAllocator<_cl_platform_id*> >> = std::vector of length 0,
capacity 0, <No data fields>}
        num_platforms = 0
        first_time = true
#22 0x0000555557537513 in ccl::device_opencl_info (devices=...) at
./intern/cycles/device/device_opencl.cpp:3325
        usable_devices = {<std::vector<ccl::OpenCLPlatformDevice,
ccl::GuardedAllocator<ccl::OpenCLPlatformDevice> >> = std::vector of length
0, capacity 0, <No data fields>}
        num_devices = <optimized out>
#23 0x0000555557516a81 in ccl::Device::available_devices () at
./intern/cycles/device/device.cpp:331
No locals.
#24 0x000055555742b738 in ccl::compute_device_list (type=ccl::DEVICE_CUDA)
at ./intern/cycles/blender/blender_python.cpp:722
        devices = <optimized out>
        i = <optimized out>
#25 0x000055555742b988 in CCL_compute_device_list
(device_type=device_type at entry=0) at
./intern/cycles/blender/blender_python.cpp:815
        type = <optimized out>
#26 0x0000555556f3bd11 in rna_userdef_compute_device_type_itemf
(UNUSED_C=<optimized out>, UNUSED_ptr=<optimized out>,
UNUSED_prop=<optimized out>, r_free=0x7fffffffd4cf) at
./source/blender/makesrna/intern/rna_userdef.c:488
        item = 0x7fffceac6f08
        totitem = 1
#27 0x0000555556e2c428 in RNA_property_enum_items_ex (C=<optimized out>,
ptr=ptr at entry=0x7fffc1125b58, prop=prop at entry=0x55555963e900
<rna_UserPreferencesSystem_compute_device_type>,
use_static=use_static at entry=false,
r_item=r_item at entry=0x7fffffffd4d0, r_totitem=r_totitem at entry=0x0,
r_free=0x7fffffffd4cf) at ./source/blender/makesrna/intern/rna_access.c:1230
        item = <optimized out>
        __func__ = "RNA_property_enum_items_ex"
#28 0x0000555556e2c4a3 in RNA_property_enum_items (C=<optimized out>,
ptr=ptr at entry=0x7fffc1125b58, prop=prop at entry=0x55555963e900
<rna_UserPreferencesSystem_compute_device_type>,
r_item=r_item at entry=0x7fffffffd4d0,
r_totitem=r_totitem at entry=0x0, r_free=r_free at entry=0x7fffffffd4cf) at
./source/blender/makesrna/intern/rna_access.c:1257
No locals.
#29 0x0000555556e362c6 in RNA_property_enum_identifier (C=<optimized out>,
ptr=ptr at entry=0x7fffc1125b58, prop=prop at entry=0x55555963e900
<rna_UserPreferencesSystem_compute_device_type>, value=value at entry=0,
identifier=identifier at entry=0x7fffffffd510) at
./source/blender/makesrna/intern/rna_access.c:1478
        item = 0x0
        free = false
#30 0x000055555699085b in pyrna_enum_to_py (ptr=ptr at entry=0x7fffc1125b58,
prop=prop at entry=0x55555963e900
<rna_UserPreferencesSystem_compute_device_type>, val=0) at
./source/blender/python/intern/bpy_rna.c:1393
        identifier = 0x7fffd081a048 "\271\032"
        item = <optimized out>
        ret = 0x0
#31 0x000055555699a918 in pyrna_prop_to_py (ptr=ptr at entry=0x7fffc1125b58,
prop=0x55555963e900 <rna_UserPreferencesSystem_compute_device_type>) at
./source/blender/python/intern/bpy_rna.c:1504
        ret = <optimized out>
        type = 4
#32 0x000055555699a9ef in pyrna_struct_getattro (self=0x7fffc1125b48,
pyname=0x7fffc2d4c780) at ./source/blender/python/intern/bpy_rna.c:3854
        name = 0x7fffc2d4c7b0 "compute_device_type"
        ret = <optimized out>
        prop = <optimized out>
        func = <optimized out>
        __func__ = "pyrna_struct_getattro"
#33 0x00007ffff71ece3d in PyEval_EvalFrameEx () from
/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
No symbol table info available.
#34 0x00007ffff71f23dd in PyEval_EvalFrameEx () from
/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
No symbol table info available.
#35 0x00007ffff72b3cd4 in ?? () from
/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
No symbol table info available.
#36 0x00007ffff72b3db3 in PyEval_EvalCodeEx () from
/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
No symbol table info available.
#37 0x00007ffff71473b8 in ?? () from
/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
No symbol table info available.
#38 0x00007ffff7223787 in PyObject_Call () from
/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
No symbol table info available.
#39 0x0000555556999afe in bpy_class_call (C=<optimized out>, ptr=<optimized
out>, func=<optimized out>, parms=<optimized out>) at
./source/blender/python/intern/bpy_rna.c:7603
        item = <optimized out>
        args = 0x7fffcf468608
        ret = 0x0
        py_srna = <optimized out>
        py_class_instance = <optimized out>
        parmitem = <optimized out>
        py_class = <optimized out>
        py_class_instance_store = <optimized out>
        parm = <optimized out>
        iter = {parms = 0x7fffffffdcc0, data = 0x7fffbdaa9698, size = 8,
offset = 8, parm = 0x0, valid = 0}
        funcptr = {id = {data = 0x0}, type = 0x55555952c580 <RNA_Function>,
data = 0x5555595f5f80 <rna_Panel_draw_func>}
        err = 0
        i = 2
        ret_len = <optimized out>
        arg_count = <optimized out>
        flag = <optimized out>
        is_staticmethod = <optimized out>
        is_classmethod = <optimized out>
        pret_single = <optimized out>
        retdata_single = <optimized out>
        gilstate = PyGILState_UNLOCKED
        is_operator = <optimized out>
        is_readonly = <optimized out>
        __func__ = "bpy_class_call"
        is_valid_wm = <optimized out>
#40 0x0000555556f2c99f in panel_draw (C=<optimized out>,
pnl=0x7fffbe23afc8) at ./source/blender/makesrna/intern/rna_ui.c:146
        ptr = {id = {data = 0x7fffbd775a08}, type = 0x7fffbd418f28, data =
0x7fffbe23afc8}
        list = {data = 0x7fffbdaa9698, func = 0x5555595f5f80
<rna_Panel_draw_func>, alloc_size = 8, arg_count = 1, ret_count = 0}
        func = 0x5555595f5f80 <rna_Panel_draw_func>
#41 0x0000555556876682 in ED_region_panels (C=C at entry=0x7fffd009bef8,
ar=ar at entry=0x7fffbe2421c8, context=context at entry=0x5555581e5924 "render",
contextnr=contextnr at entry=0, vertical=vertical at entry=true) at
./source/blender/editors/screen/area.c:1911
        open = true
        _pt_stack_iter = 0x7fffffffdd40
        sa = 0x7fffbe1f0fc8
        style = 0x5555599b0380 <_style.27049>
        block = 0x7fffbd9e8c08
        pt = 0x7fffbd426bc8
        panel = 0x7fffbe23afc8
        v2d = 0x7fffbe2421d8
        scrollers = <optimized out>
        x = 807958528
        y = -1567590392
        xco = 8
        yco = -36
        w = 170
        em = 20
        is_context_new = false
        redo = 2
        scroll = <optimized out>
        use_category_tabs = false
        category = 0x0
        category_tabs_width = <optimized out>
        margin_x = 0
        _pt_stack_stack = <optimized out>
        _pt_stack_temp = <optimized out>
#42 0x00005555565a528b in buttons_main_region_draw (C=0x7fffd009bef8,
ar=0x7fffbe2421c8) at
./source/blender/editors/space_buttons/space_buttons.c:149
        sbuts = 0x7fffbe26f3c8
        vertical = true
#43 0x00005555568755b7 in ED_region_do_draw (C=C at entry=0x7fffd009bef8,
ar=ar at entry=0x7fffbe2421c8) at ./source/blender/editors/screen/area.c:518
        win = 0x7fffbdfc1748
        sa = 0x7fffbe1f0fc8
        at = 0x7fffceab9788
        scissor_pad = <optimized out>
#44 0x000055555657c946 in wm_method_draw_triple (win=0x7fffbdfc1748,
C=0x7fffd009bef8) at ./source/blender/windowmanager/intern/wm_draw.c:557
        wm = 0x7fffbd8c9888
        triple = 0x7fffbdae0348
        dd = <optimized out>
        drawdata = <optimized out>
        screen = 0x7fffbd775a08
        sa = 0x7fffbe1f0fc8
        dd_next = <optimized out>
        ar = 0x7fffbe2421c8
        copytex = 1
#45 wm_draw_update (C=C at entry=0x7fffd009bef8) at
./source/blender/windowmanager/intern/wm_draw.c:956
        wm = 0x7fffbd8c9888
        win = 0x7fffbdfc1748
        drawmethod = <optimized out>
#46 0x0000555556577eb8 in WM_main (C=0x7fffd009bef8) at
./source/blender/windowmanager/intern/wm.c:495
No locals.
#47 0x000055555653500e in main (argc=1, argv=0x7fffffffe298) at
./source/creator/creator.c:527
        C = 0x7fffd009bef8
        syshandle = 0x7fffceac1a60
        ba = 0x0
        app_init_data = {ba = 0x0}
(gdb)
---------------------------------------------------------------------------------------------------------------------------------------------------

I have to highlight something that draws me attention. Why when
blender drops it refers to a file in the user directory:
"/home/geier/beignet/src/intel/..." of a user who does not has it
existed or does it exist in the system?

Thank,

Jecomovi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-opencl-devel/attachments/20161226/1276b700/attachment-0001.html>


More information about the Pkg-opencl-devel mailing list