#1 2013-10-29 10:32:07

mingda
Member
Registered: 2013-01-04
Posts: 121

Build fbe400a8a1 when run TestSql3 not in IDE, generate exception

DelphiXE run TestSQL3 in ide, no exception, when run without debug, generate exception

! Exception EInterfaceFactoryException raised with message:
! Invalid fake ICalculator.ComplexCall interface call: : {
"ErrorCode":500,
"ErrorText":"Exception EAccessViolation: Access violation at address..."
}

here is log file content

20131029 17590243 fail  TTestLowLevelCommon(010DA878) Low level common: Soundex "" stack trace API 0048C25A 004908CF 0047C5F7 005F5D52 0047D0FB 006338E7 00639319 7C82F23B
20131029 17592353 fail  TTestSynopsePDF(010DACA0) Synopse PDF: TPdfDocument "" stack trace API 0048C25A 004908CF 0047C5F7 00611894 0047D0FB 006338E7 00639319 7C82F23B
20131029 17592359 fail  TTestSynopsePDF(010DACA0) Synopse PDF: TPdfDocumentGDI "" stack trace API 0048C25A 004908CF 0047C5F7 00613B9C 0047D0FB 006338E7 00639319 7C82F23B
20131029 18001247 fail  TTestBasicClasses(010DAD80) Basic classes: TSQLRecord "" stack trace API 0048C25A 004908CF 0047C5F7 0060D5BC 0047D0FB 006338E7 00639319 7C82F23B
20131029 18001247 fail  TTestBasicClasses(010DAD80) Basic classes: TSQLRecord "" stack trace API 0048C25A 004908CF 0047C5F7 0060D666 0047D0FB 006338E7 00639319 7C82F23B
20131029 18001247 fail  TTestBasicClasses(010DAD80) Basic classes: TSQLRecord "" stack trace API 0048C25A 004908CF 0047C5F7 0060D75B 0047D0FB 006338E7 00639319 7C82F23B
20131029 18001247 fail  TTestBasicClasses(010DAD80) Basic classes: TSQLRecord "" stack trace API 0048C25A 004908CF 0047C5F7 0060D9EA 0047D0FB 006338E7 00639319 7C82F23B
20131029 18001247 fail  TTestBasicClasses(010DAD80) Basic classes: TSQLRecord "" stack trace API 0048C25A 004908CF 0047C5F7 0060DB6B 0047D0FB 006338E7 00639319 7C82F23B
20131029 18001247 fail  TTestBasicClasses(010DAD80) Basic classes: TSQLRecord "" stack trace API 0048C25A 004908CF 0047C5F7 0060DD39 0047D0FB 006338E7 00639319 7C82F23B
20131029 18001247 fail  TTestBasicClasses(010DAD80) Basic classes: TSQLRecord "" stack trace API 0048C25A 004908CF 0047C5F7 0060DDC3 0047D0FB 006338E7 00639319 7C82F23B
20131029 18001639 EXCOS EAccessViolation (C0000005) at 004626B2  stack trace API 0048B110 00407190
20131029 18001639 EXC   EInterfaceFactoryException ("Invalid fake ICalculator.ComplexCall interface call: : {\r\n\"ErrorCode\":500,\r\n\"ErrorText\":\"Exception EAccessViolation: Access violation at address 004626B2 in module 'TestSQL3.exe'. Read of address 001A1000\"\r\n}") at 0057DD36  stack trace API 0048B110 00407190

Offline

#2 2013-10-29 11:04:31

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: Build fbe400a8a1 when run TestSql3 not in IDE, generate exception

I do not have Delphi XE at hand (just XE3 and XE4).
No error with those.

Could you enable the detailed .map file, to add the line numbers to the stack trace?

Offline

#3 2013-10-29 12:23:06

mingda
Member
Registered: 2013-01-04
Posts: 121

Re: Build fbe400a8a1 when run TestSql3 not in IDE, generate exception

strange, TestSQL3.map has generate, but the log file still no line number, I have set link the Detailed Map file.

Offline

#4 2013-10-29 12:37:08

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: Build fbe400a8a1 when run TestSql3 not in IDE, generate exception

The .map file should be in the same folder than the TestSQL3.exe.

Are you using the latest "unstable" 1.18 revision?
See http://synopse.info/fossil/wiki?name=Get+the+source
or direct link http://synopse.info/files/mORMotNightlyBuild.zip

Offline

#5 2013-10-29 12:45:29

mingda
Member
Registered: 2013-01-04
Posts: 121

Re: Build fbe400a8a1 when run TestSql3 not in IDE, generate exception

TestSQL3.exe and TestSQL3.map is in the same folder.

Yes, the last version, just download from source control.

Offline

#6 2013-10-29 13:47:18

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: Build fbe400a8a1 when run TestSql3 not in IDE, generate exception

You can try to search manually the 004626B2 address in the Delphi IDE.

Offline

#7 2013-10-30 11:29:25

mingda
Member
Registered: 2013-01-04
Posts: 121

Re: Build fbe400a8a1 when run TestSql3 not in IDE, generate exception

Manual search in TestSQL3.map file, not found the address,

In IDE run, the Exception not generate, sorry, i don't know how to search the address in IDE.

Offline

#8 2013-10-30 12:22:35

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: Build fbe400a8a1 when run TestSql3 not in IDE, generate exception

... sounds weird...
You have a GPF in an address not generated by the Delphi executable?

Did you re-build the whole project?
Are your sure you did execute the right exe?

Offline

#9 2013-10-30 13:20:25

mingda
Member
Registered: 2013-01-04
Posts: 121

Re: Build fbe400a8a1 when run TestSql3 not in IDE, generate exception

I has upload a picture at http://pan.baidu.com/s/1h6yly, you can see the picture.

Offline

Board footer

Powered by FluxBB