Opened 11 years ago

Closed 11 years ago

#20 closed defect (fixed)

list command key 'I' crashes 4os2

Reported by: andi.b Owned by: Steven Levine
Priority: major Milestone: Version-3.09
Component: Base Version: 3.08
Keywords: Cc:

Description

f.i. 'list config.sys' then hit key 'I' for file info gives crash -

11-01-2013  13:25:59  SYS3175  PID 00fb  TID 0001  Slot 0175
P:\4OS2\4OS2.EXE
c0000005
0004c077
P1=00000001  P2=00000000  P3=XXXXXXXX  P4=XXXXXXXX  
EAX=00000000  EBX=fffffff8  ECX=ffffffff  EDX=7fffffff
ESI=0007be38  EDI=00000000  
DS=0053  DSACC=f0f3  DSLIM=ffffffff  
ES=0053  ESACC=f0f3  ESLIM=ffffffff  
FS=150b  FSACC=00f3  FSLIM=00000030
GS=0000  GSACC=****  GSLIM=********
CS:EIP=005b:0004c077  CSACC=f0df  CSLIM=ffffffff
SS:ESP=0053:0007adfc  SSACC=f0f3  SSLIM=ffffffff
EBP=fffffff8  FLG=00010246

4OS2.EXE 0002:0002c077

Other keys work. Maybe related to LFS extensions but no one reported this till now.

Change History (3)

comment:1 by Steven Levine, 11 years ago

Owner: set to Steven Levine
Status: newassigned

This is a side effect of the LONGLONG changes in changeset 36306. This causes the sprintf at listc.c:369 to trap. I am looking at an update to _fmtout() that will support LONGLONG formatting.

comment:2 by Steven Levine, 11 years ago

Resolved by changeset 37507.

It turns out that 4OS2's _fmtout supports %q which is more or less equivalent to the typical clib %lld.

comment:3 by Steven Levine, 11 years ago

Milestone: Version-3.09
Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.