Am 09.12.2011 12:11, schrieb Christian Dywan:
> Most files should be there now, but I have a list of files which failed

Debugging the failures I observed that Python didn't print any exception
backtraces. So I had a run with code from August and only the
work-around for the memory issues. Unfortunately, apart from a fixable
problem once again, I hit the memory boundaries:

Error on file /opt/dxr/source/mozilla-central/testing/tests/memtest.py:
Traceback (most recent call last):
  File "/opt/dxr/source/dxr/dxr-index.py", line 59, in async_toHTML
    dxr.htmlbuilders.make_html(srcpath, dstfile, treeconfig, big_blob)
  File "/opt/dxr/source/dxr/dxr/htmlbuilders.py", line 197, in make_html
    builder = HtmlBuilder(treecfg, srcpath, dstfile, blob, result_map)
  File "/opt/dxr/source/dxr/dxr/htmlbuilders.py", line 25, in __init__
    self.source = dxr.readFile(filepath)
  File "/opt/dxr/source/dxr/dxr/__init__.py", line 154, in readFile
    return fp.read()
MemoryError

And for the record, the other error:

Post-processing the source files...
Traceback (most recent call last):
  File "/opt/dxr/source/dxr/dxr-index.py", line 401, in <module>
    main(sys.argv[1:])
  File "/opt/dxr/source/dxr/dxr-index.py", line 398, in main
    parseconfig(configfile, doxref, dohtml, tree, debugfile)
  File "/opt/dxr/source/dxr/dxr-index.py", line 356, in parseconfig
    indextree(treecfg, doxref, dohtml, debugfile)
  File "/opt/dxr/source/dxr/dxr-index.py", line 254, in indextree
    builddb(treecfg, dbdir)
  File "/opt/dxr/source/dxr/dxr-index.py", line 177, in builddb
    big_blob[plugin.__name__] = plugin.post_process(srcdir, objdir)
  File "/opt/dxr/source/dxr/xref-tools/cxx-clang/indexer.py", line 304,
in post_process
    blob = make_blob()
  File "/opt/dxr/source/dxr/xref-tools/cxx-clang/indexer.py", line 271,
in make_blob
    targetid = call['targetid']
KeyError: 'targetid'
_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis

Reply via email to