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

Home » Public Forums » archive » LABEL_REGION on large array --> segmentation fault, please HELP !!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
LABEL_REGION on large array --> segmentation fault, please HELP !! [message #85807] Tue, 10 September 2013 13:50 Go to next message
Danxia is currently offline  Danxia
Messages: 10
Registered: September 2012
Junior Member
Dear all,

I have a very large binary array with around [60000 by 90000] elements whose file size is about 5GB. I hope to apply LABEL_REGION function on this array to extract "connected" patches. My IDL code was run on a linux machine with 64GB memory. But IDL kept crashing when running through LABEL_REGION function, ending up with error message of "segmentation fault". I'm wondering if IDL has any limitation the size of array that a function can handle? Or this crashing is caused by configuration of my machine? Any idea how to this problem will be appreciated!!
Re: LABEL_REGION on large array --> segmentation fault, please HELP !! [message #85808 is a reply to message #85807] Tue, 10 September 2013 18:28 Go to previous messageGo to next message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Tuesday, September 10, 2013 2:50:29 PM UTC-6, Daisy wrote:
> Dear all,
>
>
>
> I have a very large binary array with around [60000 by 90000] elements whose file size is about 5GB. I hope to apply LABEL_REGION function on this array to extract "connected" patches. My IDL code was run on a linux machine with 64GB memory. But IDL kept crashing when running through LABEL_REGION function, ending up with error message of "segmentation fault". I'm wondering if IDL has any limitation the size of array that a function can handle? Or this crashing is caused by configuration of my machine? Any idea how to this problem will be appreciated!!

Hi Daisy,

There is a known bug with LABEL_REGION (bug #IDL-68761), where it is not able to handle 64-bit memory addresses. Currently, you can only use the function for arrays that are less than 2 Gb in size. I am hoping to fix this bug in IDL 8.3, which is due out later this fall.

Cheers,
Chris
ExelisVIS
Re: LABEL_REGION on large array --> segmentation fault, please HELP !! [message #85814 is a reply to message #85808] Wed, 11 September 2013 12:01 Go to previous messageGo to next message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
This has now been fixed for IDL 8.3.
Cheers,
Chris
ExelisVIS
Re: LABEL_REGION on large array --> segmentation fault, please HELP !! [message #85816 is a reply to message #85814] Wed, 11 September 2013 13:46 Go to previous message
Danxia is currently offline  Danxia
Messages: 10
Registered: September 2012
Junior Member
On Wednesday, September 11, 2013 3:01:25 PM UTC-4, Chris Torrence wrote:
> This has now been fixed for IDL 8.3.
>
> Cheers,
>
> Chris
>
> ExelisVIS

Hi Chris,

Thank you very much for your prompt response. So now I'm looking forward to this upcoming version of IDL very much!

Best,
Daisy
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Unable to allocate memory
Next Topic: Using defroi on a zoomed image

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

Current Time: Wed Oct 08 15:08:15 PDT 2025

Total time taken to generate the page: 0.00454 seconds