I think this is pretty strange. If I:
1 - reboot the computer
2 - doubleclick my built app
- it will unexpectedly quit on start up
3 - doubleclick it again and it will start normally
As many times as you want it will start normally, but as soon as the
computer is rebooted, it will unexpectedly quit the next time it is
launched.
If I comment out one line of code, the problem disappears.
That line of code is
me.value = 3
in the newOpen event of a pagepanel with 6 pages.
I have commented out all code in the pagepanel's change event, which is
fired by the value change.
**How** does the OS know whether the app has been started before?
More Info:
If I trash the app and re-compile it after step 2 (above) it still opens
correctly in step 3.
It always works correctly on OS 9
I have tried compiling with RB 5.5 and 5.5.2
I can compile it on OS 9 or OS X - no difference
This happens with PEF. If I use Mach-0, it will always unexpectedly(?)
quit.
I am seeing this on OS 10.1
(Yes, I know, I agree, I'd love to, - but I am in a third world country,
10.2 is not available. 10.3 is available, but will not run on my
computer.)
I have taken out all references to pref files. Nothing is being accessed
from files.
App open event assigns a dozen or so values to two dictionaries
various popups and editfields are assigned values in their open events
(using default values in the absence of a pref file.)
I have not been able to reproduce this with a newly built app yet, but
will try deleting until I get something simple enough to submit if no
one knows what is going on.
Any ideas?
Does this win the "Weirdest Bug Contest?"
DJ
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|