Core Dump - what is this problem?

When a program I created runs, it results in the following core dump.
This is inside an interrupt handling routine. Also, the DIO board
shares
an IRQ with a NIC. Is that the issue, or what is happening?

[ CUT ]

interrupt handler
faulted


Version: 425.M Sep 05 2001 Technical Support: +1 (613) 591-0941
kernel fault ldt c28 fault d+0
(pid = 870, ‘//1/HK/bin/dio’)
cs:eip=10a0:3a2c ss:esp=f8:13fc efl=12216 ds=d es=0 fs=0 gs=0
eax/0 ebx/1 ecx/d edx/0 esi/1450 edi/0 ebp/1450
Stack (f8:13c0)
00000000 00000000 00000000 0000000d 00000000 00001450 00001450 000013f0
00000001 00000000 0000000d 00000000 00003a2c 000010a0 00012216 000000f8
0000000d 00001450 00001f7d 00000004 000000f8 000000f8 0000416d 00001440
00001460 00001474 00001454 00000002 00001480 00001468 0001000d 00000000
000135e0 0000000d 00000001 0000206e 00000000 000f4240 000003e8 00000030
00022ff8 000010ec 00001488 00000000 000135e0 000032f8 0000000d 00000c28
000011d1 000014bc 000014bc 00000000 000135e0 000032f8 0000000d 00000c28
00000ea8 000000f0 000032bc 0000000c 0000010a 0000000c 00000138 00000000

[ CUT ]

Thanks in advance,

~ Jeffrey Jordan


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
/ \ | __ ) | ~Jeffrey Jordan jordanj@abc-naco.com
/ | \ | _ ( Phone: (610)630-2330x216 jljordan@wans.net
/ ++ \ | ) (
Fax: (610)630-2323
|
| |||/_| 2550 Blvd. o/t Generals, Norristown PA 19403
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

“Jeffrey O L Jordan” <jljordan@wans.net> wrote in message
news:3BE6F6F3.C8FB28FA@wans.net

When a program I created runs, it results in the following core dump.
This is inside an interrupt handling routine.

Would you post the code of your interrupt handler. I suspect you are
calling
an illegal function (most C function cannot be used inside a ISR). Other
possibility is a bug in the code that creates a SIGSEGV. Could also be
a stack overflow, ISR uses the kernal STACK which is rather small.

Also, the DIO board
shares an IRQ with a NIC. Is that the issue, or what is happening?

It’s not an issue if the DIO board is PCI and if your handler behaves
properly. Your handler should check if the source of the interrupt
is the DIO board, if not if should exit and do nothing.


[ CUT ]

interrupt handler
faulted


Version: 425.M Sep 05 2001 Technical Support: +1 (613) 591-0941
kernel fault ldt c28 fault d+0
(pid = 870, ‘//1/HK/bin/dio’)
cs:eip=10a0:3a2c ss:esp=f8:13fc efl=12216 ds=d es=0 fs=0 gs=0
eax/0 ebx/1 ecx/d edx/0 esi/1450 edi/0 ebp/1450
Stack (f8:13c0)
00000000 00000000 00000000 0000000d 00000000 00001450 00001450 000013f0
00000001 00000000 0000000d 00000000 00003a2c 000010a0 00012216 000000f8
0000000d 00001450 00001f7d 00000004 000000f8 000000f8 0000416d 00001440
00001460 00001474 00001454 00000002 00001480 00001468 0001000d 00000000
000135e0 0000000d 00000001 0000206e 00000000 000f4240 000003e8 00000030
00022ff8 000010ec 00001488 00000000 000135e0 000032f8 0000000d 00000c28
000011d1 000014bc 000014bc 00000000 000135e0 000032f8 0000000d 00000c28
00000ea8 000000f0 000032bc 0000000c 0000010a 0000000c 00000138 00000000

[ CUT ]

Thanks in advance,

~ Jeffrey Jordan


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
/ \ | __ ) | ~Jeffrey Jordan > jordanj@abc-naco.com
/ | \ | _ ( Phone: (610)630-2330x216 > jljordan@wans.net
/ ++ \ | ) (
Fax: (610)630-2323
|
| |||/_| 2550 Blvd. o/t Generals, Norristown PA 19403
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Mario:

I have posted the code in a new chain - sorry.

Look at the “Code changes…” thread.

~ Jeff


Mario Charest wrote:

“Jeffrey O L Jordan” <> jljordan@wans.net> > wrote in message
news:> 3BE6F6F3.C8FB28FA@wans.net> …
When a program I created runs, it results in the following core dump.
This is inside an interrupt handling routine.

Would you post the code of your interrupt handler. I suspect you are
calling
an illegal function (most C function cannot be used inside a ISR). Other
possibility is a bug in the code that creates a SIGSEGV. Could also be
a stack overflow, ISR uses the kernal STACK which is rather small.

Also, the DIO board
shares an IRQ with a NIC. Is that the issue, or what is happening?

It’s not an issue if the DIO board is PCI and if your handler behaves
properly. Your handler should check if the source of the interrupt
is the DIO board, if not if should exit and do nothing.


[ CUT ]

interrupt handler
faulted


Version: 425.M Sep 05 2001 Technical Support: +1 (613) 591-0941
kernel fault ldt c28 fault d+0
(pid = 870, ‘//1/HK/bin/dio’)
cs:eip=10a0:3a2c ss:esp=f8:13fc efl=12216 ds=d es=0 fs=0 gs=0
eax/0 ebx/1 ecx/d edx/0 esi/1450 edi/0 ebp/1450
Stack (f8:13c0)
00000000 00000000 00000000 0000000d 00000000 00001450 00001450 000013f0
00000001 00000000 0000000d 00000000 00003a2c 000010a0 00012216 000000f8
0000000d 00001450 00001f7d 00000004 000000f8 000000f8 0000416d 00001440
00001460 00001474 00001454 00000002 00001480 00001468 0001000d 00000000
000135e0 0000000d 00000001 0000206e 00000000 000f4240 000003e8 00000030
00022ff8 000010ec 00001488 00000000 000135e0 000032f8 0000000d 00000c28
000011d1 000014bc 000014bc 00000000 000135e0 000032f8 0000000d 00000c28
00000ea8 000000f0 000032bc 0000000c 0000010a 0000000c 00000138 00000000

[ CUT ]

Thanks in advance,

~ Jeffrey Jordan


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
/ \ | __ ) | ~Jeffrey Jordan > jordanj@abc-naco.com
/ | \ | _ ( Phone: (610)630-2330x216 > jljordan@wans.net
/ ++ \ | ) (
Fax: (610)630-2323
|
| |||/_| 2550 Blvd. o/t Generals, Norristown PA 19403
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-