Overview
| Artifact ID: | d60c9d51b7219d19e94b2b0d2943f9346a1e5ade17c337248d3a224786bc238f |
|---|---|
| Ticket: | b630fc4fddbdebdfd166b450643adae747ad3497
io-75.14 fails under valgrind |
| User & Date: | dgp on 2023-07-14 16:47:54 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
I see `make valgrind` of core-8 branch produce... ==== io-75.14 [gets] succesfully returns lines prior to error invalid utf-8 encoding [gets] continues in non-strict mode after error FAILED ==== Contents of test case: lappend res [gets $chan] lappend res [gets $chan] lappend res [catch {gets $chan} cres] $cres chan configure $chan -profile tcl8 lappend res [gets $chan] lappend res [gets $chan] close $chan return $res ---- Result was: -1 ret-1 0 ret0 1 ret1 2 ret2 3 ret3 4 ret4 5 ret5 a b 1 {error reading "file5": invalid or incomplete multibyte or wide character} c\xC0 d ---- Result should have been (glob matching): a b 1 {error reading "*": invalid or incomplete multibyte or wide character} c\xC0 d ==== io-75.14 FAILED This suggests the test is [lappend]ing onto a $res that starts with a non empty list value. The simple fix for this would be a -setup the initializes to the empty list the test expects. That said, it is a mystery to me why the failure only shows up under valgrind testing and not all the time. - foundin changed to: "8.7"
- is_private changed to: "0"
- login: "dgp"
- priority changed to: "5 Medium"
- private_contact changed to: "8e2300e85be5dd1445b9666eb9429055951e33be"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "25. Channel System"
- title changed to: "io-75.14 fails under valgrind"
- type changed to: "Bug"