AW: deploying stand alone application for mac
Thorsten Hohage
thohage at genericobjects.de
Sun Dec 27 03:14:06 CST 2009
Hi Gerri,
On 2009-12-27, at 03:49, Gerri wrote:
> at this point the app crashes, when started from CD or from mounted Image.
> The same app with the same files in the folder as they are on CD, doesn't
> crash when started from harddisk.
when I look at this lines
7 libvshared_fat_release.dylib 0x0cee4afe fbl::File_Mac::DoCreate() + 170
8 libvshared_fat_release.dylib 0x0cee3b10 fbl::File::Create() + 250
9 libvshared_fat_release.dylib 0x0cee2d15 fbl::CreateTextFile(fbl::smart_ptr<fbl::I_Location>) + 155
10 libvshared_fat_release.dylib 0x0cee2d6c fbl::CreateTextStream(fbl::smart_ptr<fbl::I_Location>) + 46
11 libvshared_fat_release.dylib 0x0cef78f7 fbl::LogFile_Imp::Init(fbl::smart_ptr<fbl::I_Location>) + 89
12 libvshared_fat_release.dylib 0x0cef7a5a fbl::LogFile_Imp::LogFile_Imp(fbl::String const&, fbl::String const&, unsigned char, bool) + 206
13 libvshared_fat_release.dylib 0x0cef7b30 fbl::CreateLogFile(fbl::String const&, fbl::String const&, unsigned char, bool) + 72
14 com.paradigmasoft.v4md 0x0ce4f5d9 V4MD_GetLog() + 565
then it seems to me, that "you" (= Valentina for you) try to create a new log file, where a log file should not be created. In this FileCreation process the exception is thrown, that finally kills your app.
And when looking at you code
Valentina.debugLevel = #kLogParams
Valentina.logToFile(true, true)
then you really try to create a log file on a read only medium.
regards,
Thorsten Hohage
--
Valentina Technology Evangelist
generic objects GmbH - Leiter Solution Center Nord
More information about the Valentina
mailing list