Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FW: use lines crash Perl.exe #56

Closed
p5pRT opened this issue Jun 11, 1999 · 5 comments
Closed

FW: use lines crash Perl.exe #56

p5pRT opened this issue Jun 11, 1999 · 5 comments

Comments

@p5pRT
Copy link

p5pRT commented Jun 11, 1999

Migrated from rt.perl.org#858 (status was 'resolved')

Searchable as RT858$

@p5pRT
Copy link
Author

p5pRT commented Jun 11, 1999

From wgd@adelaide.on.net

Sent again due to a problem with your mail script.

-----Original Message-----
From​: Alex [mailto​:wgd@​adelaide.on.net]
Sent​: Saturday, 29 May 1999 15​:13
To​: perlbug@​perl.com
Subject​: use lines crash Perl.exe

Hi, this is about a problem I'm having with any perl script which contains
any of these lines​:

use Socket;
use Fcntl;

Anything that doesn't have Library​::Something will make it crash (except use
strict).
My Perl exe file is perl5.00503.exe in the ActivePerl
build 516 distribution. I'm running Sambar Server 4.1 using Netscape
Navigator 4.08 to test my scripts. The script, Dr Watson report, and perl -V
output is enclosed.
I seriously need this to work ASAP!

Thanks for your help and keep up the excellent work.

Alex, mailto​:arangas@​yahoo.com.au
TOUECCANS - http​://www.geocities.com/SiliconValley/Way/5843/
Eye Candy, Fractals and Raytracing with Reviews, Downloads and Links!

@p5pRT
Copy link
Author

p5pRT commented Jun 11, 1999

From wgd@adelaide.on.net

Microsoft (R) Windows NT (TM) Version 4.00 DrWtsn32
Copyright (C) 1985-1996 Microsoft Corp. All rights reserved.

Application exception occurred​:
  App​: (pid=192)
  When​: 5/25/1999 @​ 16​:33​:54.216
  Exception number​: c0000005 (access violation)

*----> System Information <----*
  Computer Name​: CONTROL
  User Name​: Administrator
  Number of Processors​: 1
  Processor Type​: x86 Family 6 Model 3 Stepping 4
  Windows Version​: 4.0
  Current Build​: 1381
  Service Pack​: 4
  Current Type​: Uniprocessor Free
  Registered Organization​:
  Registered Owner​: A R Angas

*----> Task List <----*
  0 Idle.exe
  2 System.exe
  20 smss.exe
  26 CSRSS.exe
  34 WINLOGON.exe
  40 SERVICES.exe
  43 LSASS.exe
  70 SPOOLSS.exe
  78 amgrsrvc.exe
  87 Mcshield.exe
  93 NDDEAGNT.exe
100 EXPLORER.exe
105 VsTskMgr.exe
119 mgasc.exe
126 RPCSS.exe
127 mgactrl.exe
138 TAPISRV.exe
  97 RASMAN.exe
149 esserver.exe
157 PSTORES.exe
160 LOADWC.exe
162 sens.exe
168 shstat.exe
166 mgahook.exe
180 NDetect.exe
182 starter.exe
185 Taskmenu.exe
199 EditPad.exe
227 NTVDM.exe
228 server.exe
146 netscape.exe
192 PERL.exe
203 DRWTSN32.exe
  0 _Total.exe

(00400000 - 00400000)
(77f60000 - 77fbc000) dll\ntdll.dbg
(00240000 - 00240000)
(77f00000 - 77f5e000) dll\kernel32.dbg
(77e70000 - 77ec4000) dll\user32.dbg
(77ed0000 - 77efc000) dll\gdi32.dbg
(77dc0000 - 77dff000) dll\advapi32.dbg
(77e10000 - 77e67000) dll\rpcrt4.dbg
(002a0000 - 002a0000)
(10000000 - 10000000)
(78000000 - 78000000)

State Dump for Thread Id 0xbc

eax=008842f0 ebx=00000001 ecx=00000000 edx=10005860 esi=0030eed8 edi=0030eed8
eip=10003855 esp=0012fcf8 ebp=00000000 iopl=0 nv up ei pl zr na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00010246

function​: <nosymbols>
  1000382a 56 push esi
  1000382b 57 push edi
  1000382c 6860580010 push 0x10005860
  10003831 ff1508400010 call dword ptr [10004008] ds​:10004008=77f674c0
  10003837 8b742430 mov esi,[esp+0x30] ss​:0158e6ff=????????
  1000383b 893578580010 mov [10005878],esi ds​:10005878=0030eed8
  10003841 8b8e5c060000 mov ecx,[esi+0x65c] ds​:0030f534=00000000
  10003847 8b8628060000 mov eax,[esi+0x628] ds​:0030f500=008842f0
  1000384d 8b9e1c060000 mov ebx,[esi+0x61c] ds​:0030f4f4=00000001
  10003853 33ed xor ebp,ebp
FAULT ->10003855 8b11 mov edx,[ecx] ds​:00000000=????????
  10003857 83c1fc add ecx,0xfc
  1000385a 898e5c060000 mov [esi+0x65c],ecx ds​:0030f534=00000000
  10003860 896c2424 mov [esp+0x24],ebp ss​:0158e6ff=????????
  10003864 8d1490 lea edx,[eax+edx*4] ds​:10005860=003f03a0
  10003867 896c2410 mov [esp+0x10],ebp ss​:0158e6ff=????????
  1000386b 8bfa mov edi,edx
  1000386d 2bda sub ebx,edx
  1000386f 2bf8 sub edi,eax
  10003871 c1ff02 sar edi,0x2
  10003874 47 inc edi
  10003875 c1fb02 sar ebx,0x2

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
00000000 00000000 00000000 00000000 00000000 00000000 <nosymbols>

*----> Raw Stack Dump <----*
0012fcf8 d8 ee 30 00 00 00 00 00 - 68 fd 12 00 dc 62 8c 00 ..0.....h....b..
0012fd08 30 07 89 00 1c 99 8c 00 - dc 62 8c 00 b0 ff 12 00 0........b......
0012fd18 d8 3e 00 10 ff ff ff ff - 56 01 2d 00 dc 62 8c 00 .>......V.-..b..
0012fd28 d8 ee 30 00 06 00 00 00 - 08 4e 88 00 30 07 89 00 ..0......N..0...
0012fd38 00 00 00 00 10 4c 88 00 - 02 00 00 00 24 d4 8c 00 .....L......$...
0012fd48 68 fd 12 00 0c 4c 88 00 - 68 fd 12 01 80 00 00 00 h....L..h.......
0012fd58 1b 00 00 00 d8 ee 30 00 - 06 00 00 00 0c 4c 88 00 ......0......L..
0012fd68 70 fd 12 00 51 ce 2d 00 - f0 fd 12 00 dc 60 2b 00 p...Q.-......`+.
0012fd78 01 00 00 00 c4 c4 88 00 - 54 c5 88 00 0c fe 12 00 ........T.......
0012fd88 f0 fd 12 00 08 4e 88 00 - d8 ee 30 00 06 00 00 00 .....N....0.....
0012fd98 78 fd 12 00 ed 5f 2b 00 - b0 ff 12 00 ff ff ff ff x...._+.........
0012fda8 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012fdb8 00 00 00 00 00 00 00 00 - 00 00 00 00 42 00 00 00 ............B...
0012fdc8 00 00 b0 fd 12 00 00 00 - c4 c4 88 00 00 00 00 00 ................
0012fdd8 00 00 00 00 2c 44 24 00 - 03 00 00 00 08 00 00 00 ....,D$.........
0012fde8 00 00 00 00 04 4c 88 00 - 44 fe 12 00 13 85 2b 00 .....L..D.....+.
0012fdf8 c4 c4 88 00 06 00 00 00 - 58 f0 88 00 c4 c4 88 00 ........X.......
0012fe08 01 00 00 00 0c ff 12 00 - 44 fe 12 00 54 c5 88 00 ........D...T...
0012fe18 01 00 00 00 c4 c4 88 00 - 00 fe 12 00 92 84 2b 00 ..............+.
0012fe28 b0 ff 12 00 ff ff ff ff - 00 00 00 00 00 19 2a 00 ..............*.

@p5pRT
Copy link
Author

p5pRT commented Jun 11, 1999

From wgd@adelaide.on.net

altest.pl

@p5pRT
Copy link
Author

p5pRT commented Jun 11, 1999

From wgd@adelaide.on.net

Summary of my perl5 (5.0 patchlevel 5 subversion 03) configuration​:
  Platform​:
  osname=MSWin32, osvers=4.0, archname=MSWin32-x86-object
  uname=''
  hint=recommended, useposix=true, d_sigaction=undef
  usethreads=undef useperlio=undef d_sfio=undef
  Compiler​:
  cc='cl.exe', optimize='-Od -MD -DNDEBUG -TP -GX', gccversion=
  cppflags='-DWIN32'
  ccflags ='-Od -MD -DNDEBUG -TP -GX -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_OBJECT'
  stdchar='char', d_stdstdio=define, usevfork=false
  intsize=4, longsize=4, ptrsize=4, doublesize=8
  d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
  alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries​:
  ld='link', ldflags ='-nologo -nodefaultlib -release -machine​:x86'
  libpth="C​:\Perl\lib\core"
  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 wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib PerlCRT.lib
  libc=C​:\Perl\lib\CORE\PerlCRT.lib, so=dll, useshrplib=yes, libperl=perlcore.lib
  Dynamic Linking​:
  dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
  cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -machine​:x86'

Characteristics of this binary (from libperl)​:
  Locally applied patches​:
  ActivePerl Build 516
  Built under MSWin32
  Compiled at May 14 1999 19​:54​:31
  @​INC​:
  C​:/Perl/lib
  C​:/Perl/site/lib
  .

@IM-TECHNO
Copy link

Why hasn't this been closed yet ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants