Overview
| Artifact ID: | 03c69c916f2aecf1644d31d085f625c982a458cf |
|---|---|
| Ticket: | 1815573fffffffffffffffffffffffffffffffff
Stack space check fails in Linux-x86 build |
| User & Date: | msofer on 2008-01-14 21:38:06 |
Changes
- foundin changed to: "obsolete: 8.5.1"
- icomment:
Logged In: YES user_id=148712 Originator: NO Even though the current patch works, it may be throwing too much out: (a) on *my* linux, pthread_getattr_np/pthread_attr_getstacksize seem to be working fine also on the initial thread. But it is currently disabled. (b) the guile project seems to have found a better(?) workaround - not calling these at all, but rather use pthread_get_stacksize_np on linux. Note also the use of pthread_get_stackaddr_np; maybe usable to get a better estimate? It may pay off to study/adapt/adopt that? http://www.mail-archive.com/[email protected]/msg01646.html (c) this is one spot where a better platform-dep #ifdeffery may be warranted. In any case, it is already present: windows and mac have their own stuff (optimal??), currently glibc too (assuming things fail on initial thread).
- login: "msofer"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "msofer"