On Fri Sep 20 04:09:25 2013, niels@thykier.net wrote: > > This is a bug report for perl from niels@thykier.net, > generated with the help of perlbug 1.39 running under perl 5.18.1. > > > ----------------------------------------------------------------- > [Please describe your issue here] > > Dear perl porters, > > When Debian migrated to Perl5.18.1, I started to experience random > seg. faults in one of my perl scripts. hugmeir from #p5p devised > the following mimimal test case: > > """ > use threads; > scalar glob("*"); > threads->create(sub { glob("*") })->join(); > """ > > The test case itself does not crash, but it does spew out warnings > like: > > """ > Unbalanced string table refcount: (1) for "I" during global > destruction. > Attempt to free nonexistent shared string 'I', [...] > Attempt to free unreferenced scalar: SV 0x8c6a1fc, [...] > """ > > Based on that, I replaced my calls to "glob" in the threads and my > script > stopped crashing. > > > hugmeir also suggested that he believed this bug to also affect blead > (I have not tested that assertion). TonyC from #p5p suggested that it > might be because the "glob state isn't being cloned". Interesting. Could this be the same as #117823? -- Father Chrysostomos --- via perlbug: queue: perl5 status: new https://rt.perl.org:443/rt3/Ticket/Display.html?id=119897Thread Previous | Thread Next