Search found 334 matches

by justarandomgeek
Tue Sep 08, 2026 2:43 am
Forum: Bug Reports
Topic: [2.1.16] Returned UDP packets come out of the wrong IPv6 address
Replies: 7
Views: 1060

Re: [2.1.16] Returned UDP packets come out of the wrong IPv6 address

i've dug into this some and the TL;DR is that if we were using TCP (and for things like RCON where we *are* using TCP), the socket would just handle this for us because when it forms a connection, that connection is identified by the full tuple (local addr, local port, remote addr, remote port) and ...
by justarandomgeek
Sun Sep 06, 2026 4:49 pm
Forum: Resolved Problems and Bugs
Topic: [2.1.17] Debugger does not load correct source file when stepping
Replies: 7
Views: 758

Re: [2.1.17] Debugger does not load correct source file when stepping

DebugAdapter was incorrectly holding cached information about the caller function after the tailcall hook, when the callee got moved up into that slot (and thus now matches by address), and only refreshing the line number, thus leading to the incorrect "merged" stack report with the callee's line ...
by justarandomgeek
Sun Sep 06, 2026 3:45 pm
Forum: Resolved Problems and Bugs
Topic: [2.1.17] Debugger does not load correct source file when stepping
Replies: 7
Views: 758

Re: [2.1.17] Debugger does not load correct source file when stepping

it looks like this is specifically an issue with tailcalls (of metamethods? not sure yet...), so as a workaround for now, putting parens around the return makes it step to the correct location:

Code: Select all

return (This.MiniLoader:serializeConfiguration(entity))
by justarandomgeek
Sat Sep 05, 2026 6:12 pm
Forum: Resolved Problems and Bugs
Topic: [2.1.17] Debugger does not load correct source file when stepping
Replies: 7
Views: 758

Re: [2.1.17] Debugger does not load correct source file when stepping

the trace you have provided does not seem to match these over-cropped screenshots (at no point does it include a stack trace for any of the shown function names), and there is not enough information to attempt to recreate the issue.
by justarandomgeek
Sat Sep 05, 2026 5:55 pm
Forum: Not a bug
Topic: [2.1.17] Can't modify variables when debugging
Replies: 1
Views: 200

Re: [2.1.17] Can't modify variables when debugging

2.1 does not support this. use the console to assign new values.
by justarandomgeek
Wed Sep 02, 2026 2:48 pm
Forum: Resolved Problems and Bugs
Topic: [2.1.17][Arch Linux] Steam wrapper incompatible with FMTK
Replies: 2
Views: 1575

Re: [2.1.17][Arch Linux] Steam wrapper incompatible with FMTK

i think some folks have found it works if you point fmtk at the real binary instead of the arch dispatch script, while we work on a cleaner solution
by justarandomgeek
Fri Aug 21, 2026 2:31 pm
Forum: Resolved Problems and Bugs
Topic: [2.1.14] Crash under debugger, reproducible
Replies: 6
Views: 700

Re: [2.1.14] Crash under debugger, reproducible

oh wow this is extremely stupid:

While trying to describe a value
I try to call its __tostring for it to describe itself
and when that fails, i then try to describe the value again for the error message
which repeats the attemped __tostring 🤦

should be a fairly straightforward fix though ...
by justarandomgeek
Thu Aug 20, 2026 8:02 pm
Forum: Resolved Problems and Bugs
Topic: [2.1.14] Crash under debugger, reproducible
Replies: 6
Views: 700

Re: [2.1.14] Crash under debugger, reproducible

hmm, looks like i fell into a loop trying to describe some value (possibly an error object?). will have to dig a little to say more than that though...
by justarandomgeek
Thu Aug 06, 2026 1:17 am
Forum: Pending
Topic: [2.1.12] Crash using debugger while save is being loaded after script assert
Replies: 2
Views: 553

Re: [2.1.12] Crash using debugger while save is being loaded after script assert

poking around at this some more trying to reconstruct the specific events - i have been unable to reproduce a crash now (and the checkstack fixes in 2.1.13 may very well have fixed it, iirc you said it was less reproducible after that), but more specifically what occurred is this:
1. while in a ...
by justarandomgeek
Wed Jul 29, 2026 2:56 pm
Forum: Pending
Topic: [2.1.12] Crash using debugger while save is being loaded after script assert
Replies: 2
Views: 553

Re: [2.1.12] Crash using debugger while save is being loaded after script assert

a quick look suggests this is the checkstack thing again, in another variation
by justarandomgeek
Sun Jul 19, 2026 9:25 pm
Forum: Not a bug
Topic: [2.1.11] Entering hexadecimal numbers to number fields does not correctly handle sign
Replies: 5
Views: 816

Re: [2.1.11] Entering hexadecimal numbers to number fields does not correctly handle sign

fwiw, you can still (and always could) enter the sign bit/minint as its actual value, -0x80000000
by justarandomgeek
Fri Jul 17, 2026 7:44 pm
Forum: Mod portal Discussion
Topic: [Mod Portal] Wrong number of dependencies
Replies: 4
Views: 567

Re: [Mod Portal] Wrong number of dependencies

there's a note somewhere that says it's excluding the ones that just depend on everything

edit: in the hover for "Default"


nevermind i didn't read close enough
by justarandomgeek
Sun Jul 05, 2026 4:03 pm
Forum: Resolved Problems and Bugs
Topic: [2.1.9] Crash in helpers.recv_udp(0) with headless server
Replies: 2
Views: 427

Re: [2.1.9] Crash in helpers.recv_udp(0) with headless server

i posted a fix for this, pending review fixed for next release :)
by justarandomgeek
Sun Jul 05, 2026 3:08 pm
Forum: Resolved Problems and Bugs
Topic: [2.1.9] Crash in helpers.recv_udp(0) with headless server
Replies: 2
Views: 427

Re: [2.1.9] Crash in helpers.recv_udp(0) with headless server

i believe this is distinct from those linked crashes, i will be looking into this deeper shortly; i think it should be a relatively easy fix, but i have to set up some quick tests first to verify i've understood the situation!
by justarandomgeek
Thu Jul 02, 2026 9:29 pm
Forum: Resolved Problems and Bugs
Topic: [2.1.9] Freeze when confirming mod selection while debugger is attached
Replies: 1
Views: 392

Re: [2.1.9] Freeze when confirming mod selection while debugger is attached

it looks like it requested the restart for the mod changes, but some curl task was not yet completed, and failed to cancel
by justarandomgeek
Tue Jun 30, 2026 3:58 pm
Forum: Resolved Problems and Bugs
Topic: [2.1.8] Crash with LuaDebugAdapter when updating breakpoints
Replies: 6
Views: 704

Re: [2.1.8] Crash with LuaDebugAdapter

please try this again with factorio 2.1.9 / fmtk 2.1.4 - if it still crashes, i'd also like the DAP trace log you get from adding "trace":true to the launch.json options while reproing

Go to advanced search