Calling Date.toLocaleString() crashes
ide opened this issue · comments
This is on a Nexus 5X device with Android 8.0.0 using the default (non-intl) variant of Android JSC from npm (version 216113.0.2):
10-23 11:25:38.728 23404 23601 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 23601 (mqt_js)
10-23 11:25:38.858 23615 23615 I crash_dump32: obtaining output fd from tombstoned
10-23 11:25:38.859 3179 3179 I /system/bin/tombstoned: received crash request for pid 23404
10-23 11:25:38.860 23615 23615 I crash_dump32: performing dump of process 23404 (target tid = 23601)
10-23 11:25:38.860 23615 23615 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-23 11:25:38.860 23615 23615 F DEBUG : Build fingerprint: 'google/bullhead/bullhead:8.0.0/OPR4.170623.009/4302492:user/release-keys'
10-23 11:25:38.860 23615 23615 F DEBUG : Revision: 'rev_1.0'
10-23 11:25:38.860 23615 23615 F DEBUG : ABI: 'arm'
10-23 11:25:38.861 23615 23615 F DEBUG : pid: 23404, tid: 23601, name: mqt_js >>> host.exp.exponent <<<
10-23 11:25:38.861 23615 23615 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
10-23 11:25:38.861 23615 23615 F DEBUG : Cause: null pointer dereference
10-23 11:25:38.861 23615 23615 F DEBUG : r0 00000000 r1 00000000 r2 ffffffff r3 00000000
10-23 11:25:38.861 23615 23615 F DEBUG : r4 00000000 r5 00000075 r6 000007e1 r7 badf6f28
10-23 11:25:38.861 23615 23615 F DEBUG : r8 badf6f28 r9 ffffc000 sl 00000000 fp 00000003
10-23 11:25:38.861 23615 23615 F DEBUG : ip ea55a594 sp badf6e28 lr ea511c0f pc ea4e5058 cpsr 600d0030
10-23 11:25:38.863 23615 23615 F DEBUG :
10-23 11:25:38.863 23615 23615 F DEBUG : backtrace:
10-23 11:25:38.863 23615 23615 F DEBUG : #00 pc 0001a058 /system/lib/libc.so (strlen+71)
10-23 11:25:38.863 23615 23615 F DEBUG : #01 pc 00046c0b /system/lib/libc.so (strdup+4)
10-23 11:25:38.863 23615 23615 F DEBUG : #02 pc 00263a83 /data/app/host.exp.exponent-ljO9iYhXrF-kIrYLcXEUKQ==/lib/arm/libjsc.so
10-23 11:25:38.863 23615 23615 F DEBUG : #03 pc 002639b9 /data/app/host.exp.exponent-ljO9iYhXrF-kIrYLcXEUKQ==/lib/arm/libjsc.so
10-23 11:25:38.863 23615 23615 F DEBUG : #04 pc 0017ac87 <anonymous:c5fff000>
Repro: run new Date().toLocaleString()
in a project.