comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Bus error
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Bus error [message #40072] Fri, 09 July 2004 13:17
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
On Fri, 9 Jul 2004, Ed Wright wrote:

>
> Question, what memory conditions can cause a Bus error after a
> .full_session_reset?
>
> Example:
>
> IDL> cell1 = ICY_CELL_DBL(10)
> % Loaded DLM: ICY.
> IDL> .full_session_reset
> IDL> cell1 = ICY_CELL_DBL(10)
> % Loaded DLM: ICY.
> IDL> .full_session_reset
> IDL> cell1 = ICY_CELL_DBL(10)
> % Loaded DLM: ICY.
> Bus error
>
> As always,
> Ed Wright
>

probably misaligned data in the DLM, which is loaded at different memory
positions. Eg. on a SUN the following simple C program causes "bus error":

int main()
{ char c[16];
int j;
for (j=0; j<8; j++) *(double*)(c+j)=1.0e0;
}

regards,
lajos
[Message index]
 
Read Message
Previous Topic: Bus error
Next Topic: FSC_FILESELECT entry field

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 10:56:56 PDT 2025

Total time taken to generate the page: 0.00408 seconds