aby3 icon indicating copy to clipboard operation
aby3 copied to clipboard

error on -DCMAKE_BUILD_TYPE=Debug

Open muou55555 opened this issue 3 years ago • 7 comments

I try to run "frontend" on debug mode, program generation segment errors, but it is OK on release mode

muou55555 avatar Aug 09 '22 11:08 muou55555

It's unclear how I'm supposed to help you from your description. Attached a debugger and see where it segfaults.

ladnir avatar Aug 10 '22 17:08 ladnir

It's unclear how I'm supposed to help you from your description. Attached a debugger and see where it segfaults.

I run "frontend -linear" on debug mode. errors follow: image image image

But, it's sucessful on release mode.

muou55555 avatar Aug 11 '22 10:08 muou55555

It's unclear how I'm supposed to help you from your description. Attached a debugger and see where it segfaults.

I run "frontend -linear" on debug mode. errors follow: image image image

But, it's sucessful on release mode.

I think it maybe network related problem。

muou55555 avatar Aug 11 '22 10:08 muou55555

Yeah, looks networking related. Unclear how I can debug that. Unfortunately maybe the best solution is to try a different computer.

ladnir avatar Aug 11 '22 14:08 ladnir

Yeah, looks networking related. Unclear how I can debug that. Unfortunately maybe the best solution is to try a different computer.

Thanks! I will try it again. ^_^

muou55555 avatar Aug 12 '22 01:08 muou55555

I have located the problem, but I don't know how to fix it。 error found in remoteIntMatrix or localIntMatrix int linear_main_3pc_sh(int N, int Dim, int B, int IT, int testN, int pIdx, bool print, CLP& cmd, Session& chlPrev, Session& chlNext) ...... Sh3Task Sh3Encryptor::localIntMatrix(Sh3Task dep, const i64Matrix & m, si64Matrix & ret)or Sh3Task Sh3Encryptor::remoteIntMatrix(Sh3Task dep, si64Matrix & ret) ` When the matrix size is too large, the error will reappear。When I run with a smaller matrix(10*10) size, I can succeed. I'm trying to solve it, but difficulty.

muou55555 avatar Aug 12 '22 09:08 muou55555

Yeah my guess it will be non trivial to fix...

ladnir avatar Aug 12 '22 14:08 ladnir