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

segfault fault under Python 3.11.2 #60

Open
richman1000000 opened this issue May 6, 2024 · 1 comment
Open

segfault fault under Python 3.11.2 #60

richman1000000 opened this issue May 6, 2024 · 1 comment

Comments

@richman1000000
Copy link

Hi!
I've tried to run sstpd server under Debian 12 but got error.

`pppd[33457]: Connect: ppp0 <--> /dev/pts/2

kernel: [ 4758.218216] sstpd[33399]: segfault at 0 ip 00007ff0da33739e sp 00007fffe6817980 error 4 in codec.cpython-311-x86_64-linux-gnu.so[7ff0da337000+1000] likely on CPU 1 (core 0, socket 1)

kernel: [ 4758.218231] Code: 00 00 00 00 48 8b 73 10 83 ea 02 48 8d 3d 7f 0c 00 00 31 c0 e8 23 fd ff ff 4c 89 e7 48 89 c6 49 89 c7 e8 05 fd ff ff 83 f8 ff <49> 8b 07 74 24 48 83 e8 01 49 89 07 75 b9 4c 89 ff e8 ac fc ff ff

pppd[33457]: Modem hangup
`

@den1n
Copy link

den1n commented Aug 23, 2024

Same problem. Segfault occurs when client connects.

root@host:~# sstpd -f /etc/sstpd/sstpd-server.ini -v 5
2024-08-23 09:18:35,904 INFO: Cert SHA-1: 2826d20e34e97561153882c79727f3059cbe6e75
2024-08-23 09:18:35,904 INFO: Cert SHA-256: a168140f05d86f50091bf88b1f73ea7b425e49baaacc56899b979f362ca72f25
2024-08-23 09:18:35,904 INFO: Running without uvloop
2024-08-23 09:18:35,904 DEBUG: Using selector: EpollSelector
2024-08-23 09:18:35,917 INFO: Listening on 0.0.0.0:443...
2024-08-23 09:18:40,880 INFO: SSTP control packet (CALL_CONNECT_REQUEST) received.
2024-08-23 09:18:40,881 INFO: Registered address 10.0.0.2
2024-08-23 09:18:40,900 VERBOSE: Raw data: 7eff7d23c0217d217d217d207d397d227d267d207d207d207d207d237d25c223817d257d2662935ea07d277d227d287d227d33497e
Segmentation fault (core dumped)

root@den1n:~# tail -f /var/log/syslog
Aug 23 09:26:39 host systemd[1]: Starting SSTP VPN Server...
Aug 23 09:26:39 host  systemd[1]: Started SSTP VPN Server.
Aug 23 09:26:39 host sstpd[2698]: 2024-08-23 09:26:39,954 INFO: Cert SHA-1: 2826d20e34e97561153882c79727f3059cbe6e75
Aug 23 09:26:39 host sstpd[2698]: 2024-08-23 09:26:39,956 INFO: Cert SHA-256: a168140f05d86f50091bf88b1f73ea7b425e49baaacc56899b979f362ca72f25
Aug 23 09:26:39 host sstpd[2698]: 2024-08-23 09:26:39,956 INFO: Running without uvloop
Aug 23 09:26:39 host pppd[2703]: /usr/lib/pppd/2.4.9/sstp-pppd-plugin.so: cannot open shared object file: No such file or directory
Aug 23 09:26:39 host pppd[2703]: Couldn't load plugin sstp-pppd-plugin.so
Aug 23 09:26:39 host sstpd[2698]: 2024-08-23 09:26:39,965 INFO: Listening on 0.0.0.0:443...
Aug 23 09:26:44 host sstpd[2698]: 2024-08-23 09:26:44,406 INFO: SSTP control packet (CALL_CONNECT_REQUEST) received.
Aug 23 09:26:44 host sstpd[2698]: 2024-08-23 09:26:44,407 INFO: Registered address 10.0.0.2
Aug 23 09:26:44 host pppd[2705]: pppd 2.4.9 started by root, uid 0
Aug 23 09:26:44 host pppd[2705]: Using interface ppp0
Aug 23 09:26:44 host pppd[2705]: Connect: ppp0 <--> /dev/pts/1
Aug 23 09:26:44 host kernel: [ 1546.824812] sstpd[2698]: segfault at 0 ip 00007f826df274a9 sp 00007ffc9eead7f0 error 4 in codec.cpython-310-x86_64-linux-gnu.so[7f826df27000+1000]
Aug 23 09:26:44 den1n kernel: [ 1546.824870] Code: 00 48 8b 73 10 83 ea 02 4c 89 ff 31 c0 e8 ff fc ff ff 4c 89 f7 48 89 c6 48 89 44 24 08 e8 df fc ff ff 4c 8b 44 24 08 83 f8 ff <49> 8b 00 74 20 48 83 e8 01 49 89 00 75 b6 4c 89 c7 e8 81 fc ff ff
Aug 23 09:26:44 host  systemd-udevd[2708]: Using default interface naming scheme 'v249'.
Aug 23 09:26:44 host systemd[1]: sstpd.service: Main process exited, code=dumped, status=11/SEGV
Aug 23 09:26:44 host pppd[2705]: Terminating on signal 15
Aug 23 09:26:44 host pppd[2705]: Modem hangup
Aug 23 09:26:44 host pppd[2705]: Connection terminated.
Aug 23 09:26:44 host pppd[2705]: Child process pppd (charshunt) (pid 2707) terminated with signal 15
Aug 23 09:26:44 host pppd[2705]: Exit.
Aug 23 09:26:44 host systemd[1]: sstpd.service: Failed with result 'core-dump'.

root@host:~# uname -a
Linux host.test 5.15.0-119-generic #129-Ubuntu SMP Fri Aug 2 19:25:20 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants