We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net6.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> <AllowUnsafeBlocks>true</AllowUnsafeBlocks> </PropertyGroup> <ItemGroup> <PackageReference Include="NAudio" Version="2.2.1" /> <PackageReference Include="org.k2fsa.sherpa.onnx" Version="1.10.23" /> </ItemGroup> </Project>
win10 x64 下工作正常,vmware 16 中运行 Debian 12.4 在创建 TTSCore 实例时发生段错误
public TTSCore(SherpaOnnxOfflineTtsConfig modelConfig) { try { IntPtr ttsHandle = SherpaOnnxCreateOfflineTts(modelConfig);
gdb 跟进去看是 SherpaOnnxCreateOfflineTts 调用出错
[Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff7a1e6c0 (LWP 1409)] [New Thread 0x7ffff721d6c0 (LWP 1410)] [New Thread 0x7ffff6a1c6c0 (LWP 1411)] [New Thread 0x7ffff621b6c0 (LWP 1412)] [New Thread 0x7ffff54536c0 (LWP 1413)] [New Thread 0x7ffff4c526c0 (LWP 1414)] [New Thread 0x7fffc5dff6c0 (LWP 1415)] Create SherpaOnnxOfflineTtsConfig ... Create TTSCore ... Thread 1 "TTS" received signal SIGSEGV, Segmentation fault. __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:76 76 ../sysdeps/x86_64/multiarch/strlen-avx2.S: 没有那个文件或目录. (gdb) bt #0 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:76 #1 0x00007fffc528acb0 in SherpaOnnxCreateOfflineTts () from /home/user/Apps/TTS/libsherpa-onnx-c-api.so
请问如何排错?
The text was updated successfully, but these errors were encountered:
别用这个,你用错例子代码了。我们等下删掉它
Sorry, something went wrong.
请用 https://github.com/k2-fsa/sherpa-onnx/tree/master/dotnet-examples/offline-tts 和 https://github.com/k2-fsa/sherpa-onnx/tree/master/dotnet-examples/offline-tts-play
Successfully merging a pull request may close this issue.
win10 x64 下工作正常,vmware 16 中运行 Debian 12.4 在创建 TTSCore 实例时发生段错误
gdb 跟进去看是 SherpaOnnxCreateOfflineTts 调用出错
请问如何排错?
The text was updated successfully, but these errors were encountered: