<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The parameters I'm using are the following: EVCursorLocation.kServerSide, EVLockType.kNoLocks, EVCursorDirection.kRandom<div><br></div><div>A similar piece of code also crashes:</div><div><br></div><div><div>Thread 8 Crashed:</div><div>0 libvkernel_fat_release.dylib <span class="Apple-tab-span" style="white-space:pre">        </span>0x0e2b8434 fbl::vsql::Cursor::get_Database() const + 16</div><div>1 V4RB.rbx_0.dylib <span class="Apple-tab-span" style="white-space:pre">        </span>0x0df3c4cf Cursor_GetDatabase(REALobjectStruct*, int) + 125</div><div>2 com.mothsoftware.mailarchiverx<span class="Apple-tab-span" style="white-space:pre">        </span>0x005b1bf2 VCursor.Database.Get%o<VDatabase>%o<VCursor>i4 + 99</div><div>3 com.mothsoftware.mailarchiverx<span class="Apple-tab-span" style="white-space:pre">        </span>0x00812df9 WriteMessageToValentina.Constructor%%o<WriteMessageToValentina>o<VCursor>o<MailFields> + 1836</div><div>4 com.mothsoftware.mailarchiverx<span class="Apple-tab-span" style="white-space:pre">        </span>0x007e6223 MailParser.parse%b%o<MailParser> + 11573</div><div>5 com.mothsoftware.mailarchiverx<span class="Apple-tab-span" style="white-space:pre">        </span>0x00889d7d ArchiveThread.DoWork%%o<ArchiveThread> + 2305</div><div>6 com.mothsoftware.mailarchiverx<span class="Apple-tab-span" style="white-space:pre">        </span>0x008853ad ThreadPoolThread.Event_Run%%o<ThreadPoolThread> + 236</div><div>7 rbframework.dylib <span class="Apple-tab-span" style="white-space:pre">        </span>0x00fe1a5d threadRun + 633</div><div>8 ...ple.CoreServices.CarbonCore<span class="Apple-tab-span" style="white-space:pre">        </span>0x92ce903b CooperativeThread + 309</div><div>9 libSystem.B.dylib <span class="Apple-tab-span" style="white-space:pre">        </span>0x90fb0fbd _pthread_start + 345</div><div>10 libSystem.B.dylib <span class="Apple-tab-span" style="white-space:pre">        </span>0x90fb0e42 thread_start + 34</div><div><br></div><div>And here the crashing line must be</div><div><br></div><div>dim theTable as VTable = theCursor.Database.Table("Message")</div><div><br></div><div><div><div>Am 29.01.2010 um 10:51 schrieb Beatrix Willius:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Ivan,<br><br>I'm using the local V4RB plugin so no server involved. I'm not in front of my code right now and the brain is getting older each day. As far I remember I'm using the recommended cursor parameters (serverside, read/write).<br><br>Don't I have to use new for VDatabase as for every other class? Will try this evening to remove the line. <br><br>Unfortunately, the code below is part of a good half of the backend of my app so it will be not easy to make a simple project for reproducing this error.<br><br><a href="mailto:valentina-bounces@lists.macserve.net">valentina-bounces@lists.macserve.net</a> schrieb am 29.01.2010 09:13:30:<br><br><blockquote type="cite">I will try to reproduce it.<br></blockquote><blockquote type="cite">But please, provide more info - what kind of cursor (Client or server)?<br></blockquote><blockquote type="cite">Under vServer or locally?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">The code seems to be quite simple:<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite"> if hasCursor = nil then Return<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> theCursor = hasCursor<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> ValentinaDB = new VDatabase<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> ValentinaDB = theCursor.Database<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> theMailApplication = hasMailApplication<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Why do you create a db instance first:<br></blockquote><blockquote type="cite"> ValentinaDB = new VDatabase<br></blockquote><blockquote type="cite">and then replace it with another db instance?<br></blockquote><blockquote type="cite"> ValentinaDB = theCursor.Database<br></blockquote></div></blockquote></div><br><div>
<p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Mit freundlichen Grüßen/Regards</font></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Trixi Willius</font></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><a href="http://www.mothsoftware.com">http://www.mothsoftware.com</a></font></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Mail Archiver X: archive, clean and search email</font></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><a href="http://www.beatrixwillius.de">http://www.beatrixwillius.de</a></font></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Fractals, 3d landscapes etc.</font></p>
</div>
<br></div></div></body></html>