simplebot-org / simplebot

Extensible Delta Chat bot written in Python3
Mozilla Public License 2.0
34 stars 9 forks source link

Error "Illegal instruction" after starting any bot. #92

Closed lerdem closed 2 years ago

lerdem commented 2 years ago

See issue details here https://github.com/simplebot-org/simplebot_feeds/issues/13.

lerdem commented 2 years ago

Issue resolved in simplebot_feeds#13.

lerdem commented 2 years ago

I have got same error. Here is additional info from gdb debugger. Please, help me.

Starting program: /home/some_username/simplebot/venv/bin/python3 /home/some_username/simplebot/venv/bin/simplebot init some_user@mail.com password
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff4961700 (LWP 30575)]
[New Thread 0x7ffff4760700 (LWP 30576)]
[New Thread 0x7ffff455f700 (LWP 30577)]
[New Thread 0x7ffff435e700 (LWP 30578)]
[New Thread 0x7fffe7fff700 (LWP 30579)]
[New Thread 0x7fffe7dfe700 (LWP 30580)]
[New Thread 0x7fffe7bfd700 (LWP 30581)]
[New Thread 0x7fffe79fc700 (LWP 30582)]
[Thread 0x7ffff455f700 (LWP 30577) exited]
[Thread 0x7ffff435e700 (LWP 30578) exited]
[New Thread 0x7ffff435e700 (LWP 30589)]

Thread 10 "blocking-3" received signal SIGILL, Illegal instruction.
[Switching to Thread 0x7ffff435e700 (LWP 30589)]
0x00007ffff6365f85 in sha2::sha512::x86::sha512_compress_x86_64_avx2 ()
   from /home/some_username/simplebot/venv/lib/python3.7/site-packages/deltachat/capi.abi3.so
adbenitez commented 2 years ago

you are using python 3.7 there, in your other issue you reported that changing to 3.9 solved the issue

adbenitez commented 2 years ago

anyway python 3.7 should work, and it works in the tests here in CI not sure what is wrong with your system