mysqld crash at Dir_Walker::is_directory for debug builds
@p1p1bear đang làm issue này rồi.
Từ ngày 25/3/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Seems to be a problem with debug builds. Release builds work fine, also crashes with mysql 8.0.44 debug builds.
If a directory contains file extension .traineddata which indicates a Trained Data Archive used by Tesseract OCR, an open-source optical character recognition engine, then specifying the directory as --innodb_directories in the startup command crashes the server.
Download the data from https://github.com/tesseract-ocr/tessdata_fast
Initialize the datadir and then try to use the startup command for starting the mysqld server as shown below
./bin/mysqld --datadir=~/data5 --lower_case_table_names=1 --initialize-insecure --default-authentication-plugin=mysql_native_password
./bin/mysqld --datadir=~/data5 --socket=/tmp/mysql.sock --port=3306 --core-file --lower_case_table_names=1 --innodb_directories='~/tessdata_fast-main'
#0 pthread_kill () from /lib64/libpthread.so.0
#1 my_write_core (sig=6) at mysql1/mysys/stacktrace.cc:344
#2 handle_fatal_signal (sig=6) at mysql1/sql/signal_handler.cc:232
#3
#4 raise () from /lib64/libc.so.6
#5 abort () from /lib64/libc.so.6
#6 my_server_abort () at mysql1/sql/signal_handler.cc:288
#7 my_abort () at mysql1/mysys/my_init.cc:264
#8 ut_dbg_assertion_failed (expr="exists", file="mysql1/storage/innobase/os/os0file.cc", line=7772) at mysql1/storage/innobase/ut/ut0dbg.cc:100
#9 Dir_Walker::is_directory (path="/tessdata_fast-main/configs") at mysql1/storage/innobase/os/os0file.cc:7772/tessdata_fast-main/", recursive=true, f=...) at mysql1/storage/innobase/os/os0file.cc:3663
#10 Dir_Walker::walk_posix(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool, std::function<void (std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned long)>&&) (
basedir="
- Ngôn ngữ chính
- C++
- Star
- 6k
- Fork
- 902
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của alibaba/AliSQL
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
-
Deployment Architecture Issues Đang mở
Tất cả issue của alibaba/AliSQL
Issue tương tự
-
Code path without return value Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
drogonframework/drogon#2605 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
ArthurSonzogni/FTXUI#1363 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 94/100
MiSTer-devel/Main_MiSTer#1325 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100