Re: HV and SV problem

2025-06-06 Thread Gavin Smith
On Fri, Jun 06, 2025 at 07:27:56PM +0100, Gavin Smith wrote: > To explain the problem another way, I believe that if you had XS code like: > > HV *hv = newHV (); > SV *sv = newSViv(7); > hv_store (hv, "foo", strlen ("foo"), sv, 0); > hv_store (hv, "bar", strlen ("bar"), sv, 0); > > and then, in P

Re: HV and SV problem

2025-06-06 Thread Gavin Smith
On Fri, Jun 06, 2025 at 07:27:56PM +0100, Gavin Smith wrote: > I had a breakthrough when I realised that the referenced parent element, > the $previous_ending_container->{'contents'}->[$i]->{'parent'}, was the > before_item > element that was being overwritten. What if the assignment didn't just

HV and SV problem

2025-06-06 Thread Gavin Smith
On Thu, Jun 05, 2025 at 10:45:17PM +0200, Patrice Dumas wrote: > I do not have any good idea on what more could be done to understand > what is going on. I based my investigations on commit 08c59dc0cbc36 (2025-06-05) as you said that your later commits did not fix the problem. Summary: I think I