Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) #464

Closed
SP1966 opened this issue May 25, 2016 · 9 comments
Closed

error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) #464

SP1966 opened this issue May 25, 2016 · 9 comments

Comments

@SP1966
Copy link

SP1966 commented May 25, 2016

A github repo with the code is located here: https://github.com/SP1966/NativescriptApp

My very basic app if left open for a period of time (10 minutes or more) will crash with the following error:

05-24 20:08:19.316 17271 17271 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0xdeadcab1 in tid 17271 (ivescript.PPMNS)
05-24 20:08:19.428 274 274 I DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-24 20:08:19.428 274 274 I DEBUG : Build fingerprint: 'lge/g2_tmo_us/g2:5.0.2/LRX22G/1507914346dda:user/release-keys'
05-24 20:08:19.428 274 274 I DEBUG : Revision: '10'
05-24 20:08:19.428 274 274 I DEBUG : ABI: 'arm'
05-24 20:08:19.428 274 274 I DEBUG : pid: 17271, tid: 17271, name: ivescript.PPMNS >>> org.nativescript.PPMNS <<<
05-24 20:08:19.428 274 274 I DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xdeadcab1
05-24 20:08:19.527 274 274 I DEBUG : r0 a2dd9855 r1 a2dd9855 r2 00000000 r3 deadcab1
05-24 20:08:19.527 274 274 I DEBUG : r4 9ecb52a0 r5 9ecb52d8 r6 af0e7000 r7 beef4564
05-24 20:08:19.527 274 274 I DEBUG : r8 00000001 r9 00000000 sl 00000001 fp b4bb9ff8
05-24 20:08:19.527 274 274 I DEBUG : ip a2efcef8 sp beef44b0 lr a2dd986f pc a2dd9860 cpsr 60000030
05-24 20:08:19.527 274 274 I DEBUG :
05-24 20:08:19.527 274 274 I DEBUG : backtrace:
05-24 20:08:19.527 274 274 I DEBUG : #00 pc 006ca860 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so
05-24 20:08:19.527 274 274 I DEBUG : #1 pc 006ca86d /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so
05-24 20:08:19.527 274 274 I DEBUG : #2 pc 006ca8f1 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so
05-24 20:08:19.527 274 274 I DEBUG : #3 pc 006c9e9b /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so
05-24 20:08:19.527 274 274 I DEBUG : #4 pc 006c98bd /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so
05-24 20:08:19.527 274 274 I DEBUG : #5 pc 006c9981 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so
05-24 20:08:19.527 274 274 I DEBUG : #6 pc 006ca4b7 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (operator new(unsigned int)+78)
05-24 20:08:19.528 274 274 I DEBUG : #7 pc 006ca4ff /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (operator new[](unsigned int)+2)
05-24 20:08:19.528 274 274 I DEBUG : #8 pc 003360c0 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::internal::HandleScope::Extend(v8::internal::Isolate_)+184)
05-24 20:08:19.528 274 274 I DEBUG : #9 pc 0031aba4 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::internal::Factory::NewRawOneByteString(int, v8::internal::PretenureFlag)+568)
05-24 20:08:19.528 274 274 I DEBUG : #10 pc 0031af3c /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::internal::Factory::NewStringFromOneByte(v8::internal::Vector, v8::internal::PretenureFlag)+44)
05-24 20:08:19.528 274 274 I DEBUG : #11 pc 0031b700 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::internal::Factory::NewStringFromUtf8(v8::internal::Vector, v8::internal::PretenureFlag)+480)
05-24 20:08:19.528 274 274 I DEBUG : #12 pc 00279e5c /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::String::NewFromUtf8(v8::Isolate_, char const_, v8::NewStringType, int)+120)
05-24 20:08:19.528 274 274 I DEBUG : #13 pc 00260101 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (tns::ConvertToV8String(std::string const&)+16)
05-24 20:08:19.528 274 274 I DEBUG : #14 pc 00251195 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (tns::NativeScriptException::ReThrowToV8()+56)
05-24 20:08:19.528 274 274 I DEBUG : #15 pc 00265381 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (tns::ObjectManager::OnGcFinishedStatic(v8::Isolate_, v8::GCType, v8::GCCallbackFlags)+200)
05-24 20:08:19.528 274 274 I DEBUG : #16 pc 0033a55c /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::internal::Heap::CallGCEpilogueCallbacks(v8::GCType, v8::GCCallbackFlags)+120)
05-24 20:08:19.528 274 274 I DEBUG : #17 pc 00349d2c /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags)+928)
05-24 20:08:19.528 274 274 I DEBUG : #18 pc 00349ffc /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::internal::Heap::CollectGarbage(v8::internal::GarbageCollector, char const_, char const_, v8::GCCallbackFlags)+152)
05-24 20:08:19.528 274 274 I DEBUG : #19 pc 0034a32c /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::internal::Heap::CollectAllGarbage(int, char const_, v8::GCCallbackFlags)+68)
05-24 20:08:19.528 274 274 I DEBUG : #20 pc 0027e004 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::Isolate::RequestGarbageCollectionForTesting(v8::Isolate::GarbageCollectionType)+64)
05-24 20:08:19.528 274 274 I DEBUG : #21 pc 005971f4 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::internal::FunctionCallbackArguments::Call(void (_)(v8::FunctionCallbackInfov8::Value const&))+132)
05-24 20:08:19.528 274 274 I DEBUG : #22 pc 002ad5e4 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so
05-24 20:08:19.528 274 274 I DEBUG : #23 pc 002ada34 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so
05-24 20:08:19.528 274 274 I DEBUG : #24 pc 00000090
05-24 20:08:20.772 801 817 I ActivityManager: Process gbis.gbandroid (pid 22408) has died
05-24 20:08:20.776 801 817 W ActivityManager: Scheduling restart of crashed service gbis.gbandroid/com.xone.internal.XoneService in 1000ms
05-24 20:08:20.776 801 817 W ActivityManager: Scheduling restart of crashed service gbis.gbandroid/com.cuebiq.cuebiqsdk.model.Collector in 242598ms
05-24 20:08:20.847 801 801 I BackupManagerService: Beginning scheduled full backup operation
05-24 20:08:20.857 801 22898 W BackupManagerService: Requested unavailable transport: com.google.android.gms/.backup.BackupTransportService
05-24 20:08:20.857 801 22898 W PFTBT : Transport not present; full data backup not performed
05-24 20:08:20.872 801 864 I BootReceiver: Copying /data/tombstones/tombstone_09 to DropBox (SYSTEM_TOMBSTONE)
05-24 20:08:20.894 801 22897 W ActivityManager: Force finishing activity 1 org.nativescript.PPMNS/com.tns.NativeScriptActivity
05-24 20:08:21.249 801 1151 I WindowState: WIN DEATH: Window{1afd861a u0 org.nativescript.PPMNS/com.tns.NativeScriptActivity}
05-24 20:08:21.549 801 22897 W ActivityManager: Exception thrown during pause
05-24 20:08:21.549 801 22897 W ActivityManager: android.os.DeadObjectException
05-24 20:08:21.549 801 22897 W ActivityManager: at android.os.BinderProxy.transactNative(Native Method)
05-24 20:08:21.549 801 22897 W ActivityManager: at android.os.BinderProxy.transact(Binder.java:496)
05-24 20:08:21.549 801 22897 W ActivityManager: at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:704)
05-24 20:08:21.549 801 22897 W ActivityManager: at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:833)
05-24 20:08:21.549 801 22897 W ActivityManager: at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:2830)
05-24 20:08:21.549 801 22897 W ActivityManager: at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:2687)
05-24 20:08:21.549 801 22897 W ActivityManager: at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:2531)
05-24 20:08:21.549 801 22897 W ActivityManager: at com.android.server.am.ActivityManagerService.handleAppCrashLocked(ActivityManagerService.java:11795)
05-24 20:08:21.549 801 22897 W ActivityManager: at com.android.server.am.ActivityManagerService.makeAppCrashingLocked(ActivityManagerService.java:11667)
05-24 20:08:21.549 801 22897 W ActivityManager: at com.android.server.am.ActivityManagerService.crashApplication(ActivityManagerService.java:12376)
05-24 20:08:21.549 801 22897 W ActivityManager: at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:11887)
05-24 20:08:21.549 801 22897 W ActivityManager: at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)
05-24 20:08:21.585 801 22897 I ActivityManager: Start proc 22905:com.google.android.googlequicksearchbox/u0a69 for activity com.google.android.googlequicksearchbox/com.google.android.launcher.GEL
05-24 20:08:21.624 801 1203 D WifiService: New client listening to asynchronous messages
05-24 20:08:21.762 801 1898 I ActivityManager: Process org.nativescript.PPMNS (pid 17271) has died

@petekanev
Copy link
Contributor

Hey @SP1966, could you provide the following specifics:

  • Device model
  • Steps performed before leaving the device aside

This is related to issue #385

@petekanev petekanev added the bug label May 26, 2016
@SP1966
Copy link
Author

SP1966 commented May 26, 2016

@Pip3r4o Device is an LG G2 with CyanogenMod 12.1, but the issue is repeatable on Genymotion emulators with both Android versions 5.1 and 6.0. The steps performed are simply starting the app, then let it sit untouched until it crashes.

Regarding issue #385, in my case the app remains in the foreground and I do not have to interact with it before it crashes. Start app, no interaction, crash.

@SP1966
Copy link
Author

SP1966 commented May 30, 2016

I restarted this app with a fresh {N} installation and have added everything with the exception of nativescript-telerik-ui-pro and thus far no crashes or other issues. I don't know enough about {N} to know if this is the cause or simply coincidence so I just wanted to add this update, maybe some of the other reported issues are the same, or not.

@SP1966
Copy link
Author

SP1966 commented Jun 12, 2016

Any updates on this issue? Even with my fresh {N} installation I'm now getting the same issue once again. {N} is pretty much a non-starter if stability is non-existent.

@Plamen5kov
Copy link
Contributor

Plamen5kov commented Jun 23, 2016

Hi @SP1966,
I am running your example with latest tns-core-modules and latest telerik-ui-pro, but I can't seem to reproduce the problem.
I ran the repo you provided on nexus 5, lenovo a6010, and a couple of android emulators.

@atanasovg
Copy link
Contributor

@SP1966 Could you think of something special in your setup that prevents us from reproducing the issue?

@SP1966
Copy link
Author

SP1966 commented Jun 26, 2016

Nothing comes to mind. I've run the app on both the LG G2 with Cyanogen and a stock Sony Z1 and in each case I have the same issues. I've started a completely new app and added things back one at a time and cannot narrow it down to what the cause is. It fails the same way on either phone or Genymotion.

@SP1966
Copy link
Author

SP1966 commented Jul 28, 2016

I've updated to version 2.1 and thus far everything is rock steady, the app can remain open indefinitely in an emulator and I'm not experiencing any crashing or locking up on devices! It would appear that something that changed between 2.0 and 2.1 resolved this issue, my fingers remain crossed!

@Plamen5kov
Copy link
Contributor

Fixed with 2.1, will reopen if issue reoccurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants