From: SourceForge.net <no...@so...> - 2010-06-23 05:48:38
|
bugs item #3018910, was opened at 2010-06-21 07:59 Message generated for change (Comment added) made by ndegendogo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126388&aid=3018910&group_id=250155 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: karatasi.iphone Group: V1.6 Status: Open Priority: 7 Private: No Submitted By: Christa Runge (ndegendogo) Assigned to: Christa Runge (ndegendogo) Summary: Race condition on startup? Initial Comment: svn 2618 - 2622: When debugging or testing with the simulator on a system under SnowLeopard I get sometimes *very* strange behavior: - the database list is empty - the user defaults (e.g. synch parameter) are gone. The reason might be a race condition on startup - on the application side, or only on the simulator ?? I have a *very* large number of databases in this configuration ( > 50). I am using XCode 3.2.1 together with SDK 3.0. I sometimes saw an error message from the launch process in the system console (I will document it as soon as it appears again). If it is on the application side, then it is serious. If it is an artefact on the simulator only, it still makes debugging very tough. ---------------------------------------------------------------------- >Comment By: Christa Runge (ndegendogo) Date: 2010-06-23 07:48 Message: When I remember correctly, I see this since we added the icon to the startup screen. Can it be that the icon causes such an additional load on the startup, so that it has problems to read the databases ?? ---------------------------------------------------------------------- Comment By: Christa Runge (ndegendogo) Date: 2010-06-23 00:02 Message: Too bad - it has happened again (still svn 2624). ---------------------------------------------------------------------- Comment By: Christa Runge (ndegendogo) Date: 2010-06-22 23:11 Message: svn 2624: replaced the access to the file system with a thread-safe variant in the hope that this helps. According to the API docu this is supported and recommended since MAC-OS 10.5. ---------------------------------------------------------------------- Comment By: Christa Runge (ndegendogo) Date: 2010-06-22 23:08 Message: Observations: When the database list is empty, then also the karatasi application directory of the simulator is empty. This means: we do not have just a problem when reading the database files, but "something" destroys them. This needs to be watched carefully: - it might be an issue of the SnowLeopard together with the new version of the XCode development environment and the simulator (before I had Mac-OS 10.4 / Leopard). - but it might as well be a consequence of the application startup implementation which I have refactored recently. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126388&aid=3018910&group_id=250155 |