Front page | perl.perl5.porters |
Postings from November 2015
[perl #126735] Can not quit from perl debugger by 'q'
Thread Previous
From:
KES
Date:
November 26, 2015 08:57
Subject:
[perl #126735] Can not quit from perl debugger by 'q'
Message ID:
rt-4.0.18-6130-1448528264-711.126735-75-0@perl.org
# New Ticket Created by KES
# Please include the string: [perl #126735]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=126735 >
To: perlbug@perl.org
Subject: Can not quit from perl debugger by 'q'
Cc: kes-kes@yandex.ru
Reply-To: kes-kes@yandex.ru
Message-Id: <5.22.0_28030_1448525199@keswork>
From: kes-kes@yandex.ru
This is a bug report for perl from kes-kes@yandex.ru,
generated with the help of perlbug 1.40 running under perl 5.22.0.
-----------------------------------------------------------------
[Please describe your issue here]
When I try debug script remotely I set:
PERLDB_OPTS=RemotePort=keswork:9001
and if the nobody occasionally listen that port
I can not exit from debugger, even can not run any command
Only CTRL+C works.
http://paste.scsys.co.uk/501839
1 $ perl -d deb2.pl
2 Unable to connect to remote host: keswork:9001
3 Compilation failed in require.
4 at deb2.pl line 0.
5 main::BEGIN() called at deb2.pl line 0
6 eval {...} called at deb2.pl line 0
7 BEGIN failed--compilation aborted.
8 at deb2.pl line 0.
9 Debugged program terminated. Use q to quit or R to restart,
10 use o inhibit_exit to avoid stopping after program termination,
11 h q, h R or h o to get additional info.
12 DB<1> q
13 syntax error at (eval 10)[/home/kes/perl/lib/5.22.0/perl5db.pl:737] line 4, at EOF
14 (Might be a runaway multi-line ;; string starting on line 2)
15
16 DB<1> ^C
17 kes@keswork ~/tmp $ cat deb2.pl
18 #!/usr/bin/env perl
19
20 my $a = 1;
21
22 print $a;
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=library
severity=low
---
Site configuration information for perl 5.22.0:
Configured by kes at Tue Sep 29 16:12:55 EEST 2015.
Summary of my perl5 (revision 5 version 22 subversion 0) configuration:
Platform:
osname=linux, osvers=3.13.0-37-generic, archname=x86_64-linux
uname='linux keswork 3.13.0-37-generic #64-ubuntu smp mon sep 22 21:28:38 utc 2014 x86_64 x86_64 x86_64 gnulinux '
config_args='-des -Dprefix=/home/kes/perl'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.8.4', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.19.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.19'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'
---
@INC for perl 5.22.0:
/home/kes/perl5/lib/perl5/x86_64-linux
/home/kes/perl5/lib/perl5
/home/kes/perl/lib/site_perl/5.22.0/x86_64-linux
/home/kes/perl/lib/site_perl/5.22.0
/home/kes/perl/lib/5.22.0/x86_64-linux
/home/kes/perl/lib/5.22.0
.
---
Environment for perl 5.22.0:
HOME=/home/kes
LANG=ru_UA.UTF-8
LANGUAGE=en
LC_MESSAGES=en_US.UTF-8
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/home/kes/perl/bin:/home/kes/perl/bin:/home/kes/perl5/bin:/home/kes/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PERL5LIB=/home/kes/perl5/lib/perl5
PERLDB_OPTS=RemotePort=keswork:9001
PERL_BADLANG (unset)
PERL_MB_OPT=--install_base "/home/kes/perl5"
PERL_MM_OPT=INSTALL_BASE=/home/kes/perl5
SHELL=/bin/bash
Thread Previous