blackStar1314

Results 3 issues of blackStar1314

测试用例:http://ip:port/Local/1 - 副本 (17).mp3 postman: ![image](https://user-images.githubusercontent.com/53989046/182997917-7b8c2449-be69-43db-b288-b039bd60186d.png) 关键代码段: ![image](https://user-images.githubusercontent.com/53989046/182997994-ba951222-3015-4146-a2fa-5587d9281817.png) 原因: std::ifstream 对于utf8编码字符串文件路径,打开异常 处理方式: http请求参数默认utf8编码,使用file_system::u8path转码下 ![image](https://user-images.githubusercontent.com/53989046/182998348-8d7ba90b-c3c7-4f80-8ad9-396cb40a46c7.png) 可用考虑处理下,谢谢!

I use gdb to analyze a core dump file, stack info follow: ![企业微信截图_17304507377887](https://github.com/user-attachments/assets/a40e09d8-231a-40e4-8916-aaaa89634dfe) Find out _avahiClientReady.tryWait() false. I not know why?

现象: ![image](https://github.com/user-attachments/assets/9d890a90-8498-4341-ba50-9d29eedbc4b4) 堆栈信息: ![image](https://github.com/user-attachments/assets/2f071ab7-e220-43cd-a860-ed83afea880a) 原因: 该静态变量析构顺序在GdiplusShutdown(gdiplusToken)之后,导致Gdiplus::FontFamily()析构异常。 问题源码:https://github.com/NanoMichael/MicroTeX/blob/086f4eb740270b28bd0c61a0a359aea9300d61ae/platform/gdi_win/graphic_win32.cpp#L24 可行的一种解决思路: PlatformFactory_gdi 析构中管理这个对象的析构,保证在GdiplusShutdown(gdiplusToken)之前析构Gdiplus::FontFamily()