Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: cuddihyd@phage.cshl.org (David Cuddihy in CompBio)
Subject: My Shared Memory pgm. cores before first line.
Date: 14 Jun 1994 11:05:22 -0400	[thread overview]
Message-ID: <2tkgviINNcdi@phage.cshl.org> (raw)

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.



                 reply	other threads:[~1994-06-14 15:05 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