Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* My Shared Memory pgm. cores before first line.
@ 1994-06-14 15:05 David Cuddihy in CompBio
  0 siblings, 0 replies; only message in thread
From: David Cuddihy in CompBio @ 1994-06-14 15:05 UTC (permalink / 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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-06-14 15:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-06-14 15:05 My Shared Memory pgm. cores before first line David Cuddihy in CompBio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox