I just recently started creating a new app under Jaguar, and found
that even without any code it was crashing on quit. I did a little
back-stepping and came up with the following steps to reliably cause
a crash under jaguar:
1. Create a plain new project
2. Save the project as "Tester" to the desktop (use save as so you
don't need to enter any code in)
3. Set the built Mac OS X name to be "Tester"
4. Build the app
5. When it's run, it will crash when quitting
6. Rename the built app by adding two extra characters to the name
7. Re-run the app and quit
8. Doesn't crash anymore
It's possible that this only affects my setup, but I was wondering
if it affected others as well. I have no idea why the length of the
name of the built app would affect crashing but it consistently does
on my machine. BTW I'm using the FC 3, but it also happens with FC
1. This also occurs with no plugins installed.
There actually seems to be a lot of weirdness with application names
under Jaguar. I thought that the name of the app was compiled into
the program when built (well at least into the PList I think), but
when I name an app "Jobber" and rename it "Tester", the name appears
as "Tester" in the app menu. If I rename this "Tester" to "TesterDF"
then the app is still called "Tester" in the app menu. Even after
restarting REALbasic, the same problems go on. Most of the time it
seems that apps with names longer than or equal to nine characters
work, but this isn't always true. Thanks,
William Cannings
I have had problems like this as well. In my case, I build an app
and run it. It crashes on quit. I move the built app onto the
desktop and run it and it works just fine. Move it back to my
project folder and it crashes again. I have no idea why. I was
reading somewhere that Jaguar automatically does the update
prebindings. Could this be a cause?
Regards,
John
|