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

Segmentation fault on Linux #12

Open
RoelVdP opened this issue May 18, 2021 · 2 comments
Open

Segmentation fault on Linux #12

RoelVdP opened this issue May 18, 2021 · 2 comments

Comments

@RoelVdP
Copy link

RoelVdP commented May 18, 2021

I want to try and use NLG for SQL generation. Any tips welcome. Also am seeing this issue:

Steps to reproduce (on Linux Mint 20 x64):

sudo apt install nuget
sudo snap install --classic dotnet-sdk
dotnet new console --output NLG
dotnet add NLG package SharpSimpleNLG --version 1.3.0
dotnet run --project NLG
cd NLG/bin/Debug/net5.0

$ ./NLG
Segmentation fault

Any idea?

GDB doesn't help much (how do build with debug symbols?):

Reading symbols from ./NLG...
(No debugging symbols found in ./NLG)
Core was generated by `./NLG'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f19e9eadbc0 in ?? ()
(gdb) bt
#0 0x00007f19e9eadbc0 in ?? ()
#1 0x00007f19e9982ff9 in dl_vdso_vsym (name=0x7f19e9a678c4 "__vdso_time") at ../sysdeps/unix/sysv/linux/dl-vdso.h:52
#2 time_ifunc () at ../sysdeps/unix/sysv/linux/time.c:38
#3 0x00007f19e9c8f33a in ?? () from /snap/core18/current/lib64/ld-linux-x86-64.so.2
#4 0x00007f19e9c86327 in ?? () from /snap/core18/current/lib64/ld-linux-x86-64.so.2
#5 0x00007f19e9c9cf50 in ?? () from /snap/core18/current/lib64/ld-linux-x86-64.so.2
#6 0x00007f19e9c84128 in ?? () from /snap/core18/current/lib64/ld-linux-x86-64.so.2
#7 0x00007f19e9c83098 in ?? () from /snap/core18/current/lib64/ld-linux-x86-64.so.2
#8 0x0000000000000001 in ?? ()
#9 0x00007ffcd034e486 in ?? ()
#10 0x0000000000000000 in ?? ()

@RoelVdP RoelVdP changed the title Segmentation fault Segmentation fault on Linux May 18, 2021
@RoelVdP
Copy link
Author

RoelVdP commented May 20, 2021

Any feedback ? Thank you

@nickhodge
Copy link
Owner

I dont use this in my day job .. nor Linux ... so it is going to have to go into the queue for the out of hours time .. which is filled with some other life events right now.

Feel free to download the source and debug.

Could be related to .NET Core 5 vs. .NET Standard Libraries. Could be pathing. I just dont know and dont have the time

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