å®å ¨ã«è©°ã¾ã£ããã©ãããã¾ã§ãã¾ã¨ãã¦ããã¾ãã
ååã®å ±åæã«ã¬ãã¥ã¼ä¸ã ã£ã cygport ã® patch ã¯ãã¼ã¸ããã¦ãcygport-0.36.9 ã¨ãã¦ãªãªã¼ã¹ããã¾ããã
ããã§ãã£ã¨ Cygwin å ¬å¼ã® CI ã§ãªãªã¼ã¹ã§ããã¨ãããã¨ã§æ©éãã«ãããããã³ã³ãã¤ã«ã¨ã©ã¼ãçºçãããããruby æ¬ä½ã®æ¹ã« PR ãåºãã¾ããã
PR ã«æ¸ãã¦ããæ¡ä»¶ã§ã®ãã«ãæã« debug_counter.h
ã«ãã #include __FILE__
ã®å±éçµæã -ffile-prefix-map
ã®çµæã使ç¨ããããã«åå¨ããªãå ´æãåç
§ãã¦ãã¾ãã¨ããåé¡ã§ããã
ãã® patch ããã¦ãããã«ãã¦ããã¹ãçã¨ã㦠3.3.2-2 ããªãªã¼ã¹ããã¦ã¿ã¾ããã
æ®éã« make test
ã¾ã§ pass ããããã«ãªã£ããããããããããããã¼ã¹ã« ruby_33
ã® extension ããã«ããã¦ãããã¨æã£ã¦ããã®ã§ãããgem install
ãçªç¶æ»ããã¨ããç¾è±¡ãçºçãã¦ãç¾å¨èª¿æ»ä¸ã«ãªã£ã¦ã¾ãã
çªç¶æ»ãã¦ããåå ãªã®ã§ãããgdb ã§è¿½ã£ããã¦ã¿ããããã¨ãããå¤é¨ããã»ã¹ã Open3.#popen2e ã§èµ·åããéã«ãã®ããã»ã¹ãå¾
ã¤ã¹ã¬ããã Cygwin ã®å
é¨ããããã cygthread ã tls ã触ã£ã¦ãããã㧠SEGV ãçºçããã¦ãããããªã®ã§ãããå®è¡æ¯ã«ã¹ã¿ãã¯ãã¬ã¼ã¹ãã¶ã£å£ãã¦ãããã¦ãåç¾ã§ããªããããã¡ãã£ã¨ãã以ä¸ã®èª¿æ»ã«ã¯ãããªãæ ¹æ°ãå¿
è¦ã ãªã¨æã£ã¦ãã¨ããã§ãã
[追è¨] ããããç°å¢ã Aarch64 ã®ãããcygwin1.dll ããä¸ã®å±¤ (windows) ã® stacktrace ãåå¾ã§ããªã模æ§ãx86_64 ã®ç°å¢ãç¨æããªãã¨ãä½ãããããããªãããã
gdb 㧠SEGV ãåãã¦ããã¨ã¯ç¢ºèªã§ãã...ã pic.twitter.com/HlooQ80lcp
— ãããããã (@fd0) 2024å¹´6æ14æ¥
gdb-dashboard ã®åãåããã pic.twitter.com/3c5R7T7LeD
— ãããããã (@fd0) 2024å¹´6æ14æ¥
ã¡ãªã¿ã«ã¤ãå æ¥ 3.3.3 ããªãªã¼ã¹ããããããé§ç®å ã§ãã£ã¡ããã«ããã¦ã¿ã¾ãããããã£ã±ãé§ç®ã§ãã...ã