ChrisDennis has asked for the wisdom of the Perl Monks concerning the following question:
(This was previously entitled 'Vague segfault question', but I've narrowed down the problem now -- please see my reply to myself below.)
I'm getting a segfault, and I don't know where to begin looking for the cause.
It's a fairly convoluted Perl script (which you can see at https://github.com/StarsoftAnalysis/brandysnap/tree/next) that calls rsync. It traps ctrl-C etc so that it can exit gracefully.
It works fine on Ubuntu 10.10, kernel 2.35.something, running perl 5.10.1 and rsync 3.0.7. On ArchLinux, kernel 3.2.2, running perl 5.14.2 and rsync 3.0.9, I get a segfault when I press ctrl-C during the rsync call.
So I don't know if it's a Perl issue, or an rsync one, or a kernel one, or an ArchLinux one.
I just wondered if this rang a bell with anyone, or if someone could give me a clue about how to pin down the cause.
cheers
Chris
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Vague segfault question
by ChrisDennis (Sexton) on Feb 03, 2012 at 18:52 UTC | |
by ikegami (Patriarch) on Feb 03, 2012 at 19:47 UTC | |
by ChrisDennis (Sexton) on Feb 04, 2012 at 13:04 UTC | |
by Anonymous Monk on Feb 04, 2012 at 14:38 UTC | |
by ChrisDennis (Sexton) on Feb 05, 2012 at 21:07 UTC | |
|