Aru

Results 6 comments of Aru

Same issue here. Any possible approaches? OS: Arch Linux 5.18.2-zen1-1-zen HMCL version: 3.5.3.221

同样的问题。 环境:ArchLinux, KikoPlay AUR 0.8.1, mpv 0.34.1, lua 5.3.6, luajit 2.0.5 ``` (gdb) r Starting program: /usr/bin/KikoPlay [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffe150b640...

> 挺奇怪的,要不试一下编译mpv官方这个例子 https://github.com/mpv-player/mpv-examples/tree/master/libmpv/qt_opengl ,看看可以正常运行吗 正常运行。 ``` ❯ ./qt_opengl [cplayer] mpv 0.34.1-dirty Copyright © 2000-2021 mpv/MPlayer/mplayer2 projects [cplayer] built on UNKNOWN [cplayer] FFmpeg library versions: [cplayer] libavutil 56.70.100 [cplayer] libavcodec 58.134.100...

> https://github.com/KikoPlayProject/KikoPlay/blob/master/Play/Video/mpvplayer.cpp#L113 https://github.com/KikoPlayProject/KikoPlay/blob/master/Play/Video/mpvplayer.cpp#L123 https://github.com/KikoPlayProject/KikoPlay/blob/master/Play/Video/mpvplayer.cpp#L123 https://github.com/KikoPlayProject/KikoPlay/blob/master/Play/Video/mpvplayer.cpp#L100 试着把这几行都注释掉 之后把settings.ini里的Play/ShowPreview 改成false (如果没有找到,就直接把这里[https://github.com/KikoPlayProject/KikoPlay/blob/master/Play/Video/mpvplayer.cpp#L149的true改成false),之后重新编译测试看看](https://github.com/KikoPlayProject/KikoPlay/blob/master/Play/Video/mpvplayer.cpp#L149%E7%9A%84true%E6%94%B9%E6%88%90false%EF%BC%89%EF%BC%8C%E4%B9%8B%E5%90%8E%E9%87%8D%E6%96%B0%E7%BC%96%E8%AF%91%E6%B5%8B%E8%AF%95%E7%9C%8B%E7%9C%8B) 你提到的四个链接里事实上只涉及到了三行代码(L100, L113 和 L123)。把这三行注释掉,并将 L149 改为 false 重新编译后运行,仍然报 Segmentation fault. gdb 结果与 https://github.com/KikoPlayProject/KikoPlay/issues/44#issuecomment-1013108531 中完全一致。

> 系统的mpv有加载什么脚本吗,有条件可否在源码上单步调试一下? 没有加载脚本。我可以尝试一下单步调试,具体需要在哪几处打断点,或是看哪些变量?

Clone master branch 之后新建 venv 环境并 `pip install .` 报错 ``` FileNotFoundError: [Errno 2] No such file or directory: '/home/aru/Temporary/bypy/venv/lib/python3.10/site-packages/bypy/res/auth.json' ``` 但是该文件在当前路径下存在 ``` > fd auth baidudoc/baidu_oauth_rest_api_list.pdf baidudoc/baidu_oauth_rest_overview.pdf bypy/res/auth.json ```...