panic: Bus error -- stopping myself...

Michael Friedlander mpf at cs.ubc.ca
Mon Feb 4 09:48:15 CST 2008


Thanks for the quick response, David.  Below is some code that  
consistently generates a panic error.  In case it helps, this version  
of Octave was compiled by Fink.

Michael

-------------------
m = 100;
A = [];
for  i = 1:100
    a = randn(m,1);
    b = randn(m,1);
    A = [A a];
    x = A \ b;
end
-------------------

 >> test
octave(5703) malloc: *** error for object 0x3b7d200: incorrect  
checksum for freed object - object was probably modified after being  
freed.
*** set a breakpoint in malloc_error_break to debug
octave(5703) malloc: *** error for object 0x3b7d200: incorrect  
checksum for freed object - object was probably modified after being  
freed.
*** set a breakpoint in malloc_error_break to debug
panic: Bus error -- stopping myself...
Bus error



On Feb 4, 08, at 1:25 AM, David Bateman wrote:

> Michael Friedlander wrote:
>> My code is solving a sequence of least-squares problems via
>>
>>   x = A \ b;
>>
>> where A is dense and tall and getting wider by one column at each
>> iteration.  After about 50 iterations, I get the error "panic: Bus
>> error -- stopping myself..."
>>
>> How do I begin to diagnose the source of this problem?
>>
>> I'm running Octave 3.0.0 on an Intel MacBook Pro running Leopard
>> 10.5.1.  But I also confirm a similar error on a Linux box.
>>
>> Michael
>>
> This bug report isn't really helpful as it contains no method of
> regenerating the problem. In any case, I suspect the issue is with  
> your
> atlas library given the type of error you are seeing.
>
> Please send a short example demonstrating the issue.
>
> D.
>
>
>
> -- 
> David Bateman                                 
> David.Bateman at motorola.com
> Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph)
> Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob)
> 91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax)
>
> The information contained in this communication has been classified  
> as:
>
> [x] General Business Information
> [ ] Motorola Internal Use Only
> [ ] Motorola Confidential Proprietary
>



More information about the Bug-octave mailing list