Skip to content
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

Segmentation fault #5

Open
Shubhgajj2004 opened this issue Sep 9, 2024 · 0 comments
Open

Segmentation fault #5

Shubhgajj2004 opened this issue Sep 9, 2024 · 0 comments

Comments

@Shubhgajj2004
Copy link

Thanks for this repo! When I tried running in my laptop, it ran perfectly fine once, but then after it is showing segmentation fault in my laptop. I tried deleting and reinstalling again and again, but everytime shows this errors:

SHUBH@LAPTOP-UQ9C3LSC MINGW64 ~/Desktop/livekit-assistant (main)
$ python assistant.py start
{"message": "starting worker", "level": "INFO", "version": "0.8.11", "timestamp": "2024-09-09T17:37:03.994199+00:00"}
Segmentation fault

SHUBH@LAPTOP-UQ9C3LSC MINGW64 ~/Desktop/livekit-assistant (main)
$ Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\spawn.py", line 116, in spawn_main    
    exitcode = _main(fd, parent_sentinel)
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\spawn.py", line 126, in _main
    self = reduction.pickle.load(from_parent)
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\reduction.py", line 238, in _rebuild_socket
    return ds.detach()
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\resource_sharer.py", line 38, in detach
    with _resource_sharer.get_connection(self._id) as conn:
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\resource_sharer.py", line 86, in get_connection
    c = Client(address, authkey=process.current_process().authkey)
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\connection.py", line 505, in Client   
    c = PipeClient(address)
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\connection.py", line 707, in PipeClient
    _winapi.WaitNamedPipe(address, 1000)
FileNotFoundError: [WinError 2] The system cannot find the file specified
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\spawn.py", line 116, in spawn_main    
    exitcode = _main(fd, parent_sentinel)
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\spawn.py", line 126, in _main
    self = reduction.pickle.load(from_parent)
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\reduction.py", line 238, in _rebuild_socket
    return ds.detach()
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\resource_sharer.py", line 38, in detach
    with _resource_sharer.get_connection(self._id) as conn:
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\resource_sharer.py", line 86, in get_connection
    c = Client(address, authkey=process.current_process().authkey)
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\connection.py", line 505, in Client   
    c = PipeClient(address)
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\connection.py", line 707, in PipeClient
    _winapi.WaitNamedPipe(address, 1000)
FileNotFoundError: [WinError 2] The system cannot find the file specified
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\spawn.py", line 116, in spawn_main    
    exitcode = _main(fd, parent_sentinel)
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\spawn.py", line 126, in _main
    self = reduction.pickle.load(from_parent)
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\reduction.py", line 238, in _rebuild_socket
    return ds.detach()
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\resource_sharer.py", line 38, in detach
    with _resource_sharer.get_connection(self._id) as conn:
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\resource_sharer.py", line 86, in get_connection
    c = Client(address, authkey=process.current_process().authkey)
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\connection.py", line 505, in Client   
    c = PipeClient(address)
  File "C:\Users\SHUBH\AppData\Local\Programs\Python\Python310\lib\multiprocessing\connection.py", line 707, in PipeClient
    _winapi.WaitNamedPipe(address, 1000)
FileNotFoundError: [WinError 2] The system cannot find the file specified

Even I tried cloning freshly your repo ion my friend's laptop, but still it was showing the same error Segmentation fault. Then I tried running on Gitpod and it ran well.

So what could be the issue? What is the probable solution for this?

Thank you.

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