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

zsh: segmentation fault .... #11

Open
hansfzlorenzana opened this issue Aug 30, 2023 · 10 comments
Open

zsh: segmentation fault .... #11

hansfzlorenzana opened this issue Aug 30, 2023 · 10 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@hansfzlorenzana
Copy link

This happened after upgrading to 1.1.1.

I reverted to 1.1.0 and the issue is gone. Any ideas what caused it?

Python 3.10.0

@snowby666
Copy link
Owner

Can you show me the logs and the functions that you used?

@muchuan19971207
Copy link

I also have this problem the error message is " zsh: segmentation fault python xxx.py. "
And I used two of these function -> Poe.chat_with_bot(token) & client.send_message(bot, "What is this file about?", file_path=local_paths) to upload the pdf file

@snowby666
Copy link
Owner

whats your python version and OS?

@muchuan19971207
Copy link

Python 3.9.10
macOS Big Sur 11.4

@snowby666
Copy link
Owner

Mhm if you are using MacOS then I think the problem could have been the keyboard lib.
It would be better if you can upload the whole error logs here.

@snowby666
Copy link
Owner

if possible try using sudo to test if it works

@muchuan19971207
Copy link

if possible try using sudo to test if it works

I use sudo and the error message is
Segmentation fault: 11

@muchuan19971207
Copy link

Mhm if you are using MacOS then I think the problem could have been the keyboard lib.

I use lldb to test where cause error and it shows up
(lldb) r
Process 9833 launched: '/Users/muchuanli/miniforge3/bin/python' (arm64)
Process 9833 stopped

  • thread Add streaming #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x28ef83df0)
    frame #0: 0x00000001997a2968 libsystem_platform.dylib_platform_memmove + 40 libsystem_platform.dylib_platform_memmove:
    -> 0x1997a2968 <+40>: ldnp q2, q3, [x1]
    0x1997a296c <+44>: sub x5, x3, x0
    0x1997a2970 <+48>: add x1, x1, x5
    0x1997a2974 <+52>: ldnp q0, q1, [x1]
    Target 0: (python) stopped.

@elix1er
Copy link

elix1er commented Sep 9, 2023

same sers

@snowby666 snowby666 added bug Something isn't working help wanted Extra attention is needed labels Sep 10, 2023
@snowby666
Copy link
Owner

is this bug still occurring in the latest version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants