wd and ps crashes Proc32

This is a follow-up on the (rather long) thread
“/bin/wd and Proc32 crash”.

The following steps crashes Proc32 (here at my site).

  1. A fresh install from “QNX Product Suite CD July 2003” of

QNX 4.25
Photon 1.14 runtime
Watcom C 10.6
TCP/IP

with all relevant patches.

  1. Configure TCP/IP
    add ‘qnx1’ entry in /etc/hosts
    modify /etc/config/bin/tcpip.1 (attached)

  2. Reboot

  3. Log in as root

  4. Start Photon (ph)

  5. Open a pterm and type wd

  6. Open a pterm and type ps

and Proc32 crashes. I assume it is the same
dump message as before, attached below.

If I reboot and press ESC for alternate boot image
it doesn’t seem to crash, not even after running tcpip.1
manually.

If I reboot, slay Socket, Proc32 crashes anyway.

But the behaviour is not consistent. If I mask out
all entries in tcpip.1, I still get Proc32 crashes.

Comments ?

brgds

Per Åkesson
Carmenta AB


******* Proc32 dump message *********

Proc output to serial port 3f8 at 9600 baud
Path=0 - EIDE
target=0 lun=0 Direct-Access(0) - QUANTUM FIREBALL Rev:


Version: 425.O Aug 19 2002 Technical Support: +1 (613) 591-0941
Proc fault 1, ldt 100 /boot/sys/Proc32; fault e+0
cs:eip=5:7dd9 ss:esp=d:f7c0f78 efl=12287 ds=d es=8 fs=0 gs=0
eax/ff814fc ebx/ff814fc ecx/0 edx/ff81500 esi/0 edi/4ff1bd ebp/f7c0f7c
Stack (d:f7c0f78)
00000001 0f7c0fa0 00000001 0001667c 00007100 0000d2fc 80000089 f053f1bd
00010000 000000f8 0f7c0fb4 00000000 00023180 0000cd8b 00000099 0f7c0fe8
00000000 000059fd 0000000d 00003882 0f7c0fd0 00005768 00003880 0000000d
00000610 00003880 0000000d 00000016 00000001 000059e5 000059fd 0f7c0935
Process Entry (addr 5aa4)
00000000 00000001 00000000 00000001 00000000 00000000 30020207 00001e1e
000058d8 0100000d 00005b5c ffffffff 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000501 000d0005 00007118 00000000 00000001
00000010 00000000 00000182 0000c140 00000000 00000000 0001e1a0 00000000
00000000 00000000 00000000 ffff0001 00000000 00000000 00000000


******** /etc/config/bin/tcpip.1 **********

export SOCK=$NODE

/usr/ucb/Socket qnx1 &
/usr/ucb/ifconfig lo0 localhost up
/usr/ucb/ifconfig en1 qnx1 up


Per Åkesson
Carmenta AB
SWEDEN

I have simplified the steps to make Proc32 crash even further.

  1. Install

QNX 4.25
Photon 1.14 Runtime
Watcom C 10.6

  1. Add

export DUMMY=DUMMY

before test of tcp.1 in sysinit.1

  1. reboot

  2. start Photon (Pg.vg4 driver)

  3. open a pterm and type wd

  4. open a pterm and type ps (sin does NOT make Proc32 crash)


    I really hope you are able to reproduce this crash.

brgds


Per Åkesson
Carmenta AB
SWEDEN