-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
std/channels example fails #17380
Labels
Comments
here's a stacktrace with this diff:
|
ringabout
added a commit
to ringabout/Nim
that referenced
this issue
Mar 16, 2021
my bad with the diff, seems to work with |
ringabout
added a commit
that referenced
this issue
Mar 19, 2021
ringabout
added a commit
that referenced
this issue
Mar 19, 2021
ringabout
added a commit
to ringabout/Nim
that referenced
this issue
Mar 22, 2021
ringabout
added a commit
to ringabout/Nim
that referenced
this issue
Mar 22, 2021
* Revert "make system random work in VM" * fix nim-lang#17380 * attempt to fix bug * fix * better * fix * a bit * fix the leaks * revert * fix * better * follow up nim-lang#17391 * fix * Update tchannels.nim * Update tests/stdlib/tchannels.nim * Update tchannels.nim
ringabout
added a commit
to ringabout/Nim
that referenced
this issue
Mar 22, 2021
* Revert "make system random work in VM" * fix nim-lang#17380 * attempt to fix bug * fix * better * fix * a bit * fix the leaks * revert * fix * better * follow up nim-lang#17391 * fix * Update tchannels.nim * Update tests/stdlib/tchannels.nim * Update tchannels.nim * fix a typo
ardek66
pushed a commit
to ardek66/Nim
that referenced
this issue
Mar 26, 2021
ardek66
pushed a commit
to ardek66/Nim
that referenced
this issue
Mar 26, 2021
* Revert "make system random work in VM" * fix nim-lang#17380 * attempt to fix bug * fix * better * fix * a bit * fix the leaks * revert * fix * better * follow up nim-lang#17391 * fix * Update tchannels.nim * Update tests/stdlib/tchannels.nim * Update tchannels.nim
ardek66
pushed a commit
to ardek66/Nim
that referenced
this issue
Mar 26, 2021
* Revert "make system random work in VM" * fix nim-lang#17380 * attempt to fix bug * fix * better * fix * a bit * fix the leaks * revert * fix * better * follow up nim-lang#17391 * fix * Update tchannels.nim * Update tests/stdlib/tchannels.nim * Update tchannels.nim * fix a typo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example 1
taken from nim-lang/website#274
nim c --threads --gc:arc -g main.nim
lldb ./main
Current Output
run it a few times, and eventually you get a crash in lldb, or a hang outside of lldb:
Expected Output
works
Example 2
same as Example 1, but replace
benchmark()
by
then it crashes even more reliably
Additional Information
var chan = newChannel[seq[string]](4000)
/cc @xflywind
The text was updated successfully, but these errors were encountered: