{"thread":{"id":"65979","subject":"Git 2.55.0/next/seen NO_RUST fsmonitor BUG_vfl crash","startedAt":"2026-07-12T04:04:20Z","lastAt":"2026-07-12T04:04:20Z","messageCount":1,"participants":["Đoàn Trần Công Danh"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"547873","messageId":"alMSIcJRZ6fBQ4vz@danh.dev","threadId":"65979","inReplyTo":null,"subject":"Git 2.55.0/next/seen NO_RUST fsmonitor BUG_vfl crash","fromName":"Đoàn Trần Công Danh","fromEmail":"congdanhqx@gmail.com","sentAt":"2026-07-12T04:04:17Z","receivedAt":"2026-07-12T04:04:20Z","isPatch":false,"body":"Hello,\n\nWith Git 2.55.0 built without Rust (NO_RUST = Yes), also observed\nwith seen and next branches.\n\nRunning ./t7527-builtin-fsmonitor.sh will run into crash on:\n\nnot ok 43 - Matrix[uc:false][fsm:true] move_directory_up\n#\n#\t\t\tmatrix_clean_up_repo &&\n#\t\t\t$fn &&\n#\t\t\tif test $uc = false && test $fsm = false\n#\t\t\tthen\n#\t\t\t\tgit status --porcelain=v1 >.git/expect.$fn\n#\t\t\telse\n#\t\t\t\tgit status --porcelain=v1 >.git/actual.$fn &&\n#\t\t\t\ttest_cmp .git/expect.$fn .git/actual.$fn\n#\t\t\tfi\n#\n\nWith backtrace:\n\n\n#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44\n#1  0x00007fad081c724f in __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:89\n#2  0x00007fad08177fe2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26\n#3  0x00007fad08160efc in __GI_abort () at ./stdlib/abort.c:73\n#4  0x0000561637c48e71 in BUG_vfl (file=0x561637fc98b0 \"compat/fsmonitor/fsm-listen-linux.c\", line=144, fmt=0x561637fc9890 \"double remove of watch for '%s'\", params=0x7fad03929b38)\n    at usage.c:343\n#5  BUG_fl (file=file@entry=0x561637fc98b0 \"compat/fsmonitor/fsm-listen-linux.c\", line=line@entry=144, fmt=fmt@entry=0x561637fc9890 \"double remove of watch for '%s'\") at usage.c:360\n#6  0x0000561637f490bf in remove_watch (w=0x561675350240, data=data@entry=0x56167533b050) at compat/fsmonitor/fsm-listen-linux.c:144\n#7  0x0000561637f49f22 in rename_dir (cookie=<optimized out>, path=0x561675352260 \"/home/sgn/src/git/t/trash directory.t7527-builtin-fsmonitor/T1/T3\", data=<optimized out>)\n    at compat/fsmonitor/fsm-listen-linux.c:246\n#8  process_event (path=0x561675352260 \"/home/sgn/src/git/t/trash directory.t7527-builtin-fsmonitor/T1/T3\", event=0x7fad03929de0, batch=<synthetic pointer>, cookie_list=0x7fad03929d60,\n    state=0x7ffdb01840c0) at compat/fsmonitor/fsm-listen-linux.c:559\n#9  handle_events (state=state@entry=0x7ffdb01840c0) at compat/fsmonitor/fsm-listen-linux.c:661\n#10 0x0000561637f4a73f in fsm_listen__loop (state=state@entry=0x7ffdb01840c0) at compat/fsmonitor/fsm-listen-linux.c:728\n#11 0x0000561637ca8e65 in fsm_listen__thread_proc (_state=0x7ffdb01840c0) at builtin/fsmonitor--daemon.c:1194\n#12 0x00007fad081c5579 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:448\n#13 0x00007fad0823f858 in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78\n\n\n[System Info]\ngit version:\ngit version 2.55.0.551.g10ab9bd069f7d\ncpu: x86_64\nbuilt from commit: 10ab9bd069f7d523b2392c7b471a6a7af88a5740\nsizeof-long: 8\nsizeof-size_t: 8\nshell-path: /bin/sh\nrust: disabled\nfeature: fsmonitor--daemon\ngettext: enabled\nlibcurl: 8.21.0\nOpenSSL: OpenSSL 3.6.3 9 Jun 2026\nzlib: 1.3.2\nSHA-1: SHA1_DC\nSHA-256: SHA256_BLK\ndefault-ref-format: files\ndefault-hash: sha1\nuname: Linux 7.0.14_1 #1 SMP PREEMPT_DYNAMIC Sat Jun 27 23:57:22 UTC 2026 x86_64\ncompiler info: gnuc: 14.2\nlibc info: glibc: 2.41\n$SHELL (typically, interactive shell): /bin/zsh\n\n-- \nDanh\n"}]}