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

Bus Error #4678

Open
recall704 opened this issue Apr 10, 2024 · 1 comment
Open

Bus Error #4678

recall704 opened this issue Apr 10, 2024 · 1 comment
Labels
needs-more-info This issue requires more information to address

Comments

@recall704
Copy link

一、出现的情况

使用 python 程序 往 juicefs 中写入大量 jpg 文件失败,出现 bus error

Bus error (core dumped) 

由于出现了 coredump,使用 gdb python3 core.321111 后内容如下

Core was generated by `/usr/bin/python3 /usr/local/bin/data_extract --output_folder test_mao /clever/p'.
Program terminated with signal SIGBUS, Bus error.
#0  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:353
353     ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory.
[Current thread is 1 (Thread 0x7f43b7feb700 (LWP 1165))]
(gdb) bt full
#0  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:353
No locals.
#1  0x00007f4401ff8c88 in int pcl::PCDWriter::writeBinaryCompressed<file_writer::PointXYZITR>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, pcl::PointCloud<file_writer::PointXYZITR> const&) () from /usr/local/lib/python3.8/dist-packages/datafusion/libfilewriter.so
No symbol table info available.
#2  0x00007f4401fec3b7 in save_pcd_thread(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::shared_ptr<double []>, unsigned long, unsigned char, unsigned char) () from /usr/local/lib/python3.8/dist-packages/datafusion/libfilewriter.so
No symbol table info available.
#3  0x00007f4401ff018e in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::shared_ptr<double []>, unsigned long, unsigned char, unsigned char), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::shared_ptr<double []>, unsigned long, unsigned char, unsigned char> > >::_M_run() () from /usr/local/lib/python3.8/dist-packages/datafusion/libfilewriter.so
No symbol table info available.
#4  0x00007f44b71cfde4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#5  0x00007f455a53a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139928826459904, 3175586999392010751, 140720883313038, 140720883313039, 140720883313040, 139928826458048, -3272256073010249217, -3270942457440894465}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#6  0x00007f455a674353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

二、期望状态

正常写入文件

三、怎样复现

由于数据涉及到敏感信息,无法提供

四、正常情况

正常情况 1

往本地磁盘写入数据正常

正常情况 2

juicefs 挂载时开启 内核回写模式 时写入正常

五、环境信息

操作系统: centos7
系统内核版本: 5.4.269
meta组件: redis:6.2.14
csi 版本: 0.19.6
JuiceFS version: 5.0.6 (2023-12-25 04eaeb2)

@recall704 recall704 added the kind/bug Something isn't working label Apr 10, 2024
@SandyXSD
Copy link
Contributor

JuiceFS version: 5.0.6 (2023-12-25 04eaeb2) 这个是企业版的版本号,但你又提到了 meta组件: redis:6.2.14,因此无法确认具体使用的是哪个版本。另外请尽量提供一些非涉密的复现步骤,不然我们难以入手,谢谢!

@SandyXSD SandyXSD removed the kind/bug Something isn't working label Apr 19, 2024
@SandyXSD SandyXSD added the needs-more-info This issue requires more information to address label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-more-info This issue requires more information to address
Projects
None yet
Development

No branches or pull requests

2 participants