System crash problem while handling serial interrupts.

Hi,

We are experiencing system crashes and below is a copy of the dump
we receive. We are running a serial interface driver using the COM
interrupts
to service input and output. We are also getting a timestamp from the RTC
when data is received from the serial port and applying that time to the
data

The system is running with Debugger32 built into the /.boot bootloader.

The crashes always appear to take place while performing a floating point
operation in our serial interface driver.

Version: 425.L Feb 15 2001 Technical Support: +1 (613) 591-0941
Proc fault 1, ldt 100 sys/Proc32; fault e+0
cs:eip=5:89c1 ss:esp=d:f7c0f50 efl=12097 ds=d es=d es=d fs=0 gs=0
eax/4494 ebx/3c78eb15 ecx/1afcafb edx/1 esi/0 edi/1 ebp/f7c0f5c
Stack (d:f7c0f50)
3ad1e038 01afcaf6 00000001 0f7c0fa0 00003820 00015410 00008a48 00003820
00015410 00008000 3ad1e038 00008c04 0004c980 00000000 00000000 00000000
3c78eb15 00000000 00000001 80000001 0f7c0fb8 00000000 00005979 0004e980
00008fd5 00000018 0f7c0fe8 00005979 0000000b 00003822 0f7c0fd0 000057aa
Process Entry (addr 00005aac)
00000000 00000001 00000000 00000001 00000000 00000000 30020207 00001c1c
00005854 0100000d 00005b64 ffffffff 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00003201 000d0005 00009458 00000000 000000d4
00000022 00000000 0000011f 000175c0 00000000 00000000 00027170 00000000
00000000 00000000 00000000 ffff0001 00000000 00000000 00000000
TRAP:
cs/00f0 ss/00f8 ds/00f8 es/00f8 fs/0000 gs/0000 ldt/0100
edi/000000e esi/00005aac ebp/00001500 ebx/00005b48 edx/000000f8
ecx/00000f8 eax/00000780 eip/0000712b esp/000014e4 psw/00002013


Node CPU Machine Speed Memory Ticksize Display
Flags
210 586/587 PCI 41578 44732k/66711k 1.0ms VGA
Color -3P±---------8P

Heapp Heapf Heapl Heapn Hands Names Sessions Procs Timers Nodes Virtual
0 0 30256 0 64 100 64 2000 125 261 12M/
83M

Boot from Hard at Feb 25 09:07 Locators: 210

Here are the version we are running.

PROGRAM NAME VERSION DATE
sys/Proc32 Proc 4.25L Feb 15 2001
sys/Proc32 Slib16 4.23G Oct 04 1996
sys/Slib32 Slib32 4.24B Aug 12 1997
/bin/Fsys Fsys32 4.24V Feb 18 2000
/bin/Fsys.eide eide 4.25A Feb 09 2000
//210/bin/Dev32 Dev32 4.23G Oct 04 1996
//210/bin/Dev32.ansi Dev32.ansi 4.23H Nov 21 1996
//210/bin/Dev32.par Dev.par 4.26 Feb 24 2000
//210/bin/Dev32.pty Dev32.pty 4.23G Oct 04 1996
//210/bin/Pipe Pipe 4.23A Feb 26 1996
//210/bin/Net Net 4.25C Aug 30 1999
//210//Net.ether9000 Net.ether900 4.24E Jan 17 2001
//210/
/usr/ucb/Socket Socket 4.25C Aug 19 1998
//210/bin/Mqueue mqueue 4.24A Aug 30 1999
//210/bin/Dev32.ser Dev32.ser 4.23I Jun 27 1997
//210/bin/cron cron 4.23B Oct 30 1997
//210/usr/bin/lpsrvr lpsrvr 4.24A Jun 26 1997
//210//bin/Photon Photon 1.14B Sep 03 1999
//210/
/bin/phfontpfr Photon Font 1.14H Jun 05 2000


\

Ivan Bannon
RJG Inc.

HI

If you are using the serial port PC to PC (with a serial cable) try to
remove the RING INDICATOR.

We have the same problem with a multiport in QNX 4.25, after remove the ring
indicator work fine.

Regards.

Daniel.-

“Ivan Bannon” <ivan.bannon@rjginc.com> escribió en el mensaje
news:a5dorh$a5i$1@inn.qnx.com

Hi,

We are experiencing system crashes and below is a copy of the dump
we receive. We are running a serial interface driver using the COM
interrupts
to service input and output. We are also getting a timestamp from the RTC
when data is received from the serial port and applying that time to the
data

The system is running with Debugger32 built into the /.boot bootloader.

The crashes always appear to take place while performing a floating
point
operation in our serial interface driver.

Version: 425.L Feb 15 2001 Technical Support: +1 (613) 591-0941
Proc fault 1, ldt 100 sys/Proc32; fault e+0
cs:eip=5:89c1 ss:esp=d:f7c0f50 efl=12097 ds=d es=d es=d fs=0 gs=0
eax/4494 ebx/3c78eb15 ecx/1afcafb edx/1 esi/0 edi/1 ebp/f7c0f5c
Stack (d:f7c0f50)
3ad1e038 01afcaf6 00000001 0f7c0fa0 00003820 00015410 00008a48 00003820
00015410 00008000 3ad1e038 00008c04 0004c980 00000000 00000000 00000000
3c78eb15 00000000 00000001 80000001 0f7c0fb8 00000000 00005979 0004e980
00008fd5 00000018 0f7c0fe8 00005979 0000000b 00003822 0f7c0fd0 000057aa
Process Entry (addr 00005aac)
00000000 00000001 00000000 00000001 00000000 00000000 30020207 00001c1c
00005854 0100000d 00005b64 ffffffff 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00003201 000d0005 00009458 00000000 000000d4
00000022 00000000 0000011f 000175c0 00000000 00000000 00027170 00000000
00000000 00000000 00000000 ffff0001 00000000 00000000 00000000
TRAP:
cs/00f0 ss/00f8 ds/00f8 es/00f8 fs/0000 gs/0000 ldt/0100
edi/000000e esi/00005aac ebp/00001500 ebx/00005b48 edx/000000f8
ecx/00000f8 eax/00000780 eip/0000712b esp/000014e4 psw/00002013


Node CPU Machine Speed Memory Ticksize Display
Flags
210 586/587 PCI 41578 44732k/66711k 1.0ms VGA
Color -3P±---------8P

Heapp Heapf Heapl Heapn Hands Names Sessions Procs Timers Nodes Virtual
0 0 30256 0 64 100 64 2000 125 261 12M/
83M

Boot from Hard at Feb 25 09:07 Locators: 210

Here are the version we are running.

PROGRAM NAME VERSION DATE
sys/Proc32 Proc 4.25L Feb 15 2001
sys/Proc32 Slib16 4.23G Oct 04 1996
sys/Slib32 Slib32 4.24B Aug 12 1997
/bin/Fsys Fsys32 4.24V Feb 18 2000
/bin/Fsys.eide eide 4.25A Feb 09 2000
//210/bin/Dev32 Dev32 4.23G Oct 04 1996
//210/bin/Dev32.ansi Dev32.ansi 4.23H Nov 21 1996
//210/bin/Dev32.par Dev.par 4.26 Feb 24 2000
//210/bin/Dev32.pty Dev32.pty 4.23G Oct 04 1996
//210/bin/Pipe Pipe 4.23A Feb 26 1996
//210/bin/Net Net 4.25C Aug 30 1999
//210//Net.ether9000 Net.ether900 4.24E Jan 17 2001
//210/
/usr/ucb/Socket Socket 4.25C Aug 19 1998
//210/bin/Mqueue mqueue 4.24A Aug 30 1999
//210/bin/Dev32.ser Dev32.ser 4.23I Jun 27 1997
//210/bin/cron cron 4.23B Oct 30 1997
//210/usr/bin/lpsrvr lpsrvr 4.24A Jun 26 1997
//210//bin/Photon Photon 1.14B Sep 03 1999
//210/
/bin/phfontpfr Photon Font 1.14H Jun 05 2000


\

Ivan Bannon
RJG Inc.