OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005332 [jq] block always 2020-07-09 17:25 2020-07-10 11:40
Reporter MartinWheatley View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0005332: jq loops processing JSON and never completes
Description The attached file causes jq (on Solaris) to loop, malloc()'in more and more memory
Additional Information
Tags No tags attached.
Attached Files ? file icon jqFault [^] (616 bytes) 2020-07-09 17:25

- Relationships

-  Notes
(0011298)
dam (administrator)
2020-07-10 11:40

The issue has been fixed by updating to 1.6 which has been pushed to unstable/.
This is the test from the 1.6 build directory:

dam@unstable10s [unstable10s]:/home/dam/tmp > ../mgar/pkg/jq/trunk/work/solaris10-sparc/pkgroot/opt/csw/bin/jq "." <jqt
{
  "pools": [
    {
      "status": "online",
      "profile": "mirror3_nspf:log_mirror_nspf",
      "name": "NFSshares",
      "usage": [
        {
          "available": 201922508582912,
          "usage_snapshots": 3391488,
          "usage_metasize": 0,
          "used": 5382144,
          "compression": 1.38,
          "usage_child_reservation": 0,
          "usage_replication": 0,
          "dedupsize": 0,
          "usage_reservation": 0,
          "free": 201922508582912,
          "usage_total": 5382144,
          "dedupratio": 100,
          "usage_metaused": 0,
          "total": 205127638056960,
          "usage_data": 1990656
        }
      ],
      "encryption": "off",
      "peer": "kfs6-0002",
      "href": "/api/storage/v2/pools/NFSshares",
      "owner": "kfs6-0001",
      "asn": "f7009832-d06b-47cd-bd30-b2604bcd5d13"
    }
  ]
}


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker