Open basiljose1 opened 7 years ago
How did you install Toxygen? What version are you using?
i installed by following toxygen documentation, regarding version, tried both latest stable and development versions after getting the initial login window it's ending up with Segmentation fault (core dumped)
toxcore package compiled : irungentoo/toxcore
OS details: Distributor ID: Ubuntu Description: Ubuntu 17.04 Release: 17.04 Codename: zesty
Install latest Python3: sudo apt-get install python3 Install PySide: sudo apt-get install python3-pyside or install PyQt4 (sudo apt-get install python3-pyqt4). Install toxcore with toxav support in your system (install in /usr/lib/) Install PyAudio: sudo apt-get install portaudio19-dev and sudo apt-get install python3-pyaudio Download toxygen Unpack archive Run app: python3 main.py Optional: install toxygen using setup.py: python3 setup.py install
Are you sure that both python and toxcore are 64 (32) bit?
Python and OS is 64 bit But i don't know how to check toxcore architecture, is there any option to check the same
I think you have to check libtoxcore.so manually. "file" command probably can help.
Thanks for your info, i found that
$ file /usr/local/lib/libtoxcore.so.0.0.0
/usr/local/lib/libtoxcore.so.0.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=60b36e35c1e1ffe4dc36179496f7c52b974ab1c7, not stripped
Interesting. Can you provide output for:
python3
import sys
import ctypes
print(sys.maxsize > 2 ** 32)
x = ctypes.CDLL("libtoxcore.so")
print(x)```
Output :
<CDLL 'libtoxcore.so', handle 55568c3b68f0 at 0x7f7ea80dc2e8>
Libtoxcore.so was loaded successfully, so problem is smth else. Will debug it today.
For some reason creation of ToxAV instance fails. Probably toxcore can't work with latest libvpx normally. I recommend to try prebuilt binary for now. I will try to find a solution but it requires more time.
prebuilt binary work like charm :+1: Thanks @ingvar1995
@ingvar1995 is there any update on the issue
@basiljose1 I tried to compile toxcore with old libs but without success. Didn't have free time to look closer. Hope to back to this problem during weekend.
@ingvar1995 Ok thanks
i am seeing this also when installing on arch from the AUR
@strannik-j how did you install toxygen? was busy lately, wasn't able to look into this bug :cry:
While running toxygen in Ubuntu 17.02 , getting Segmentation fault (core dumped)