home *** CD-ROM | disk | FTP | other *** search
- id m0u3BiD-0007rIa; Sat, 30 Mar 96 18:13 MST
- Sender: owner-executor
- Received: from ardi.com by ftp.ardi.com
- (Smail3.1.29.1 #3) id m0u3Bhd-0007rFn; Sat, 30 Mar 96 18:13 MST
- Newsgroups: comp.emulators.mac.executor
- 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
- From: pageone@netcom.com
- Subject: Executor/LinuxSVGA/ELF + 1.3.x crashes traced (not an Executor bug!)
- Message-ID: <pageoneDp0EEE.Eq4@netcom.com>
- Summary: Upgrade to SVGAlib 1.2.9 if you use a mmap-ing SVGAlib driver and Executor/ELF!!!
- Organization: NETCOM On-line Communication Services (408 261-4700 guest)
- X-Newsreader: TIN [version 1.2 PL1]
- Date: Fri, 29 Mar 1996 03:15:50 GMT
- Lines: 24
- To: executor@ardi.com
- X-MailNews-Gateway: From newsgroup comp.emulators.mac.executor
- Sender: owner-executor@ardi.com
- Precedence: bulk
-
- By running executor-svga.elf through strace, I was able to trace the
- crashes during the init sequence to a pair of bugs within Svgalib 1.2.8 and
- Linux. I use a Mach32 card, but I suspect all linear-mapping SVGAlib drivers
- might exhibit this bug.
-
- In particular, with SVGAlib 1.2.8, the Mach32 driver uses
- 0x40000000 as the location of the frame buffer. The bad news is that ld.so
- loads various libraries in that very same space. The Linux bug then allows
- the mmap of the frame buffer memory to go through, even though there is
- mprotect-ed memory within the area. The libraries are mapped out of the
- executor process in favor of video memory, which is then executed, causing
- a bus fault.
-
- Upgrading to SVGAlib 1.2.9 solved the problem, since it is not picky
- over where the mmap takes place - at least with the Mach32 driver...
- nonetheless, I'll send a bug report to Linux-kernel to see if there is really
- a Linux bug...
-
- (By the way, Executor calls getpid() a *lot* - that might be in SVGAlib,
- but I figure it might as well be able to remember it's own pid :)
-
- - Chad
-
-
-
-