On Wed, Dec 15, 2004 at 02:22:53PM -0600, Ben Combee wrote: > At 01:57 PM 12/15/2004, you wrote: > >We have been having intermittent problems with the handheld crashing > >with the error "Preferences.c, Line: 271, Pref DB Open Error" during > >the HotSync operation when our conduit is running. > > This indicates corruption with the Exchange Manager preferences usually. > See > http://kb.palmsource.com/cgi-bin/palmsource.cfg/php/enduser/std_adp.php?p_faqid=910 > > for details on the crash and code to clean things up.
OK, that makes sense. If I understand it, the problem is caused whenever there is an entry in the list of registered applications that points to a non-existent database. This could be caused by buggy apps that mis-register themselves, or by apps that register themselves during normal launch, even if they're actually launched from VFS and won't exist at the end of the run. Would it be valid for our conduit to call an RPC at the start of its operation to perform this cleanup, or is the prefs database already going to be open by the time our conduit runs? If it's the latter, is there any way we can force the prefs database to be closed, even if it's been left open? I'm just looking for a workaround, because even though the devices in the program have lots of third-party software, the blame finger gets pointed at us because it's always in our conduit that the crash occurs. -- Dave Carrigan Seattle, WA, USA [EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680 UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL Dave is currently listening to The Jazz Butcher - Sex Engine (Spooky) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
