From: Sinisa Segvic <ssegvic () ZEMRIS ! FER ! HR>
To: tru64-unix-managers
Subject: A program that crashes Tru64 v5.0
Date: Tue, 07 Nov 2000 16:19:02 +0000 [thread overview]
Message-ID: <97361410109233.tru64-unix-managers.marc@archive.invalid> (raw)
A program from the archive of this list regularly crashes
Tru64 v5.0 installed on an AlphaStation AS 600 5/333
when run from user mode (of course, I was interested
in allowing users to mount documentation CDROMs
without root privileges).
I have isolated the problem:
% cat crash.c
main() {
char* args[20];
args[0]="/usr/sbin/mount";
args[1]="-t";
args[2]="cdfs";
args[3]="-r";
args[4]="/dev/disk/cdrom0c";
args[5]="/cdrom";
execve(args[0], args, 0);
}
% cc crash.c
% a.out
<the screen becomes dark>
trap: invalid memory read access from kernel mode
After that the processor halts.
Of course, the program is incorrect, execve demands
that the last element of the array of arguments be NULL,
but the program should not crash the system.
I am quite an unexperienced administrator (started this job
a few weeks ago) and I am not sure whether it is possible
that my system is misconfigured.
However that could hardly be the case since I confirmed
almost all default configuration options.
Which is the relevant e-mail address for reporting such problems?
reply other threads:[~2000-11-07 16:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox