• 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
Crash in new
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash in new


  • Subject: Crash in new
  • From: Jérôme Seydoux <email@hidden>
  • Date: Mon, 3 Apr 2006 14:03:25 +0200

Hi,

I've just converted my project from CodeWarrior to XCode, and my app
(Carbon and PowerPlant) crashes on the first new, inside malloc. Even a
simple new on a STL object can produce the crash:
std::string *s=new std::string;
What could be wrong?

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x01417b6e

Thread 0 Crashed:
0   libSystem.B.dylib    	0x90003b18 szone_malloc + 936
1   libSystem.B.dylib    	0x9000341c malloc + 652
2   libstdc++.6.dylib    	0x94712c64 operator new(unsigned long) + 44
3   com.ctmdev.PowerMail 	0x0001635c main + 24 (crt.c:355)
4   com.ctmdev.PowerMail 	0x00002404 _start + 340 (crt.c:272)
5   com.ctmdev.PowerMail 	0x000022ac start + 60


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Bundlizing happens every morning
  • Next by Date: Is it possible to export c++ objects from a framework?
  • Previous by thread: Re: Bundlizing happens every morning
  • Next by thread: Is it possible to export c++ objects from a framework?
  • Index(es):
    • Date
    • Thread