[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom ["stuart warren" <swarren@btr-auto.aust.com>] (fwd)



>From owner-rtl Tue May 29 20:17:35 2001
Received: from mta01.mail.mel.aone.net.au (mta01.mail.au.uu.net [203.2.192.81])
	by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f4U2HYs30055
	for <rtl@rtlinux.org>; Tue, 29 May 2001 20:17:34 -0600
Received: from BTR-COM1.btr-auto.aust.com ([203.108.33.26])
          by mta01.mail.mel.aone.net.au with SMTP
          id <20010530021217.FMQB351.mta01.mail.mel.aone.net.au@BTR-COM1.btr-auto.aust.com>;
          Wed, 30 May 2001 12:12:17 +1000
content-class: urn:content-classes:message
Subject: RE: [rtl] Bug???
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
Date: Wed, 30 May 2001 11:45:59 +1000
Message-ID: <A3A5582AC3AFD448A7C0BD2DB7EFDC5F07D45D@BTR-COM1.btr-auto.aust.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [rtl] Bug???
Thread-Index: AcDoqNaeGsTycQIpTLKWdPT+UxzXLAAAQGNg
From: "stuart warren" <swarren@btr-auto.aust.com>
To: <rtl@fsmlabs.com>
Cc: <rtl@rtlinux.org>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by hq.fsmlabs.com id f4U2HZs30060

Victor,

I figured this was normal behaviour when rtl_printf was being called too
much.
We've seen crashes like this for a the final 3.0pre release, and I'm
pretty sure we've seen it with 3.0 as well.

Cheers,
Stuart Warren

-----Original Message-----
From: Victor Yodaiken [mailto:yodaiken@fsmlabs.com]
Sent: Tuesday, 29 May 2001 19:35
To: rtl@fsmlabs.com
Cc: rtl@rtlinux.org
Subject: Re: [rtl] Bug???


On Thu, May 24, 2001 at 12:00:29AM +0800, George Doukas wrote:
> I wrote this simple module for RTLinux...
> 
> #include <rtl.h>
> #include <time.h>
> #include <rtl_sched.h>
> #include <rtl_sync.h>
> 
> pthread_t	thread;
> 
> void * thread_code(void *t) {
> 	int i,j;
> 
> 	for (i=0;i<10;i++) {
> 			for(j=0;j<10;j++) 
> 				rtl_printf("-");
> 		}
> 	
> 	pthread_suspend_np(thread);
> 	return (void *)0;
> }
> 
> int init_module(void) {
> 	pthread_create(&thread,NULL,thread_code,0);
> 	return 0;
> }	
> 
> void cleanup_module(void) {
> 	pthread_delete_np(thread);
> }
> 
> There was no problem runing it.
> 
> But when I changed the second for loop...
> for (i=0;i<10;i++) {
> 	for(j=0;j<1000;j++) 
> 		rtl_printf("-");
> 	}
> I got this message:
> "Aiee, killing interrupt handler
> Kernel panic:Attempted to kill the idle task!
> In interrupt handler - not syncing."
> 
> Why?
> Is there a maximum limit to the time that a RT process is runing?

What version of RTLinux and what compile options? 

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/