|
Hi All, Our app is crashing randomly with NVFS systems. The app is
spanning across multiple segments, running in background. In background mode –
the app uses only code from segment 1 and makes calls to libraries. Also we
read data from databases in background mode – we use DmQueryRecord, get a
handle and lock it till the read is done. We also perform some file writing in
background (mainly for logs) – for each write – we open, write and
close it immediately. I read posts regard to the locking application and tried
locking Segment 1 and protecting it. But the crashes did not stop. Should I lock all segments, libraries that are accessed and
the databases as well? I am using DMGetResource (‘code’, 1); I can
iterate through 1- N for all segments and after locking I close the database. But how to lock the databases – should I use
DmQueryRecord, lock and close the database? – and unlock when my app it
not running in background by storing the memhandles in a preference or feature? Any help with regard to this is appreciated. Thanks. Regards, G. Kalyana Sundaram. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- |
- Random Crashes with NVFS - need help with locking and ... G. Kalyana Sundaram
- Re: Random Crashes with NVFS - need help with loc... Ben Combee
- RE: Random Crashes with NVFS - need help with loc... G. Kalyana Sundaram
- Re: Random Crashes with NVFS - need help with loc... Jan Slodicka
- Re: Random Crashes with NVFS - need help with loc... David Oldis
- RE: Random Crashes with NVFS - need help with loc... G. Kalyana Sundaram
- Re: Random Crashes with NVFS - need help with loc... PalmDev
- RE: Random Crashes with NVFS - need help with loc... G. Kalyana Sundaram
- Re: Random Crashes with NVFS - need help with loc... PalmDev
