Re: crash in gc with upside-down stack

2008-11-13 Thread Linas Vepstas
Attached below is a debugging patch, and its output, which shows that the stack bounds are frequently up-side-down, and are sometimes upside-down when the GC runs, thus leading to a crash. In the next email, I'll propose a patch that fixes the the problem. The original problem report:

Re: Does anyone actually use threads with guile?

2008-11-13 Thread Andy Wingo
Hi Linas, [cc'ing them all, but followups to just one please -- bug-guile is probably best] For my part I apologize for not having the cycles to poke this more thoroughly. Fortunately you are a good programmer and can figure things out :) History: pthread support was new with 1.8, as you

[PATCH] fix for Re: crash in gc with upside-down stack

2008-11-13 Thread Linas Vepstas
Patch below; I'm also attaching the same patch, in case gmail is scrambling this thing :-/ Also, I've long had a generic assignment on file with the FSF. --linas The patch below fixes a crash during garbage collection, where, during the mark-stack phase, the top and bottom of the stack are

Re: Does anyone actually use threads with guile?

2008-11-13 Thread Linas Vepstas
2008/11/13 Andy Wingo [EMAIL PROTECTED]: For my part I apologize for not having the cycles Fine, I'm hacking around it for now, but would like to see something for 1.8.6. On Thu 13 Nov 2008 05:56, Linas Vepstas [EMAIL PROTECTED] writes: Basically, at any given time, some thread might be in