Discussion:
[perl #125512] [PATCH] dont create *{"_<$filename"} globs for perl lang debugging of XSUBs
bulk88 (via RT)
2015-06-29 18:57:16 UTC
Permalink
# New Ticket Created by bulk88
# Please include the string: [perl #125512]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=125512 >


This is a bug report for perl from ***@hotmail.com,
generated with the help of perlbug 1.40 running under perl 5.23.0.


-----------------------------------------------------------------
[Please describe your issue here]

See attached patch. Related to
https://rt.perl.org/Public/Bug/Display.html?id=125296

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=core
severity=low
---
Site configuration information for perl 5.23.0:

Configured by Owner at Mon Jun 29 03:16:56 2015.

Summary of my perl5 (revision 5 version 23 subversion 0) configuration:
Derived from: 63602a3fc27a417daf3c532b6a11ae6eba2a072a
Platform:
osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cl', ccflags ='-nologo -GF -W3 -O1 -MD -Zi -DNDEBUG -GL -DWIN32
-D_CONSOLE -DNO_STRICT -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -D_USE_32BIT_TIME_T',
optimize='-O1 -MD -Zi -DNDEBUG -GL',
cppflags='-DWIN32'
ccversion='13.10.6030', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234,
doublekind=3
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8,
longdblkind=0
ivtype='long', ivsize=4, nvtype='double', nvsize=8,
Off_t='__int64', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf
-ltcg -libpath:"c:\perl\lib\CORE" -machine:x86'
libpth=\lib
libs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib
netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib
odbc32.lib odbccp32.lib comctl32.lib msvcrt.lib
perllibs=oldnames.lib kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib
oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib
version.lib odbc32.lib odbccp32.lib comctl32.lib msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl523.lib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug
-opt:ref,icf -ltcg -libpath:"c:\perl\lib\CORE" -machine:x86'

Locally applied patches:
uncommitted-changes

---
@INC for perl 5.23.0:
C:/perl521/srcnewb4opt/lib
.

---
Environment for perl 5.23.0:
HOME (unset)
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=C:\sperl\c\bin;C:\WINDOWS\system32;C:\Program Files\Microsoft
Visual Studio .NET 2003\Vc7\bin;C:\Program Files\Microsoft Visual Studio
.NET 2003\Common7\IDE;C:\WINDOWS;C:\Program Files\Git\cmd;C:\Program
Files\Microsoft Visual Studio .NET 2003\Common7\Tools\bin;C:\perl\bin
PERL_BADLANG (unset)
PERL_JSON_BACKEND=Cpanel::JSON::XS
PERL_YAML_BACKEND=YAML
SHELL (unset)
Tony Cook via RT
2015-07-30 04:46:27 UTC
Permalink
Post by bulk88 (via RT)
See attached patch. Related to
https://rt.perl.org/Public/Bug/Display.html?id=125296
- (void)gv_fetchfile(file);
+ /* XSUBs can't be perl lang/perl5db.pl debugged
+ if (PERLDB_LINE || PERLDB_SAVESRC)
+ (void)gv_fetchfile(file); */

not that it matters a lot, since it's commented out, did you want a supply a version that uses PERLDB_LINE_OR_SAVESRC instead of the separate tests?

Tony

---
via perlbug: queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=125512
bulk88 via RT
2015-07-30 06:20:27 UTC
Permalink
Post by Tony Cook via RT
- (void)gv_fetchfile(file);
+ /* XSUBs can't be perl lang/perl5db.pl debugged
+ if (PERLDB_LINE || PERLDB_SAVESRC)
+ (void)gv_fetchfile(file); */
not that it matters a lot, since it's commented out, did you want a
supply a version that uses PERLDB_LINE_OR_SAVESRC instead of the
separate tests?
Tony
new patch attached
--
bulk88 ~ bulk88 at hotmail.com

---
via perlbug: queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=125512
bulk88 via RT
2015-08-12 01:02:22 UTC
Permalink
Post by bulk88 via RT
Post by Tony Cook via RT
- (void)gv_fetchfile(file);
+ /* XSUBs can't be perl lang/perl5db.pl debugged
+ if (PERLDB_LINE || PERLDB_SAVESRC)
+ (void)gv_fetchfile(file); */
not that it matters a lot, since it's commented out, did you want a
supply a version that uses PERLDB_LINE_OR_SAVESRC instead of the
separate tests?
Tony
new patch attached
Bump.
--
bulk88 ~ bulk88 at hotmail.com

---
via perlbug: queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=125512
Tony Cook via RT
2015-08-12 04:57:51 UTC
Permalink
Post by bulk88 via RT
Post by Tony Cook via RT
- (void)gv_fetchfile(file);
+ /* XSUBs can't be perl lang/perl5db.pl debugged
+ if (PERLDB_LINE || PERLDB_SAVESRC)
+ (void)gv_fetchfile(file); */
not that it matters a lot, since it's commented out, did you want a
supply a version that uses PERLDB_LINE_OR_SAVESRC instead of the
separate tests?
Tony
new patch attached
Thanks, applied as 9b669ea1e2997fbb78558e1fc0a7ecae3aa23af0.

Tony




---
via perlbug: queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=125512

Loading...