home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / dos / extra / docs / maillist / text / archive.96 / text3768.txt < prev    next >
Encoding:
Text File  |  1996-07-25  |  2.0 KB  |  45 lines

  1.     id m0u3BiD-0007rIa; Sat, 30 Mar 96 18:13 MST
  2. Sender: owner-executor
  3. Received: from ardi.com by ftp.ardi.com
  4.     (Smail3.1.29.1 #3) id m0u3Bhd-0007rFn; Sat, 30 Mar 96 18:13 MST
  5. Newsgroups: comp.emulators.mac.executor
  6. Path: sloth.swcp.com!tesuque.cs.sandia.gov!ferrari.mst6.lanl.gov!newshost.lanl.gov!ncar!csn!news-1.csn.net!imci3!imci4!newsfeed.internetmci.com!iol!tank.news.pipex.net!pipex!howland.reston.ans.net!ix.netcom.com!netcom.com!pageone
  7. From: pageone@netcom.com
  8. Subject: Executor/LinuxSVGA/ELF + 1.3.x crashes traced (not an Executor bug!)
  9. Message-ID: <pageoneDp0EEE.Eq4@netcom.com>
  10. Summary: Upgrade to SVGAlib 1.2.9 if you use a mmap-ing SVGAlib driver and Executor/ELF!!! 
  11. Organization: NETCOM On-line Communication Services (408 261-4700 guest)
  12. X-Newsreader: TIN [version 1.2 PL1]
  13. Date: Fri, 29 Mar 1996 03:15:50 GMT
  14. Lines: 24
  15. To: executor@ardi.com
  16. X-MailNews-Gateway: From newsgroup comp.emulators.mac.executor
  17. Sender: owner-executor@ardi.com
  18. Precedence: bulk
  19.  
  20.     By running executor-svga.elf through strace, I was able to trace the
  21. crashes during the init sequence to a pair of bugs within Svgalib 1.2.8 and
  22. Linux.  I use a Mach32 card, but I suspect all linear-mapping SVGAlib drivers
  23. might exhibit this bug.
  24.  
  25.     In particular, with SVGAlib 1.2.8, the Mach32 driver uses 
  26. 0x40000000 as the location of the frame buffer.  The bad news is that ld.so
  27. loads various libraries in that very same space.  The Linux bug then allows
  28. the mmap of the frame buffer memory to go through, even though there is
  29. mprotect-ed memory within the area.  The libraries are mapped out of the
  30. executor process in favor of video memory, which is then executed, causing
  31. a bus fault.
  32.  
  33.     Upgrading to SVGAlib 1.2.9 solved the problem, since it is not picky
  34. over where the mmap takes place - at least with the Mach32 driver... 
  35. nonetheless, I'll send a bug report to Linux-kernel to see if there is really
  36. a Linux bug...
  37.  
  38.     (By the way, Executor calls getpid() a *lot* - that might be in SVGAlib,
  39. but I figure it might as well be able to remember it's own pid :)
  40.  
  41.     - Chad
  42.  
  43.  
  44.  
  45.