openh264 icon indicating copy to clipboard operation
openh264 copied to clipboard

Seem missing parameters in Intel based build

Open KiemDuong opened this issue 5 years ago • 2 comments

I saw a crash on Firebase that happened a few times at libopenh264 (OpenH264Loader.kt line 48) on Intel Kaby Lake U Chromebook.

Caused by java.lang.UnsatisfiedLinkError dlopen failed: empty/missing DT_HASH/DT_GNU_HASH in "/data/data/com.screencastomatic.app.chromebook/files/libopenh264.so" (new hash type from the future?)

Then we tried to find a way to fix this recently. From Stackoverflow, a guy suggested as below:

If you're a third party building .so libraries for others to use, setting -Wl,--hash-style=both seems like the best idea. That gets you the faster loading of the Gnu-style hash and the backwards compatibility of the SysV hash.

KiemDuong avatar Aug 26 '20 09:08 KiemDuong

Details of crash: dlopen failed: file offset for the library "/data/user/0/com.screencastomatic.app.chromebook/files/libopenh264.so" >= file size: 0 >= 0 com.screencastomatic.app.videos.OpenH264Loader.loadOpenH264

Screen Shot 2020-08-31 at 15 42 39

KiemDuong avatar Aug 31 '20 08:08 KiemDuong

Not familiar with this kind of link. Is this issue fixed already?

huili2 avatar Dec 12 '22 11:12 huili2