Author Topic: BASS for Android  (Read 468518 times)

liuhen1001

  • Posts: 2
Re: BASS for Android
« Reply #1475 on: 12 Nov '18 - 08:35 »
   signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

_ZNK7android16SortedVectorImpl13_indexOrderOfEPKvPj

 #00  pc 00000000000101f2  /system/lib/libutils.so (_ZNK7android16SortedVectorImpl13_indexOrderOfEPKvPj+23)
  #01  pc 000000000001a34b  /system/lib/libstagefright_foundation.so
  #02  pc 000000000001a60d  /system/lib/libstagefright_foundation.so (_ZNK7android8MetaData8findDataEjPjPPKvS1_+28)
  #03  pc 000000000001a5b1  /system/lib/libstagefright_foundation.so (_ZN7android8MetaData11findCStringEjPPKc+24)
  #04  pc 00000000001037cf  /system/lib/libstagefright.so (_ZNK7android16NuMediaExtractor14getTrackFormatEjPNS_2spINS_8AMessageEEEj+190)
  #05  pc 0000000000028783  /system/lib/libmedia_jni.so (_ZNK7android15JMediaExtractor14getTrackFormatEjPP8_jobject+26)
  #06  pc 0000000000028c8d  /system/lib/libmedia_jni.so
  #07  pc 0000000001b38391  /system/framework/arm/boot-framework.oat (android.media.MediaExtractor.getTrackFormatNative+84)
  #08  pc 0000000001b3908f  /system/framework/arm/boot-framework.oat (android.media.MediaExtractor.getTrackFormat+74)
  #09  pc 00000000000a94c1  /system/lib/libart.so (art_quick_invoke_stub_internal+64)
  #10  pc 0000000000403e39  /system/lib/libart.so (art_quick_invoke_stub+232)
  #11  pc 00000000000b0795  /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+136)
  #12  pc 0000000000314799  /system/lib/libart.so (_ZN3artL18InvokeWithArgArrayERKNS_33ScopedObjectAccessAlreadyRunnableEPNS_9ArtMethodEPNS_8ArgArrayEPNS_6JValueEPKc+56)
  #13  pc 0000000000315749  /system/lib/libart.so (_ZN3art35InvokeVirtualOrInterfaceWithVarArgsERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDSt9__va_list+256)
  #14  pc 0000000000265487  /system/lib/libart.so (_ZN3art3JNI17CallObjectMethodVEP7_JNIEnvP8_jobjectP10_jmethodIDSt9__va_list+442)

   

Ian @ un4seen

  • Administrator
  • Posts: 21332
Re: BASS for Android
« Reply #1476 on: 12 Nov '18 - 13:40 »
The crash appears to have been in a MediaExtractor.getTrackFormat call. Is that the full call stack? There is no mention of BASS in it, but BASS's Android codec support does involve a MediaExtractor.getTrackFormat call, so that could be the call, or perhaps you are calling MediaExtractor.getTrackFormat yourself? In either case, please identify the file that the crash is happening with, and upload it to have a look at here:

   ftp.un4seen.com/incoming/

liuhen1001

  • Posts: 2
Re: BASS for Android
« Reply #1477 on: 13 Nov '18 - 01:53 »
This crash happened 67 times on Android7.0,it feedback from GooglePlay,  and I don't get that file. There are two other crashes:
1、signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) libbass.so
backtrace:
  #00  pc 000000000000bade  /lib/arm/libbass.so
  #01  pc 0000000000027f05  /lib/arm/libbass.so (BASS_ChannelGetData+844)
  #02  pc 000000000002817f  /lib/arm/libbass.so (Java_com_un4seen_bass_BASS_BASS_1ChannelGetData+46)
  #03  pc 0000000000074391  /oat/arm/base.odex
Android 7.0   18   29.0%
Android 7.1   15   24.2%
Android 8.1   12   19.4%
Android 6.0   9   14.5%
Android 8.0   8   12.9%

3、signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) libbass.so
backtrace:
  #00  pc 0000000000018790 /lib/arm/libbass.so
  #01  pc 00000000fffffffd  <unknown>
Android 8.0   52   100.0%

Ian @ un4seen

  • Administrator
  • Posts: 21332
Re: BASS for Android
« Reply #1478 on: 14 Nov '18 - 14:49 »
The first crash is in a BASS_ChannelGetData call. Please post all of the BASS_ChannelGetData calls in your app, to see what parameters you are using. Also confirm what BASS version was used when the crashes happened. From the offsets in your call stacks, it looks like it isn't the latest version (from the package in the 1st post). If that is the case, please try upgrading to the latest and see if the crashes still happen then (and post the new call stacks).