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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:45:00+00:00 2026-05-25T23:45:00+00:00

Update I swapped out completely different code for pushViewController, and it is still crashing…

  • 0

Update

I swapped out completely different code for pushViewController, and it is still crashing… seems like pushViewController is not the culprit. Here is what I added instead:

NSString *videoURL = [[NSString alloc] initWithFormat:@"http://www.vimeo.com/m/#/%@", videoID];

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:videoURL]];

It opens up the URL in Safari, and then crashes.. wtf?


PushViewController crashes with no error in the console, but I do get an EXC_BAD_ACCESS error in Xcode. The crash doesn’t happen until after the view controller has been pushed… but the view its pushing is empty… no code to mess up.

My code is below:

MainViewController.m

PlayVimeo *playTest = [[PlayVimeo alloc] initWithNibName:@"PlayVimeo" bundle:nil];
    //playTest.videoID = videoID;
    [self.navigationController pushViewController:playTest animated:YES];
    [playTest release];

PlayVimeo.m

#import "PlayVimeo.h"
#import "SVProgressHUD.h"


@implementation PlayVimeo
@synthesize videoID, wView;

-(void)viewDidLoad {
    [super viewDidLoad];

    //Show loading alert
    [SVProgressHUD showInView:self.view status:@"Loading Video..."];
    }


-(void)viewWillAppear:(BOOL)animated {     

    NSLog(@"Play View Loaded!");

    [self vimeoVideo];
    }


-(void)vimeoVideo {

    NSLog(@"Video ID: %@", videoID);

    NSString *html = [NSString stringWithFormat:@"<html>"
                      @"<head>"
                      @"<meta name = \"viewport\" content =\"initial-scale = 1.0, user-scalable = no, width = 460\"/></head>"
                      @"<frameset border=\"0\">"
                      @"<frame src=\"http://player.vimeo.com/video/%@?title=0&amp;byline=0&amp;portrait=1&amp;autoplay=1\" width=\"460\" height=\"320\" frameborder=\"0\"></frame>"
                      @"</frameset>"
                      @"</html>", 
                      videoID];

    NSLog(@"HTML String: %@", html);

    [wView loadHTMLString:html baseURL:[NSURL URLWithString:@""]];

    //Dismiss loading alert
    [SVProgressHUD dismissWithSuccess:@"Playing..."];
    }



- (void)viewDidUnload {
    [super viewDidUnload];
    }

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft || interfaceOrientation == UIInterfaceOrientationLandscapeRight);
    }

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    }

-(void)dealloc {
    [super dealloc];
    }

Navigation Controller Code:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {   
    self.window.rootViewController = self.navigationController;
    [self.window makeKeyAndVisible];

    [Appirater appLaunched];

    return YES;
    }

Console on crash:

sharedlibrary apply-load-rules all
Current language:  auto; currently objective-c
(gdb) 
  • 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-25T23:45:00+00:00Added an answer on May 25, 2026 at 11:45 pm

    It’s likely that the culprit is

    [playTest release];
    

    Without seeing the rest of your code, I would still say that you likely need to release this after you’re done with the video.

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

Sidebar

Related Questions

UPDATE: I've been playing around with this more, and it seems like tmux's clear-history
EDIT : I swapped out my structural implementation, but my problem still remains the
Update : I found almost exact similar question , yet it has slightly different
UPDATE: Thanks for the answers! I can't seem to figure it out, even with
UPDATE: I made a mistake in my debugging - this question is not relavent
Update: The index.php file here: /public_html/d/index.php includes: /public_html/d/core/source/class.File1.php This Class.File1.php here has this include
UPDATE: Sorry, forgot to include some of the code (face-palm). I included it in
UPDATE: Setting foreign_key_checks to 1 does not trigger a scan of the existing table
UPDATE: I provided better context for the code which I was using to access
Update : Turns out I was being very stupid. I was checking the modification

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.