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

Static strings w/o a NSString class produce SIGSEGV #9

Open
mulle-kybernetik-tv opened this issue Dec 8, 2021 · 0 comments
Open

Static strings w/o a NSString class produce SIGSEGV #9

mulle-kybernetik-tv opened this issue Dec 8, 2021 · 0 comments

Comments

@mulle-kybernetik-tv
Copy link
Contributor

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7f369f8 in _mulle_atomic_pointer_read (address=0x0)
    at /home/src/srcO/MulleUI/MulleUICaca/test/dependency/include/mulle-thread/mulle-atomic-c11.h:272
272        result = atomic_load_explicit( address, memory_order_relaxed);
(gdb) bt
#0  0x00007ffff7f369f8 in _mulle_atomic_pointer_read (address=0x0)
    at /home/src/srcO/MulleUI/MulleUICaca/test/dependency/include/mulle-thread/mulle-atomic-c11.h:272
#1  _mulle_objc_cachepivot_atomicget_entries (p=0x0) at /home/src/srcO/mulle-objc/mulle-objc-runtime/src/mulle-objc-cache.h:162
#2  mulle_objc_object_call (obj=0x405120 <_unnamed_nsstring>, methodid=174245054, parameter=0x7fffffffd978)
    at /home/src/srcO/mulle-objc/mulle-objc-runtime/src/mulle-objc-call.c:99

Possible idea. There is a global symbol, that is used as the static string class and compiled/linked into the strings. The actual class information with method lists and so forth is then set by the Foundation.

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

1 participant