https://bugs.freedesktop.org/show_bug.cgi?id=43304
Bug #: 43304
Summary: unoapi
sc.ScDataPilotFieldsObj::com::sun::star::container::XN
ameAccess dereferences null ScDPObject::GetSource()
Classification: Unclassified
Product: LibreOffice
Version: LibO Master
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Spreadsheet
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Blocks: 35690
With sc/qa/unoapi enabled in subsequentcheck, it fails at
Creating: sc.ScDataPilotFieldsObj
LOG> Log started 28.10.2011 - 14:17:04
LOG> creating a Spreadsheet document
LOG> Creating a test environment
LOG> getting sheets
LOG> getting a sheet
LOG> Filing a table
LOG> Getting test object
LOG> Creating object - OK
Environment created
LOG> Log started 28.10.2011 - 14:17:04
checking: [sc.ScDataPilotFieldsObj::com::sun::star::container::XNameAccess] is
iface: [com.sun.star.container.XNameAccess] testcode:
[ifc.container._XNameAccess]
LOG> Execute: getByName()
LOG> reqiure getElementNames() ...
LOG> starting required method: getElementNames()
LOG> Execute: getElementNames()
LOG> getting elements names
com.sun.star.lang.DisposedException
at
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f5090eb2700 (LWP 32408)]
0x00007f50a50bf174 in lcl_GetFieldCount (rSource=..., rOrient=...) at
/data/lo/core/sc/source/ui/unoobj/dapiuno.cxx:1586
1586 Reference<XNameAccess> xDimsName(rSource->getDimensions());
(gdb) where
#0 0x00007f50a50bf174 in lcl_GetFieldCount (rSource=..., rOrient=...) at
/data/lo/core/sc/source/ui/unoobj/dapiuno.cxx:1586
#1 0x00007f50a50c0666 in ScDataPilotFieldsObj::getElementNames
(this=0x7f5092e0ee70) at /data/lo/core/sc/source/ui/unoobj/dapiuno.cxx:1797
#2 0x00007f50b8ec928d in callVirtualMethod (pThis=0x7f5092e0eec8,
nVtableIndex=6, pRegisterReturn=0x7f50b0ce5e60, pReturnTypeRef=0x25f07a0,
bSimpleReturn=false, pStack=0x7f5090eb12b0, nStack=0, pGPR=0x7f5090eb1360,
nGPR=2, pFPR=0x7f5090eb1320, nFPR=0) at
/data/lo/core/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx:155
#3 0x00007f50b8ec9dcd in cpp_call (pThis=0x7f50b00ba7c0, aVtableSlot=...,
pReturnTypeRef=0x25f07a0, nParams=0, pParams=0x0, pUnoReturn=0x7f50b0ce5e60,
pUnoArgs=0x0, ppUnoExc=0x7f5090eb1708) at
/data/lo/core/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx:392
#4 0x00007f50b8eca8b2 in bridges::cpp_uno::shared::unoInterfaceProxyDispatch
(pUnoI=0x7f50b00ba7c0, pMemberDescr=0x25f7610, pReturn=0x7f50b0ce5e60,
pArgs=0x0, ppException=0x7f5090eb1708) at
/data/lo/core/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx:586
#5 0x00007f50b5692440 in binaryurp::IncomingRequest::execute_throw
(this=0x7f50980155a0, returnValue=0x7f5090eb1b60, outArguments=0x7f5090eb1ad0)
at /data/lo/core/binaryurp/source/incomingrequest.cxx:263
#6 0x00007f50b56913bb in binaryurp::IncomingRequest::execute
(this=0x7f50980155a0) at /data/lo/core/binaryurp/source/incomingrequest.cxx:89
#7 0x00007f50b56ac20e in binaryurp::(anonymous namespace)::request
(pThreadSpecificData=0x7f50980155a0) at
/data/lo/core/binaryurp/source/reader.cxx:107
#8 0x00007f50c8904859 in cppu_threadpool::JobQueue::enter
(this=0x7f509801cf30, nDisposeId=<optimized out>, bReturnWhenNoJob=1 '\001') at
/data/lo/core/cppu/source/threadpool/jobqueue.cxx:121
#9 0x00007f50c89056a5 in cppu_threadpool::ORequestThread::run
(this=0x7f509800e0a0) at /data/lo/core/cppu/source/threadpool/thread.cxx:197
#10 0x00007f50c8906234 in cppu_requestThreadWorker (pVoid=0x7f509800e0a0) at
/data/lo/core/cppu/source/threadpool/thread.cxx:47
#11 0x00007f50c982a60b in osl_thread_start_Impl (pData=0x7f5098013e10) at
thread.c:277
#12 0x0000003980a07d90 in start_thread (arg=0x7f5090eb2700) at
pthread_create.c:309
#13 0x00000039806eed8d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115
(gdb) print rSource
$1 = (const
com::sun::star::uno::Reference<com::sun::star::sheet::XDimensionsSupplier> &)
@0x7f5090eb1130: {<com::sun::star::uno::BaseReference> = {_pInterface = 0x0},
<No data fields>}
That looks related to
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=eafe57da830decb9ed3ac99af83de75489aa8c45>
"Simple NULL pointer checks will prevent crashes...."
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs