gpt-computer-assistant icon indicating copy to clipboard operation
gpt-computer-assistant copied to clipboard

Segmentation fault (core dumped) - Ubuntu

Open LeBaronDeCharlus opened this issue 8 months ago • 0 comments

Hi ! :wave:

I have [1] 1427530 segmentation fault (core dumped) computerassistant error while trying to interact with computerassistant.

When I ask a question, it answers well but crash just after.

Here is an example while asking "how are you ?"

~ computerassistant

[09:59:17] Upsonic active                                                                                                                                                   on_prem.py:130
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Collecting AppOpener==1.7
  Using cached appopener-1.7-py3-none-any.whl (12 kB)
Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (from AppOpener==1.7) (0.37.1)
Requirement already satisfied: regex in /usr/local/lib/python3.10/dist-packages (from AppOpener==1.7) (2024.5.15)
Requirement already satisfied: psutil in /usr/lib/python3/dist-packages (from AppOpener==1.7) (5.9.0)
ERROR: Could not find a version that satisfies the requirement pywin32 (from appopener) (from versions: none)
ERROR: No matching distribution found for pywin32
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Collecting AppOpener==1.7
  Using cached appopener-1.7-py3-none-any.whl (12 kB)
Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (from AppOpener==1.7) (0.37.1)
Requirement already satisfied: regex in /usr/local/lib/python3.10/dist-packages (from AppOpener==1.7) (2024.5.15)
Requirement already satisfied: psutil in /usr/lib/python3/dist-packages (from AppOpener==1.7) (5.9.0)
ERROR: Could not find a version that satisfies the requirement pywin32 (from appopener) (from versions: none)
ERROR: No matching distribution found for pywin32
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Requirement already satisfied: duckduckgo-search==5.3.0 in /usr/local/lib/python3.10/dist-packages (5.3.0)
Requirement already satisfied: click>=8.1.7 in /usr/local/lib/python3.10/dist-packages (from duckduckgo-search==5.3.0) (8.1.7)
Requirement already satisfied: orjson>=3.10.0 in /usr/local/lib/python3.10/dist-packages (from duckduckgo-search==5.3.0) (3.10.3)
Requirement already satisfied: curl-cffi>=0.6.2 in /usr/local/lib/python3.10/dist-packages (from duckduckgo-search==5.3.0) (0.6.4)
Requirement already satisfied: cffi>=1.12.0 in ./.local/lib/python3.10/site-packages (from curl-cffi>=0.6.2->duckduckgo-search==5.3.0) (1.16.0)
Requirement already satisfied: certifi>=2024.2.2 in ./.local/lib/python3.10/site-packages (from curl-cffi>=0.6.2->duckduckgo-search==5.3.0) (2024.2.2)
Requirement already satisfied: pycparser in ./.local/lib/python3.10/site-packages (from cffi>=1.12.0->curl-cffi>=0.6.2->duckduckgo-search==5.3.0) (2.22)
Profile: None
pygame 2.5.2 (SDL 2.28.2, Python 3.10.12)
Hello from the pygame community. https://www.pygame.org/contribute.html
Imported all libraries
QWidget::setLayout: Attempting to set QLayout "" on MainWindow "", which already has a layout
Recording started...
State updated: talking
Recording stopped
Audio saved as voice_input.wav
ON RECORDING STOPPED
State updated: thinking
State updated: thinking
HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
HISTORY DB /home/lebaron/.local/lib/python3.10/site-packages/gpt_computer_assistant/utils/artifacts/history_default.db
LLM INPUT USER: How are you today?
HISTORY DB /home/lebaron/.local/lib/python3.10/site-packages/gpt_computer_assistant/utils/artifacts/history_default.db
HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
HISTORY DB /home/lebaron/.local/lib/python3.10/site-packages/gpt_computer_assistant/utils/artifacts/history_default.db
THE LAST MESSAGES I'm functioning perfectly, thank you! How can I help you today?
HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
State updated: talking
State updated: idle
[1]    1427530 segmentation fault (core dumped)  computerassistant

OS information :

~ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy

Python information :

~ python3 --version
Python 3.10.12

Openassistant version :

~ pip3 show gpt-computer-assistant
Name: gpt-computer-assistant
Version: 0.8.9
Summary: GPT

Thanks for the great project ! :smile:

LeBaronDeCharlus avatar Jun 07 '24 08:06 LeBaronDeCharlus