Path: utzoo!utgpu!watmath!uunet!shelby!apple!sun-barr!ames!zorch!vx2.GBA.NYU.EDU From: campbell@vx2.GBA.NYU.EDU (bruce dietrich-campbell) Newsgroups: unix-pc.general Subject: Submission for Unix-PC Message-ID: <8909140024.AA00979@vx2.GBA.NYU.EDU> Date: 14 Sep 89 00:24:19 GMT Sender: scott@zorch.SF-Bay.ORG Organization: Unix-PC/Mail Gateway Lines: 37 To: unix-pc@zorch.SF-Bay.ORG Hi, I've just had a problem running pcomm. As far as I can recall it worked just fine before I went on vacation. Anyhow, I recompiled pcomm with the -g option and found out that it was burping on a shmget() call. Here's a little one-line test file: #include #include #include main() { shmget(IPC_PRIVATE, 100, 0600 | IPC_CREAT); } And here's what happens (the same thing happens when running pcomm): # cc -g tst.c # ./a.out Bad system call - core dumped # sdb Core file 'core' Bad System Call (12) at 1 files, 1 procedures. __shmsys: address 0x800fa >t __shmsys() main() [tst.c:7] >q # Line 7 of tst.c is the shmget() call. Can anyone tell me what's happening? My little 3b1 is running 3.51a. ............................................................................. Bruce Dietrich-Campbell ARPA: campbell@vx2.gba.nyu.edu USENET: ...!{uunet,rocky,harvard}!cmcl2!vx2!campbell