[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Bus Error blather
- Subject: [ale] Bus Error blather
- From: rbutera at ece.gatech.edu (Robert Butera)
- Date: Mon, 30 Oct 2000 16:36:19 -0500 (EST)
"Bus Error" is a big catch-all with little useful meaning, at least in my
opinion. In my mind I usually thing "Seg Fault."
For example, at some point in my past, the following code generated a "bus
error" under AIX:
double foo ;
scanf("%f",&foo) ;
unless you replaced the above with "%lf." Works fine (I recall) under
Linux. YMMV
Robert Butera, Assistant Professor
School of Electrical and Computer Engineering
Institute for Bioengineering and Biosciences
Georgia Institute of Technology, Atlanta, GA, 30332-0363 USA
--> http://www.ece.gatech.edu/users/rbutera/
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.