Menu

#2214 fsvol - segfault seen during test run

Function
pending-invalid
Provider (226)
5
2011-07-18
2011-06-02
No

Problem reported by David Heller

During the fsvol test run, segfaults were seen on x86_64 system.

Discussion

  • Narasimha Sharoff

    from nsharoff ( stack info )

    #0 0x00007f1d598591f8 in ?? ()
    from /usr/lib64/Pegasus/providerManagers/libCMPIProviderManager.so
    #1 0x00007f1d59853520 in ?? ()
    from /usr/lib64/Pegasus/providerManagers/libCMPIProviderManager.so
    #2 0x00007f1d59853a4f in ?? ()
    from /usr/lib64/Pegasus/providerManagers/libCMPIProviderManager.so
    #3 0x00007f1d595ffbc4 in _makeInst_BlockStorageStatisticalData (
    _broker=0x7f1d54002a20, ctx=0x7f1d59aba6b0, ref=0x7f1d59aba6e0,
    properties=0x0, rc=0x7f1d59aba4e0, disk=0x7f1d54002860)
    at cmpiOSBase_BlockStorageStatisticalData.c:156
    #4 0x00007f1d595fe9a8 in OSBase_BlockStorageStatisticalDataProviderEnumInstances (mi=0x7f1d59801cd0, ctx=0x7f1d59aba6b0, rslt=0x7f1d59aba640,
    ref=0x7f1d59aba6e0, properties=0x0)
    at cmpiOSBase_BlockStorageStatisticalDataProvider.c:131
    #5 0x00007f1d5982c9ae in Pegasus::CMPIProviderManager::handleEnumerateInstancesRequest(Pegasus::Message const*) ()
    from /usr/lib64/Pegasus/providerManagers/libCMPIProviderManager.so
    #6 0x00007f1d59834aab in Pegasus::CMPIProviderManager::processMessage(Pegasus::Message*) () from /usr/lib64/Pegasus/providerManagers/libCMPIProviderManager.so
    #7 0x0000003ed74091f6 in Pegasus::BasicProviderManagerRouter::processMessage(Pegasus::Message*) () from /usr/lib64/libpegpmrouter.so.1
    #8 0x0000000000405388 in ?? ()
    #9 0x0000000000406575 in ?? ()
    #10 0x0000003ed2537d05 in Pegasus::ThreadPool::_loop(void*) ()
    from /usr/lib64/libpegcommon.so.1
    #11 0x0000003ed08077e1 in start_thread () from /lib64/libpthread.so.0
    #12 0x0000003ed00e153d in clone () from /lib64/libc.so.6

    The code fragment
    /* from CIM_StatisticalData */
    // not supported
    CMSetProperty(ci, "StartStatisticTime", NULL, CMPI_dateTime);

     
  • Tyrel Datwyler

    Tyrel Datwyler - 2011-07-13

    After further analysis using the tog-pegasus debuginfo package this is the result of a regression in pegasus. Performing a CMSetProperty and passing NULL for the data object will result in a segfault for the majority of CMPI_types due to the omission of a NULL test in recent versions of the CIMOM's ProviderManger code.

    #0 Pegasus::value2SCMOValue (data=0x0, type=6144) at CMPI_Value.cpp:129
    #1 0x00007fa17ab37520 in Pegasus::instSetPropertyWithOrigin (eInst=<value optimized out>, name=0x7fa17a8e49bd "StartStatisticTime", data=0x0, type=6144, origin=0x0) at CMPI_Instance.cpp:323
    #2 0x00007fa17ab37a4f in Pegasus::instSetProperty (eInst=<value optimized out>, name=<value optimized out>, data=<value optimized out>, type=<value optimized out>) at CMPI_Instance.cpp:423
    #3 0x00007fa17a8e32ba in _makeInst_BlockStorageStatisticalData (_broker=0x7fa174002a30, ctx=<value optimized out>, ref=<value optimized out>, properties=<value optimized out>, rc=0x7fa17fc3a4d0,

     
  • Tyrel Datwyler

    Tyrel Datwyler - 2011-07-18

    The following pegasus defect was opened in response:

    http://bugzilla.openpegasus.org/show_bug.cgi?id=9001

     
  • Tyrel Datwyler

    Tyrel Datwyler - 2011-07-18
    • status: open --> pending-invalid
     

Log in to post a comment.