From owner-freebsd-hackers Wed Dec 18 01:37:30 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id BAA26144 for hackers-outgoing; Wed, 18 Dec 1996 01:37:30 -0800 (PST) Received: from rah.star-gate.com ([204.188.121.18]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id BAA26127; Wed, 18 Dec 1996 01:37:25 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.7.6/8.7.3) with ESMTP id BAA03625; Wed, 18 Dec 1996 01:37:12 -0800 (PST) Message-Id: <199612180937.BAA03625@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: hackers@freebsd.org cc: multimedia@freebsd.org Subject: mmap problems? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 18 Dec 1996 01:37:12 -0800 From: Amancio Hasty Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have an old program "tv" which used to work okay. frame_size = 38896; if ((video = open("/dev/meteor0", O_RDONLY)) < 0) { fprintf(stderr, "open failed: %s\n", strerror(errno)); exit(1); } After running the program several times, tv exits with a a memory access violation. It looks like the system is not giving me access to the last page of the frame buffer. Any hints? Tnks Amancio