in reply to [SOLVED] JSON::XS parsing error when incrementally parsing JSON file - "panic: sv_chop"
I have not had a chance to go through the code in detail yet, but thought I'd share my observations.
On Linux Mint 18 with:
This is perl 5, version 24, subversion 0 (v5.24.0) built for x86_64-li +nux
...under Perlbrew, and:
perl -MJSON::XS -E 'say $JSON::XS::VERSION' 3.02
I get the same result:
perl jsonxs.pl End of document 1 panic: sv_chop ptr=16e6219, start=16ebf20, end=16ec0e0 at jsonxs.pl li +ne 41, <DATA> chunk 886.
Removing your requisite use 5.24.0; and after installing 5.16.3, I get the same error (note I included use feature 'say';):
End of document 1 panic: sv_chop ptr=1ed94c9, start=1d31480, end=1d31640 at jsonxs.pl li +ne 41, <DATA> chunk 886.
So it doesn't seem related to the platform, nor the version of Perl. Only thing that's the same is the version of JSON::XS.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: JSON::XS parsing error when incrementally parsing JSON file - "panic: sv_chop"
by ateague (Monk) on Nov 09, 2016 at 23:07 UTC |