Re: Segmentation fault (core dumped) [message #92802 is a reply to message #92785] |
Wed, 02 March 2016 06:33   |
rojofija
Messages: 9 Registered: January 2015
|
Junior Member |
|
|
Dear David,
The machine I am using has Linux Ubuntu 14.04.4 with IDL 8.4.
The program I am trying to use is related with the analysis of astronomical images: http://spiff.rit.edu/ensemble/
Basically the command that is causing troubles in spawn is called solvepht which runs well directly in the terminal but not when I use it with spawn as:
spawn, 'solvepht infile=multipht.out mconst=12.0 outfile=solvepht.out imfile=solvepht.img sigfile=solvepht.sig'
or
spawn, 'solvepht '+'infile=multipht.out mconst=12.0 outfile=solvepht.out imfile=solvepht.img sigfile=solvepht.sig'
Details of the command can be found at http://spiff.rit.edu/ensemble/ensemble-latest/ensemble.html
After running it with spawn I get the error:
Segmentation fault (core dumped)
I cannot figure it out why it runs well when I run it directly in the shell but not when I run it with spawn.
In the shell it runs as:
solvepht infile=multipht.out mconst=12.0 outfile=solvepht.out imfile=solvepht.img sigfile=solvepht.sig
Any feedback is very welcome.
All the best and thanks in advance.
Roberto.
On Saturday, 27 February 2016 17:14:19 UTC, David Grier wrote:
> On Saturday, February 27, 2016 at 8:54:36 AM UTC-5, rojofija wrote:
>> Dear friends,
>>
>> I am kindly writing in this opportunity to ask advises regarding to a segmentation fault issue while running a shell command with spawn in idl.
>>
>>
>> When I run the command directly in the shell it works perfectly, but when I run the same command in spawn it produces a segmentation fault.
>>
>> Does anyone has experienced something similar?. If yes, Any suggestion about how to solve it?.
>>
>> All the best and thanks in advance,
>>
>> rojofija.
>
> Tell us the version of IDL, the platform (Windows, linux, mac, ...) and the actual command
> that cases the segmentation fault.
>
> TTFN,
>
> David
|
|
|