Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull 7568 crashes on intel card #7595

Open
neozhaoliang opened this issue Mar 20, 2023 · 0 comments
Open

Pull 7568 crashes on intel card #7595

neozhaoliang opened this issue Mar 20, 2023 · 0 comments
Assignees

Comments

@neozhaoliang
Copy link
Contributor

This PR: #7568 crashes on my intel card:

❯ ti example
[Taichi] version 1.6.0, llvm 14.0.0, commit d1f78c17, linux, python 3.10.6

gdb backtrace:

GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 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:
<https://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 python3...
(No debugging symbols found in python3)
(gdb) r 
Starting program: /usr/bin/python3 eulerfluid2d.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff3bff640 (LWP 2300757)]
[New Thread 0x7ffff33fe640 (LWP 2300758)]
[New Thread 0x7ffff0bfd640 (LWP 2300759)]
[New Thread 0x7fffee3fc640 (LWP 2300760)]
[New Thread 0x7fffebbfb640 (LWP 2300761)]
[New Thread 0x7fffe73fa640 (LWP 2300762)]
[New Thread 0x7fffe4bf9640 (LWP 2300763)]
[Detaching after vfork from child process 2300764]
[Taichi] version 1.6.0, llvm 14.0.0, commit d1f78c17, linux, python 3.10.6
[New Thread 0x7fff64cbe640 (LWP 2300851)]
[Thread 0x7fff64cbe640 (LWP 2300851) exited]
[W 03/20/23 14:31:19.061 2300754] [cuda_driver.cpp:load_lib@36] libcuda.so lib not found.
[New Thread 0x7fff64cbe640 (LWP 2300852)]
[Thread 0x7fff64cbe640 (LWP 2300852) exited]
[Taichi] Starting on arch=vulkan
[New Thread 0x7fff64cbe640 (LWP 2300853)]
[New Thread 0x7fff5f5ff640 (LWP 2300854)]

Thread 1 "python3" received signal SIGSEGV, Segmentation fault.
0x00007fff5f68c4de in ?? () from /usr/lib/x86_64-linux-gnu/libvulkan_intel.so
(gdb) bt
#0  0x00007fff5f68c4de in ?? () from /usr/lib/x86_64-linux-gnu/libvulkan_intel.so
#1  0x00007fff5f68cba0 in ?? () from /usr/lib/x86_64-linux-gnu/libvulkan_intel.so
#2  0x00007fffe0a2b6fa in taichi::lang::vulkan::VulkanResourceSet::finalize() ()
   from /home/zhao/taichi/python/taichi/_lib/core/taichi_python.cpython-310-x86_64-linux-gnu.so
#3  0x00007fffe0a2cecb in taichi::lang::vulkan::VulkanCommandList::bind_shader_resources(taichi::lang::ShaderResourceSet*, int) () from /home/zhao/taichi/python/taichi/_lib/core/taichi_python.cpython-310-x86_64-linux-gnu.so
#4  0x00007fffe0de32cb in taichi::lang::gfx::GfxRuntime::launch_kernel(taichi::lang::gfx::GfxRuntime::KernelHandle, taichi::lang::RuntimeContext*) () from /home/zhao/taichi/python/taichi/_lib/core/taichi_python.cpython-310-x86_64-linux-gnu.so
#5  0x00007fffde8f26e9 in taichi::lang::Kernel::operator()(taichi::lang::CompileConfig const&, taichi::lang::LaunchContextBuilder&) () from /home/zhao/taichi/python/taichi/_lib/core/taichi_python.cpython-310-x86_64-linux-gnu.so
#6  0x00007fffdeae490a in pybind11::cpp_function::initialize<taichi::export_lang(pybind11::module_&)::$_38, void, taichi::lang::Kernel*, taichi::lang::LaunchContextBuilder&, pybind11::name, pybind11::is_method, pybind11::sibling>(taichi::export_lang(pybind11::module_&)::$_38&&, void (*)(taichi::lang::Kernel*, taichi::lang::LaunchContextBuilder&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#1}::__invoke(pybind11::detail::function_call&) () from /home/zhao/taichi/python/taichi/_lib/core/taichi_python.cpython-310-x86_64-linux-gnu.so
#7  0x00007fffdea990e7 in pybind11::cpp_function::dispatcher(_object*, _object*, _object*) ()
   from /home/zhao/taichi/python/taichi/_lib/core/taichi_python.cpython-310-x86_64-linux-gnu.so
#8  0x00005555556afb5e in ?? ()
#9  0x00005555556a67db in _PyObject_MakeTpCall ()
#10 0x00005555556be7c0 in ?? ()
#11 0x00005555557da5cb in ?? ()
#12 0x00005555556a67db in _PyObject_MakeTpCall ()
#13 0x000055555569ee39 in _PyEval_EvalFrameDefault ()
#14 0x00005555556b03ac in _PyFunction_Vectorcall ()
#15 0x000055555569b3b0 in _PyEval_EvalFrameDefault ()
#16 0x00005555556a5964 in _PyObject_FastCallDictTstate ()
#17 0x00005555556bb3bc in _PyObject_Call_Prepend ()
@github-project-automation github-project-automation bot moved this to Untriaged in Taichi Lang Mar 20, 2023
@neozhaoliang neozhaoliang self-assigned this Mar 24, 2023
@neozhaoliang neozhaoliang moved this from Untriaged to Todo in Taichi Lang Mar 24, 2023
@jim19930609 jim19930609 moved this from Todo to Backlog in Taichi Lang Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant