--with-blas/lapack being ignored

John W. Eaton jwe at bevo.che.wisc.edu
Fri Dec 7 09:57:33 CST 2007


On  6-Dec-2007, Ben Abbott wrote:

| I've run octave in ddd (I modified run_octave to use ddd in addition  
| gdb).
| 
| As expected octave crashes on the command strptime('09/13','%m/%d')
| 
| 	Program recieved signal EXC_BAD_ACCESS, Could not access memory.
| 	Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
| 	0x9110f590 in strlen ()
| 	No source file named address.
| 
| A dialog is also produced by ddd. Which says
| 
| 	/Users/bpabbott/Desktop/octave/address: No such file or directory
| 
| The crash occurs when line 307 of oct-time.cc is exectuted.
| 
|     306 #if defined (HAVE_STRUCT_TM_TM_ZONE)
|  >> 307   tm_zone = t->tm_zone;
|     308 #elif defined (HAVE_TZNAME)
| 
| Just prior to the crash, the date and time variables were set to
| 
|    tm_sec = 0
|    tm_min = 0
|    tm_hour = 0
|    tm_mday = 13
|    tm_mon = 8
|    tm_year = 0
|    tm_wday = 0
|    tm_yday = 0
|    tm_isdst = 0

Are these the values of the elements of the octave_base_tm structure,
or the values in the struct tm structure?  What is in t->tm_zone
above?

If it crashes on this line, then how is strlen involved?

jwe


More information about the Bug-octave mailing list