caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Ca marche pas, et ca m'enerve
@ 2004-06-12  1:13 Nicolas FRANCOIS
  2004-06-12  7:54 ` Nicolas Cannasse
  2004-06-12 10:24 ` Damien Doligez
  0 siblings, 2 replies; 4+ messages in thread
From: Nicolas FRANCOIS @ 2004-06-12  1:13 UTC (permalink / raw)
  To: Liste Caml, Liste UPS-Info

[-- Attachment #1: Type: text/plain, Size: 1075 bytes --]

Mais c'est pas trop gros, donc je joins en attachement pour que d'autres
testent.

Mon probleme : ce programme explore les machines de Turing a n etats, pour
decouvrir les "castors actifs", i.e. les MdT ecrivant le plus de 1 sur la
bande avant de s'arreter. Si l'on cherche les CA a deux etats (ligne " 
and tablesize = 2 in" dans le fichier main.ml), ca marche. Par contre,
j'ai une erreur de Stack Overflow si je lance le programme avec tablesize
= 3.

Ca semble venir des incessantes manipulations de listes representant le
macro-ruban (fichier macro_strip.ml). C'est bizarre, je pensais que les
pointeurs de "cons-cells" n'etaient pas affectes sur la pile. Ca plante,
avec ocamldebug, au pas 770000 et quelques, sur une operation sur une
liste.

Mes manipulations sur les listes sont-elles incorrectes ? Comment faire
pour aider le garbage collector a se rendre compte qu'un pointeur ne sera
plus jamais utilise ?

Merci pour tout conseil.

\bye

-- 

Nicolas FRANCOIS
http://nicolas.francois.free.fr

We are the Micro$oft.
Resistance is futile.
You will be assimilated.

[-- Attachment #2: castor.tar.gz --]
[-- Type: application/octet-stream, Size: 16005 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-12 12:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-12  1:13 [Caml-list] Ca marche pas, et ca m'enerve Nicolas FRANCOIS
2004-06-12  7:54 ` Nicolas Cannasse
2004-06-12 10:24 ` Damien Doligez
2004-06-12 13:14   ` Nicolas FRANCOIS

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).