office-gobmx/sc/inc
Noel Grandin 0dffa00554 fix tsan data-race
this check is not necessary, we are using a 32/64 bit counter (depending
on platform) for some years now

WARNING: ThreadSanitizer: data race (pid=90197)
  Atomic write of size 4 at 0x7b08002f474c by thread T90:
    #0 ScInterpreter::Interpret() interpr4.cxx:? (libsclo.so+0xb99c26)
    #1 ScFormulaCell::InterpretTail(ScInterpreterContext&, ScFormulaCell::ScInterpretTailParameter) ??:? (libsclo.so+0x95bfeb)
    #2 ScColumn::CalculateInThread(ScInterpreterContext&, int, unsigned long, unsigned long, unsigned int, unsigned int) column2.cxx:? (libsclo.so+0x754eea)
    #3 ScTable::CalculateInColumnInThread(ScInterpreterContext&, short, short, int, int, unsigned int, unsigned int) table1.cxx:? (libsclo.so+0x9e692b)
    #4 ScDocument::CalculateInColumnInThread(ScInterpreterContext&, ScRange const&, unsigned int, unsigned int) documen8.cxx:? (libsclo.so+0x83479f)
    #5 ScFormulaCell::InterpretFormulaGroupThreading(sc::FormulaLogger::GroupScope&, bool&, bool&, int, int)::Executor::doWork() formulacell.cxx:? (libsclo.so+0x96b5e1)
    #6 comphelper::ThreadPool::ThreadWorker::execute() threadpool.cxx:? (libcomphelper.so+0x1cb0a1)
    #7 non-virtual thunk to salhelper::Thread::run() ??:? (libuno_salhelpergcc3.so.3+0x67f7)
    #8 threadFunc thread.cxx:? (libuno_salhelpergcc3.so.3+0x6aae)
    #9 osl_thread_start_Impl(void*) thread.cxx:? (libuno_sal.so.3+0x86245)

  Previous read of size 4 at 0x7b08002f474c by thread T89:
    #0 ScFormulaResult::SetToken(formula::FormulaToken const*) formularesult.cxx:? (libsclo.so+0xb0e11f)
    #1 ScFormulaResult::Assign(ScFormulaResult const&) formularesult.cxx:? (libsclo.so+0xb0e837)
    #2 ScFormulaCell::InterpretTail(ScInterpreterContext&, ScFormulaCell::ScInterpretTailParameter) ??:? (libsclo.so+0x95caa3)
    #3 ScColumn::CalculateInThread(ScInterpreterContext&, int, unsigned long, unsigned long, unsigned int, unsigned int) column2.cxx:? (libsclo.so+0x754eea)
    #4 ScTable::CalculateInColumnInThread(ScInterpreterContext&, short, short, int, int, unsigned int, unsigned int) table1.cxx:? (libsclo.so+0x9e692b)
    #5 ScDocument::CalculateInColumnInThread(ScInterpreterContext&, ScRange const&, unsigned int, unsigned int) documen8.cxx:? (libsclo.so+0x83479f)
    #6 ScFormulaCell::InterpretFormulaGroupThreading(sc::FormulaLogger::GroupScope&, bool&, bool&, int, int)::Executor::doWork() formulacell.cxx:? (libsclo.so+0x96b5e1)
    #7 comphelper::ThreadPool::ThreadWorker::execute() threadpool.cxx:? (libcomphelper.so+0x1cb0a1)
    #8 non-virtual thunk to salhelper::Thread::run() ??:? (libuno_salhelpergcc3.so.3+0x67f7)
    #9 threadFunc thread.cxx:? (libuno_salhelpergcc3.so.3+0x6aae)
    #10 osl_thread_start_Impl(void*) thread.cxx:? (libuno_sal.so.3+0x86245)

Change-Id: I3e51db3a8a0a18fee1647657369ecebf5de108e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138137
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-08-11 20:37:17 +02:00
..
pch move wintypes.hxx from tools to vcl 2022-07-20 12:20:59 +02:00
addincfg.hxx
addincol.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
address.hxx
addruno.hxx
afmtuno.hxx
appluno.hxx
appoptio.hxx
arealink.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
arraysumfunctor.hxx
attarray.hxx
attrib.hxx
autoform.hxx
autonamecache.hxx
bigrange.hxx
bitmaps.hlst
brdcst.hxx elide some dynamic_cast 2022-07-12 18:55:42 +02:00
bulkdatahint.hxx
calcconfig.hxx
calcmacros.hxx
callform.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
cellform.hxx
cellsuno.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
celltextattr.hxx
cellvalue.hxx cid#1506511 silence Uncaught exception 2022-06-27 18:46:04 +02:00
cellvalues.hxx
chart2uno.hxx
chartarr.hxx
charthelper.hxx
chartlis.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
chartlock.hxx
chartpos.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
ChartTools.hxx
chartuno.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
chgtrack.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
chgviset.hxx
clipcontext.hxx
clipoptions.hxx
clipparam.hxx
colcontainer.hxx
colorscale.hxx
column.hxx Unnecessary to remember mbFiltering at column, tdf#140968 tdf#140978 follow-up 2022-07-27 20:38:19 +02:00
columniterator.hxx
columnset.hxx
columnspanset.hxx
compare.hxx
compiler.hrc
compiler.hxx Use CharClass::uppercase() for AddIns' English UI names, tdf#135993 follow-up 2022-08-09 10:21:34 +02:00
compressedarray.hxx
conditio.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
confuno.hxx
consoli.hxx
convuno.hxx
cursuno.hxx
dapiuno.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
datamapper.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
datastreamgettime.hxx
datauno.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
dbdata.hxx
dbdocutl.hxx
defaultsoptions.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
defltuno.hxx
detdata.hxx
detfunc.hxx
dispuno.hxx
dociter.hxx create getter for ScCellValue::mpFormula 2022-06-18 08:23:06 +02:00
docoptio.hxx
docparam.hxx
docpool.hxx
document.hxx sc: allow undo of typing in 2 views independent from each other 2022-07-30 09:02:07 +02:00
documentimport.hxx
documentlinkmgr.hxx
documentstreamaccess.hxx
docuno.hxx
dpcache.hxx
dpdimsave.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
dpfilteredcache.hxx
dpglobal.hxx
dpgroup.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
dpitemdata.hxx
dpnumgroupinfo.hxx
dpobject.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
dpoutput.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
dpoutputgeometry.hxx
dpresfilter.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
dpsave.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
dpsdbtab.hxx
dpshttab.hxx
dptabdat.hxx
dptabres.hxx
dptabsrc.hxx
dptypes.hxx
dputil.hxx
dragdata.hxx
drawpage.hxx
drdefuno.hxx
drwlayer.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
editdataarray.hxx
editsrc.hxx
edittextiterator.hxx
editutil.hxx
eventuno.hxx
externalrefmgr.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
fielduno.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
fillinfo.hxx
filter.hxx
filterentries.hxx
filtopt.hxx
filtuno.hxx
fmtuno.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
fonthelper.hxx
forbiuno.hxx
formulacell.hxx
formulagroup.hxx opencl: no need for unhelpful nullptr OUString * case. 2022-07-06 10:29:45 +02:00
formulaiter.hxx
formulalogger.hxx
formulaopt.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
formulaparserpool.hxx
formularesult.hxx fix tsan data-race 2022-08-11 20:37:17 +02:00
fstalgorithm.hxx
funcdesc.hxx Resolves: tdf#135993 Create ScFunctionList and ScFuncDesc with English names 2022-08-06 19:37:55 +02:00
funcuno.hxx
generalfunction.hxx
global.hxx basegfx: zoomIn() and zoomOut() should be sal_uInt16 2022-07-13 18:54:28 +02:00
globalnames.hxx
globstr.hrc Related tdf#137145 tdf#137569 Capitalization + punctuation fixes 2022-07-05 18:18:46 +02:00
grouparealistener.hxx
helpids.h tdf#129674 Add GoTo Sheet command 2022-06-07 13:43:20 +02:00
hints.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
importfilterdata.hxx
inputopt.hxx
interpretercontext.hxx share ScSortedRangeCache between threads 2022-06-16 15:12:42 +02:00
kahan.hxx
linkuno.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
listenercalls.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
listenercontext.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
listenerquery.hxx
listenerqueryids.hxx
lookupcache.hxx
macromgr.hxx
markarr.hxx
markdata.hxx
markmulti.hxx
math.hxx
matrixoperators.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
mid.h
miscuno.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
mtvcellfunc.hxx
mtvelements.hxx
mtvfunctions.hxx
nameuno.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
navicfg.hxx
notesuno.hxx
NumberFormatControl.hxx
numformat.hxx
olinetab.hxx
optuno.hxx use more o3tl::span 2022-07-25 10:00:23 +02:00
optutil.hxx
orcusfilters.hxx
orcusxml.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
pagepar.hxx
pageuno.hxx
paramisc.hxx
patattr.hxx
pivot.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
PivotTableDataProvider.hxx
PivotTableDataSequence.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
PivotTableDataSource.hxx
postit.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
printopt.hxx
prnsave.hxx
progress.hxx
pvfundlg.hrc
queryentry.hxx
queryevaluator.hxx fix ByValue lookups with ScSortedRangeCache 2022-06-26 20:27:19 +02:00
queryiter.hxx fix ByValue lookups with ScSortedRangeCache 2022-06-26 20:27:19 +02:00
queryparam.hxx
rangecache.hxx fix ByValue lookups with ScSortedRangeCache 2022-06-26 20:27:19 +02:00
rangelst.hxx
rangenam.hxx
rangeseq.hxx
rangeutl.hxx
rechead.hxx
recursionhelper.hxx
refdata.hxx ScSingleRefData::TabValid: for absolute reference take sheets into account 2022-06-06 17:55:58 +02:00
reffind.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
refhint.hxx
refreshtimer.hxx
refreshtimerprotector.hxx
reftokenhelper.hxx
refupdatecontext.hxx
reordermap.hxx
rowheightcontext.hxx
sc.hrc
scabstdlg.hxx tdf#129674 Add GoTo Sheet command 2022-06-07 13:43:20 +02:00
scdll.hxx
scdllapi.h
scerrors.hrc
scerrors.hxx
scextopt.hxx
scfuncs.hrc
scfuncs.hxx
scitems.hxx
scmatrix.hxx no need to explicitly spell out bodies of default functions 2022-06-23 21:37:54 +02:00
scmod.hxx
scopetools.hxx
scres.hrc
scresid.hxx
scstyles.hrc
segmenttree.hxx
servuno.hxx
shapeuno.hxx
sharedformula.hxx
sheetdata.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
sheetevents.hxx
sheetlimits.hxx
shellids.hxx
simpleformulacalc.hxx
sortparam.hxx
Sparkline.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
SparklineAttributes.hxx
SparklineCell.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
SparklineData.hxx
SparklineGroup.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
SparklineList.hxx
spellcheckcontext.hxx
srchuno.hxx
stlalgorithm.hxx
stlpool.hxx
stlsheet.hxx
strings.hrc tdf#148248 Text Color -> Font Color in AutoFilter/Standard Filter 2022-07-15 10:29:38 +02:00
strings.hxx
stringutil.hxx
stylehelper.hxx
styleuno.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
subtotal.hxx
subtotalparam.hxx
subtotals.hrc
tabbgcolor.hxx
table.hxx tdf#149647 LibreOffice Calc cursor not positioned correctly 2022-06-25 21:42:46 +02:00
TablePivotChart.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
TablePivotCharts.hxx
tablink.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
tabopparams.hxx
tabprotection.hxx
targuno.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
testlotus.hxx
textuno.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
token.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
tokenarray.hxx
tokenstringcontext.hxx
tokenuno.hxx
typedstrdata.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
types.hxx
undorangename.hxx
unitconv.hxx
units.hrc
unonames.hxx
unoreflist.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
unowids.hxx
userdat.hxx
userlist.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
validat.hxx
viewopti.hxx
ViewSettingsSequenceDefines.hxx
viewuno.hxx
waitoff.hxx
warnpassword.hxx
xmlwrap.hxx clang-tidy modernize-pass-by-value in sc 2022-08-07 13:32:30 +02:00
zforauto.hxx