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

EXC_BAD_ACCESS on iOS #275

Closed
MayPau opened this issue Dec 15, 2017 · 2 comments
Closed

EXC_BAD_ACCESS on iOS #275

MayPau opened this issue Dec 15, 2017 · 2 comments

Comments

@MayPau
Copy link

MayPau commented Dec 15, 2017

After updating glog from version 0.3.3 to 0.3.5 it crashes on iOS with Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) at line 1218 in logging.cc

This is the code triggering the crash:
google::InitGoogleLogging("Test SDK");
DLOG(INFO) << "Test logging";

The same code works fine on Android.

Same problem with version 0.3.4

@sergiud
Copy link
Collaborator

sergiud commented Dec 15, 2017

Does it work if you disable TLS? This can be done using the command-line as follows:

$ cmake <glog-build-dir> -DWITH_TLS=OFF

Afterwards you need to compile glog again.

@Lightolx
Copy link

how to build glog in ios?

@sergiud sergiud closed this as completed Mar 30, 2021
@sergiud sergiud mentioned this issue May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants