• 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
Re: My app won't run with zerolink turned on
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: My app won't run with zerolink turned on


  • Subject: Re: My app won't run with zerolink turned on
  • From: Jesper Papmehl <email@hidden>
  • Date: Fri, 18 Jun 2004 16:31:33 +0200

[Replying to my own message...]

Well, I don't quite trust the CodeWarrior importer, so I recreated the project by hand. Lots of fun... :)
And with the new project file, I can actually start the app with zerolink turned on. However, it is incredibly slow.
With zerolink turned off, the (static) linking of the application takes slightly less than four minutes.
With zerolink turned on, launching the application with the debugger takes about nine (yes, 9) minutes, and makes my Mac thrash like crazy. I basically cannot do anything else with the machine while zerolink does its thing.


(By contrast, linking the same app on the same machine in CodeWarrior take less than half a minute.)

So, does zerolink make launching your apps this slow for everyone else, or is there something weird going on here?

(I have a single 1.8 GHz G5 with 1.5 GB RAM.)

/Jesper Papmehl

15 jun 2004 kl. 14.46 skrev Jesper Papmehl:
I can't get my app to run with zerolink turned on. If I turn zerolink off, it runs just fine.

The project is created using the CodeWarrior importer. It consists of an application, a plugin (loadable bundle) and a bunch of private frameworks.

If zerolink is turned on, it cannot be launched, neither from within XCode or from the Finder. If I, for example, do a Build->Build and Debug in XCode, the program is built, the debugger starts and claims to start the application, but then nothing happens. I just get an empty debugger window that says the program is running. The only suspicious thing I have noticed is a couple for warnings about disabled catchpoints in the GDB console:
Program loaded.
run
[Switching to process 27029 local thread 0xd03]
Warning:
Cannot insert catchpoint 1; disabling it.
Error accessing memory address 0x4871c: Input/output error.
Cannot insert catchpoint 2; disabling it.
Error accessing memory address 0x92106324: Input/output error.
Cannot insert catchpoint 3; disabling it.
Error accessing memory address 0x81ec2008: Input/output error.
Running...


If I double click on the app icon in the Finder, the app icon shows up bouncing in the dock, but then nothing more happens. There are no messages in the console log.

If I turn zerolink off, the app runs fine, both in the debugger and from the Finder.

Does anyone have a clue about what I might be doing wrong?


TIA

/Jesper Papmehl
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >My app won't run with zerolink turned on (From: Jesper Papmehl <email@hidden>)

  • Prev by Date: Re: sourcecode for gdb 325
  • Next by Date: Re: sourcecode for gdb 325
  • Previous by thread: My app won't run with zerolink turned on
  • Next by thread: DEPLOYMENT_POSTPROCESSING
  • Index(es):
    • Date
    • Thread