none
Application crash using the OLEDB for Olap provider (SQLServer 2008 R2 beta) RRS feed

  • Question

  • <!-- /* Font Definitions */ @font-face {font-family:"MS Mincho"; panose-1:2 2 6 9 4 2 5 8 3 4; mso-font-alt:"MS 明朝"; mso-font-charset:128; mso-generic-font-family:modern; mso-font-pitch:fixed; mso-font-signature:-536870145 1791491579 18 0 131231 0;} @font-face {font-family:"\@MS Mincho"; panose-1:2 2 6 9 4 2 5 8 3 4; mso-font-charset:128; mso-generic-font-family:modern; mso-font-pitch:fixed; mso-font-signature:-536870145 1791491579 18 0 131231 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:Calibri; mso-fareast-font-family:"MS Mincho"; mso-bidi-font-family:"Times New Roman";} span.EmailStyle15 {mso-style-type:personal; mso-style-noshow:yes; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt; font-family:Arial; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:Arial; color:navy;} @page Section1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 70.85pt 70.85pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} -->

    Hello,

     

    I have a problem with the OLEDB for OLAP 10.0 (version: 10.50.1352.12) driver (SQLServer 2008 R2 beta).

    The problem is an application crash.

    It is connected to a local cube.

    It occurs when the application closes the connection through IDBInitialize::Uninitialize(), just before exit, in a thread that seems to belong to the OLEDB driver (see the call stack hereafter).

    The problem does not occur when the debugger of visual studio 2008 is attached to the process, using the “Debug” version of my program.

    The problem does not occur with the previous 10.0 or 9.0 version of the driver.

    The problem does not occur with the 10.50 version when I omit the call to IDBInitialize::Uninitialize() and just release the pointer to IDBInitialize, but this causes another problem with the previous version of the driver: my program never exits.

    It sounds like a synchronization problem between the driver threads.

     

    Thanks

     

    Call stack:

     

    kernel32.dll!75dafbae()

     

     

    [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]

     

     

    kernel32.dll!75dafbae()

     

     

    msvcr80.dll!_CallCatchBlock2(EHRegistrationNode * pRN=0x0bf8ff1c, const _s_FuncInfo * pFuncInfo=0x50c8e1e0, void * handlerAddress=0x506aeb4f, int CatchDepth=0, unsigned long NLGCode=256)  Line 512 + 0xc bytes

    C++

     

    msvcr80.dll!CallCatchBlock(EHExceptionRecord * pExcept=0x0bf8efec, EHRegistrationNode * pRN=0x0bf8ff1c, _CONTEXT * pContext=0x00000001, const _s_FuncInfo * pFuncInfo=0x50c8e1e0, void * handlerAddress=0x00000000, int CatchDepth=0, unsigned long NLGCode=256)  Line 1463 + 0x10 bytes

    C++

     

    msvcr80.dll!CatchIt(EHExceptionRecord * pExcept=0x0bf8efec, EHRegistrationNode * pRN=0x00000000, _CONTEXT * pContext=0x0bf8f00c, void * pDC=0x00000000, const _s_FuncInfo * pFuncInfo=0x50c8e1e0, const _s_HandlerType * pCatch=0x00000000, const _s_CatchableType * pConv=0x50ae7958, const _s_TryBlockMapEntry * pEntry=0x00000000, int CatchDepth=0, EHRegistrationNode * pMarkerRN=0x00000000, unsigned char IsRethrow='œ')  Line 1273 + 0x1e bytes

    C++

     

    msvcr80.dll!FindHandler(EHExceptionRecord * pExcept=0x0bf8efec, EHRegistrationNode * pRN=0x0bf8ff1c, _CONTEXT * pContext=0x0bf8f00c, void * pDC=0x00000000, const _s_FuncInfo * pFuncInfo=0x50c8e1e0, unsigned char recursive='', int CatchDepth=0, EHRegistrationNode * pMarkerRN=0x00000000)  Line 774 + 0x22 bytes

    C++

     

    msvcr80.dll!__InternalCxxFrameHandler(EHExceptionRecord * pExcept=0x0bf8efec, EHRegistrationNode * pRN=0x0bf8ff1c, _CONTEXT * pContext=0x0bf8f00c, void * pDC=0x00000000, const _s_FuncInfo * pFuncInfo=0x50c8e1e0, int CatchDepth=0, EHRegistrationNode * pMarkerRN=0x00000000, unsigned char recursive='')  Line 524 + 0x19 bytes

    C++

     

    msvcr80.dll!TranslatorGuardHandler(EHExceptionRecord * pExcept=0x0bf8efec, TranslatorGuardRN * pRN=0x0bf8f398, void * pContext=0x0bf8f00c, void * __formal=0x0bf8efc0)  Line 796 + 0x27 bytes

    C++

     

    ntdll.dll!77725f79()

     

     

    ntdll.dll!77725f4b()

     

     

    ntdll.dll!776f9812()

     

     

    ntdll.dll!77725dd7()

     

     

    kernel32.dll!75dafbae()

     

     

    kernel32.dll!75dafbae()

     

     

    kernel32.dll!75dafbae()

     

     

    msvcr80.dll!_CxxThrowException(void * pExceptionObject=0x0bf8f373, const _s__ThrowInfo * pThrowInfo=0x50ae78c0)  Line 161

    C++

     

    msmdlocal.dll!4fb7f84d()

     

     

    msvcr80.dll!_CallSETranslator(EHExceptionRecord * pExcept=0x0bf8f5b0, EHRegistrationNode * pRN=0x0bf8ff1c, void * pContext=0x0bf8f5cc, void * pDC=0x0bf8f584, const _s_FuncInfo * pFuncInfo=0x50c8e1e0, int CatchDepth=0, EHRegistrationNode * pMarkerRN=0x00000000)  Line 701 + 0xc bytes

    C++

     

    msvcr80.dll!FindHandlerForForeignException(EHExceptionRecord * pExcept=0x0bf8f5b0, EHRegistrationNode * pRN=0x0bf8ff1c, _CONTEXT * pContext=0x0bf8f5cc, void * pDC=0x0bf8f584, const _s_FuncInfo * pFuncInfo=0x50c8e1e0, int curState=4, int CatchDepth=0, EHRegistrationNode * pMarkerRN=0x00000000)  Line 934 + 0x18 bytes

    C++

     

    msvcr80.dll!FindHandler(EHExceptionRecord * pExcept=0x0bf8f5b0, EHRegistrationNode * pRN=0x0bf8ff1c, _CONTEXT * pContext=0x0bf8f5cc, void * pDC=0x0bf8f584, const _s_FuncInfo * pFuncInfo=0x50c8e1e0, unsigned char recursive=0, int CatchDepth=0, EHRegistrationNode * pMarkerRN=0x00000000)  Line 866 + 0x19 bytes

    C++

     

    msvcr80.dll!__InternalCxxFrameHandler(EHExceptionRecord * pExcept=0x0bf8f5b0, EHRegistrationNode * pRN=0x0bf8ff1c, _CONTEXT * pContext=0x0bf8f5cc, void * pDC=0x0bf8f584, const _s_FuncInfo * pFuncInfo=0x50c8e1e0, int CatchDepth=0, EHRegistrationNode * pMarkerRN=0x00000000, unsigned char recursive=0)  Line 524 + 0x19 bytes

    C++

     

    msvcr80.dll!__CxxFrameHandler3(EHExceptionRecord * pExcept=0x0bf8ff1c, EHRegistrationNode * pRN=0x0bf8f5cc, void * pContext=0x0bf8f584, void * pDC=0x0bf8f8b0)  Line 311 + 0x19 bytes

    C++

     

    ntdll.dll!77725f79()

     

     

    ntdll.dll!77725f4b()

     

     

    ntdll.dll!776f9812()

     

     

    ntdll.dll!77725dd7()

     

     

    msmdlocal.dll!50702a4d()

     

     

    msmdlocal.dll!4fb5767e()

     

     

    xmlrwbin.dll!78baf8dd()

     

     

    xmlrwbin.dll!78ba920b()

     

     

    xmlrwbin.dll!78ba9156()

     

     

    xmlrwbin.dll!78ba793b()

     

     

    msmdlocal.dll!4fbebf43()

     

     

    msmdlocal.dll!4fbec061()

     

     

    msmdlocal.dll!4fbec08d()

     

     

    msmdlocal.dll!4fb5767e()

     

     

    msmdlocal.dll!504c0266()

     

     

    msmdlocal.dll!504c02ad()

     

     

    msmdlocal.dll!4fb5767e()

     

     

    msmdlocal.dll!5037cf62()

     

     

    msmdlocal.dll!5037d8d1()

     

     

    msmdlocal.dll!4fb574fa()

     

     

    msmdlocal.dll!504be9c2()

     

     

    msmdlocal.dll!504bf75d()

     

     

    msmdlocal.dll!4fb57505()

     

     

    msmdlocal.dll!506adc35()

     

     

    msmdlocal.dll!506ade8b()

     

     

    msmdlocal.dll!506aeb1c()

     

     

    kernel32.dll!75db9a26()

     

    msvcr80.dll!_threadstartex(void * ptd=0x048997b0)  Line 326 + 0x5 bytes

    C

     

    kernel32.dll!75dbd0e9()

     

     

    ntdll.dll!777019bb()

     

     

    ntdll.dll!7770198e()

     

    lundi 7 décembre 2009 12:27