in reply to Re^3: Debugging perl crash
in thread Debugging perl crash
> Compile it with reduced optimization under clang and see if that makes the problem go away? At least that's a starting point to track down the real problem.ok thank you. i'll try.
> Can you come up with a simple perl program that shows the issue? > EDIT: Maybe this is more a thing for bugs.perl.org than perlmonks? It's certainly an interpreter and/or compiler bug.
I don't have proof of concept code. I don't have proof, except this thread where me and another user reproduced segfaults in two different scripts.
I tried, but cannot reduce to proof-of-concept. Things that if code looks like:
part1; part2; part3; part4;
More important. Here is the script which reproduce problem for me
(don't try to run it or understand how it works - it's undocummented internal script).
problem is that _it_ does almost _nothing_.
it:
10 lines of code, maybe.1. reads a line from stdin 2. fork() 3. wait() 4. that's it
|
|---|