[Libreoffice] idlc/gbuild baddness and leaked /tmp files...

Norbert Thiebaud nthiebaud at gmail.com
Wed Sep 7 18:03:20 PDT 2011


Recently my MacOSX tinderbox started to die for weir reason... (too
many open pipe, etc)

as it turned out there was massive leakage fo file in the temp
directory with each build.. 150 or so per build... after a while
mktemp was running out of filename and working very-very hard to find
an empty slot.

Reverting these 3 commits:
4453178694db4bbc6d110035865fa7cc4a209b13
11e8dc2d901988b4e638e6fff1edfbbf0b3b999d
a44dda4b7d71f8d2b4e0cca79d732eab89588c3a


$ git cat-file -p 4453178694db4bbc6d110035865fa7cc4a209b13
tree 8a9db3f87f5f30823abaef01a1ce79e7dafc55bd
parent 5f000fdf8667a345e17ceb1ee435b2d1df2f6949
author Matúš Kukan <matus.kukan at gmail.com> 1314895028 +0200
committer Matúš Kukan <matus.kukan at gmail.com> 1314956892 +0200

process more idl files at once - first part: gbuild

$ git cat-file -p 11e8dc2d901988b4e638e6fff1edfbbf0b3b999d
tree cb87ea2ba155d74461fc50dc6af0980bc0e77723
parent 075755a792aa6ad7f2bfb25aa224c31540e25ed0
author Tor Lillqvist <tlillqvist at suse.com> 1314963709 +0300
committer Tor Lillqvist <tlillqvist at suse.com> 1314963828 +0300

Need doubled dollarsign here it seems for this to actually work as intended

$ git cat-file -p a44dda4b7d71f8d2b4e0cca79d732eab89588c3a
tree bacdfe52ae1c2c61a2df40d422da81d6f05e86c2
parent 4453178694db4bbc6d110035865fa7cc4a209b13
author Matúš Kukan <matus.kukan at gmail.com> 1314926483 +0200
committer Matúš Kukan <matus.kukan at gmail.com> 1314956965 +0200

process more idl files at once - second part: makefiles

solved the problem.

Note that the fact that the tempfiles where leaked is bad, but equally
bad is the fact that we needed so many of theses....

in anycase, I'm enclined to revert for now... because, as is, I need
to keep the tinderbox offline...
(the problem became apparent sooner on the Mac box, but eventually I
would have gotten in trouble on Linux too.
These box go through 20-50 build cycle a day ... so few hundred leaked
tempfiles per iteration accumulate quickly...)


Norbert

PS: osl's qa is also leaking a /tmp/<random/hello/world at each build


More information about the LibreOffice mailing list