Hard crash on incorrectly cast field

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Sun Aug 3 13:00:21 CDT 2014


On 8/3/14, 7:04 PM, "Steve Albin" <steve at steve-albin.com> wrote:

Hi Steve,

Just in case -- please add into mantis, we will check later by code and
tests.

I se also that you work in CLIENT mode, right?


> Using V5RB 5.5 on a Mac, I have this code:
> return cursor.DateTimeField(3).Month
> 
> The field I'm returning is a DateField, so I know I'm miscasting the field and
> should get an error.  Instead, I get a hard crash of the app.  No big deal for
> me since I'll make the simple correction and move on, but should I submit this
> to Mantis or something?  Is a hard crash expected or should we expect an
> exception?
> 
> 
> 
> Here's the snippet of the stack dump implicating Valentina:
> 
> 0   V4RB.rbx_0.dylib               0x05b9da39
> DateTime_GetMonth(REALobjectStruct*, int) + 162
> 1   com.soundcatalog.BRIAN         0x002dc38a
> VDateTime.Month.Get%i4%o<VDateTime>i4 + 68
> 2   com.soundcatalog.BRIAN         0x00634473
> VC_Sessions.GetSessDateMM%i4%o<VC_Sessions> + 165
> 3   com.soundcatalog.BRIAN         0x006ccb1b
> genXML_Sess.GenSessInfo%%o<genXML_Sess> + 969
> 4   com.soundcatalog.BRIAN         0x006cc69e
> genXML_Sess.Constructor%%o<genXML_Sess>&o<XmlNode>&o<XmlDocument>i4 + 556

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list