[Pkg-javascript-devel] Bug#1016483: Bug#1016483: Bug#1016483: pkg-js-tools: pkgjs-depends eats all memory and dies (probably by linux OOM Killer)

Yadd yadd at debian.org
Tue Aug 2 18:17:44 BST 2022


On 02/08/2022 18:25, Yadd wrote:
> On 01/08/2022 16:53, Jonas Smedegaard wrote:
>  > Package: pkg-js-tools
>  > Version: 0.14.31
>  > Severity: important
>  >
>> I tries run the following command in a pristine Sid environment:
>>
>>    pkgjs-depends @solid/community-server
>>
>> After hanging at 4% for 5-6 minutes, the process ate all available
>> memory (16+ GB!) and then died (probably killed by the linux OOM
>> Killer).
>>
>>   - Jonas
> 
> Thanks for the report, the problem is that pkgjs-depends doesn't see 
> circular dependencies

Fixed in 0.14.32. Here is the report (without duplicates) of your query 
(with 2 npm errors for paseto at 2 and paseto at 3 (maybe replace them by 
paseto2 and paseto3):

# @solid/community-server
paseto2 at npm:paseto@^2.1.3 not foundver 
        ]
npm ERR! code E404
npm ERR! 404 No match found for version npm:paseto@^2.1.3
npm ERR! 404
npm ERR! 404  'paseto at npm:paseto@^2.1.3' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
{
   "error": {
     "code": "E404",
     "summary": "No match found for version npm:paseto@^2.1.3",
     "detail": "\n 'paseto at npm:paseto@^2.1.3' is not in this 
registry.\n\nNote that you can also install from a\ntarball, folder, 
http url, or git url."
   }
}

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/yadd/.npm/_logs/2022-08-02T17_10_32_492Z-debug-0.log
paseto3 at npm:paseto@^3.0.0 not found
npm ERR! code E404
npm ERR! 404 No match found for version npm:paseto@^3.0.0
npm ERR! 404
npm ERR! 404  'paseto at npm:paseto@^3.0.0' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
{
   "error": {
     "code": "E404",
     "summary": "No match found for version npm:paseto@^3.0.0",
     "detail": "\n 'paseto at npm:paseto@^3.0.0' is not in this 
registry.\n\nNote that you can also install from a\ntarball, folder, 
http url, or git url."
   }
}

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/yadd/.npm/_logs/2022-08-02T17_10_33_541Z-debug-0.log

DEPENDENCIES: 

   handlebars (handlebars)
   libjs-json (canonicalize)
   node-accepts (accepts)
   node-co (co)
   node-content-disposition (content-disposition)
   node-content-type (content-type)
   node-cookies (@types/cookies, cookies)
   node-cors (cors)
   node-cross-fetch (cross-fetch)
   node-debug (debug)
   node-deep-equal (deep-equal)
   node-delegates (delegates)
   node-depd (depd)
   node-ejs (ejs)
   node-encodeurl (encodeurl)
   node-end-of-stream (@types/end-of-stream, end-of-stream)
   node-escape-html (escape-html)
   node-escape-string-regexp (escape-string-regexp)
   node-fast-deep-equal (fast-deep-equal)
   node-fetch (node-fetch)
   node-follow-redirects (follow-redirects)
   node-fresh (fresh)
   node-fs-extra (@types/fs-extra, fs-extra)
   node-got (cacheable-lookup, got)
   node-graphql (graphql)
   node-hash.js (hash.js)
   node-htmlparser2 (htmlparser2)
   node-http-errors (@types/http-errors, http-errors)
   node-immutable (immutable)
   node-is-stream (is-stream)
   node-jose (jose)
   node-jsdom (decimal.js)
   node-jsesc (jsesc)
   node-jsonparse (jsonparse)
   node-jsonstream (JSONStream)
   node-keygrip (@types/keygrip)
   node-lodash-packages (@types/lodash.orderby, lodash.defaults, 
lodash.isarguments, lodash.orderby)
   node-lru-cache (lru-cache)
   node-marked (@types/marked, marked)
   node-mime-types (@types/mime-types, mime-types)
   node-minimist (@types/minimist, minimist)
   node-n3 (@types/n3, n3)
   node-nodemailer (@types/nodemailer, nodemailer)
   node-on-finished (on-finished)
   node-parseurl (parseurl)
   node-postcss (nanoid)
   node-pre-gyp (@mapbox/node-pre-gyp)
   node-pump (pump)
   node-punycode (punycode)
   node-quick-lru (quick-lru)
   node-raw-body (raw-body)
   node-readable-stream (readable-stream)
   node-redis (cluster-key-slot)
   node-rollup-plugin-typescript2 (object-hash)
   node-safe-buffer (safe-buffer)
   node-sax (sax)
   node-semver (@types/semver, semver)
   node-send (destroy)
   node-statuses (statuses)
   node-type-is (type-is)
   node-url-join (url-join)
   node-util (is-generator-function)
   node-uuid (@types/uuid, uuid)
   node-vary (vary)
   node-winston (winston)
   node-winston-transport (winston-transport)
   node-ws (@types/ws, ws)
   node-xtend (xtend)
   node-yargs (@types/yargs, yargs)
   nodejs (@types/node)

MISSING:
@solid/community-server
  └── @comunica/actor-init-sparql (1.22.3)
      └── @comunica/actor-abstract-bindings-hash (1.22.0)
          └── @comunica/types (1.22.0)
              └── @rdfjs/types (1.1.0)
              └── asynciterator (3.6.0)
              └── sparqlalgebrajs (3.0.3)
                  └── @types/sparqljs (3.1.3)
                      └── rdf-js (4.0.2)
                  └── rdf-data-factory (1.1.1)
                  └── rdf-isomorphic (1.3.0)
                      └── rdf-string (1.6.1)
                      └── rdf-terms (1.9.0)
                  └── sparqljs (3.5.2)
      └── @comunica/actor-abstract-mediatyped (1.22.0)
      └── @comunica/actor-context-preprocess-source-to-destination (1.22.0)
          └── @comunica/context-entries (1.22.0)
      └── @comunica/actor-http-memento (1.22.1)
          └── @types/parse-link-header (1.0.1)
          └── parse-link-header (1.0.1)
      └── @comunica/actor-http-native (1.22.1)
      └── @comunica/actor-http-node-fetch (1.22.3)
      └── @comunica/actor-http-proxy (1.22.1)
      └── @comunica/actor-optimize-query-operation-join-bgp (1.22.0)
      └── @comunica/actor-query-operation-ask (1.22.0)
      └── @comunica/actor-query-operation-bgp-empty (1.22.0)
      └── @comunica/actor-query-operation-bgp-left-deep-smallest (1.22.0)
      └── @comunica/actor-query-operation-bgp-single (1.22.0)
      └── @comunica/actor-query-operation-construct (1.22.0)
          └── @comunica/data-factory (1.22.0)
      └── @comunica/actor-query-operation-describe-subject (1.22.0)
          └── @comunica/actor-query-operation-union (1.22.0)
      └── @comunica/actor-query-operation-distinct-hash (1.22.0)
      └── @comunica/actor-query-operation-extend (1.22.0)
          └── sparqlee (1.10.0)
              └── @types/spark-md5 (3.0.2)
              └── relative-to-absolute-iri (1.0.6)
              └── spark-md5 (3.0.2)
      └── @comunica/actor-query-operation-filter-sparqlee (1.22.0)
      └── @comunica/actor-query-operation-from-quad (1.22.0)
      └── @comunica/actor-query-operation-group (1.22.0)
      └── @comunica/actor-query-operation-join (1.22.0)
      └── @comunica/actor-query-operation-leftjoin-left-deep (1.22.0)
          └── @comunica/bus-rdf-join (1.22.0)
      └── @comunica/actor-query-operation-leftjoin-nestedloop (1.22.0)
      └── @comunica/actor-query-operation-minus (1.22.0)
      └── @comunica/actor-query-operation-nop (1.22.0)
      └── @comunica/actor-query-operation-orderby-sparqlee (1.22.0)
      └── @comunica/actor-query-operation-path-alt (1.22.0)
          └── @comunica/actor-abstract-path (1.22.0)
      └── @comunica/actor-query-operation-path-inv (1.22.0)
      └── @comunica/actor-query-operation-path-link (1.22.0)
      └── @comunica/actor-query-operation-path-nps (1.22.0)
      └── @comunica/actor-query-operation-path-one-or-more (1.22.0)
      └── @comunica/actor-query-operation-path-seq (1.22.0)
      └── @comunica/actor-query-operation-path-zero-or-more (1.22.0)
      └── @comunica/actor-query-operation-path-zero-or-one (1.22.0)
      └── @comunica/actor-query-operation-project (1.22.0)
      └── @comunica/actor-query-operation-quadpattern (1.22.0)
      └── @comunica/actor-query-operation-reduced-hash (1.22.0)
          └── @types/lru-cache (5.1.1)
      └── @comunica/actor-query-operation-service (1.22.3)
          └── @comunica/bus-rdf-resolve-quad-pattern (1.22.0)
      └── @comunica/actor-query-operation-slice (1.22.0)
      └── @comunica/actor-query-operation-sparql-endpoint (1.22.2)
          └── @comunica/bus-rdf-update-quads (1.22.2)
              └── @comunica/bus-http (1.22.1)
                  └── @types/readable-stream (2.3.14)
                  └── readable-web-to-node-stream (3.0.2)
                  └── web-streams-node (0.4.0)
                      └── readable-stream-node-to-web (1.0.1)
                      └── web-streams-ponyfill (1.4.2)
              └── stream-to-string (1.2.0)
                  └── promise-polyfill (1.1.6)
          └── @comunica/utils-datasource (1.22.2)
          └── arrayify-stream (1.0.0)
          └── fetch-sparql-endpoint (2.4.1)
              └── abort-controller (3.0.0)
                  └── event-target-shim (5.0.1)
              └── sparqljson-parse (1.7.0)
              └── sparqlxml-parse (1.5.0)
                  └── sax-stream (1.3.0)
      └── @comunica/actor-query-operation-update-add-rewrite (1.22.0)
      └── @comunica/actor-query-operation-update-clear (1.22.0)
      └── @comunica/actor-query-operation-update-compositeupdate (1.22.0)
      └── @comunica/actor-query-operation-update-copy-rewrite (1.22.0)
      └── @comunica/actor-query-operation-update-create (1.22.0)
      └── @comunica/actor-query-operation-update-deleteinsert (1.22.2)
      └── @comunica/actor-query-operation-update-drop (1.22.0)
      └── @comunica/actor-query-operation-update-load (1.22.0)
      └── @comunica/actor-query-operation-update-move-rewrite (1.22.0)
      └── @comunica/actor-query-operation-values (1.22.0)
      └── @comunica/actor-rdf-dereference-fallback (1.22.2)
      └── @comunica/actor-rdf-dereference-http-parse (1.22.3)
      └── @comunica/actor-rdf-join-multi-smallest (1.22.0)
          └── @comunica/bus-query-operation (1.22.0)
          └── @comunica/mediatortype-iterations (1.22.0)
      └── @comunica/actor-rdf-join-nestedloop (1.22.0)
          └── asyncjoin (1.0.6)
      └── @comunica/actor-rdf-join-symmetrichash (1.22.0)
      └── @comunica/actor-rdf-metadata-all (1.22.0)
      └── @comunica/actor-rdf-metadata-extract-allow-http-methods (1.22.0)
      └── @comunica/actor-rdf-metadata-extract-hydra-controls (1.22.0)
          └── @types/uritemplate (0.3.4)
          └── uritemplate (0.3.4)
      └── @comunica/actor-rdf-metadata-extract-hydra-count (1.22.0)
      └── @comunica/actor-rdf-metadata-extract-patch-sparql-update (1.22.2)
      └── @comunica/actor-rdf-metadata-extract-put-accepted (1.22.0)
      └── @comunica/actor-rdf-metadata-extract-sparql-service (1.22.0)
      └── @comunica/actor-rdf-metadata-primary-topic (1.22.0)
      └── @comunica/actor-rdf-parse-html (1.22.0)
          └── @comunica/bus-rdf-parse-html (1.22.0)
      └── @comunica/actor-rdf-parse-html-microdata (1.22.0)
          └── microdata-rdf-streaming-parser (1.2.0)
      └── @comunica/actor-rdf-parse-html-rdfa (1.22.0)
          └── rdfa-streaming-parser (1.5.0)
      └── @comunica/actor-rdf-parse-html-script (1.22.0)
      └── @comunica/actor-rdf-parse-jsonld (1.22.1)
          └── jsonld-context-parser (2.2.0)
              └── @types/http-link-header (1.0.3)
              └── http-link-header (1.0.5)
          └── jsonld-streaming-parser (2.4.3)
      └── @comunica/actor-rdf-parse-n3 (1.22.0)
      └── @comunica/actor-rdf-parse-rdfxml (1.22.0)
          └── rdfxml-streaming-parser (1.5.0)
      └── @comunica/actor-rdf-parse-xml-rdfa (1.22.0)
      └── @comunica/actor-rdf-resolve-hypermedia-links-next (1.22.0)
      └── @comunica/actor-rdf-resolve-hypermedia-links-queue-fifo (1.22.0)
      └── @comunica/actor-rdf-resolve-hypermedia-none (1.22.0)
          └── @comunica/actor-rdf-resolve-quad-pattern-rdfjs-source (1.22.0)
          └── rdf-store-stream (1.3.0)
      └── @comunica/actor-rdf-resolve-hypermedia-qpf (1.22.2)
          └── @comunica/bus-rdf-dereference (1.22.2)
      └── @comunica/actor-rdf-resolve-hypermedia-sparql (1.22.1)
      └── @comunica/actor-rdf-resolve-quad-pattern-federated (1.22.0)
      └── @comunica/actor-rdf-resolve-quad-pattern-hypermedia (1.22.2)
          └── @comunica/bus-rdf-metadata (1.22.0)
          └── @comunica/bus-rdf-metadata-extract (1.22.0)
              └── graphql-ld (1.4.0)
                  └── graphql-to-sparql (2.4.0)
                  └── sparqljson-to-tree (2.1.0)
                      └── rdf-literal (1.3.0)
      └── @comunica/actor-rdf-serialize-jsonld (1.22.0)
          └── jsonld-streaming-serializer (1.3.0)
      └── @comunica/actor-rdf-serialize-n3 (1.22.0)
      └── @comunica/actor-rdf-update-hypermedia-patch-sparql-update (1.22.2)
          └── rdf-string-ttl (1.2.0)
      └── @comunica/actor-rdf-update-hypermedia-put-ldp (1.22.2)
      └── @comunica/actor-rdf-update-hypermedia-sparql (1.22.2)
      └── @comunica/actor-rdf-update-quads-hypermedia (1.22.2)
          └── @comunica/bus-rdf-update-hypermedia (1.22.2)
      └── @comunica/actor-rdf-update-quads-rdfjs-store (1.22.2)
      └── @comunica/actor-sparql-parse-algebra (1.22.0)
      └── @comunica/actor-sparql-parse-graphql (1.22.0)
      └── @comunica/actor-sparql-serialize-json (1.22.0)
      └── @comunica/actor-sparql-serialize-rdf (1.22.0)
      └── @comunica/actor-sparql-serialize-simple (1.22.0)
      └── @comunica/actor-sparql-serialize-sparql-csv (1.22.0)
      └── @comunica/actor-sparql-serialize-sparql-json (1.22.0)
      └── @comunica/actor-sparql-serialize-sparql-tsv (1.22.0)
      └── @comunica/actor-sparql-serialize-sparql-xml (1.22.0)
          └── @types/xml (1.0.8)
          └── xml (1.0.1)
      └── @comunica/actor-sparql-serialize-stats (1.22.1)
      └── @comunica/actor-sparql-serialize-table (1.22.0)
      └── @comunica/actor-sparql-serialize-tree (1.22.0)
      └── @comunica/bus-context-preprocess (1.22.0)
      └── @comunica/bus-http-invalidate (1.22.0)
      └── @comunica/bus-init (1.22.0)
      └── @comunica/bus-optimize-query-operation (1.22.0)
      └── @comunica/bus-rdf-dereference-paged (1.22.0)
      └── @comunica/bus-rdf-parse (1.22.0)
      └── @comunica/bus-rdf-resolve-hypermedia (1.22.0)
      └── @comunica/bus-rdf-resolve-hypermedia-links (1.22.0)
      └── @comunica/bus-rdf-resolve-hypermedia-links-queue (1.22.0)
      └── @comunica/bus-rdf-serialize (1.22.0)
      └── @comunica/bus-sparql-parse (1.22.0)
      └── @comunica/bus-sparql-serialize (1.22.0)
      └── @comunica/core (1.22.0)
      └── @comunica/logger-pretty (1.22.0)
      └── @comunica/logger-void (1.22.0)
      └── @comunica/mediator-all (1.22.0)
      └── @comunica/mediator-combine-pipeline (1.22.0)
      └── @comunica/mediator-combine-union (1.22.0)
      └── @comunica/mediator-number (1.22.0)
      └── @comunica/mediator-race (1.22.0)
      └── @comunica/runner (1.22.0)
          └── componentsjs (4.5.0)
              └── rdf-object (1.13.1)
                  └── streamify-array (1.0.1)
              └── rdf-parse (1.9.1)
              └── rdf-quad (1.5.0)
      └── @comunica/runner-cli (1.22.0)
      └── negotiate (1.0.1)
      └── streamify-string (1.0.1)
  └── @solid/access-token-verifier (1.2.9)
      └── ts-guards (0.5.1)
  └── @types/async-lock (1.1.5)
  └── @types/bcrypt (5.0.0)
  └── @types/cors (2.8.12)
  └── @types/oidc-provider (7.11.1)
      └── @types/koa (2.13.5)
          └── @types/accepts (1.3.5)
          └── @types/content-disposition (0.5.5)
          └── @types/http-assert (1.5.3)
          └── @types/koa-compose (3.2.5)
  └── @types/pump (1.1.1)
  └── @types/punycode (2.1.0)
  └── @types/url-join (4.0.1)
  └── async-lock (1.3.2)
  └── bcrypt (5.0.1)
      └── node-addon-api (3.2.1)
  └── ioredis (5.2.2)
      └── @ioredis/commands (1.2.0)
      └── denque (2.1.0)
      └── redis-errors (1.2.0)
      └── redis-parser (3.0.0)
      └── standard-as-callback (2.1.0)
  └── oidc-provider (7.10.6)
      └── @koa/cors (3.3.0)
      └── koa (2.13.4)
          └── cache-content-type (1.0.1)
              └── ylru (1.3.2)
          └── http-assert (1.5.0)
          └── koa-compose (4.2.0)
          └── koa-convert (2.0.0)
          └── only (0.0.2)
      └── oidc-token-hash (5.0.1)
      └── paseto2 ()
      └── paseto3 ()
  └── rdf-dereference (1.9.0)
      └── @comunica/actor-rdf-dereference-file (1.22.2)
  └── rdf-serialize (1.2.0)



More information about the Pkg-javascript-devel mailing list