Skip to content

Whisper cpp 1.7.4 used with go bindings segfaults on raspbery pi 5 #2934

New issue

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

Open
grga1349 opened this issue Mar 23, 2025 · 0 comments
Open

Whisper cpp 1.7.4 used with go bindings segfaults on raspbery pi 5 #2934

grga1349 opened this issue Mar 23, 2025 · 0 comments

Comments

@grga1349
Copy link

Whisper lib was compiled with
cmake -B build -DGGML_CPU_ARM_ARCH=native -DGGML_NATIVE=OFF -DGGML_CPU=ON
cmake --build build --config Release

This is GDB output

[New Thread 0x7ffeb2ec30c0 (LWP 6321)]
[Thread 0x7ffeb2ec30c0 (LWP 6321) exited]
[New Thread 0x7ffeb2ec30c0 (LWP 6322)]
[New Thread 0x7ffeabfff0c0 (LWP 6323)]
[Thread 0x7ffeabfff0c0 (LWP 6323) exited]
[New Thread 0x7ffeabfff0c0 (LWP 6324)]
[New Thread 0x7ffeab7ef0c0 (LWP 6325)]
[New Thread 0x7ffeaafdf0c0 (LWP 6326)]
[New Thread 0x7ffeaa7cf0c0 (LWP 6327)]
[Thread 0x7ffeaa7cf0c0 (LWP 6327) exited]
[New Thread 0x7ffeaa7cf0c0 (LWP 6328)]

Thread 12 "go_assist" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffeabfff0c0 (LWP 6324)]
__memcpy_generic () at ../sysdeps/aarch64/multiarch/../memcpy.S:131
131 ../sysdeps/aarch64/multiarch/../memcpy.S: No such file or directory.
(gdb) bt
#0 __memcpy_generic () at ../sysdeps/aarch64/multiarch/../memcpy.S:131
#1 0x00007fff3878199c in ggml_compute_forward_mul_mat () from /usr/local/lib/libggml-cpu.so
#2 0x00007fff38787160 in ggml_graph_compute_thread.isra () from /usr/local/lib/libggml-cpu.so
#3 0x00007fff3821ae9c in ?? () from /lib/aarch64-linux-gnu/libgomp.so.1
#4 0x00007fff38b1ee90 in start_thread (arg=0x7ffef0f286a7) at ./nptl/pthread_create.c:442
#5 0x00007fff38b87b1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79
(gdb)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant