android - Unable to open symbol file. Error (20): Not a directory -
i using ffmpeg library on android stream live video feed. have complied ffmpeg android following roman10 instructions. application working correctly - connects server, download feed, transcode it, rescale , displays on device's screen. after random moment app crashes fatal signal 11 (sigsegv), code 1
. have used ndk-stack
find source of problem. here crash dump:
********** crash dump: ********** build fingerprint: 'google/hammerhead/hammerhead:5.0.1/lrx22c/1602158:user/release-keys' pid: 25241, tid: 25317, name: asynctask #5 >>> com.grzebyk.streamapp <<< signal 11 (sigsegv), code 1 (segv_maperr), fault addr 0x98e74c9c stack frame #00 pc 00047924 /data/app/com.grzebyk.streamapp-1/lib/arm/libswscale-3.so: unable open symbol file /users/grzebyk/documents/new_eclipse_projects/streamapp/libs/armeabi/libstreamapp.so/libswscale-3.so. error (20): not directory stack frame #01 pc 00034be8 /data/app/com.grzebyk.streamapp-1/lib/arm/libswscale-3.so (sws_scale+2648): unable open symbol file /users/grzebyk/documents/new_eclipse_projects/streamapp/libs/armeabi/libstreamapp.so/libswscale-3.so. error (20): not directory
my native code located in streamapp.cpp file. me looks app trying access libswscale-3.so (part of ffmpeg) located inside libstreamapp.so. seems weird me…
all ffmpeg's .so files located in /libs/armeabi/lib*.so. naturally includes "missing" libswscale-3.so. disturbing thing fact app working perfectly, crashes , not need specific trigger so.
what can either put libswscale-3.so inside labstreamapp.so or avoid referencing 1 .so file another?
it's rather simple, have passed
"/users/grzebyk/documents/new_eclipse_projects/streamapp/libs/armeabi/libstreamapp.so/"
as parameter ndk-stack , it's not folder :) should pass smth
"/users/grzebyk/documents/new_eclipse_projects/streamapp/libs/armeabi/"
Comments
Post a Comment