Comments (9)
I think it is something to do with line 458 in mrdfits.pro where it calls
match, keyword, scales_names, mkey_scales, mscales, count = N_mscales
The problem is because there are no matches (no TSCALnn) in the header.
from gdl.
The problem is because scales = ptrarr(n_mforms, /all) (line ~446 in mrdfits.pro) gives
print,scales
(NullPointer)(NullPointer)
This is what it should be (in gdl 1.0.3 and in fl)
FL> print,scales
(PtrHeapVar1)(PtrHeapVar2)
The nullpointer causes it to break. Note that I replaced < with ( above to get it to show up.
from gdl.
OK, thanks you @jaymurthy I can reproduce your bug 😿
now we will try to solved it
from gdl.
OK, the problem appeared between April 25 and 26, when I try to clean up the keywords (by name/by number)
from gdl.
OK, I think I got it. In fact PTRARR() has one and only one keyword ... "ALLOCATE_HEAP"
from gdl.
OK @jaymurthy , I solved it, I have the feeling we had a pending bug in the past ...
My problem now is to do a clean PR !
from gdl.
Great work, Alain.
from gdl.
The bug should be solved in #1838
In fact, it is related to my changes within keywords by index / keyword by name.
I created a bug in PTRARR() function. But the initial code did not work in detail as it should.
Fortunately we had a test covering the other side effect.
Nevertheless we need to add more tests related to PTRARR() to cover the problem reported here
from gdl.
Again thanks @jaymurthy for rapid feedback and clear bug report. I can go quickly to the culprit.
from gdl.
Related Issues (20)
- "create_struct" differs from IDL when the tag name is not a tag name ! HOT 1
- "wdelete" deletes window but does not "free the handle" when window was created with "/free" keyword HOT 1
- incomplete format c() (julian date)
- our LABEL_DATE is broken HOT 2
- GDL accepts HASH() with odd number of elements !
- Cannot open window, PLPLOT ERROR HOT 4
- keyword /nozero in several functions + useless code ! HOT 1
- HDF4, NETCDF clash – mainly a heads up for Arch/Manjaro (etc.) users.
- GDL don't detect multiple uses of the same keyword when calling pro or function HOT 1
- compilation issues on Debian HOT 5
- compilation segfaults sometimes HOT 6
- write_jpeg and write_png produce black images on !version.release 8.2 HOT 4
- test_elmhes and test_formats fail on non-x86_64 HOT 14
- shmmap causes linux to reboot if gdl was not started with cpu,tpool_nthreads=1 HOT 2
- lots of plplot error messages when ploting after special "window" sequence HOT 3
- Java error for Workbench with gdl 1.05 Windows installer HOT 5
- plot of array with only NaN hangs session HOT 3
- Possible duplicate: test_byte_conversion.pro and test_bytscl.pro fail on arm64
- interpol returns float result for complex input data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdl.