🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51732

Bus Error

#51732
From: Michael P. Perrone
Date: Mon, 05 Apr 1993 03:23
20 lines
873 bytes
I get a "Program received signal 10, Bus error"
from gcc when my program executes the following line

	*temp4 = temporary;

gdb says:

	(gdb) print temporary
	$1 = -0.12117944257333875
	(gdb) print *temp4
	$2 = 0

the variables are defined:

	double temporary;
	double *temp4;

does anyone know what the problem might be?
thanks!
michael
Technical Details
Message-ID: <1993Apr5.032318.26037@cs.brown.edu>
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uunet!brunix!cs.brown.edu!mpp

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,46829290b2db0973,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-04-04 20:27:10 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uunet!brunix!cs.brown.edu!mpp
From: mpp@cs.brown.edu (Michael P. Perrone)
Subject: Bus Error
Message-ID: <1993Apr5.032318.26037@cs.brown.edu>
Sender: news@cs.brown.edu
Organization: Center for Neural Science, Brown University
Date: Mon, 5 Apr 1993 03:23:18 GMT
Lines: 20