• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
SIGTRAP problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SIGTRAP problem


  • Subject: SIGTRAP problem
  • From: Konstantinos Theofilis <email@hidden>
  • Date: Thu, 27 Oct 2005 12:02:24 +0100

Hi list,

The situation is:

I have a full screen app. (I followed the http:// www.cocoadevcentral.com/articles/000028.php instructions).
The app is just a quiz game with 10 questions. Everytime the user answer a question, he presses a "continue" button and the screen contents change.
For changing the content of the window I user the rather crude way of loading different panels.
For example, the program starts with Panel1 as its contentView and then it goes to Panel2 etc...


At some point I want to go back to Panel1.

The code compiles fines but when I am on Panel 10 for example and the "continue" button has to set the contentView to Panel 1 again, app exits with a SIGTRAP signal.

Obviously it is some memory management issue.

What is the correct method of unloading/releasing the Panels?

Thanks in adnvance

Kostas

P.S. I know that my implementation is awful and I should have used a custom view, but when I made this app I was even more newbie than I am now :-) And time constraints prevent me from rewriting the app :-(
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: SIGTRAP problem
      • From: Yann Bizeul <email@hidden>
  • Prev by Date: Re: Clicking the Dock
  • Next by Date: text size and text color
  • Previous by thread: Re: Coredata, unfaulting and NSArrayController
  • Next by thread: Re: SIGTRAP problem
  • Index(es):
    • Date
    • Thread