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

1.0.0-beta4 segfaults when enabling syslog #37

Closed
ingvarha opened this issue Aug 3, 2015 · 4 comments
Closed

1.0.0-beta4 segfaults when enabling syslog #37

ingvarha opened this issue Aug 3, 2015 · 4 comments

Comments

@ingvarha
Copy link

ingvarha commented Aug 3, 2015

hitch-1.0.0-beta4 segfaults when enabling syslog. Tested on f22 and el7.

$ hitch-openssl -s /etc/pki/tls/private/default.example.com.pem
20150803T164745.923021 [ 3017] {core} Using OpenSSL version fbad2084.
Segmentation fault (core dumped)

Removing commit 8389be5 fixes it.

Note that running without syslog works fine:

$ hitch-openssl /etc/pki/tls/private/default.example.com.pem
20150803T164707.994662 [ 3008] {core} Using OpenSSL version 100010bf.
20150803T164707.995170 [ 3008] {core} Listening on 0.0.0.0:8443
20150803T164707.995260 [ 3008] {core} Listening on [::]:8443
20150803T164707.999503 [ 3008] {core} Using DH parameters from /etc/pki/tls/private/default.example.com.pem
20150803T164708.001633 [ 3008] {core} DH initialized with 1024 bit key
20150803T164708.003292 [ 3008] {core} ECDH Initialized with NIST P-256
20150803T164708.003571 [ 3009] {core} Process 0 online
20150803T164708.003620 [ 3009] {core} Successfully attached to CPU #0
^C
20150803T164709.254673 [ 3008] {core} Received signal 2, shutting down.

@ingvarha
Copy link
Author

ingvarha commented Aug 3, 2015

Sorry, commit f7078b6 is the culprit. Removing it makes hitch stop segfaulting again.

@daghf
Copy link
Member

daghf commented Aug 4, 2015

Hi Ingvar,

turns out this was already resolved in b22d11a.

Could I ask you to try current master?

@ingvarha
Copy link
Author

ingvarha commented Aug 4, 2015

----- On Aug 4, 2015, at 12:05 PM, Dag Haavi Finstad [email protected] wrote:

Hi Ingvar,

turns out this was already resolved in b22d11a .

Could I ask you to try current master?
Current master compiles and starts without errors, including with syslog on my fedora 22.

Ingvar

@daghf
Copy link
Member

daghf commented Aug 4, 2015

Thanks!

@daghf daghf closed this as completed Aug 4, 2015
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