Comments (6)
okay, i've found the bug, and started working on a fix, though it's a bit complicated. I've written it up here:
aliceisjustplaying#10
tl;dr TabCompleteData
's options
has a fixed size and this cannot contain all the files in the folder when there are more than a few and it crashes.
from tic-80.
can't reproduce it on windows binaries, what os do you use?
from tic-80.
can't reproduce it on windows binaries, what os do you use?
Windows 10 Pro, 22H2 build 19045.4046
I launch it by double-click in Explorer, nothing special.
The space after is important, as if you type 'load' (no space) and hit tab, it adds a space. Then hitting tab again causes a quick hang then crash.
from tic-80.
i've spent the last god knows how many hours debugging this because it was driving me crazy and i'm 90% sure it only happens when a folder has a lot of files, enough that it fills the screen and then some. happens with load and save. i have a branch with a bazillion print statements on top of debugging with lldb, so far no luck, but my search continues.
from tic-80.
it's some use after free/heap corruption bug. lldb backtraces vary, it's something about tab completion but sometimes the backtrace is about GPU stuff which is weird. sometimes it isn't.
from tic-80.
Bugfix in #2533.
from tic-80.
Related Issues (20)
- Associate .tic files with TIC-80 on macOS
- TIC-80 doesn't start properly on Windows XP unless forced to `--soft` HOT 1
- New release soon / more frequent releases? HOT 4
- The "X button to enter surf" needs a better input check HOT 6
- Better import screen error messages HOT 1
- Tiles in map editor does not update after editing tile HOT 1
- Scaling issue on web export on mobile
- Native Apple Silicon version and Black Borders
- `--fs` accepts files, not just folders; errors follow
- Command line not fully visible when using past commands HOT 2
- [Libretro] iOS support HOT 2
- Using surf, 'close game' should go back to surf and not console HOT 1
- Mouse sprite and ram aren't linked HOT 1
- keyword 'of' in javascript is not colored
- Segmentation fault HOT 6
- Segfault when saving after running HOT 7
- cccccbcrknfjjukihcdgfkchudgregenkrjrldtvjdfl
- tic80 behaves differently when run from source checkout HOT 3
- Keys getting stuck when grabbing the window
- PCM channel not working on exported builds HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tic-80.