From: | Paul Hill |
Date: | 5 Sep 2001 at 18:15:19 |
Subject: | Re: [amiga-c] Help needed with random crashing problem |
On 05-Sep-01 15:11:45, Paul Qureshi wrote:
>Hi all.
>I have a problem with my code, and I just can't find the bug. My
>software is for playing MP3s in my car with an A1200 and LCD display. It
>uses MHI for decoding the MP3s.
Does it work when the car is stationary?
>The software works fine on my A4000, and is perfectly stable. Tha A4000
>has 3.1 ROMs and OS3.9. However, the A1200 has OS3.0 with a basic OS3.0
>system installed. On the A1200, the program seems to crash randomly
>after a few minuites of playing. Sometimes the A1200 resets, and
>sometimes it won't start up again until another reset is done via the
>keyboard. Other times it just locks up.
>I have tested with Enforcer, and have run various memory checking
>utilities on the A1200. I tested the HD too, just to be sure. The
>A1200's 030 seems to get fairly warm, I need to try a fan on it, but I
>think it's basically a software problem.
Have you tried putting lots of debug statements in the code?
I normally stick tons of kprintf()s in the code until I've narrowed it down
to where the fault is. This way I can use either Sushi or a serial
terminal to monitor what's going on. kprintf is in debug.lib BTW.
Alternatively, have you tried running it in a monitor (Monam, AMon, ...)?
I just thought. It's not a something as silly as a stack problem?
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Secure your servers with 128-bit SSL encryption! Grab your copy of VeriSign's FREE Guide: "Securing Your Web Site for Business." Get it Now!
http://us.click.yahoo.com/n7RbFC/zhwCAA/yigFAA/dpFolB/TM
---------------------------------------------------------------------~->
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/