With the update to v15.2, I am seeing crashes occurring in a compiled/built standalone app. The crash log helpfully points out which process the crash is occurring in, but it would be nice to get just a bit more information, like which method and maybe even which line number. Is there a compiler directive I can use to include debug symbols like the method name?
For reference, here is a bit of the crash report. From looking at the stack traces for other threads, it would appear that the actual 4D code is executed at frame 4 of the stack trace. Frame 2 may be a call to a plugin? This code does call a plugin (4D InternetCommands.bundle). However, while I could now probably replace some of the 4D Internet Commands usage with the internal HTTP commands, this process also uses the UDP commands to find the server, so it would be helpful to have a bit more idea where to check. Crashed Thread: 10 Thea_Name_Updater (id = -5) Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000ffffffff Exception Note: EXC_CORPSE_NOTIFY [snip] Thread 10 Crashed:: Thea_Name_Updater (id = -5) 0 com.apple.QD 0x9d8b282b SetGWorld + 38 1 4d.com.T17.app 0x0056bb76 CallUnPack(calcblock*, short, long, char*, char***, long*, unsigned char) + 522 2 4d.com.T17.app 0x000c5b7b rt_RTCallExt + 3415 3 ??? 0x0cbef026 0 + 213839910 4 ??? 0x0f4625ed 0 + 256255469 5 4d.com.T17.app 0x004bf947 CallAsmPart2 + 59 6 4d.com.T17.app 0x000c7e08 ExecPCodeWithParams(tRtGlobals*, tProcessGlobals*, long, long, long, champvar_template<256>*) + 605 7 4d.com.T17.app 0x00344c8c VDBLanguageContext_compiled::DoExecute(calcblock&, VCodeDescriptor*) + 126 8 4d.com.T17.app 0x00349e5b VDBLanguageContext_modecomp::DoExecute(calcblock&, VCodeDescriptor*) + 41 9 4d.com.T17.app 0x00351f6b VDBLanguageContext::Execute(VDB4DTableProxy*, VFormContext*, short, long, long, champvar_template<256>**, VCodeDescriptor*) + 139 10 4d.com.T17.app 0x00351c60 VDBLanguageContext::ExecuteProjectMethod(VMethodInfo const*, long, champvar_template<256>**, VDB4DTableProxy*, VFormContext*, short, long) + 508 11 4d.com.T17.app 0x0026de4c CallProjectMethod(unsigned char const*, champvar_template<256>*, calculLink*) + 547 12 4d.com.T17.app 0x0026b680 calculLink::Execute(champvar_template<256>*) + 1166 13 4d.com.T17.app 0x003488a5 VDBLanguageContext_interpreted::DoExecuteFormulaInContext(calcblock&, calcrec**, champvar_template<256>*) + 111 14 4d.com.T17.app 0x00349ead VDBLanguageContext_modecomp::DoExecuteFormulaInContext(calcblock&, calcrec**, champvar_template<256>*) + 75 15 4d.com.T17.app 0x006b5b95 do_exec(runtime4dLink*) + 220 16 4d.com.T17.app 0x000b4a82 runtime4d(runtime4dLink&) + 1086 17 4d.com.T17.app 0x00344e36 VDBLanguageContext_compiled::ExecuteRuntimeCommand(long, long, champvar_template<256>**) + 72 18 4d.com.T17.app 0x000bfd6b rt_CallRuntime4D2 + 55 19 ??? 0x0fb0c23f 0 + 263242303 20 4d.com.T17.app 0x004bf902 CallAsmPart + 28 21 4d.com.T17.app 0x000c7b6b ExecPCode(tRtGlobals*, tProcessGlobals*, long, long) + 38 22 4d.com.T17.app 0x00344cac VDBLanguageContext_compiled::DoExecute(calcblock&, VCodeDescriptor*) + 158 23 4d.com.T17.app 0x00349e5b VDBLanguageContext_modecomp::DoExecute(calcblock&, VCodeDescriptor*) + 41 24 4d.com.T17.app 0x00351f6b VDBLanguageContext::Execute(VDB4DTableProxy*, VFormContext*, short, long, long, champvar_template<256>**, VCodeDescriptor*) + 139 25 4d.com.T17.app 0x00351c60 VDBLanguageContext::ExecuteProjectMethod(VMethodInfo const*, long, champvar_template<256>**, VDB4DTableProxy*, VFormContext*, short, long) + 508 26 4d.com.T17.app 0x00320fe2 VTaskStartupParameters_4dmethod::ExecuteMethod() const + 186 27 4d.com.T17.app 0x0032105d Task4DMethodProc(taskuser*, xbox::IRefCountable*) + 56 28 4d.com.T17.app 0x0032195f Task4DProc(taskuser*) + 1036 29 4d.com.T17.app 0x0025dd1d V4DScheduler::_Run4DTask(xbox::VTask*) + 63 30 com.4d.kernel 0x0207d56a xbox::VTask::_Run() + 90 31 com.4d.kernel 0x02082322 xbox::XMacTask_fiber::_ThreadProc(void*) + 82 32 com.4d.kernel 0x020ba97b VMacFiber_thread::_ThreadProc(void*) + 43 33 com.apple.CoreServices.CarbonCore 0x96a17517 CooperativeThread + 305 34 libsystem_pthread.dylib 0x9ebb8780 _pthread_body + 138 35 libsystem_pthread.dylib 0x9ebb86f6 _pthread_start + 155 36 libsystem_pthread.dylib 0x9ebb5f7a thread_start + 34 ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

