Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Segfault when trying to send email #29

Closed
pgmillon opened this issue Aug 7, 2019 · 2 comments
Closed

Segfault when trying to send email #29

pgmillon opened this issue Aug 7, 2019 · 2 comments

Comments

@pgmillon
Copy link
Contributor

pgmillon commented Aug 7, 2019

Reproduction scenario:

$ docker run -it --rm ubuntu:xenial
root@d260a71663c1:/# apt install -y telnet wget openjdk-8-jdk-headless
root@d260a71663c1:/# wget https://github.com/loopingz/aws-smtp-relay/releases/download/v1.2.0/aws-smtp-relay_1.2.0_all.deb
root@d260a71663c1:/# apt install -y ./aws-smtp-relay_1.2.0_all.deb
root@d260a71663c1:/# /usr/bin/aws-smtp-relay -b 127.0.0.1 -p 25
[main] INFO org.subethamail.smtp.server.SMTPServer - SMTP server /127.0.0.1:25 starting
[org.subethamail.smtp.server.ServerThread /127.0.0.1:25] INFO org.subethamail.smtp.server.ServerThread - SMTP server /127.0.0.1:25 started
Segmentation fault (core dumped)
root@d260a71663c1:/# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 d260a71663c1 ESMTP SubEthaSMTP null
HELO void.com
250 d260a71663c1
mail from: pgmillon@void.com
@major-fire
Copy link

Can confirm this is also showing on an Amazon Linux 1 instance:

root@host: /tmp$ telnet localhost 10024
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 ip-172-19-2-6 ESMTP SubEthaSMTP null
helo test.example.com
250 ip-172-19-2-6
mail from:<someone@example.com>
Connection closed by foreign host.
root@host: ~$ ./aws-smtp-relay -p 10024
[main] INFO org.subethamail.smtp.server.SMTPServer - SMTP server /127.0.0.1:10024 starting
[org.subethamail.smtp.server.ServerThread /127.0.0.1:10024] INFO org.subethamail.smtp.server.ServerThread - SMTP server /127.0.0.1:10024 started
Segmentation fault

@loopingz
Copy link
Owner

I revert to full Java implementation as GraalVM was segfaulting for a reason unknown might be related to #28

loopingz pushed a commit that referenced this issue Aug 12, 2020
….findsecbugs-findsecbugs-plugin-1.9.0

Bump findsecbugs-plugin from 1.7.1 to 1.9.0
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants