[MacPorts] #63007: par @1.52_2: update to 1.53 to fix crashes with utf-8
MacPorts
noreply at macports.org
Thu Jun 3 21:27:38 UTC 2021
#63007: par @1.52_2: update to 1.53 to fix crashes with utf-8
---------------------+--------------------
Reporter: grr | Owner: (none)
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: par |
---------------------+--------------------
Comment (by grr):
Just realized that the UTF-8 data I was using might be invalid, so the
issue probably is that it crashes on invalid encoded data. The example I
was using:
{{{lynx -dump https://www.w3.org/2001/06/utf-8-test/UTF-8-demo.html |
par}}}
This results in:
{{{
par(69110,0x1026bbd40) malloc: Incorrect checksum for freed object
0x159705e78: probably modified after being freed.
Corrupt value: 0xe2200000e34
par(69110,0x1026bbd40) malloc: *** set a breakpoint in malloc_error_break
to debug
Abort trap: 6
}}}
and sometimes: {{{ Segmentation fault: 11 }}}
This also fails:
{{{ lynx -dump --assume_charset=utf-8 --display_charset=utf-8
https://www.w3.org/2001/06/utf-8-test/UTF-8-demo.html | par }}}
But this works:
{{{ lynx -dump --assume_charset=utf-8
https://www.w3.org/2001/06/utf-8-test/UTF-8-demo.html | par }}}
Version 1.53 of par doesn't fail on any of these cases.
--
Ticket URL: <https://trac.macports.org/ticket/63007#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list