Project

General

Profile

Actions

Bug #1380

open

SIGSEGV in libcrystax.so - lrint

Added by Chengyuan L. almost 8 years ago. Updated almost 8 years ago.

Status:
Duplicated
Priority:
Normal
Assignee:
Category:
libcrystax
Target version:
Start date:
04/29/2016
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
arm
Host OS:
Windows
Toolchain:
clang-3.7
Android version:
4.1 (android-16), 4.3 (android-18)
CrystaX NDK Version:

Description

I know this is similar with one previous report Bug #1369, however it is a different function lrint vs. lrintf.

I met this problem when I was trying to compile OpenCV, it compiles well but when library is loaded (from Java), in the initialization of some static variables, function lrint is called and program crashes. The tricky thing here is for OpenCV, this happens when the library is getting loaded rather than normal function call, leaving it hard to locate the actual problem.

Hope you can fix this bug soon, also hope this post will help whoever want to build OpenCV using Crystax (if any).


Related issues 1 (0 open1 closed)

Has duplicate CrystaX NDK - Bug #1369: SIGSEGV in libcrystax.so - lrintfClosedDmitry M.04/21/2016

Actions
Actions #1

Updated by Dmitry M. almost 8 years ago

  • Subject changed from SIGSEGV in libsrystax.so - lrint to SIGSEGV in libcrystax.so - lrint
  • Category set to libcrystax
  • Assignee set to Dmitry M.
Actions #2

Updated by Dmitry M. almost 8 years ago

  • Has duplicate Bug #1369: SIGSEGV in libcrystax.so - lrintf added
Actions #3

Updated by Dmitry M. almost 8 years ago

  • Status changed from Open to Duplicated
  • % Done changed from 0 to 100

This is actually the same bug as #1369 – i.e. crash is caused by call of fegetenv – so close it as "duplicate".

Actions

Also available in: Atom PDF