lipp / lipp/lua-websockets

attempt to yield across C-call boundary

Open
#74 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
419
Forks
117
PR merge metrics
No merged PRs in 30d

Description

local copas = require'copas'
local ws_client = require('websocket.client').copas()
ws_client:connect('ws://127.0.0.1:8180/')

error:copas.lua:298: attempt to yield across C-call boundary

env:
luajit 2.0.2
the last version of copas and coxpcall
windows 7

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the websocket client connection from the issue using LuaJIT 2.0.2 on Windows 7, with the reported copas and coxpcall versions. Start at copas.lua:298 and trace the call that attempts to yield across the C-call boundary. Done means identifying the cause and confirming a fix or documented limitation with a regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.