bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stack overflow with sed version 2.02 on WinNT 4.00. 1381 service pack 4


From: Peto, Carl
Subject: stack overflow with sed version 2.02 on WinNT 4.00. 1381 service pack 4
Date: Fri, 17 Nov 2000 06:47:51 -0600

I was attempting to strip trailing blanks from the large (1370274 bytes
according to wc) file full_query.csv to make it a smaller file!

The first command line I tried didn't work:

C:\WINNT\Profiles\peto_c\DESKTOP\comparison>sed -e "s/ *$//" full_query.csv
sed: Unterminated `s' command



So (after a few other attempts) I tried this...
(most of the intervening sections of the output lines replaced by elipsis to
hide sensitive information)

C:\WINNT\Profiles\peto_c\DESKTOP\comparison>sed -e "s/ *$//;: frank"
full_query.csv
AAS '001000..._AGENT'
AAS '00100...Agent_H
Istori..._Histor
ies.End..._AGENT'
AAS '001000..._via_v,   :
Ser..._PARAM'
AAS '00100..._Start,   :Cu
rr_Ag..._SQL'

C:\WINNT\Profiles\peto_c\DESKTOP\comparison>sed -V
GNU sed version 2.02

C:\WINNT\Profiles\peto_c\DESKTOP\comparison>


During the running, after the 4th line the display hung and DrWatson started
up (log attached as appendix to this email).  All the lines of the input
file are 10,000 characters long (plus CR LF) with most being trailing space.
The 4th line had 221 non-blank characters and the fifth line 827 non-blank
characters.

Thanks for any help you can give.

Regards,
Carl Peto,
London,
England


Contents of c:\winnt\drwtsn32.log...
(possibly sensitive information replaced by elipsis)

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



Application exception occurred:
        App:  (pid=68)
        When: 11/17/2000 @ 12:8:47.162
        Exception number: c00000fd (stack overflow)

*----> System Information <----*
        Computer Name: ...
        User Name: ...
        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: ...

*----> Task List <----*
   0 Idle.exe
   2 System.exe
  20 smss.exe
  30 CSRSS.exe
  34 WINLOGON.exe
  40 SERVICES.exe
  43 LSASS.exe
  70 SPOOLSS.exe
  86 CPQALERT.exe
  90 CPQRCMC.exe
  71 DkService.exe
  77 Control.exe
 109 RPCSS.exe
  47 ATSVC.exe
 115 TCPSVCS.exe
 103 PCMSVC32.exe
 127 SNMP.exe
 130 SUSS.exe
 139 NDDEAGNT.exe
 158 WUSER32.exe
 178 PSTORES.exe
 162 EXPLORER.exe
 208 CHKADMIN.exe
 207 LOADWC.exe
 212 FINDFAST.exe
 214 outlook.exe
 204 OSA.exe
 188 HOTSYNC.exe
 206 APPCTL32.exe
 152 CLIMONNT.exe
  39 SWEEPSRV.SYS.exe
 236 MAPISP32.exe
  57 SWNETSUP.exe
 239 SWUPDATE.exe
 243 cdplayer.exe
  59 CMD.exe
 230 MAN.exe
 232 CMD.exe
 153 MORE.exe
 284 CMD.exe
 280 WORDPAD.exe
  68 sed.exe
 277 DRWTSN32.exe
   0 _Total.exe

(00400000 - 00400000) 
(77f60000 - 77fbc000) dll\ntdll.dbg
(77630000 - 77657000) dll\crtdll.dbg
(77f00000 - 77f5e000) dll\kernel32.dbg
(00240000 - 00240000) 
(77e70000 - 77ec4000) dll\user32.dbg
(77ed0000 - 77efc000) dll\gdi32.dbg
(77dc0000 - 77dff000) dll\advapi32.dbg
(77e10000 - 77e67000) dll\rpcrt4.dbg
(776d0000 - 776d8000) dll\wsock32.dbg
(776b0000 - 776c4000) dll\ws2_32.dbg
(78000000 - 78040000) 
(776a0000 - 776a7000) dll\ws2help.dbg

State Dump for Thread Id 0x10a

eax=00032dc0 ebx=0014f8b8 ecx=fffffff0 edx=0014f8b8 esi=0014ffac
edi=00032dcc
eip=0040a529 esp=00032dc0 ebp=0012fe80 iopl=0         nv up ei pl nz na po
nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000
efl=00000206


function: <nosymbols>
        0040a509 8b8578ffffff     mov     eax,[ebp+0xffffff78]
ss:0012fdf8=00000b00
        0040a50f 29c4             sub     esp,eax
        0040a511 89e0             mov     eax,esp
        0040a513 eb0f             jmp     0040a524
        0040a515 90               nop
        0040a516 8b8574ffffff     mov     eax,[ebp+0xffffff74]
ss:0012fdf4=00000000
        0040a51c 8b30             mov     esi,[eax]
ds:00032dc0=00000000
        0040a51e 89b574ffffff     mov     [ebp+0xffffff74],esi
ss:0012fdf4=00000000
        0040a524 89c7             mov     edi,eax
        0040a526 83c70c           add     edi,0xc
FAULT ->0040a529 897808           mov     [eax+0x8],edi
ds:011517c6=????????
        0040a52c 8b9d78ffffff     mov     ebx,[ebp+0xffffff78]
ss:0012fdf8=00000b00
        0040a532 2b9d7cffffff     sub     ebx,[ebp+0xffffff7c]
ss:0012fdfc=0000002c
        0040a538 895804           mov     [eax+0x4],ebx
ds:011517c6=????????
        0040a53b 8b7580           mov     esi,[ebp-0x80]
ss:0124e886=????????
        0040a53e 8930             mov     [eax],esi
ds:00032dc0=00000000
        0040a540 894580           mov     [ebp-0x80],eax
ss:0124e886=????????
        0040a543 eb10             jmp     0040a555
        0040a545 90               nop
        0040a546 8b9d7cffffff     mov     ebx,[ebp+0xffffff7c]
ss:0012fdfc=0000002c
        0040a54c 8b7d80           mov     edi,[ebp-0x80]
ss:0124e886=????????
        0040a54f 015f08           add     [edi+0x8],ebx
ds:011517d2=????????

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

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0012fe80 0040a9f2 001451e8 00000000 00000000 0014c528 <nosymbols> 

*----> Raw Stack Dump <----*
00032dc0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
00032dd0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
00032de0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
00032df0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
00032e00  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
00032e10  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
00032e20  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
00032e30  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
00032e40  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
00032e50  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
00032e60  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
00032e70  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
00032e80  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
00032e90  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
00032ea0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
00032eb0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
00032ec0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
00032ed0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
00032ee0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
00032ef0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................



reply via email to

[Prev in Thread] Current Thread [Next in Thread]