On Wed Jul 30 14:55:21 2014, chr.stahlhut@gmail.com wrote: > On Wed Jul 30 14:51:25 2014, chr.stahlhut@gmail.com wrote: > > Hi! > > > > Trying to debug the attached program via 'perl -d ./debug-me.pl' > > produces a segmentation fault for me. > > To be more precise, this happens: > > christian@azmodan ~ $ perl -d ./debug-me.pl > > Loading DB routines from perl5db.pl version 1.39_10 > Editor support available. > > Enter h or 'h h' for help, or 'man perldebug' for more help. > > main::(./debug-me.pl:4): $DB::single=2; > DB<1> > c > Segmentation fault Is it possible that you are using $DB::single in a manner for which is not intended? In the documenation to DB.pm, I read: ##### Global Variables The following "public" global names can be read by clients of this API. Beware that these should be considered "readonly". [snip] $DB::single Single-step flag. Will be true if the API will stop at the next statement. ##### You are trying to assign to $DB::single, which seems to violate the "readonly" stipulation. Moreover, when I hear something described as a "flag", my first impulse is to think of it as a Boolean with 1 usually representing True and 0 representing False. (Granted there is one point in DB.pm where a value of 2 is assigned to $DB::single.) I don't claim to speak definitively here. Thank you very much. Jim Keenan --- via perlbug: queue: perl5 status: open https://rt.perl.org/Ticket/Display.html?id=122445Thread Previous | Thread Next