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 8398741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:07:34+00:00 2026-06-09T21:07:34+00:00

I have an odd issue on an iPod Touch running iOS 4.2.1 where my

  • 0

I have an odd issue on an iPod Touch running iOS 4.2.1 where my app will crash when trying to display a FBProfilePictureView using the Facebook 3.0 SDK.

The way that I display the profile is the same way shown by Facebook in their Personalize tutorial. This is working for my iPhone 4S running 5.1.1 and in the 5.1, 5.0 and 4.3 simulators.

The issue I’m having is I get an EXC_BAD_ACCESS due to a null pointer in FBDataDiskCache‘s init method when it calls:
dispatch_queue_t bgPriQueue =
dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0);
_fileQueue = dispatch_queue_create(
"File Cache Queue",
DISPATCH_QUEUE_SERIAL);
dispatch_set_target_queue(_fileQueue, bgPriQueue);
.

bgPrigQueue is null and I believe causing the issue. The FBDataDiskCache code is here. Line 61 is the issue.

This bit of code is called when I try to set the profileId like so: self.userProfileImage.profileID = user.id;

I do think I’m doing anything out of the ordinary and the new SDK supports 4.0. So how do I get around this crash?

  • 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-09T21:07:35+00:00Added an answer on June 9, 2026 at 9:07 pm

    So it appears that DISPATCH_QUEUE_PRIORITY_BACKGROUND is only available in iOS 5.0 and later.

    Concurrent Queue with GCD? (iOS 4.2.1)

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

Sidebar

Related Questions

I have an odd issue while using FlashCS4. I have a textfield that, when
I have an odd issue. I'm using the CSS Anything slider thanks to Chris
I am having a really odd issue. I have a Phonegap 2.0 app that
Trying to finish up an app I've been developing and have hit an odd
I have a really odd issue with WMI that I'm running into on a
I'm having an odd issue in FF10 using jQuery 1.7.1. I have a gallery
Have an odd issue while using the active_directory module, which is amazing BTW... awesome
I have an odd issue happening when trying to open multiple Input Streams (in
An odd issue that I have been trying to address in a project -
I have a very odd issue trying to run this quite simple C program

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.