I noticed that in one of the logs I sent you that its clearly referencing MacOs ...
TDbgFileLoader /Users/andy/Documents/Pascal/src/MyStamps/MyStamps.app/Contents/MacOs/MyStamps
So I did a little playing with case... check this out..
study:Contents andy$ pwd
/Users/andy/Documents/Pascal/src/MyStamps/MyStamps.app/Contents
study:Contents andy$ ls -l
total 16
-rw-r--r-- 1 andy staff 1231 27 Apr 09:56 Info.plist
drwxr-xr-x 3 andy staff 102 27 Apr 09:52 MacOS
-rw-r--r-- 1 andy staff 9 27 Apr 09:52 PkgInfo
drwxr-xr-x 2 andy staff 68 27 Apr 09:52 Resources
study:Contents andy$
study:Contents andy$ cd Macos
study:Macos andy$ pwd
/Users/andy/Documents/Pascal/src/MyStamps/MyStamps.app/Contents/Macos
study:Macos andy$ ls
MyStamps
study:Macos andy$ ls -l
total 8
lrwxr-xr-x 1 andy staff 17 27 Apr 09:52 MyStamps -> ../../../MyStamps
study:Macos andy$
study:Macos andy$ cd /users/andy/documents/pascal/src/mystamps/mystamps.app/contents/macos
study:macos andy$ pwd
/users/andy/documents/pascal/src/mystamps/mystamps.app/contents/macos
study:macos andy$ ls -l
total 8
lrwxr-xr-x 1 andy staff 17 27 Apr 09:52 MyStamps -> ../../../MyStamps
study:macos andy$ ls -l ..
total 16
-rw-r--r-- 1 andy staff 1231 27 Apr 09:56 Info.plist
drwxr-xr-x 3 andy staff 102 27 Apr 09:52 MacOS
-rw-r--r-- 1 andy staff 9 27 Apr 09:52 PkgInfo
drwxr-xr-x 2 andy staff 68 27 Apr 09:52 Resources
study:macos andy$
So while on the surface, OSX appears to be case sensitive, it is clearly tolerant of differences in case. But on the NAS here is no tolerance for errors in case
study:macos andy$ cd /mnt/NAS/Documents/Andy/Pascal/src/MyStamps/MyStamps.app/Contents/
study:Contents andy$ ls -l
total 16
-rwxrwxr-- 1 andy wheel 1231 16 Apr 09:17 Info.plist
drwxrwxr-x 1 andy wheel 264 16 Apr 08:56 MacOS
-rwxrwxr-- 1 andy wheel 9 16 Apr 08:56 PkgInfo
drwxrwxr-x 1 andy wheel 264 16 Apr 08:56 Resources
study:Contents andy$ cd Macos
-bash: cd: Macos: No such file or directory
study:Contents andy$ cd MacOs
-bash: cd: MacOs: No such file or directory
study:Contents andy$ cd MacOS
study:MacOS andy$
So I guess it's not surprising that when reference is made to
"/Users/andy/Documents/Pascal/src/MyStamps/MyStamps.app/Contents/MacOs/MyStamps", being local to the machine, errors in case are tolerated and the app runs with Debug Ok, where as if a similar attempt were made to access
"/mnt/NAS/Documents/Andy/Pascal/src/MyStamps/MyStamps.app/Contents/MacOs/MyStamps" on the NAS, errors in case would not be tolerated and it would fail.
Trouble is, I can't find any reference to
"/mnt/NAS/Documents/Andy/Pascal/src/MyStamps/MyStamps.app/Contents/MacOs/MyStamps" in any of the logs I've sent. Maybe there is, maybe I've missed it.
So to maybe prove it I created a symbolic link in the app bundle ...
study:Contents andy$ cd /
study:/ andy$ cd /mnt/NAS/Documents/Andy/Pascal/src/MyStamps/MyStamps.app/Contents/
study:Contents andy$ ls -l
total 24
-rwxrwxr-- 1 andy wheel 1231 16 Apr 09:17 Info.plist
drwxrwxr-x 1 andy wheel 264 27 Apr 12:57 MacOS
lrwxrwxrwx 1 andy wheel 5 27 Apr 12:57 MacOs -> MacOS
-rwxrwxr-- 1 andy wheel 9 16 Apr 08:56 PkgInfo
drwxrwxr-x 1 andy wheel 264 16 Apr 08:56 Resources
study:Contents andy$
Now, when I run run the App with Debug there are no errors or warning about Dwarf info not being found, debugging appears to work fine, including viewing local variables. And I'm left with the EXC_BAD_ACCESS when the app terminates to sort out.
Strange that it works sometimes....
Maybe if files are on a case-insensitive filesystem. Or maybe don't know.
I think this could be the case (no pun intended) and it would appear the issue is around MacOS v. MacOs.
I'm going to play a bit more with creating a case insensitive share on the NAS
I'll let you know
Thanks a ton, for your persistence.
and thank you!!!