<div dir="ltr">Good morning everyone,<div><br></div><div>Figured out why it's crashing but I still don't know how to fix it</div><div><br></div><div>01-28 10:13:31.191 19223 19330 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 19330 (Thread-3), pid 19223 (g.xbmc.kodi19DV)<br>01-28 10:13:31.191 19223 19243 D Kodi    : OpenJDK 64-Bit Server VM warning: No monotonic clock was available - timed services may be adversely affected if the time-of-da<br>01-28 10:13:31.191 19223 19243 D Kodi    : y clock changes<br></div><div>01-28 10:13:31.478 19353 19353 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***<br>01-28 10:13:31.475 19353 19353 W crash_dump64: type=1400 audit(0.0:5353): avc: denied { search } for name="/" dev="tmpfs" ino=1336 scontext=u:r:crash_dump:s0:c132,c256,c512,c768 tcontext=u:object_r:tmpfs:s0 tclass=dir permissive=0<br>01-28 10:13:31.478 19353 19353 F DEBUG   : Build fingerprint: 'NVIDIA/mdarcy/mdarcy:9/PPR1.180610.011/4079208_2513.0256:user/release-keys'<br>01-28 10:13:31.478 19353 19353 F DEBUG   : Revision: '0'<br>01-28 10:13:31.478 19353 19353 F DEBUG   : ABI: 'arm64'<br>01-28 10:13:31.478 19353 19353 F DEBUG   : pid: 19223, tid: 19330, name: Thread-3  >>> org.xbmc.kodi19DV <<<<br>01-28 10:13:31.478 19353 19353 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0<br>01-28 10:13:31.478 19353 19353 F DEBUG   : Cause: null pointer dereference<br>01-28 10:13:31.478 19353 19353 F DEBUG   :     x0  0000000000000000  x1  000000000000002f  x2  fffffffffffffffe  x3  0000000000000010<br>01-28 10:13:31.479 19353 19353 F DEBUG   :     x4  000000287a1b1222  x5  000000007fffffff  x6  0000000000000002  x7  0000000000000030<br>01-28 10:13:31.479 19353 19353 F DEBUG   :     x8  0000000000000000  x9  0000000000000000  x10 0000000000000009  x11 00000000fffffff7<br>01-28 10:13:31.479 19353 19353 F DEBUG   :     x12 000000000000004c  x13 00000000fffffff7  x14 0000002985757cb8  x15 000000000000004a<br>01-28 10:13:31.479 19353 19353 F DEBUG   :     x16 000000287a1af1d8  x17 000000287a106fc8  x18 0000000000000001  x19 00000029220be800<br>01-28 10:13:31.479 19353 19353 F DEBUG   :     x20 0000002934ef7638  x21 0000002985826000  x22 000000298583e914  x23 0000002985896000<br>01-28 10:13:31.479 19353 19353 F DEBUG   :     x24 9fb1c16ed01cfd15  x25 0000002934ef78d8  x26 0000000000000007  x27 0000002934ef78d8<br>01-28 10:13:31.479 19353 19353 F DEBUG   :     x28 00000029228e7c00  x29 0000002934ef75d0<br>01-28 10:13:31.479 19353 19353 F DEBUG   :     sp  0000002934ef75d0  lr  00000029854b423c  pc  00000029854b423c<br>01-28 10:13:31.480 19353 19353 I unwind  : Malformed section header found, ignoring...<br>01-28 10:13:31.480 19353 19353 F DEBUG   : <br>01-28 10:13:31.480 19353 19353 F DEBUG   : backtrace:<br>01-28 10:13:31.480 19353 19353 F DEBUG   :     #00 pc 00000000008a823c  /mnt/expand/cab01563-bcca-48fa-a0bf-0fbddaf9b192/app/org.xbmc.kodi19DV-TFUZwtqXJYBSjv0vIb1V4g==/lib/arm64/libjvm.so<br><b>01-28 10:13:31.499  6592  6600 W System  : A resource failed to call release. </b><br></div><div><b><br></b></div><div>Permission issue?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 27, 2021 at 7:56 PM Petri Hintukainen <<a href="mailto:phintuka@users.sourceforge.net">phintuka@users.sourceforge.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">ke, 2021-01-27 kello 19:43 -0300, Vitor Dall'Acqua kirjoitti:<br>
> Ok I'm doing the stupid way of doing things because other way every<br>
> time I touch the code it fails.<br>
> can you tell me why it's only loading the first entry?<br>
> static const char         all_libs[]  = {"libawt",<br>
<br>
static const char * all_libs[] = {"libawt",<br>
<br>
>                                         "libawt_headless",<br>
>                                         "libawt_xawt",<br>
>                                         "libdt_socket",<br>
>                                         "libfontmanager",<br>
>                                         "libhprof",<br>
>                                         "libinstrument",<br>
>                                         "libj2gss",<br>
>                                         "libj2pcsc",<br>
>                                         "libj2pkcs11",<br>
>                                         "libjaas_unix",<br>
>                                         "libjava",<br>
>                                         "libjava_crw_demo",<br>
>                                         "libjawt",<br>
>                                         "libjdwp",<br>
>                                         "libjli",<br>
>                                         "libjpeg",<br>
>                                         "libjsdt",<br>
>                                         "libjsig",<br>
>                                         "libjsound",<br>
>                                         "liblcms",<br>
>                                         "libmanagement",<br>
>                                         "libmlib_image",<br>
>                                         "libnet",<br>
>                                         "libnio",<br>
>                                         "libnpt",<br>
>                                         "libsctp",<br>
>                                         "libsunec",<br>
>                                         "libtinyiconv",<br>
>                                         "libunpack",<br>
>                                         "libverify",<br>
>                                         "ibzip",};<br>
<br>
"libzip" (?)<br>
<br>
>  <br>
> <br>
>   dl_dlopen(all_libs, NULL);<br>
<br>
dl_dlopen() opens only single library, you need to iterate over all<br>
libraries:<br>
<br>
    for (size_t i = 0; i < sizeof(all_libs) / sizeof(all_libs[0]); i++)<br>
      dl_dlopen(all_libs[i], NULL);<br>
<br>
> <br>
>     result = JNI_CreateJavaVM_fp(jvm, (void**) env, &args);<br>
<br>
<br>
_______________________________________________<br>
libbluray-devel mailing list<br>
<a href="mailto:libbluray-devel@videolan.org" target="_blank">libbluray-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/libbluray-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/libbluray-devel</a><br>
</blockquote></div>