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

  • Home
  • SEARCH
  • 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 8530947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:22:18+00:00 2026-06-11T09:22:18+00:00

i have got a crash report for my app from apple it talks about

  • 0

i have got a crash report for my app from apple it talks about crash due to some nspathstore2 leak, now i am finding it difficult to find that error in the code after reading the report, here i the report

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libobjc.A.dylib                 0x31071f7e objc_msgSend + 22
1   Foundation                      0x35ba2210 -[NSPathStore2 stringByAppendingPathComponent:] + 84
2   Photobook                       0x000131d0 0x1000 + 74192
3   Photobook                       0x0001333c 0x1000 + 74556
4   Photobook                       0x000138a2 0x1000 + 75938
5   Photobook                       0x0001200c 0x1000 + 69644
6   Photobook                       0x000113ac 0x1000 + 66476
7   UIKit                           0x36fc30b6 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 142
8   CoreFoundation                  0x36ca51f4 -[NSObject performSelector:withObject:] + 36
9   QuartzCore                      0x36481a9e -[CALayer layoutSublayers] + 210
10  QuartzCore                      0x364816b6 CA::Layer::layout_if_needed(CA::Transaction*) + 210
11  QuartzCore                      0x3648583c CA::Context::commit_transaction(CA::Transaction*) + 220
12  QuartzCore                      0x36485578 CA::Transaction::commit() + 308
13  QuartzCore                      0x3647d4b2 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 50
14  CoreFoundation                  0x36d1ab14 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 12
15  CoreFoundation                  0x36d18d50 __CFRunLoopDoObservers + 252
16  CoreFoundation                  0x36d190aa __CFRunLoopRun + 754
17  CoreFoundation                  0x36c9c49e CFRunLoopRunSpecific + 294
18  CoreFoundation                  0x36c9c366 CFRunLoopRunInMode + 98
19  GraphicsServices                0x30d7e432 GSEventRunModal + 130
20  UIKit                           0x36fede76 UIApplicationMain + 1074
21  Photobook                       0x0000229c 0x1000 + 4764
22  Photobook                       0x00002254 0x1000 + 4692

now i was assuming that this “1 Foundation 0x35ba2210 -[NSPathStore2 stringByAppendingPathComponent:] + 84” suugests that the crash is at line 84 somewhere in the project, so i try to find this, but there is no stringByAppendingPathComponent: used at line 84 any where in the project, so i am confused that how to find that leak in the project, can any one guide how to find this, thanx and regard. Saad

  • 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-06-11T09:22:19+00:00Added an answer on June 11, 2026 at 9:22 am

    Problem:

    -[NSPathStore2 length]:unrecognized selector sent to instance 0x80cea00

    When your application crashes with NSPathStore2 notification whether its contain any method like above it contains “length” then go my solution below its work fine for me i hope its also works for you.:)

    Solution: The above error message means its have some problem with your “PATH” object variable.I explain it with you with an given example below:
    Let us consider you have define the below code in your .m files any method where its need to define .Where “dbpath” is an NSString class variable that define in the .h file .Now you complete path is going to stored in “dbpath” variable as in below example descripted. Now when you are going use this “dbpath” variable in any other methods in .m file it then its get crash with the above message “-[NSPathStore2 length]:unrecognized selector sent to instance 0x80cea00” because you have not either “alloc” or “retain” the “dbpath“. So solution of this problem is please either alloc or retain the “dbpath” variable in given example below. THIS IS MY ANSWER WHEN I GOT THIS CRASH AND ITS WORK FOR ME WELL. ALL THE BEST TO YOU:)
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *path = [paths objectAtIndex:0];
    dbpath = [path stringByAppendingPathComponent:@”mydb.sqlite”];

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

Sidebar

Related Questions

I have an NDK app out on market and got a native crash report
I'm getting reports from users that my app crash upon launch. So I got
I have got a few (4) error reports on my app from when the
I have got a serious problem running our web app in some machines.. machines
I have got many crash logs from different users, I have different builds and
I got an crash logs from a customer to figure why my app crash
I have some really weird crash here, ive got it before, but i thought
I have got some confused about shared_ptr. Say, I have classes: class foo {
I'm doing some beta testing. I've got a crash and trying to figure it
I got a crash report with this stack trace: Exception Type: EXC_CRASH (SIGABRT) Exception

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.