-
-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Alpaca frequently crashes with segv.
Example:
- Start new chat
- Ask question
- Streaming response begins, I see output.
- Before message completes, everything crashes
- Reopening the chat shows that I've created it and asked a question, but no response is saved/recorded even if I export the chat.
I've been using openrouter and sonnet 4.5 here, some others give me similar issues. I also have a 5k token limit configured.
Expected behavior
No crashing :)
Screenshots
If applicable, add screenshots to help explain your problem.
Debugging information
$ flatpak run com.jeffser.Alpaca
(process:2): Gtk-WARNING **: 13:13:46.078: Unknown key gtk-modules in /home/zpaden/.var/app/com.jeffser.Alpaca/config/gtk-4.0/settings.ini
INFO [main.py | main] Alpaca version: 8.3.1
(python3:2): Adwaita-WARNING **: 13:13:48.792: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
(python3:2): Gtk-WARNING **: 13:13:49.613: Trying to snapshot GtkStack 0x55712e0dc4b0 without a current allocation
INFO [_client.py | _send_single_request] HTTP Request: POST https://openrouter.ai/api/v1/chat/completions "HTTP/1.1 200 OK"
(python3:2): Gtk-CRITICAL **: 13:14:05.667: gtk_text_attributes_ref: assertion 'values != NULL' failed
(python3:2): Pango-CRITICAL **: 13:14:05.668: pango_layout_new: assertion 'context != NULL' failed
journalctl | rg -i alpaca
Nov 09 13:00:58 bazzite systemd[1912]: Started app-flatpak-com.jeffser.Alpaca-1617106792.scope.
Nov 09 13:00:58 bazzite alpaca[37660]: Unknown key gtk-modules in /home/zpaden/.var/app/com.jeffser.Alpaca/config/gtk-4.0/settings.ini
Nov 09 13:01:00 bazzite flatpak[37660]: INFO [main.py | main] Alpaca version: 8.3.1
Nov 09 13:01:50 bazzite audit[37660]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=37660 comm="alpaca" exe="/usr/bin/python3.13" sig=11 res=1
Nov 09 13:01:50 bazzite kernel: alpaca[37660]: segfault at 4 ip 00007f21cd4b6d74 sp 00007ffd21aa0270 error 4 in libgtk-4.so.1.2000.2[2b6d74,7f21cd2e8000+519000] likely on CPU 1 (core 1, socket 0)
Nov 09 13:01:50 bazzite systemd-coredump[37889]: Process 37660 (alpaca) of user 1000 terminated abnormally with signal 11/SEGV, processing...
Nov 09 13:01:53 bazzite systemd-coredump[37890]: Process 37660 (alpaca) of user 1000 dumped core.
Nov 09 13:01:53 bazzite systemd[1912]: [email protected]: Main process exited, code=exited, status=139/n/a
Nov 09 13:01:53 bazzite systemd[1912]: [email protected]: Failed with result 'exit-code'.
Nov 09 13:01:53 bazzite systemd[1912]: app-flatpak-com.jeffser.Alpaca-1617106792.scope: Consumed 14.539s CPU time, 453.7M memory peak.
CobaltSpace
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working