Hi folks,

I have compiled 8.4-lkgr v8 (8.4.371.7) for Android, and I am getting the 
following crash at runtime.
I could supply the full stacktrace, but it is already clear this happens at 
Isolate initialization time.
Last time I compiled v8, was 8.0-lkgr arm7/arm64 and it turned out just 
fine.

```
 Build fingerprint: 
'samsung/gta3xleea/gta3xl:9/PPR1.180610.011/T515XXS4ATB4:user/release-keys'
 Revision: '4'
 ABI: 'arm'
 pid: 16815, tid: 17134, name: GLThread 13261  >>> com.spellington <<<
 signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x21
 Cause: null pointer dereference
     r0  00000021  r1  00000021  r2  00000000  r3  00000007
     r4  00000000  r5  d22fd274  r6  d14bf23c  r7  d22fce74
     r8  f0068374  r9  00000000  r10 00000001  r11 8000002f
     ip  80000000  sp  d22fcd70  lr  f000c8f9  pc  effdbd0a
 5(delay),0(swap) memory pressure events were skipped after a kill!
 
 backtrace:
     #00 pc 0001ad0a  /system/lib/libc.so (strlen+22)
     #01 pc 0004b8f5  /system/lib/libc.so (__vfprintf+3224)
     #02 pc 00060103  /system/lib/libc.so (printf+54)
     #03 pc 00641993  
/data/app/com.spellington-0qDtiUW1NUW5vOgloPwUkQ==/lib/arm/libspellington.so 
(v8::internal::Logger::SetUp(v8::internal::Isolate*)+630)
     #04 pc 0057ae9d  
/data/app/com.spellington-0qDtiUW1NUW5vOgloPwUkQ==/lib/arm/libspellington.so 
(v8::internal::Isolate::Init(v8::internal::ReadOnlyDeserializer*, 
v8::internal::StartupDeserializer*)+840)
...
```

I get this consistently, with arm, arm64 and x86 versions. 
Using NDK 20.0.5594570 for cross compilation, and using latest Android 
Studio (NDK 21.1.6352462) to build the APK.
I have disabled Isolate logging which is fine with me, and things work as 
expected (just commented out `logger_->SetUp(this);` in `Isolate::Init` 
which I think beyond disabling Isolate logger, should be fine).

Is this something that can be addressed via config ? A bug maybe ?

This is my args.gn in case it is useful:

```
android_unstripped_runtime_outputs = false
is_component_build = false
is_debug = false
symbol_level = 1
target_cpu = "arm"
target_os = "android"
use_goma = false
v8_target_cpu = "arm"
v8_use_external_startup_data = false
v8_enable_i18n_support= false
v8_android_log_stdout = true
v8_static_library = true
v8_monolithic = true
```

Thanks in advance.
- i

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/7c178ab5-924e-451e-84e9-afa948d8b059%40googlegroups.com.

Reply via email to