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

terminate error 'std::logic_error' #311

Open
yoonkt200 opened this issue Nov 26, 2019 · 0 comments
Open

terminate error 'std::logic_error' #311

yoonkt200 opened this issue Nov 26, 2019 · 0 comments

Comments

@yoonkt200
Copy link

   _
  | |

__ _| | ___ __ _ _ __ _ __
\ / / | / _ / ` | '__| ' \

<| || __/ (| | | | | | |
/
/__
/___|_,|| || ||

terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_M_construct null not valid Aborted (core dumped)

I was tried to using xlearn in python code by pip (environment: Ubuntu 18, Python3, gcc, clang... was installed). But I got a problem like above.
And There are same open issues #215 #194

The main reason is log_file parameter was missed while xlearn runned(by python). And this part is in src/solver/solver.cc. I think this is because of OS version or C compiler version issue. And I found this by c++ debugger. (gdb)

After fix some parameter code on src/solver/solver.cc and build xlearn again, it works well.

Has anyone solved the problem like this? I share this case for xlearn's user

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

1 participant