Comments (11)
Thanks @adrianchifor. I'll investigate tonight.
from phonenumberkit.
Thanks @nrako. Didn't know about this issue. Will investigate...
from phonenumberkit.
Thanks @marmelroy
I also have an SIGABRT error sometimes but I have the feeling it's related so I'm reporting it here.
console:
myapp(46653,0x700000d5f000) malloc: *** error for object 0x7f8f4a5b54f0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Sorry for "screenshooting" this issue 😬 , let me know if I can help in another way.
from phonenumberkit.
Happens to me as well. Got the same stacktrace as @nrako
from phonenumberkit.
Thanks @adrianchifor. Do you have reproducible steps / code I can look at? It will be super useful...
from phonenumberkit.
This is where it crashes:
The stacktrace:
from phonenumberkit.
@marmelroy Managed to solve this for my project. Turned out that the issue was being caused by passing a string to PhoneNumber.init from a strings array which was passed by reference to my function. The strings array was modified on another thread which caused EXC_BAD_ACCESS because PhoneNumberKit was trying to use a string that was no longer there.
from phonenumberkit.
Oh, okay. In that case I have a cool generalised solution in mind. Will commit in a few hours.
from phonenumberkit.
Discovered a few possible issues here. Have a fix that I want to test more before pushing.
from phonenumberkit.
Should be fixed by 40410c8 (new release soon).
from phonenumberkit.
This crash is due to concurrent access to the regularExpresionPool in RegexManager.
from phonenumberkit.
Related Issues (20)
- visionOS Support HOT 1
- PhoneNumberKit is not recognised phone number until it is completed HOT 1
- Clear button not working. HOT 1
- `No such file or directory: '~/DerivedData` HOT 10
- Add privacy manifest HOT 2
- Does not validate 983 area code numbers properly. HOT 2
- Patch for Kazakhstan phone numbers breaks region resolution in PartialFormatter HOT 4
- Swift emits an invalid module interface when a public type has the same name as a module HOT 2
- Formatter.swift adding an extra 0 for Bangladesh numbers HOT 2
- Privacy manifest HOT 2
- Unable to parse czech numbers from string HOT 2
- Vietnamese landline ranges cannot be parsed/invalid. HOT 1
- Adding the +90 561 area code to the metadata for Turkish operator Turkcell. HOT 1
- Not able to validate Phone Number for non-US region on 3.7.9 / 3.7/10 HOT 2
- Adding the +60 11 area code to the metadata for Malaysia operator U Mobile.
- onPhoneNumberChangeHandler after entering 10digits we are getting value as nil for specific numbers only
- onPhoneNumberChangeHandler after entering 10digits we are getting value as nil for specific numbers only. can please look at it.... HOT 1
- onPhoneNumberChangeHandler after entering 10digits we are getting value as nil for specific numbers only HOT 3
- onPhoneNumberChangeHandler after entering 10digits we are getting value as nil for specific numbers only
- Unable to parse the mobile number with the Indian region code HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phonenumberkit.