René's URL Explorer Experiment


Title: Fix crash on iOS by hshristov · Pull Request #5071 · NativeScript/NativeScript · GitHub

Open Graph Title: Fix crash on iOS by hshristov · Pull Request #5071 · NativeScript/NativeScript

X Title: Fix crash on iOS by hshristov · Pull Request #5071 · NativeScript/NativeScript

Description: JS object that extend NSObject was not held into memory and was collected by gc. Here is the stacktrace: Successfully synced application org.nativescript.apps on device 5521452A-8299-42CF-83D5-E569BFCA1583. CONSOLE LOG file:///app/ui-tests-app/app.ts:1:12: ####### ------ APP MODULES START Class PLBuildVersion is implemented in both /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 10.3.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x11d5a9cc0) and /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 10.3.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x11d3c06f0). One of the two will be used. Which one is undefined. CONSOLE LOG file:///app/ui-tests-app/app.ts:79:20: ### NativeScriptError: TypeError: this._onReceiveCallback is not a function. (In 'this._onReceiveCallback(notification)', 'this._onReceiveCallback' is undefined) CONSOLE LOG file:///app/ui-tests-app/app.ts:80:20: ### nativeException: undefined CONSOLE LOG file:///app/ui-tests-app/app.ts:81:20: ### stackTace: undefined CONSOLE LOG file:///app/ui-tests-app/app.ts:82:20: ### stack: onReceive@file:///app/tns_modules/tns-core-modules/ui/frame/frame.js:34:32 CONSOLE WARN file:///app/ui-tests-app/app.ts:22:17: this._onReceiveCallback is not a function. (In 'this._onReceiveCallback(notification)', 'this._onReceiveCallback' is undefined) 1 0x1084dad4b NativeScript::FFICallback::ffiClosureCallback(ffi_cif*, void*, void**, void*) 2 0x108b7e28e ffi_closure_unix64_inner 3 0x108b7ebd2 ffi_closure_unix64 4 0x10c6b1b29 _CFXRegistrationPost 5 0x10c6b1892 ___CFXNotificationPost_block_invoke 6 0x10c675102 -[_CFXNotificationRegistrar find:object:observer:enumerator:] 7 0x10c674261 _CFXNotificationPost 8 0x10952fca4 -[NSNotificationCenter postNotificationName:object:userInfo:] 9 0x109a87e9d -[UIApplication _notifyDidChangeStatusBarFrame:] 10 0x109a95fce -[UIApplication statusBar:didAnimateFromHeight:toHeight:animation:] 11 0x10a123d40 -[UIStatusBar _finishedSettingStyleWithOldHeight:newHeight:animation:] 12 0x10a12221a __66-[UIStatusBar _requestStyleAttributes:animationParameters:forced:]_block_invoke.247 13 0x109b3c08e +[UIView(Animation) performWithoutAnimation:] 14 0x10a19fa94 +[UIStatusBarAnimationParameters animateWithParameters:fromCurrentState:frameInterval:animations:completion:] 15 0x10a122070 -[UIStatusBar _requestStyleAttributes:animationParameters:forced:] 16 0x10a121890 -[UIStatusBar requestStyle:animationParameters:forced:] 17 0x10a1215ca -[UIStatusBar requestStyle:animated:forced:] 18 0x109a85f6c -[UIApplication _createStatusBarWithRequestedStyle:orientation:hidden:] 19 0x109a8230b -[UIApplication _runWithMainScene:transitionContext:completion:] 20 0x109a7f7f3 -[UIApplication workspaceDidEndTransaction:] 21 0x10d0dd5f6 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ 22 0x10d0dd46d -[FBSSerialQueue _performNext] 23 0x10d0dd7f6 -[FBSSerialQueue _performNextFromRunLoopSource] 24 0x10c6b8c01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ 25 0x10c69e0cf __CFRunLoopDoSources0 26 0x10c69d5ff __CFRunLoopRun 27 0x10c69d016 CFRunLoopRunSpecific 28 0x109a7e08f -[UIApplication _run] 29 0x109a84134 UIApplicationMain 30 0x108b7ea2d ffi_call_unix64 31 0x12525b800 file:///app/tns_modules/tns-core-modules/ui/frame/frame.js:34:32: JS ERROR TypeError: this._onReceiveCallback is not a function. (In 'this._onReceiveCallback(notification)', 'this._onReceiveCallback' is undefined)

Open Graph Description: JS object that extend NSObject was not held into memory and was collected by gc. Here is the stacktrace: Successfully synced application org.nativescript.apps on device 5521452A-8299-42CF-83D5-E569...

X Description: JS object that extend NSObject was not held into memory and was collected by gc. Here is the stacktrace: Successfully synced application org.nativescript.apps on device 5521452A-8299-42CF-83D5-E569...

Opengraph URL: https://github.com/NativeScript/NativeScript/pull/5071

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b312c519-1c28-aa97-6d3b-5bc596a132ab
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDC44:4D676:71F415:98F43E:69731284
html-safe-nonce63ccc804ea1fc4bece553aaa23031fbf500b128dc7b085031765a54ca91c71e7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzQ0OjRENjc2OjcxRjQxNTo5OEY0M0U6Njk3MzEyODQiLCJ2aXNpdG9yX2lkIjoiNDM1NDc3OTA5MzkzNzYyMzY4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac296a0287acc97d61f3c00c1c2f9f6cfd2553d58699d787dcc4e944694c96210f
hovercard-subject-tagpull_request:152467262
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/NativeScript/NativeScript/pull/5071/files
twitter:imagehttps://avatars.githubusercontent.com/u/5966717?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5966717?s=400&v=4
og:image:altJS object that extend NSObject was not held into memory and was collected by gc. Here is the stacktrace: Successfully synced application org.nativescript.apps on device 5521452A-8299-42CF-83D5-E569...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id31492490
octolytics-dimension-repository_nwoNativeScript/NativeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31492490
octolytics-dimension-repository_network_root_nwoNativeScript/NativeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea5e2b48bd1260476599758f5d253b5d24092ab84
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/NativeScript/pull/5071/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fpull%2F5071%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fpull%2F5071%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=NativeScript%2FNativeScript
Reloadhttps://github.com/NativeScript/NativeScript/pull/5071/files
Reloadhttps://github.com/NativeScript/NativeScript/pull/5071/files
Reloadhttps://github.com/NativeScript/NativeScript/pull/5071/files
NativeScript https://github.com/NativeScript
NativeScripthttps://github.com/NativeScript/NativeScript
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/5071/files
Notifications https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Fork 1.7k https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Star 25.4k https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Code https://github.com/NativeScript/NativeScript
Issues 869 https://github.com/NativeScript/NativeScript/issues
Pull requests 59 https://github.com/NativeScript/NativeScript/pulls
Discussions https://github.com/NativeScript/NativeScript/discussions
Actions https://github.com/NativeScript/NativeScript/actions
Projects 0 https://github.com/NativeScript/NativeScript/projects
Wiki https://github.com/NativeScript/NativeScript/wiki
Security 0 https://github.com/NativeScript/NativeScript/security
Insights https://github.com/NativeScript/NativeScript/pulse
Code https://github.com/NativeScript/NativeScript
Issues https://github.com/NativeScript/NativeScript/issues
Pull requests https://github.com/NativeScript/NativeScript/pulls
Discussions https://github.com/NativeScript/NativeScript/discussions
Actions https://github.com/NativeScript/NativeScript/actions
Projects https://github.com/NativeScript/NativeScript/projects
Wiki https://github.com/NativeScript/NativeScript/wiki
Security https://github.com/NativeScript/NativeScript/security
Insights https://github.com/NativeScript/NativeScript/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FNativeScript%2FNativeScript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FNativeScript%2FNativeScript%2Fissues%2Fnew%2Fchoose
hshristovhttps://github.com/hshristov
masterhttps://github.com/NativeScript/NativeScript/tree/master
hhristov/fix-ios-crashhttps://github.com/NativeScript/NativeScript/tree/hhristov/fix-ios-crash
Conversation 1 https://github.com/NativeScript/NativeScript/pull/5071
Commits 2 https://github.com/NativeScript/NativeScript/pull/5071/commits
Checks 0 https://github.com/NativeScript/NativeScript/pull/5071/checks
Files changed https://github.com/NativeScript/NativeScript/pull/5071/files
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/5071/files
Fix crash on iOS https://github.com/NativeScript/NativeScript/pull/5071/files#top
Show all changes 2 commits https://github.com/NativeScript/NativeScript/pull/5071/files
779774a Fix crash on iOS where JS object that extend NSObject was not hold in… Nov 14, 2017 https://github.com/NativeScript/NativeScript/pull/5071/commits/779774abe001b9a1960c6b775ffd1e4191fb0424
c9b5122 TS fix Nov 14, 2017 https://github.com/NativeScript/NativeScript/pull/5071/commits/c9b5122c1c68fc4ddb06cb3e3155451530b501f3
Clear filters https://github.com/NativeScript/NativeScript/pull/5071/files
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/5071/files
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/5071/files
tns-core-modules/ui/frame/frame.ios.tshttps://github.com/NativeScript/NativeScript/pull/5071/files#diff-b70b2d09c77639b1b9ced4e1ef63c82277f28a4faab393d37b957bcda24a8f44
View file https://github.com/NativeScript/NativeScript/blob/c9b5122c1c68fc4ddb06cb3e3155451530b501f3/tns-core-modules/ui/frame/frame.ios.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/NativeScript/pull/5071/{{ revealButtonHref }}
https://github.com/NativeScript/NativeScript/pull/5071/files#diff-b70b2d09c77639b1b9ced4e1ef63c82277f28a4faab393d37b957bcda24a8f44
https://github.com/NativeScript/NativeScript/pull/5071/files#diff-b70b2d09c77639b1b9ced4e1ef63c82277f28a4faab393d37b957bcda24a8f44
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.