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

Home » Public Forums » archive » Segmentation fault (core dumped)
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: Segmentation fault (core dumped) [message #92802 is a reply to message #92785] Wed, 02 March 2016 06:33 Go to previous messageGo to previous message
rojofija is currently offline  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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: TRICKY TASK USING AWK
Next Topic: Labeling logarithmic axes

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

Current Time: Thu Oct 09 07:33:31 PDT 2025

Total time taken to generate the page: 0.63795 seconds