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

Home » Public Forums » archive » Call_external Problem - File size limit exceed (core dump)
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
Call_external Problem - File size limit exceed (core dump) [message #32683] Thu, 31 October 2002 07:39 Go to next message
ninghai is currently offline  ninghai
Messages: 3
Registered: October 2002
Junior Member
Try running call_external() function on linux and HP-UX, seperately.
Same C code.

On linux 2.4.9-31, gcc-2.96, IDL 5.4
gcc -c -fPIC -g -Wall test.c to get obj file
ld -shared -o test.so test.o to get lib file

Give "File size limit exceed (core dump)" (.so file is only 38K)
Then jump out of idl.

On HP-UX, IDL 5.3
cc +z -C test.c
ld -b -o test.sl test.o

No problem.

Any hint on why it happens?
Re: Call_external Problem - File size limit exceed (core dump) [message #32767 is a reply to message #32683] Fri, 01 November 2002 07:08 Go to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
Ninghai Sun wrote:

> Try running call_external() function on linux and HP-UX, seperately.
> Same C code.
>
> On linux 2.4.9-31, gcc-2.96, IDL 5.4
> gcc -c -fPIC -g -Wall test.c to get obj file
> ld -shared -o test.so test.o to get lib file
>
> Give "File size limit exceed (core dump)" (.so file is only 38K)
> Then jump out of idl.
>
> On HP-UX, IDL 5.3
> cc +z -C test.c
> ld -b -o test.sl test.o
>
> No problem.
>
> Any hint on why it happens?

What is your external code doing? It sounds like it's creating an output
file somewhere which is larger than is allowed by your limits.

You can see what the maximum allowed file size is by using the command
'ulimit -f'.

--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523568, Fax : +44 (0)116 2523555
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL dynamical widget resizing bugs under linux
Next Topic: gurus: example code as main level code ?

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

Current Time: Sun Oct 12 19:20:37 PDT 2025

Total time taken to generate the page: 2.00078 seconds