# Buffer Overflow on Maslow V1

**URL:** <https://forums.maslowcnc.com/t/buffer-overflow-on-maslow-v1/26329>\
**Category:** Ground Control\
**Created:** [November 4, 2026, 9:21am UTC](https://forums.maslowcnc.com/t/buffer-overflow-on-maslow-v1/26329 "2026-11-04T09:21:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Redsteele](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/redsteele/32/32092_2.png) [@Redsteele](https://forums.maslowcnc.com/u/Redsteele)\
**Post date:** [November 4, 2026, 9:21am UTC](https://forums.maslowcnc.com/t/buffer-overflow-on-maslow-v1/26329/1 "2026-11-04T09:21:49Z")

</div>

Hello everyone! I hope this is the correct forum for a question like this

I started working at a practice roughly a month ago, and we have a Maslow V1 that hasn’t been used in a… Decent while, let’s put it that way 😅 (It’s completely functional and all, though, I think it was purchased and set up around the time V2 was on its way out)

However! We’ve been toying around with it a bit, the big planned project is that one Star Wars cockpit arcade cab we’ll refit to have an Atari 2-player setup in it, but starting out smaller with the company logo for some signage.

The problem I’ve been facing is, as title suggests, buffer overflows. A couple times, but that has partially been mitigated by stopping the file, hitting go-to-line a couple before, and continuing. But at the current line the project is at, there’s a full stop. I’ve been browsing the forums here a little bit, and found the point in time the CNC machine stops (thank you dlang for linking the g-code simulator at [g-code simulator](https://nraynaud.github.io/webgcode/) ), and where it is when it sends the buffer overflow. Everything looks as if it’s gonna work, until it doesn’t.

We’ve tried out a couple different settings, in particular the Z-axis pitch (the machine had a nasty tendency to push beyond the frame of the.. I think it’s the router? The machine that does the shaving and drilling, which we mitigated. Led to a couple ruined couplers, it is what it is. “Learning experience”.  
Some other forum posts I noticed, as well as Google AI Overview (which I’ve taken with a mouthful of salt) mention it might have to do with the Arduino, and taking commands from the G-code, if I understood it correctly?

Information that I can think of that would be of use:

OS - Raspberry Pi OS 32-bit on a Raspberry Pi 3  
WebControl - _ **v0.94** _  
Maslow settings - Mostly default. / Z-axis installed **ON**. / Z-axis Pitch **4** (we found that with the default 3.17/rotation the Z-axis kept trying to push further than the frame of the router could handle).  
Buffer G-Code **ON**  
Truncate Floating Point Numbers **OFF**

I will attach the .nc file once I have the ability to (I don’t know if being upped to ‘basic’ allows me to do that yet, haha).

_ONE IMPORTANT THING_ which we _HAVE_ been very clear with the boss about, and have already troubleshot to an extent, is that he’s used Claude AI to work on the .nc file, which did have a couple re-iterations before it understood that you probably shouldn’t make measurements in both mm and inches in the same file.

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [November 4, 2026, 10:36am UTC](https://forums.maslowcnc.com/t/buffer-overflow-on-maslow-v1/26329/2 "2026-11-04T10:36:13Z")

</div>

Red @ Practice wrote:

> _ONE IMPORTANT THING_ which we _HAVE_ been very clear with the boss about, and  
> have already troubleshot to an extent, is that he’s used Claude AI to work on  
> the .nc file, which did have a couple re-iterations before it understood that  
> you probably shouldn’t make measurements in both mm and inches in the same  
> file.

I would suggest that you look at the gcode cleaner project (posted here on the  
forums) to have that cleanup the gcode, especially if an ai has manipulated the  
.nc file

my guess is that the result is some very long lines of gcode that the arduino  
can’t handle

David Lang

---

<div class="post-metadata">

**Author:** ![Redsteele](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/redsteele/32/32092_2.png) [@Redsteele](https://forums.maslowcnc.com/u/Redsteele)\
**Post date:** [November 4, 2026, 10:48am UTC](https://forums.maslowcnc.com/t/buffer-overflow-on-maslow-v1/26329/3 "2026-11-04T10:48:57Z")

</div>

Lil update, seems like there is a specific part of the project that makes the machine hiccup, but I have a sneaking suspicion that has to do with clumsy g-code.

> [@dlang](#):
>
> I would suggest that you look at the gcode cleaner project (posted here on the  
> forums) to have that cleanup the gcode, especially if an ai has manipulated the  
> .nc file
> 
> my guess is that the result is some very long lines of gcode that the arduino  
> can’t handle
> 
> David Lang

Which this might be the perfect thing to fix it! There’s an uppercase i that has a bit of a scuffed corner, so I’m wondering if it’s that it uses linear interpolation instead of CCW interpolation.

* * *

It seems that I have the ability to upload files now, so here’s the .nc file. The first instance of buffer overflow happened at or around line 739, while the machine was stuck at line 720.  
I checked once more, ran from line 720, stuck at line 739, buffer overflow.

I then skipped that bit (line 720-818), and it ran completely fine all the way through to line 1575, which is when it went from the final bit of the R to the outline of the head in the logo.  
It ran completely fine from then on, but had incredibly long decimals, which would assumedly be remedied by turning on Truncate Floating Point Numbers.

So the problem by and large was the I, between line 720-818.

[logo2\_brainxr\_x9\_cut\_4mm\_v5\_zsafe3.nc](https://forums.maslowcnc.com/uploads/short-url/pnVBJwXFjg3MUAWt08WEjqFQBu6.nc) (45.1 KB)

---

<div class="post-metadata">

**Author:** ![Redsteele](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/redsteele/32/32092_2.png) [@Redsteele](https://forums.maslowcnc.com/u/Redsteele)\
**Post date:** [November 5, 2026, 10:41am UTC](https://forums.maslowcnc.com/t/buffer-overflow-on-maslow-v1/26329/4 "2026-11-05T10:41:07Z")

</div>

Final update, we managed to finish the project, and it was kinda strange. Skipping line 720-\>758, the two first passes of the I, i.e. starting at line 759 just… Worked (insert Todd Howard voice line here 🤭).

I’m assuming it has to do with the build of the file, how the recipe is all G1, which in turn makes the top right corner pretty scuffed, instead of if we’d used G03 (then again, I’m not sure if the 0 beforehand is incredibly important, or if it’s ignored if we’d used G01).

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [November 6, 2026, 2:00am UTC](https://forums.maslowcnc.com/t/buffer-overflow-on-maslow-v1/26329/5 "2026-11-06T02:00:53Z")

</div>

that’s a lot of small g1 moves, but I don’t see anything there that should cause  
problems.

David Lang
