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.5.1 segmentation fault #51

Closed
AlexIT-FT opened this issue Aug 9, 2021 · 1 comment
Closed

1.5.1 segmentation fault #51

AlexIT-FT opened this issue Aug 9, 2021 · 1 comment
Milestone

Comments

@AlexIT-FT
Copy link

I used fort 1.4.2 for a long time, now tried to replace it with 1.5.1 ... and segmentation fault
The same , running as a service , or manually with --configuration-file
The same , with my old config.json and with the fresh-new one (almost empty) from deb file.

The OS is DEBIAN 10.10
Linux rpki 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux

This is from syslog

fort: INF: Disabling validation logging on syslog.
fort: INF: Disabling validation logging on standard streams.
fort[4200]: Aug 9 10:16:06 INF: Disabling validation logging on syslog.
fort[4200]: Aug 9 10:16:06 INF: Disabling validation logging on standard streams.
fort[4200]: Aug 9 10:16:06 INF: Syslog log output configured; disabling operation logging on standard streams.
fort[4200]: Aug 9 10:16:06 INF: (Operation Logs will be sent to syslog only.)
fort: INF: Syslog log output configured; disabling operation logging on standard streams.
fort: INF: (Operation Logs will be sent to syslog only.)
fort[4200]: /usr/bin/fort(+0x223bf)[0x5651d12a63bf]
fort[4200]: /lib/x86_64-linux-gnu/libpthread.so.0(+0x14140)[0x7f7ca504d140]
fort[4200]: /lib/x86_64-linux-gnu/libc.so.6(+0x9d7a6)[0x7f7ca4f117a6]
fort[4200]: /lib/x86_64-linux-gnu/libc.so.6(__strdup+0xf)[0x7f7ca4f01d9f]
fort[4200]: /usr/bin/fort(+0x3ce76)[0x5651d12c0e76]
fort[4200]: /usr/bin/fort(rtr_start+0x9f)[0x5651d12c1b3f]
fort[4200]: /usr/bin/fort(main+0x170)[0x5651d12a1450]
fort[4200]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7f7ca4e9acca]
fort[4200]: /usr/bin/fort(_start+0x2a)[0x5651d12a14aa]

Installed 1.5.0 and all is working, with no issues.

@ydahhrk
Copy link
Member

ydahhrk commented Aug 9, 2021

Ok, found it. It' a null pointer. It happens when server.address is undefined in the configuration.

Will upload a patch shortly. You can also work around the problem by declaring server.address.

@ydahhrk ydahhrk closed this as completed in fad05ea Aug 9, 2021
@ydahhrk ydahhrk added this to the 1.5.2 milestone Oct 21, 2021
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