pathmann / pyTSon

pyTSon is a plugin for the TeamSpeak 3 client, it offers a python interface for the plugin sdk
https://pytson.4qt.de
GNU General Public License v3.0
79 stars 12 forks source link

Ubuntu Bionic LTS Segmentation fault #87

Closed madrang closed 6 years ago

madrang commented 6 years ago

Official version in Ts3 Client in Ubuntu Bionic 18.04 LTS.

2018-04-26 02:03:12.260815|INFO    |Plugins       |   |Loading plugin: libpyTSon_linux_amd64.so
2018-04-26 02:03:12.406457|INFO    |Addon         |   |Addon up to date.
Breakpad crash /home/madrang/.ts3client/crashdumps/05c0b0e1-2636-9c2c-6895ca94-4510db1d.dmp
Starting Error Reporter: /home/madrang/Apps/TeamSpeak3/error_report
/home/madrang/bin/ts3client: line 53:  9294 Segmentation fault      (core dumped) ./ts3client_linux_amd64 $@

Latest unstable build downloaded from here: https://repo.4qt.de/pyTSon/nightlies/

2018-04-26 02:28:12.038600|INFO    |Plugins       |   |Loading plugin: libpyTSon_linux_amd64.so
2018-04-26 02:28:12.039407|INFO    |Plugins       |   |Failed to load plugin: /home/madrang/.ts3client/plugins/libpyTSon_linux_amd64.so
2018-04-26 02:28:12.039470|INFO    |Plugins       |   |dlopen error: ./libssl.so.1.0.0: version `OPENSSL_1.0.2' not found (required by /home/madrang/.ts3client/plugins/pyTSon/libpython3.5m_64.so)
pathmann commented 6 years ago

I guess you upgraded from a previous ubuntu release?

Can someone pls post the output of apt show openssl?

Bluscream commented 6 years ago

@madrang @sossensystems

SossenSystems commented 6 years ago
28.04.18 11:55:56       Info    TeamSpeak 3 Client 3.1.8 (2018-01-22 09:50:07)  
28.04.18 11:55:56       Info    SystemInformation: Linux 4.13.0-39-generic #44~16.04.1-Ubuntu SMP Thu Apr 5 16:43:10 UTC 2018 x86_64 Binary: 64bit  
28.04.18 11:55:56   PulseAudio  Debug   connected to pulse audio server -   
28.04.18 11:55:56   ClientUI    Info    OpenGL Info: LibGL, Vendor: Intel Open Source Technology Center, Renderer: Mesa DRI Intel(R) Sandybridge Mobile , Version: 3.0 Mesa 17.2.8  
28.04.18 11:55:56   ZipArchive  Info    zip open: /home/administrator/.ts3client/gfx/dark error: -1000  
28.04.18 11:55:56   ZipArchive  Info    Failed to load /home/administrator/.ts3client/gfx/countries.zip, falling back to /home/TeamSpeak3-Client-linux_amd64/gfx/countries.zip  
28.04.18 11:55:56   Addons  Info    Checking for addon updates...   
28.04.18 11:55:56   Addon   Info    Addon up to date.   
28.04.18 11:55:56   Addon   Info    Addon up to date.   
28.04.18 11:55:56   Addon   Info    Addon up to date.   
28.04.18 11:55:56   Plugins Info    Loading plugin: libpyTSon_linux_amd64.so    
28.04.18 11:55:56   Plugins Info    Failed to load plugin: /home/administrator/.ts3client/plugins/libpyTSon_linux_amd64.so  
28.04.18 11:55:56   Plugins Info    dlopen error: ./libssl.so.1.0.0: version `OPENSSL_1.0.2' not found (required by /home/administrator/.ts3client/plugins/pyTSon/libpython3.5m_64.so)  
28.04.18 11:55:57       Info    successfully downloaded revocation list 
28.04.18 11:55:57       Info    *** Time [SERVERVIEWMANAGER]: 152   
28.04.18 11:55:58       Info    *** Time [MAINWINDOW]: 547  
28.04.18 11:55:58       Info    *** Time [INIT]: 548    
28.04.18 11:55:58   ClientUI    Devel   Notifications init: Soundpack path: /home/administrator/.ts3client/sound/Teamspeak2 
28.04.18 11:55:58   ClientUI    Info    Failed to init text to speech engine    
28.04.18 11:55:58   ClientUI    Info    Qt version: 5.6.1   
28.04.18 11:55:58   ClientUI    Info    Using configuration location: /home/administrator/.ts3client/settings.db    
28.04.18 11:55:58   Bookmarks   Info    Collecting autoconnect bookmarks    
28.04.18 11:55:58   ClientUI    Info    Last update check was: Sa. Apr. 28 12:55:10 2018    
28.04.18 11:55:58       Info    Statistics report: Not yet, next report on Sa. Mai 19 18:59:45 2018 
28.04.18 11:55:59   Newsticker  Info    Newsticker next check: Sa. Apr. 28 13:55:11 2018    
28.04.18 11:55:59   Newsticker  Info    Newsticker received for language de, expires on Sa. Apr. 28 14:25:59 2018, next check in 1800 seconds   

I have the same error with the newest beta.

That what do you want:

administrator@michael-netcon-5749:~$ apt show openssl -a
Package: openssl
Version: 1.0.2g-1ubuntu4.12
Priority: standard
Section: utils
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian OpenSSL Team <pkg-openssl-devel@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 956 kB
Depends: libc6 (>= 2.15), libssl1.0.0 (>= 1.0.2g)
Suggests: ca-certificates
Task: standard, ubuntu-core, ubuntu-core, mythbuntu-frontend, mythbuntu-backend-slave, mythbuntu-backend-master, ubuntu-touch-core, ubuntu-touch, ubuntu-sdk-libs-tools, ubuntu-sdk
Supported: 5y
Download-Size: 492 kB
APT-Manual-Installed: yes
APT-Sources: http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
Description: Secure Sockets Layer toolkit - cryptographic utility
 This package is part of the OpenSSL project's implementation of the SSL
 and TLS cryptographic protocols for secure communication over the
 Internet.
 .
 It contains the general-purpose command line binary /usr/bin/openssl,
 useful for cryptographic operations such as:
  * creating RSA, DH, and DSA key parameters;
  * creating X.509 certificates, CSRs, and CRLs;
  * calculating message digests;
  * encrypting and decrypting with ciphers;
  * testing SSL/TLS clients and servers;
  * handling S/MIME signed or encrypted mail.

Package: openssl
Version: 1.0.2g-1ubuntu4
Priority: standard
Section: utils
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian OpenSSL Team <pkg-openssl-devel@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 956 kB
Depends: libc6 (>= 2.15), libssl1.0.0 (>= 1.0.2g)
Suggests: ca-certificates
Task: standard, ubuntu-core, ubuntu-core, mythbuntu-frontend, mythbuntu-backend-slave, mythbuntu-backend-master, ubuntu-touch-core, ubuntu-touch, ubuntu-sdk-libs-tools, ubuntu-sdk
Supported: 5y
Download-Size: 492 kB
APT-Sources: http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
Description: Secure Sockets Layer toolkit - cryptographic utility
 This package is part of the OpenSSL project's implementation of the SSL
 and TLS cryptographic protocols for secure communication over the
 Internet.
 .
 It contains the general-purpose command line binary /usr/bin/openssl,
 useful for cryptographic operations such as:
  * creating RSA, DH, and DSA key parameters;
  * creating X.509 certificates, CSRs, and CRLs;
  * calculating message digests;
  * encrypting and decrypting with ciphers;
  * testing SSL/TLS clients and servers;
  * handling S/MIME signed or encrypted mail.
SossenSystems commented 6 years ago

I am not sure if I upgraded from an earlier version.

madrang commented 6 years ago

I did upgrade, but all dependencies are there and teamspeak is working if i disable the addon. But i made an audiobot and love to use it :-D https://github.com/madrang/pyTSon-AudioBot

Edit: There is a file "~/Apps/TeamSpeak3/libssl.so.1.0.0" that should be used, i think ??

madrang@ASTitan:~$  apt show openssl -a
Package: openssl
Version: 1.1.0g-2ubuntu4
Priority: important
Section: utils
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian OpenSSL Team <pkg-openssl-devel@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1,125 kB
Depends: libc6 (>= 2.15), libssl1.1 (>= 1.1.0)
Suggests: ca-certificates
Homepage: https://www.openssl.org/
Task: minimal
Supported: 5y
Download-Size: 532 kB
APT-Manual-Installed: yes
APT-Sources: http://ca.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
Description: Secure Sockets Layer toolkit - cryptographic utility
 This package is part of the OpenSSL project's implementation of the SSL
 and TLS cryptographic protocols for secure communication over the
 Internet.
 .
 It contains the general-purpose command line binary /usr/bin/openssl, useful for cryptographic operations such as:
  * creating RSA, DH, and DSA key parameters;
  * creating X.509 certificates, CSRs, and CRLs;
  * calculating message digests;
  * encrypting and decrypting with ciphers;
  * testing SSL/TLS clients and servers;
  * handling S/MIME signed or encrypted mail.
Bmohsen commented 6 years ago

i have the same problem:

2018-05-25 20:02:37.544153|INFO    |Plugins       |   |Loading plugin: libpyTSon_linux_amd64.so
2018-05-25 20:02:37.545608|INFO    |Plugins       |   |Failed to load plugin: /home/mohsen/.ts3client/plugins/libpyTSon_linux_amd64.so
2018-05-25 20:02:37.545747|INFO    |Plugins       |   |dlopen error: ./libssl.so.1.0.0: version `OPENSSL_1.0.2' not found (required by /home/mohsen/.ts3client/plugins/pyTSon/libpython3.5m_64.so)
2018-05-25 20:02:37.545910|INFO    |Plugins       |   |Loading plugin: liblua_plugin_linux_amd64.so
LUA_PLUGIN: registerPluginID: {c6fa7bdf-8d5e-4b2e-9cfa-1832e5309725}

OPENSSL:

mohsen@mohsen-Lenovo:~$ apt show openssl -a
Package: openssl
Version: 1.1.0g-2ubuntu4
Priority: important
Section: utils
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian OpenSSL Team <pkg-openssl-devel@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1,125 kB
Depends: libc6 (>= 2.15), libssl1.1 (>= 1.1.0)
Suggests: ca-certificates
Homepage: https://www.openssl.org/
Task: minimal
Supported: 5y
Download-Size: 532 kB
APT-Manual-Installed: yes
APT-Sources: http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
Description: Secure Sockets Layer toolkit - cryptographic utility
 This package is part of the OpenSSL project's implementation of the SSL
 and TLS cryptographic protocols for secure communication over the
 Internet.
 .
 It contains the general-purpose command line binary /usr/bin/openssl,
 useful for cryptographic operations such as:
  * creating RSA, DH, and DSA key parameters;
  * creating X.509 certificates, CSRs, and CRLs;
  * calculating message digests;
  * encrypting and decrypting with ciphers;
  * testing SSL/TLS clients and servers;
  * handling S/MIME signed or encrypted mail.
SossenSystems commented 6 years ago

@pathmann No solution since April...

pathmann commented 6 years ago

Yep, I don't have time to rework the setup of my buildmachines. Dependency handling of TeamSpeak plugins for all platforms is pain in the ass. Feel free to compile it yourself.

pathmann commented 6 years ago

Please retest with this build. Note, that this uses another python build (with statically linked openssl in the shared _ssl module) and the plugin binary changed too, so make sure to delete old files (I recommend deleting ~/.ts3client/plugins/*pyTSon*).

If this works for you, I can adapt my buildmachine(s) accordingly.

SossenSystems commented 6 years ago

The version works! I will test these a little bit now.

pathmann commented 6 years ago

Release v1.2.3 and the new nightlies are built with the new environment.

Bluscream commented 6 years ago

Thanks for the new update, really appreciate it!