Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7542023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:03:12+00:00 2026-05-30T08:03:12+00:00

I’m building a static library for iOS, and implemented the first unit test in

  • 0

I’m building a static library for iOS, and implemented the first unit test in the test target.
However, when I run the tests with Command+U (simulator), the debugger halts on some ASM stack trace with an EXC_BAD_ACCESS before even a test class is executed.

In the thread view the step before is

#15 0x8feb02ef in dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*) ()

The ASM stack trace is as following (assume it doesn’t help much):

0x0:  into   
0x1:  cli    
0x2:  inl    %dx                      
0x3:  incb   (%edi)
0x5:  addb   %al, (%eax)
0x7:  addb   %al, (%ebx)
0x9:  addb   %al, (%eax)
0xb:  addb   %al, (%edx)
0xd:  addb   %al, (%eax)
0xf:  addb   %dl, (%eax)
0x11:  addb   %al, (%eax)
0x13:  addb   %cl, %al
0x15:  orb    %al, (%eax)
0x17:  addb   %al, 16842752(%ebp)
0x1d:  addb   %al, (%eax)

Any gotchas I should be aware of testing a static lib? Anyone else had this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T08:03:13+00:00Added an answer on May 30, 2026 at 8:03 am

    Xcode 4.3 uses LLDB by default. Switched to GDB and it shows me the error.

    I guess LLDB isn’t as mature as Apple thought…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We're building an app, our first using Rails 3, and we're having to build
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
public static bool CheckLogin(string Username, string Password, bool AutoLogin) { bool LoginSuccessful; // Trim
I would like to run a str_replace or preg_replace which looks for certain words
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I would like to count the length of a string with PHP. The string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.