To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 866
865  |  867
Subject: 
Re: Odd behavior
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 28 Feb 2000 08:55:06 GMT
Viewed: 
1182 times
  
I saw the same behavior some time ago when I worked on a pretty fat program
(about 6KB compiled code). Sometimes it worked OK, then I removed my debug
code (some cputs defined by macros) and it hanged miserably... I thought it
was some kind of pointer error, but after reading your posts I'm not very
sure of that... Perhaps some kind of linker (dll) error?

Toni Martinez-Colom


Michael J Ash <mikeash@csd.uwm.edu> wrote in message
news:200002260804.CAA30985@alpha3.csd.uwm.edu...
I'm having a bit of trouble with dll and I was hoping someone kind on
this list might be able to help me out.

Basically, I have a program that's grown to become fairly large and
complex, and I can no longer download it to the RCX. There's one
particularly complicated function, and if I comment out the body of it
everything works fine. If I leave it in, the .lx file won't download.
However, the full-sized program is only 4998 bytes, which doesn't seem
like it would be nearly enough to cause memory problems within the RCX,
even when adding in the OS and such things. With that one function
commented out, it weighs in a hair under 4000 bytes, and downloads fine.
Other programs also download fine. I'm downloading into program slot 0 on
the RCX, and it doesn't have any other programs on it.

Anybody know what's going on and how to fix it? Many, many thanks in
advance.

--
"Dost thou think that because thou art virtuous
there shall be no more cakes and ale?"
     - William Shakespeare
http://www.mikeash.com/     mail@mikeash.com




Message has 2 Replies:
  Re: Odd behavior
 
(...) I'm not so sure about my problem either. In fact, I'm getting some mysterious hangs much like you describe now that things are working. Maybe I'll try putting in some cputs or similar. -- "Our doubts are traitors, and make us lose the good we (...) (25 years ago, 28-Feb-00, to lugnet.robotics.rcx.legos)
  Re: Odd behavior
 
(...) currently i believe there is some really subtle bug in malloc(), that shows up only under special circumstances. I experience similar problems with a fat kernel/application that disappear after adding one cputw(), making the binary a little (...) (25 years ago, 28-Feb-00, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Odd behavior
 
I'm having a bit of trouble with dll and I was hoping someone kind on this list might be able to help me out. Basically, I have a program that's grown to become fairly large and complex, and I can no longer download it to the RCX. There's one (...) (25 years ago, 26-Feb-00, to lugnet.robotics.rcx.legos)

6 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR