alibaba / alibaba/x-deeplearning

ctypes.CDLL('/opt/blaze/lib/libblaze.so') Floating point exception 不知道为啥会抛出这个异常

Open
#341 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PureBasic
Stars
4.3k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

同问,error: ‘struct std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::__xfer_bufptrs’ redeclared with different access

取消了test,才编译过了

而且
cd /opt/blaze/tools/example_model
sudo sh build_all_model.sh 失败
提示的是:
ctypes.CDLL('/opt/blaze/lib/libblaze.so')
Floating point exception 不知道为啥会抛出这个异常

_Originally posted by @vincentLk in https://github.com/alibaba/x-deeplearning/issues/151#issuecomment-466961587_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported `sudo sh build_all_model.sh` failure from `/opt/blaze/tools/example_model` and inspect the `ctypes.CDLL('/opt/blaze/lib/libblaze.so')` step. Also review the reported C++ compilation error involving `std::__cxx11::basic_stringbuf`; the issue is resolved when the model build completes and the library loads without a floating point exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.