Re: Weak pointers, finalizers and SIGSEGV

2000-02-17 Thread Sven Panne
Marcin 'Qrczak' Kowalczyk wrote: [...] Now it only sometimes crashes at Ctrl-C. The following progam does so too (about 1/10 of runs): [...] I can't reproduce this. BTW, the foreign object interface will change in future versions of GHC:

Weak pointers, finalizers and SIGSEGV

2000-02-15 Thread Marcin 'Qrczak' Kowalczyk
The following program causes SIGSEGV after a few thousands of iterations. I compile with 'ghc test2.hs -o test2 -fglasgow-exts' by ghc-4.06 on Linux, gcc-2.95.1, glibc-2.1.2. With ghc-4.04 it crashes too. import Addr