Autore Topic: Segfault quando si tenta di eseguire il debug overflow dello stack  (Letto 299 volte)

Online vuott

  • Moderatore globale
  • Senatore Gambero
  • *****
  • Post: 11.295
  • Ne mors quidem nos iunget
    • Mostra profilo
Riporto questa discussione aparsa nella M.L. ufficiale:


" Hi Benoit,

simple issue this time (I think). When my program produces a stack overflow
and I try to get the value of an argument to the overflowing stack frame,
using the IDE debugging facilities, "it" (the interpreter?) segfaults.

Run the attached project and when the stack is overflowed, select the iInt
parameter in the function body as if you would want to know its value. (I
actually did this because I wanted to know how deep the Gambas stack can be
exhausted with a minimal function. Guess I'll just print the value now...)

Regards,
Tobi
"


" The stack limit is 64 Mb unless less is specified by the 'ulimit'
command. This number is arbitrary. Technically, the stack is limited by
the available memory only (it works exactly like the binary program stack).

--
Benoît Minisini
"


" The revision #6276 should behave better with that scenario.

Regards,

--
Benoît Minisini
"
« Ultima modifica: 19 Maggio 2014, 03:05:35 da vuott »
« Chiunque, non ricorrendo lo stato di necessità, nel proprio progetto Gambas fa uso delle istruzioni Shell o Exec, è punito con la sanzione pecuniaria da euro 20,00 a euro 60,00. »