home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / math / ols / sg.not < prev    next >
Encoding:
Text File  |  1993-07-28  |  1.3 KB  |  27 lines

  1.  
  2. Here is some information on making OLS work on a Silicon Graphics
  3. box.  Thanks to Tim Monks for giving me the dope.
  4.  
  5. ---------------------------------------------------------------------------
  6.  
  7. In short: use malloc.3X and OLS works.  If you use the (default)
  8. malloc.3C, then OLS drops core.
  9.  
  10. I think your code is probably blameless.  I have had several situations
  11. in the past where a sequence of malloc/free calls makes a program 
  12. dump core - until I learned to always use the malloc.3X library
  13. rather than the usual malloc.3C on the SG.  SG documentation says that
  14. their 3X external library is preferred.  I don't know why the problem
  15. occurs, but its happened so often that whenever I get a malloc 
  16. problem I check first which library was used.  I have never tracked 
  17. down the problem to a simple code snippet that proves the flakiness
  18. of the malloc.3C, so my comments are completely subjective. 
  19. Nevertheless, I have noticed that all source code that comes out of
  20. SG uses malloc.3X rather than malloc.3C.
  21.  
  22. Dr Tim Monks                           | (direct)   (+61-3)566-7448
  23. Image Processing & Data Analysis Group | (switch)   (+61-3)560-7066
  24. BHP Research - Melbourne Laboratories  | (fax)      (+61-3)561-6709
  25. 245 Wellington Rd, Mulgrave, 3170,     | (ACSnet)   tim@bhpmrl.oz.au
  26. AUSTRALIA                              | (internet) tim@resmel.bhp.com.au
  27.