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

Crashing during DFU #26

Closed
Redguy1986 opened this issue Oct 7, 2016 · 13 comments · Fixed by #30
Closed

Crashing during DFU #26

Redguy1986 opened this issue Oct 7, 2016 · 13 comments · Fixed by #30

Comments

@Redguy1986
Copy link

Version 4.1.0. iPhone 5c, IOS 9.3.4
I choose DFU mode, then push button "Select Device". The app crashes down.
I choose UART mode, I have the same behavior after "Connect" button pressed.
I tried it in app from official AppStore

@Redguy1986
Copy link
Author

When I tried the app on iPhone 5s with iOS 10 it works properly.

@mostafaberg
Copy link
Contributor

Ok let's see, you're saying it crashes only on iOS10 ?

@Redguy1986
Copy link
Author

No.
It crashes on iOS 9.3.4.
I've tried it on iOS 10, and the app works well.
So, it depends on iOS version

@mostafaberg
Copy link
Contributor

Ok so it works ok here on iOS 9, testing on 10 to verify, but if it works here on iOS 9 ..

Can you help out by attaching your device crash logs ?

@Redguy1986
Copy link
Author

How can I help you?
I tried to get logs in iTools program.
Look at these files:
itools_log.txt
nRF Toolbox-2016-10-07-121411.ips.txt
nRF Toolbox-2016-10-07-121438.ips.txt
Are they useful for you?

@mostafaberg
Copy link
Contributor

They are not symbolicated so it's a bit hard to know what happened exactly.
Can you plug it into XCode, and export the last crash report from the device manager there and send me that file ? it's ok if that's not symbolicated too as long as you are using the exact last version form the app store

@Redguy1986
Copy link
Author

I'm sorry, I can't use Xcode. I'm an application user, not an iOS developer. Besides, I use Windows7 on my PC and I have no possibility to use apple features or programs.

@mostafaberg
Copy link
Contributor

Ah ok, thought you had a development environment, ok i'll try to reproduce here and see what I can do, it doesn't reproduce that's the problem, but will experiment and try to see if I can resym your crashes so I can understand what's going on, will keep you updated.
Thanks a lot for your help!

@paweljankowski
Copy link

This crash occurs on iOS 10.1 (on iOS 10 works perfectly). I was able to download sources and launch nRFTToolbox and the issue is with class NORScannerViewController line 168:

Could not cast value of type 'NSKVONotifying_CBPeripheral' (0x174300bd0) to 'nRF_Toolbox.NORScannedPeripheral' (0x100163e28).
2016-10-26 08:34:16.326754 nRF Toolbox[2206:577147] Could not cast value of type 'NSKVONotifying_CBPeripheral' (0x174300bd0) to 'nRF_Toolbox.NORScannedPeripheral' (0x100163e28).

@Redguy1986
Copy link
Author

When I updated iOS to 10 version this issue was still there.
Right now I've updated NRFToolbox to 4.1.1 version from appstore and the issue disappeared.
Thank you.

@paweljankowski
Copy link

On iOS10.1 crash still exists.

@paweljankowski
Copy link

Can you release this fix to the AppStore?

@philips77
Copy link
Member

We will publish it tomorrow or on Wednesday, sorry for the delay, but I'm also working on new version of DFU library and need to finish it before.

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

Successfully merging a pull request may close this issue.

4 participants