Questions tagged [libobjc]

7 questions
11
votes
2 answers

iOS crash libobjc.A.dylib objc_msgSend

I am getting the crash shown below in Crashlytics. I am unable to understand where this is coming form within the app. Unfortunately I have never been able to generate this crash myself, but it is occurring in the wild. There is only one reference…
NeilMortonNet
  • 1,500
  • 4
  • 16
  • 36
8
votes
1 answer

Why is this inline assembly calling release, retain, and autorelease in libobjc?

The snippet below is taken from Apple's ObjC runtime (libobjc) source code. I wonder what this means exactly. (Not very google-able, sorry) // HACK -- the use of these functions must be after the @implementation id bypass_msgSend_retain(NSObject…
mojuba
  • 11,842
  • 9
  • 51
  • 72
3
votes
0 answers

libobjc.A.dylib crashed? How can I debug?

Thread 0: 0 libobjc.A.dylib 0x30d4af80 objc_msgSend + 32 1 CoreUI 0x28dce2b9 -[CUIMutableStructuredThemeStore imagesWithName:] + 117 2 UIKit 0x26d26f49…
ceekay1991
  • 39
  • 1
  • 4
0
votes
0 answers

Programmatically focus on a form in a webview (WKWebView) in xamarin ios 13 and above

I tried to set the Entry auto focus which is inside the WKWebview using xamarin ios renderer I have created CustomView in xamarin forms and in renderering im adding WKWebView native to that place Here VWWebview is the Native ios WKwebview and…
0
votes
1 answer

libobjc: Calling a ObjC method from plain C?

I am currently experimenting with the V programming language and looked at a few fun things I wanted to try out. One of the things that I wondered was, if I could call Objective-C methods from plain C without compiling a single .m file. Since Python…
Ingwie Phoenix
  • 2,703
  • 2
  • 24
  • 33
0
votes
1 answer

How to call objc_msgSend from C on modern OS X versions

I need to make some relatively simple calls to objc_msgSend on OS X from C. This code use to work id event_data = objc_msgSend((id) objc_getClass("NSEvent"), sel_registerName("eventWithCGEvent:"), event_ref);, however, Apple recently changed the…
Alex Barker
  • 4,316
  • 4
  • 28
  • 47
0
votes
2 answers

Valgrind showing leaked memory with libobjc

Trying to track down what I'm missing here. Running on CentOs5. I have boiled this down to a simple simple program and still end up with a memory leak. Not sure if this is a bug in Valgrind or a bug in libobjc. main.m int main(){return 0;} and I…
joekarl
  • 2,118
  • 14
  • 23