diff options
| author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-07-29 16:25:29 +0200 |
|---|---|---|
| committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-07-29 16:25:29 +0200 |
| commit | 34b2b5e712ea1cc59004ca48f79f54af162993a5 (patch) | |
| tree | 1fea8d60a9b0eeb2fa086e947f449975d6e468e8 | |
| parent | 593036e1b9582e6cb012c8317ce2b8af2ba13831 (diff) | |
| parent | 034b824c63e75228ad77b49d05942145969c6aa5 (diff) | |
| download | lanes-34b2b5e712ea1cc59004ca48f79f54af162993a5.tar.gz lanes-34b2b5e712ea1cc59004ca48f79f54af162993a5.tar.bz2 lanes-34b2b5e712ea1cc59004ca48f79f54af162993a5.zip | |
Merge branch 'master' of https://github.com/LuaLanes/lanes
| -rw-r--r-- | BUGS | 47 |
1 files changed, 1 insertions, 46 deletions
| @@ -1,46 +1 @@ | |||
| 1 | BUGS: | bugs are to be reported on github. | |
| 2 | |||
| 3 | - The use of 'static' and "one time" initialization of things is not suitable | ||
| 4 | to a situation where a Lua state is run, using Lanes, then terminated. If | ||
| 5 | another Lua state later is launched, the initializations will get cramped. | ||
| 6 | |||
| 7 | Reported by Boris Ouretskey (25-Jun-09) | ||
| 8 | |||
| 9 | |||
| 10 | - a 'require "lanes"' and speedy exit from the process causes a segfault | ||
| 11 | on ArchLinux (reported by kkndrox@gmail.com 1-Jun-2009). | ||
| 12 | |||
| 13 | This issue is not reproducible on Ubuntu (8.04 or 9.04) and has not therefore | ||
| 14 | been fixed. A patch is welcome. The issue is most likely caused by the | ||
| 15 | Linda thread not being properly launched when the process itself already | ||
| 16 | quits. | ||
| 17 | |||
| 18 | << | ||
| 19 | With Lanes 2.0.3, the following code *always* gives me a segmentation | ||
| 20 | fault: | ||
| 21 | |||
| 22 | -- begin | ||
| 23 | require("lanes") | ||
| 24 | -- end | ||
| 25 | |||
| 26 | But this: | ||
| 27 | |||
| 28 | -- begin | ||
| 29 | require("lanes") | ||
| 30 | garbagecollect('collect') | ||
| 31 | -- end | ||
| 32 | |||
| 33 | always work. | ||
| 34 | |||
| 35 | Based on this experimentation, if I require lanes and the program end | ||
| 36 | without any garbage collecting, I receive a segmentation fault. | ||
| 37 | I'm using Arch Linux (32bits), Lua 5.1.4 and it was compiled with gcc 4.3 | ||
| 38 | << | ||
| 39 | |||
| 40 | Also simply waiting a bit ('os.execute("sleep 1")') avoids the crash. | ||
| 41 | |||
| 42 | |||
| 43 | - tests/irayo_closure.lua fails (trouble with setting globals right | ||
| 44 | for functions carried over to another Lua state) | ||
| 45 | |||
| 46 | - "make appendud" causes a segfault on OS X PowerPC. | ||
