IppClub / IppClub/YueScript

YueScript tool with no options crashed

Open
#191 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
613
Forks
45
PR merge metrics
No merged PRs in 30d

Description

yue test.yue

Report by Dr. Mingw:

yue.exe caused an Access Violation at location 00007FF883ED3008 in module MSVCP140.dll Reading from location 0000000000000000.

AddrPC           Params
00007FF883ED3008 0000000000000000 0000000000000000 00000048F60B86C8  MSVCP140.dll!mtx_do_lock+0x9c  [D:\a\_work\1\s\src\vctools\crt\github\stl\src\mutex.cpp @ 100]
00007FF6796F96F7 07FFFFFFFFFFFFFF 00000048F60B8640 00000048F60AD6B0  yue.exe!0x396f7
00007FF6796F9DBD 00000048F60B8640 00000048F60B86C8 00000048F60AE030  yue.exe!0x39dbd
00007FF679715669 00000048F601F880 00000048F60ADE20 00000048F60B8300  yue.exe!0x55669
00007FF6797082D3 00000048F60AE2A0 0000000000000000 00007FF6787FF000  yue.exe!0x482d3
00007FF6797F2278 00007FF6797F22E8 00007FF6787FF000 0000000000000000  yue.exe!0x132278
00007FF889AC13D2 00007FF889AC13B0 0000000000000000 0000000000000000  KERNEL32.DLL!BaseThreadInitThunk+0x22
00007FF88A2E03C4 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!RtlUserThreadStart+0x34


I know that I should use yue -e test.yue. But I don't expect YueScript tool with no options to crash this way.

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

Start by reproducing yue test.yue on the YueScript tool and compare it with yue -e test.yue. Trace the no-options command path and verify that the tool reports the invalid invocation or exits cleanly instead of crashing; rerun the reported command to confirm the fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.