Hi,
Trying to use a variable on the stack gives me strange limits on a
particular machine. On that machine, it is impossible to declare an
array bigger than 250000 doubles in a code compiled with ACliC, such as
:
int test() {
double bidule[260000];
cout<<"itworks"<<endl;
return 0;
}
I tried to change the limit stacksize to 4 GB. When the code is
compiled outside ROOT, everything works normally. When trying to load
and execute with ACliC, the root session stops with a core dump.
This is on a Linux (RedHat7.1) machine (root 3.03/09). It works as
expected on another machine with seemingly the same distribution.
I'm led to believe it has something to do with shared libraries loading.
Does anybody experienced such a behaviour ? Is there any system limit
that would prevent building big objects on the stack when loading a
shared lib ? It has obviously nothing to do with CINT.
Any ideas are welcome
Damir
=====================================================================
| Damir Buskulic | Universite de Savoie/LAPP |
| | Chemin de Bellevue, B.P. 110 |
| Tel : +33 (0)450091600 | F-74941 Annecy-le-Vieux Cedex |
| e-mail: buskulic@lapp.in2p3.fr | FRANCE |
=====================================================================
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:17 MET