From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,10085ada898d1e30,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-06-14 08:08:53 PST Path: nntp.gmd.de!newsserver.jvnc.net!newsserver.cshl.org!newsserver.cshl.org!not-for-mail From: cuddihyd@phage.cshl.org (David Cuddihy in CompBio) Newsgroups: comp.sys.dec Subject: My Shared Memory pgm. cores before first line. Date: 14 Jun 1994 11:05:22 -0400 Organization: Cold Spring Harbor Lab, NY Message-ID: <2tkgviINNcdi@phage.cshl.org> NNTP-Posting-Host: phage.cshl.org Hi all... I'm trying to get some shared memory stuff to work on an alpha 3000 running DEC OSF/1 Rev.240. I've written some code using the shmget, shmat, and shmdt(from /usr/lib/libc.a) routines which dumps core before reaching the first line(as reported by dbx). Here's where: signal Segmentation fault at [cartesian_split:1861 ,0x120006f50] (: French enlightenment mathematician/philosopher gymnastics! Who knew? :) up cartesian_insert: up cartesian_alloc: (you get the idea with the "up"s) expand_and_malloc: malloc: __exc_add_pc_range_table: _call_add_pc_range_table: _call_remove_gp_range: _call_remove_gp_range: (ad.infinitum) Normally I'd associate this sort of behavior(segfault at entry) with inordinate static and global declarations, but I have maybe 20 bytes of my own externally declared. Mind you, my code works fine on our Ultrix machine, as well... Is there something tweaky about DEC OSF shared memory? thanks in advance, -dave cuddihyd@raoul.cshl.org PS: To ease net-traffic, don't post replies, but rather email me and I'll post a synopsis of what people sent me.