• XX-Net - Segmentation fault (openssl)

    I am using this aur app XX-Net but recently I am experiencing a segmentation fault, the crash looks linked to openssl and python.

    gdb log:

    Starting program: /usr/bin/python2 code/default/launcher/start.py
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/usr/lib/libthread_db.so.1".
    (start.py:2814): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
    (start.py:2814): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
    ott 11 09:53:03.267 - [INFO] import build-in openssl fail:AttributeError("'module' object has no attribute 'SSL_ST_INIT'",)
    ott 11 09:53:03.339 - [INFO] start XX-Net 3.6.13
    ott 11 09:53:03.339 - [DEBUG] start confirm_xxnet_exit
    ott 11 09:53:03.340 - [DEBUG] good, xxnet:8087 cleared!                                                                                                                     
    ott 11 09:53:03.341 - [DEBUG] good, xxnet:8085 clear!                                                                                                                       
    ott 11 09:53:03.341 - [DEBUG] finished confirm_xxnet_exit                                                                                                                   
    [New Thread 0x7fffe7845700 (LWP 2826)]
    ott 11 09:53:03.416 - [INFO] SSL use version:TLSv1_2
    ott 11 09:53:03.416 - [INFO] OpenSSL support alpn
    ott 11 09:53:03.418 - [INFO] load ip range file:/home/fra/Desktop/XX-Net-master/code/default/gae_proxy/local/ip_range.txt
    ott 11 09:53:03.446 - [INFO] Use google ip range.
    ott 11 09:53:03.446 - [INFO] load google ip_list num:0, gws num:0
    [New Thread 0x7fffe6e37700 (LWP 2827)]
    [New Thread 0x7fffe6e16700 (LWP 2828)]
    [New Thread 0x7fffe6df5700 (LWP 2829)]
    [New Thread 0x7fffe6dd4700 (LWP 2830)]
    [New Thread 0x7fffe6db3700 (LWP 2831)]
    [New Thread 0x7fffe6d92700 (LWP 2832)]
    [New Thread 0x7fffe6d71700 (LWP 2833)]
    [New Thread 0x7fffe6d50700 (LWP 2834)]
    [New Thread 0x7fffe6d2f700 (LWP 2835)]
    [New Thread 0x7fffe6d0e700 (LWP 2836)]
    [New Thread 0x7fffe6ced700 (LWP 2837)]
    ott 11 09:53:03.449 - [INFO] OpenSSL support alpn
    [New Thread 0x7fffe6ccc700 (LWP 2838)]
    [New Thread 0x7fffe6cab700 (LWP 2839)]
    [New Thread 0x7fffe6c8a700 (LWP 2840)]
    [New Thread 0x7fffe6c69700 (LWP 2841)]
    [New Thread 0x7fffe6c48700 (LWP 2842)]
    [New Thread 0x7fffe6c27700 (LWP 2843)]
    ott 11 09:53:03.452 - [WARNING] no enough ip
    [New Thread 0x7fffe6c06700 (LWP 2844)]
    ott 11 09:53:03.456 - [DEBUG] ## GAEProxy set keep_running: True
    [New Thread 0x7fffe6ba5700 (LWP 2845)]
    ott 11 09:53:03.456 - [INFO] ------------------------------------------------------
    ott 11 09:53:03.456 - [INFO] Python Version     : 2.7.14
    ott 11 09:53:03.457 - [INFO] OS                 : Dist:; Version:; ID:
    ott 11 09:53:03.457 - [INFO] Listen Address     :
    ott 11 09:53:03.457 - [INFO] GAE APPID          :
    ott 11 09:53:03.457 - [INFO] Pac Server         :
    ott 11 09:53:03.457 - [INFO] ------------------------------------------------------
    ott 11 09:53:03.468 - [INFO] system cert exist
    GoAgent XX-Net - GoAgent                                     C,,
    ott 11 09:53:03.489 - [DEBUG] network is ok, cost:117 ms
    [Thread 0x7fffe7845700 (LWP 2826) exited]
    ott 11 09:53:03.492 - [INFO] server started.
    [New Thread 0x7fffe7845700 (LWP 2851)]
    ott 11 09:53:03.492 - [INFO] server started.
    [New Thread 0x7fffe6b84700 (LWP 2852)]
    ott 11 09:53:03.555 - [INFO] module gae_proxy started
    ott 11 09:53:03.555 - [INFO] start gae_proxy time cost:214 ms
    Thread 1 "python2" received signal SIGSEGV, Segmentation fault.
    0x00007fffe88c5b18 in CRYPTO_lock () from /usr/lib/python2.7/site-packages/cryptography/hazmat/bindings/_openssl.so

    XX-net is based on python gaeproxy and go.
    AUR: https://aur.archlinux.org/packages/xx-net

    I also filled a bug here with more info.

    I tried to reinstall all my packages but this didn’t solve the issue.
    What else can I attempt ?

    Is there any know issue with openssl and antergos ?

  • @postadelmaga said in XX-Net - Segmentation fault (openssl):


    I seriously suggest changing your software… (Ill say no more)

  • @izznogooood
    Please say more because I don’t understand what you mean :)

  • @postadelmaga said in XX-Net - Segmentation fault (openssl):

    received signal SIGSEGV, Segmentation fault

    There is a programming fault in either a dependency or the main software. (Sourcecode problem)

    If you really need this software (and there are no other alternaltives) i suggest a purge of all config files and dependencies. The try a reinstall.

  • @izznogooood
    Ok got it.
    It is not a problem related to XX-net since it runs on another antergos linux.

    Is there anyway to track the issue down to a precise package software ?
    I have already tried to reinstall all system packages but still I got the same issue.

    What do you mean to “i suggest a purge of all config files and dependencies. Then try a reinstall.” ?
    should I delete everything inside /etc/ and reinstall all packages ?

  • @postadelmaga
    Have you installed package yaourt?
    It should be able to show all dependencies of xx-net and also remove all of them.
    I’m not very familiar with yaourt, but it should be quite similar to pacman.
    In pacman, you would remove a program and all its dependencies with

    pacman -Rsn package_name

    so maybe something similar is available in yaourt.
    But be careful not to remove stuff that is not related to xx-net.

    And then, many programs put their configs somewhere under $HOME/.config, so you can delete all xx-net related files there before re-installing it.

    EDIT: I just tried and pacman can remove also AUR packages.

  • I am not that familiar with pacman, I use ubuntu for all my servers. The command is “apt purge <package>” … This removes the package and all config files. I am sure there are something simuler for Arch/Antergos.

  • Oh snap! Bookmarked…

  • @manuel said in XX-Net - Segmentation fault (openssl):

    pacman -Rsn

    Thanks for the note, I tried:

    yaourt -Rsn xx-net

    then reinstalled xx-net but still same issue.

  • @postadelmaga

    Did you check $HOME/.config if there were any xx-net settings and delete them if they were there?

  • Or you could compare installations and settings between the two machines, there may be a difference.

    Or some other program or library is affecting differently. Are the both machines equally up to date?

  • @manuel
    No unfortunately this is not the issue:

    • there are not config files
    • if i run it with root user I still have the segmentation fault
  • @judd
    I think that issue is related to curl and pacman not working … my pacman is ok

Posts 15Views 1497
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.