[FLASH-USERS] xflash is crashing

Vincenzo Antonuccio van at astro.ox.ac.uk
Mon Jun 4 10:45:54 CDT 2007


I have a problem using xflash. Here is my configuration:

FLASH v. 2.5, using fidlr3
IDL: version 6.3, on
HDF5 v. 1.6.2
> uname -a: Linux uist 2.6.8-3-686 #1 Tue Dec 5 21:26:38 UTC 2006 i686 
GNU/Linux

I can successfully launch xflash: I get in fact the widget. Then I try to 
upload one of the HDF5, 2D sedov outputs. The file is correctly read. But 
when I try to plot density or pressure or something else, IDL goes into 
segmentation fault.

Now: I know that at page 231 of the FLASH v. 2.5 UG is written that, for IDL 
v. 6.0 and higher, there is a problem with HDF5, so one should revert to 
fidlr2. AND THIS IS WHAT I DID, but the result is the same: as soon as I try 
to plot something using xflash, I get segmentation fault.

Now, I have tried to debug the problem, and I think that it arises when 
TVIMAGE calls CMCONGRID, around this point:
.............
   2: BEGIN ; *** TWO DIMENSIONAL ARRAY
   IF int THEN BEGIN
     srx = float(s(1) - m1) / (x-m1) * findgen(x) + halfx
     sry = float(s(2) - m1) / (y-m1) * findgen(y) + halfy
;print, 'check #2', 'ok 0a'
          RETURN, INTERPOLATE(arr, srx, sry, /GRID, CUBIC=cub)
;print, 'check #2', 'ok 0b'
...........

(The commented "print" are mine). What I can see is that IDL crashes at 
"RETURN, INTERPOLATE(arr, srx, sry, /GRID, CUBIC=cub)". 

Any idea/suggestion? 

Many thanks in advance

******************************************
     Vincenzo ANTONUCCIO-DELOGU

Astrophysics, University of Oxford
Denys Wilkinson Building
Keble Road, Oxford OX1 3RH
United Kingdom

and 

INAF - Catania Astrophysical Observatory, 
Catania, ITALY

Room 555A, Beecroft Inst. for Particle Astrophysics
Tlf.: +44-(0)1865 283019
Fax:  +44-(0)1865-273390

e-mail: van at astro.ox.ac.uk
skype: eurocosmo




More information about the flash-users mailing list