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

-[NSConcreteMutableData yajl_JSON:]: unrecognized selector sent to instance #12

Open
sidha opened this issue Feb 10, 2011 · 1 comment

Comments

@sidha
Copy link

sidha commented Feb 10, 2011

When running the Test.app in the iPhoneSimulator4.2, I tried the "HLJSONDataSourceTest/testFail" and I got an exception with yajl:

2011-02-09 22:38:35.151 Tests[43724:207] HLJSONDataSourceTest/testFail
2011-02-09 22:38:37.413 Tests[43724:207] Re-running: HLJSONDataSourceTest/testFail <GHTest: 0x60e9020>
2011-02-09 22:38:37.920 Tests[43724:207] -[NSConcreteMutableData yajl_JSON:]: unrecognized selector sent to instance 0x60f6760
2011-02-09 22:38:37.935 Tests[43724:207] -[NSConcreteMutableData yajl_JSON:]: unrecognized selector sent to instance 0x60f6760
#0 0xe11bcc __exceptionPreprocess() (/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation)

[..more]

I found a similar issue at StackOverflow:

http://stackoverflow.com/questions/2415631/has-anyone-had-experience-using-the-objective-c-bindings-for-yajl

I followed the advice of adding -ObjC and -all_load compiler flags(all configurations). Compiled with these new linker warning but ignored them:

Ld build/YAJL.build/Release/YAJL.build/Objects-normal/ppc/YAJL normal ppc
cd /Users/sidha/git/yajl-objc/Project
setenv MACOSX_DEPLOYMENT_TARGET 10.5
/Developer/usr/bin/gcc-4.2 -arch ppc -dynamiclib -isysroot /Developer/SDKs/MacOSX10.5.sdk -L/Users/sidha/git/yajl-objc/Project/build/Release -F/Users/sidha/git/yajl-objc/Project/build/Release -filelist /Users/sidha/git/yajl-objc/Project/build/YAJL.build/Release/YAJL.build/Objects-normal/ppc/YAJL.LinkFileList -install_name @rpath/YAJL.framework/Versions/A/YAJL -Xlinker -rpath -Xlinker @loader_path/../Frameworks -mmacosx-version-min=10.5 -ObjC -all_load -framework Cocoa -single_module -compatibility_version 0 -current_version 0.2.25 -o /Users/sidha/git/yajl-objc/Project/build/YAJL.build/Release/YAJL.build/Objects-normal/ppc/YAJL

ld: warning: can't add line info to anonymous symbol anon-func-0x0 from /Developer/usr/lib/gcc/powerpc-apple-darwin10/4.2.1/libgcc.a(darwin-tramp.o)
ld: warning: can't add line info to anonymous symbol anon-func-0x0 from /Developer/usr/lib/gcc/powerpc-apple-darwin10/4.2.1/libgcc.a(darwin-tramp.o)
ld: warning: can't add line info to anonymous symbol anon-func-0x0 from /Developer/usr/lib/gcc/powerpc-apple-darwin10/4.2.1/libgcc.a(darwin-tramp.o)
ld: warning: can't add line info to anonymous symbol anon-func-0x0 from /Developer/usr/lib/gcc/powerpc-apple-darwin10/4.2.1/libgcc.a(darwin-tramp.o)
ld: warning: can't add line info to anonymous symbol anon-func-0x0 from /Developer/usr/lib/gcc/powerpc-apple-darwin10/4.2.1/libgcc.a(darwin-tramp.o)
ld: warning: can't add line info to anonymous symbol anon-func-0x0 from /Developer/usr/lib/gcc/powerpc-apple-darwin10/4.2.1/libgcc.a(darwin-tramp.o)
ld: warning: can't add line info to anonymous symbol anon-func-0x0 from /Developer/usr/lib/gcc/powerpc-apple-darwin10/4.2.1/libgcc.a(darwin-tramp.o)

Anyway, re-running the test still crashes the same way. Should I worry about this or ignore it?

Michael

@allen8300
Copy link

Why no one answer this?

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

No branches or pull requests

2 participants