From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97361410109233.tru64-unix-managers.marc@archive.invalid> From: Sinisa Segvic Date: Tue, 07 Nov 2000 16:19:02 +0000 To: tru64-unix-managers Subject: A program that crashes Tru64 v5.0 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97361410109233 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 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?