Another suggestion: start the application from WinDbg (part of Windows debugger tools). When the application crashes: type "k" for displaying the stack trace or "!analyze" for automated exception analysis.

Regards,

Renaat


Op 7/09/2017 om 12:56 schreef Bart Smissaert:
Noticed in the crash dump:

LoadedModule[4]=C:\Users\User\AppData\Roaming\Microsoft\
AddIns\Bin\MSVBVM60.DLL

This system dll shouldn't be in that folder and I deleted it, but didn't
solve any problem.


RBS

On Thu, Sep 7, 2017 at 11:41 AM, Bart Smissaert <bart.smissa...@gmail.com>
wrote:

Process Monitor got me a bit further as it showed there was a call to
WerFault.exe and this is the log of that:

Version=1
EventType=APPCRASH
EventTime=131492511990301638
ReportType=2
Consent=1
UploadTime=131492511998961952
ReportStatus=268439552
ReportIdentifier=9b4019d8-ff2c-48dc-b8e2-89b3d1065e90
IntegratorReportIdentifier=08a25108-492e-4c35-9572-7c0afa0cda3a
Wow64Host=34404
Wow64Guest=332
NsAppName=COM32on64.exe
AppSessionGuid=000025fc-0003-0005-9115-7a33be27d301
TargetAppId=W:0006bf68cd3578efc2486facd1ee9646dcbe00000904!
0000fca1aabcca076defa0f16adc639b6998469c2bb9!COM32on64.exe
TargetAppVer=2016//03//21:07:47:40!e334!COM32on64.exe
BootId=4294967295
ServiceSplit=3539031
TargetAsId=4701
Response.BucketId=91b0f4268c35a99eecbd35c544a753e4
Response.BucketTable=1
Response.LegacyBucketId=109122632689
Response.type=4
Sig[0].Name=Application Name
Sig[0].Value=COM32on64.exe
Sig[1].Name=Application Version
Sig[1].Value=1.0.0.0
Sig[2].Name=Application Timestamp
Sig[2].Value=56efa71c
Sig[3].Name=Fault Module Name
Sig[3].Value=StackHash_b1df
Sig[4].Name=Fault Module Version
Sig[4].Value=0.0.0.0
Sig[5].Name=Fault Module Timestamp
Sig[5].Value=00000000
Sig[6].Name=Exception Code
Sig[6].Value=c0000005
Sig[7].Name=Exception Offset
Sig[7].Value=PCH_DF_FROM_ntdll+0x000722CC
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=10.0.15063.2.0.0.768.101
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=2057
DynamicSig[22].Name=Additional Information 1
DynamicSig[22].Value=b1df
DynamicSig[23].Name=Additional Information 2
DynamicSig[23].Value=b1df29542701a59c258e9db4cb35a612
DynamicSig[24].Name=Additional Information 3
DynamicSig[24].Value=ff08
DynamicSig[25].Name=Additional Information 4
DynamicSig[25].Value=ff08f5c1ef225ee708cc4b7d43225760
UI[2]=C:\Users\User\AppData\Roaming\Microsoft\AddIns\Bin\COM32on64.exe
LoadedModule[0]=C:\Users\User\AppData\Roaming\Microsoft\
AddIns\Bin\COM32on64.exe
LoadedModule[1]=C:\WINDOWS\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\WINDOWS\System32\KERNEL32.DLL
LoadedModule[3]=C:\WINDOWS\System32\KERNELBASE.dll
LoadedModule[4]=C:\Users\User\AppData\Roaming\Microsoft\
AddIns\Bin\MSVBVM60.DLL
LoadedModule[5]=C:\WINDOWS\System32\USER32.dll
LoadedModule[6]=C:\WINDOWS\System32\win32u.dll
LoadedModule[7]=C:\WINDOWS\System32\GDI32.dll
LoadedModule[8]=C:\WINDOWS\System32\gdi32full.dll
LoadedModule[9]=C:\WINDOWS\System32\msvcp_win.dll
LoadedModule[10]=C:\WINDOWS\System32\ucrtbase.dll
LoadedModule[11]=C:\WINDOWS\System32\ADVAPI32.dll
LoadedModule[12]=C:\WINDOWS\System32\msvcrt.dll
LoadedModule[13]=C:\WINDOWS\System32\sechost.dll
LoadedModule[14]=C:\WINDOWS\System32\RPCRT4.dll
LoadedModule[15]=C:\WINDOWS\System32\SspiCli.dll
LoadedModule[16]=C:\WINDOWS\System32\CRYPTBASE.dll
LoadedModule[17]=C:\WINDOWS\System32\bcryptPrimitives.dll
LoadedModule[18]=C:\WINDOWS\System32\ole32.dll
LoadedModule[19]=C:\WINDOWS\System32\combase.dll
LoadedModule[20]=C:\WINDOWS\System32\OLEAUT32.dll
LoadedModule[21]=C:\WINDOWS\System32\IMM32.DLL
LoadedModule[22]=C:\WINDOWS\System32\kernel.appcore.dll
LoadedModule[23]=C:\WINDOWS\system32\uxtheme.dll
LoadedModule[24]=C:\WINDOWS\SYSTEM32\SXS.DLL
LoadedModule[25]=C:\WINDOWS\System32\MSCTF.dll
LoadedModule[26]=C:\WINDOWS\System32\clbcatq.dll
LoadedModule[27]=C:\Users\User\AppData\Roaming\
Microsoft\AddIns\Bin\XL_SQL.dll
LoadedModule[28]=C:\Users\User\AppData\Roaming\Microsoft\AddIns\Bin\
DirectCom.DLL
LoadedModule[29]=C:\Users\User\AppData\Roaming\Microsoft\AddIns\Bin\
CustomMsgBox.dll
LoadedModule[30]=C:\Users\User\AppData\Roaming\Microsoft\AddIns\Bin\
vbRichClient5.dll
LoadedModule[31]=C:\WINDOWS\System32\SHELL32.DLL
LoadedModule[32]=C:\WINDOWS\System32\cfgmgr32.dll
LoadedModule[33]=C:\WINDOWS\System32\shcore.dll
LoadedModule[34]=C:\WINDOWS\System32\windows.storage.dll
LoadedModule[35]=C:\WINDOWS\System32\shlwapi.dll
LoadedModule[36]=C:\WINDOWS\SYSTEM32\URLMON.DLL
LoadedModule[37]=C:\WINDOWS\System32\powrprof.dll
LoadedModule[38]=C:\WINDOWS\System32\profapi.dll
LoadedModule[39]=C:\WINDOWS\SYSTEM32\iertutil.dll
LoadedModule[40]=C:\Users\User\AppData\Roaming\
Microsoft\AddIns\Bin\VB_CAIRO_SQLITE.DLL
LoadedModule[41]=C:\WINDOWS\SYSTEM32\DDRAW.DLL
LoadedModule[42]=C:\WINDOWS\SYSTEM32\OLEPRO32.DLL
LoadedModule[43]=C:\WINDOWS\SYSTEM32\DCIMAN32.dll
LoadedModule[44]=C:\WINDOWS\SYSTEM32\MSIMG32.dll
LoadedModule[45]=C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_
6595b64144ccf1df_5.82.15063.413_none_55bc94a37c2a2854\comctl32.dll
LoadedModule[46]=C:\WINDOWS\SYSTEM32\atl.DLL
LoadedModule[47]=C:\WINDOWS\WinSxS\x86_microsoft.windows.
gdiplus_6595b64144ccf1df_1.1.15063.483_none_9e9856e456d5e776\gdiplus.DLL
LoadedModule[48]=C:\WINDOWS\SYSTEM32\winmm.dll
LoadedModule[49]=C:\WINDOWS\SYSTEM32\winmmbase.dll
LoadedModule[50]=C:\Users\User\AppData\Roaming\
Microsoft\AddIns\Bin\SQLite3_StdCall.dll
LoadedModule[51]=C:\WINDOWS\SYSTEM32\MSVCR120.dll
State[0].Key=Transport.DoneStage1
State[0].Value=1
FriendlyEventName=Stopped working
ConsentKey=APPCRASH
AppName=COM32on64
AppPath=C:\Users\User\AppData\Roaming\Microsoft\AddIns\Bin\COM32on64.exe
NsPartner=windows
NsGroup=windows8
ApplicationIdentity=25991C42874038C9686260EA4D8761D8
MetadataHash=-1228563750


COM32on64.exe is VB6 ActiveX exe that loads my VB6 dll. This is needed as
this dll is called from 64 bits Excel and that can't access that 32 bit VB6
dll the
normal way. This loading of the VB6 dll via COM32on64.exe is not the
problem as the dll works all fine, until it makes a call to SQLite.

Not sure this dump of WerFault.exe helps me much as all I got is Stopped
working and APPCRASH.
At least it shows all the dependencies that are involved.
MSVCR120.dll is present and version is 12.0.40660.0.


RBS


On Thu, Sep 7, 2017 at 9:58 AM, Chris Locke <sql...@chrisjlocke.co.uk>
wrote:

I'd suggest running the Microsoft Process Monitor
https://docs.microsoft.com/en-us/sysinternals/downloads/procmon

When your application crashes, this will show the files it tried to access
before the crash.  It might point to a dependancy missing.
Have you 'installed' SQLite on your Win 10 machines?  I use
system.data.sqlite.dll in my applications, and that requires msvcr120.dll.
Without that, I get a weird 'SQLite.Interop.dll module could not be found'
error ... which makes sense, but its not strictly accurate ... its there,
it just can't be loaded.  SQLite requires a couple of extra files to run
properly.  They may not be installed on the Win 10 box.

Ideally, you need a proper stack trace and error log from your
application.

In Windows you get a frowny face "modern icon"
Thats for a full-on Windows 'blue screen', not an application crash.  I
assume this isn't causing a blue-screen, but is just failing.

Could the problem be that SQLite is installed by MS already on those
machines?

SQLite is a third party product, and would not be pre-installed by
Microsoft.


Thanks,
Chris


On Thu, Sep 7, 2017 at 8:45 AM, Bart Smissaert <bart.smissa...@gmail.com>
wrote:

Yes, not very helpful. The message is from my VB6 wrapper as is like
this:
Method ProcedureX of object _ClassX failed

ClassX is the class in the wrapper ActiveX dll that also has the
procedure
that makes the call to SQLite that causes the problem, in this
case sqlite3_initialize.
ProcedureX is another procedure in that same class, but that procedure
has
nil to do with the problem.
I can take that ProcedureX out and that I will get another procedure
mentioned in the error message that is again completely unrelated to the
problem.

So the whole thing is just completely puzzling and I am seriously stuck
with this.


RBS



On Thu, Sep 7, 2017 at 2:44 AM, Keith Medcalf <kmedc...@dessus.com>
wrote:
In Windows you get a frowny face "modern icon" (about 5 inches square)
and
"something went wrong, sorry about your luck".


---
The fact that there's a Highway to Hell but only a Stairway to Heaven
says
a lot about anticipated traffic volume.


-----Original Message-----
From: sqlite-users [mailto:sqlite-users-
boun...@mailinglists.sqlite.org] On Behalf Of Simon Slavin
Sent: Wednesday, 6 September, 2017 15:06
To: SQLite mailing list
Subject: Re: [sqlite] Fwd: Problem on Windows 10 machines



On 6 Sep 2017, at 10:03pm, Bart Smissaert <bart.smissa...@gmail.com>
wrote:

When my wrapper makes the call to the Sqlite dll my app crashes
With what error ?  Segmentation fault ?  Privilege violation ?  I
don’t think I’ve seen any crash which doesn’t produce an error report
of some kind, even if we know that there’s no reason for that error
at that point.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

--
"I believe we are on an irreversible trend toward more freedom and
democracy. But that could change." -- Dan Quayle

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to