Mantis - jq
Viewing Issue Advanced Details
5332 block always 2020-07-09 17:25 2020-07-10 11:40
MartinWheatley  
dam  
normal  
closed  
fixed  
none    
none  
0005332: jq loops processing JSON and never completes
The attached file causes jq (on Solaris) to loop, malloc()'in more and more memory
? file icon jqFault [^] (616 bytes) 2020-07-09 17:25
Issue History
2020-07-09 17:25 MartinWheatley New Issue
2020-07-09 17:25 MartinWheatley File Added: jqFault
2020-07-10 08:50 dam Assigned To => dam
2020-07-10 08:50 dam Status new => confirmed
2020-07-10 11:40 dam Note Added: 0011298
2020-07-10 11:40 dam Status confirmed => closed
2020-07-10 11:40 dam Resolution open => fixed

Notes
(0011298)
dam   
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"
    }
  ]
}