ylechelle / OpenUDID

[OpenUDID IS NOW DEPRECATED] Open source initiative for a universal and persistent UDID solution for iOS
OpenUDID.org
2.09k stars 435 forks source link

OpenUDID crashes on iOS 6 #43

Open lono175 opened 11 years ago

lono175 commented 11 years ago

I got several crash reports that indicates At line 265 OpenUDID.m [OpenUDID valueWithError:] causes the crash by calling [UIPasteboard pasteboardWithName:create:]

Exception Type: EXC_BAD_ACCESS Code: KERN_INVALID_ADDRESS at 0xc1fdd899

There are ~2% probability for the App to crash.

zddd commented 11 years ago

same issue here. using ARC, UIPasteboard pasteboardWithName says message sent to deallocated object.

futur commented 11 years ago

@zddd hope you did implement the selective non-arc flag. I use 6.1, xc 4.6.. no issue with [OpenUDID valueWithError:] in my source. little more detail about error would help.

zddd commented 11 years ago

@futur yes, i did set -fno-objc-arc. the crash does not occur every time, almost none while running in simulator, but much more likely to crash while running in device with iOS6.1

joshhinman commented 11 years ago

I'm getting this crash as well. Does anybody know what causes it? Solution?

zddd commented 11 years ago

@joshhinman well, just a hack.. Generate OpenUDID only once, (it's saved to UserDefault) . any time u want UDID, just retrieve from UserDefault... hope helps.

4ndrey commented 11 years ago

The same issue here. Any solution from author?

MatiBot commented 11 years ago

Same here, any idea? anyone?

HavenShen commented 11 years ago

OK,i here.it's ok.   个人微博:http://weibo.com/havenoo


发件人: Mati Bot notifications@github.com 收件人: ylechelle/OpenUDID OpenUDID@noreply.github.com 发送日期: 2013年4月30日, 星期二, 3:48 下午 主题: Re: [OpenUDID] OpenUDID crashes on iOS 6 (#43)

Same here, any idea? anyone? — Reply to this email directly or view it on GitHub.

kimimaro commented 11 years ago

Got the same issue, any solutions?

chinaxuyujian commented 11 years ago

got the same problem,can anybody help???

deepkpndey commented 11 years ago

Guys, the issue is still open. Has anybody found why is it crashing, and what can be done to resolve this?

mikemonaco commented 11 years ago

does anyone know how to reproduce this crash?

GrayLocus commented 8 years ago

This issue still exists on iOS9.2. 2016-03-21 18 36 05 The debug info is: Class _NSZombie_NSURLError is implemented in both ?? and ??. One of the two will be used. Which one is undefined.