Opened 17 years ago
Closed 17 years ago
#59 closed defect (fixed)
TRAP during boot in UNIAUD16 debug version RC3
Reported by: | Yoda | Owned by: | greenemk |
---|---|---|---|
Priority: | highest | Milestone: | Stabilization |
Component: | UNIAUD16 | Version: | 1.1.4 |
Severity: | blocker | Keywords: | |
Cc: |
Description
UNIAUD16 debug version of released RC3 Traps when loaded in config.sys:
*0008# 0001 0000 0000 0008 run 0300 f9207000 ffde1898 fe6b3238 0e28 00 *asyncr
eax=00000000 ebx=00000000 ecx=00000002 edx=01300000 esi=00000000 edi=00002c3c eip=000015d1 esp=00000fc6 ebp=00000fe6 iopl=0 -- -- -- nv up ei pl zr na pe nc cs=013b ss=001f ds=0130 es=0b00 fs=0130 gs=004f cr2=00000000 cr3=00211000 p=00 013b:000015d1 c9 leave # Loading version data ... please wait Loading structure info for eCS 2.0 SMP ... please wait. ....Structure definition file (warp45_s\kernel.sdf) loaded. Done.
#
TRAP SCREEN INFORMATION
OS/2 Kernel Revision 14.104b_SMP Exception in module: UNIAUD16
TRAP 000d ERRCD=ff74 ERACC=00fb ERLIM=00004aaf CPU=01
EAX=00000092 EBX=f9200092 ECX=00000093 EDX=00000490 ESI=fe6b0000 EDI=0000001f EBP=00004e6e FLG=00010216 CS:EIP=3f00:00005f0f CSACC=009b CSLIM=0000f844 SS:ESP=1530:00004e5c SSACC=1097 SSLIM=00003fff DS=3ef8 DSACC=0093 DSLIM=000080d4 CR0=8001003b ES=0490 ESACC=0093 ESLIM=00000151 CR2=fa155000 FS=0000 FSACC= FSLIM= GS=0000 GSACC= GSLIM= 3f00:0000592d UNIAUD16 _DDCMD_EntryPoint + 5e2
#
Change History (7)
comment:1 by , 17 years ago
Milestone: | → 1.1.5 |
---|---|
Version: | → 1.1.4 |
follow-up: 3 comment:2 by , 17 years ago
comment:3 by , 17 years ago
comment:4 by , 17 years ago
Owner: | set to |
---|
follow-up: 6 comment:5 by , 17 years ago
Problem is in mif\drvmake.mif creating uniaud16.lnk. Current file reads:
!ifdef DEBUG
@%write $@ segment _DEBUGTEXT PRELOAD SHARED IOPL READWRITE
!endif
But should be:
!ifdef %DEBUG
@%write $@ segment _DEBUGTEXT PRELOAD SHARED IOPL READWRITE
!endif
Segment option was not being included in DEBUG build causing the code to be discarded after INIT and leading to a TRAP D.
Fix verified on my system, and once Allan verifies, recommend committing and closing.
comment:6 by , 17 years ago
!ifdef %DEBUG
I can confirm, that debug build is now working with this fix.
comment:7 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixed in changeset:264
One down, more to go :)
I tested.
A debug build of Revision 237 source:/OCO/trunk#237 does not trap. A debug build of Revision 238 source:/OCO/trunk#238 traps.
Changeset [238] is "Mike's new build system, switch to wasm and use Mike's new OWDDK"
It would be good to try to break this changeset down and see which part of it causes the trap. There are code changes, makefile changes, a new set of DDK changes, a change in linker, and a change in assembler.