[0.16.36] Inserters get stuck

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
Lubricus
Filter Inserter
Filter Inserter
Posts: 294
Joined: Sun Jun 04, 2017 12:13 pm
Contact:

[0.16.36] Inserters get stuck

Post by Lubricus »

The inserters sometimes stops even if there is room on the belt to drop the item. If I change the setting on the inserter it starts again. It happens repeatedly in several similar places in the factory.
I am playing A Seablock with all the recommended mods and settings and nothing else. I think it can be something with bobs adjustable inserters combined with the knew belt optimizations.
Image It's a still image but the inserter is equally still when the game is running.
I don't know if this is the proper place or if I should post it in bobingabouts/Trainwreck's/Archangel's sub-forum?
Attachments
Bugged.zip
The save file
(4.72 MiB) Downloaded 152 times

Wolvereness
Burner Inserter
Burner Inserter
Posts: 7
Joined: Tue Jan 23, 2018 10:27 am
Contact:

Re: [16.36] Inserters get stuck

Post by Wolvereness »

Just to add, I've had this quite a bit, but only had one inserter persistently do it:
Image

This was (mostly) 16.25; I changed the configuration before updating. Seablock config.

User avatar
Lubricus
Filter Inserter
Filter Inserter
Posts: 294
Joined: Sun Jun 04, 2017 12:13 pm
Contact:

Re: [16.36] Inserters get stuck

Post by Lubricus »

It happens when the belt is full so the inserters can't put down more stuff and then when the belt starts to move again the inserters don't automatically start again.
I think it could be that the inserter get to sleep to save CPU and the wake up call from the belt don't work if the bob's adjustable inserter has an odd angle?

User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: [16.36] Inserters get stuck

Post by TruePikachu »

How do the belts know what entities to wake up? Is it discovered by examining the map when it wakes, or are they stored in a list?

kitcat
Long Handed Inserter
Long Handed Inserter
Posts: 66
Joined: Wed Apr 26, 2017 3:11 pm
Contact:

Re: [16.36] Inserters get stuck

Post by kitcat »

Enable “show-wakeup-lists” in the debug settings (F4) to see what entities inserters are waiting on.

User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: [16.36] Inserters get stuck

Post by TruePikachu »

I guess that would make sense, now the question is if the bugged inserters are indeed waiting on the belts, or if they failed to tell the belt they're waiting on it.

traycer
Inserter
Inserter
Posts: 40
Joined: Fri Jul 07, 2017 5:40 am
Contact:

Re: [16.36] Inserters get stuck

Post by traycer »

I ran into a similar situation recently, except it was a stack inserter that was seemingly unable to deposit items it had in hand into an empty and waiting chest.

Image

Everything indicated that it should have been working. Inserter was oriented the right way, powered up, not connected to any circuits, default settings. Chest was completely empty, no slot restrictions. The other five inserters in the group all worked fine. As it turns out, it was because of the wakeup list:

Image

Earlier, I had shifted three chests full of RCUs over to the left to make room for new chests for LDS (the rocket silo is just offscreen to the right). This was done using a PickerExtended feature, where you can use the arrow keys to move certain entities around without picking them up and putting them back down. As you can see from the second screenshot, the frozen inserter is still waiting for the wakeup call from its original chest, not the one now in front of it (the diagonal yellow line).

I can't remember if this was a problem with earlier versions, but it sounds like it could very well be an optimization where wakeup lists are not refreshed as often as before, to save on UPS. In my case, rotating or replacing the inserter forces an update, and it starts working again.

User avatar
Lubricus
Filter Inserter
Filter Inserter
Posts: 294
Joined: Sun Jun 04, 2017 12:13 pm
Contact:

Re: [16.36] Inserters get stuck

Post by Lubricus »

Thanks for the engagement, it's not surprising that Factorio players thinks this sort of stuff is fun to figure out.
Image
I tested the debug overlay. You can see that the inserter is coupled to the wrong belt, but the belt it's connected to is also empty?
It's an low angle inserter that tries to put down the aluminium plat direct where it is, not the belt segment with the wake up call.

User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: [16.36] Inserters get stuck

Post by TruePikachu »

I was messing around last night with a fixed Creative Mode mod, and got a stack inserter stuck. I forgot to take screenshots and check the wakeup list debug overlay, but it represents a vanilla inserter that got stuck in practically-vanilla circumstances (the inserter was moving iron ore from a steel chest onto a belt, that was loading into a void chest).

It would be great if someone could come up with reliable steps for reproduction.

mara
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Mar 26, 2018 9:02 pm
Contact:

Re: [16.36] Inserters get stuck

Post by mara »

something else

Bilka
Factorio Staff
Factorio Staff
Posts: 3123
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [16.36] Inserters get stuck

Post by Bilka »

mara wrote:I got the similar bug. Three leftmost stack inserters on gears factory getting stuck and cant take items from belt. They "vibrating" and trying to take iron but they can't. If u take some iron plates from belt or take inserter and place it, it will work fine. But after some time (from several minutes to couple hours) it getting stuck again. Inserters holding no items when they stuck. There are only iron plates on these belts. Also other 9 input stack inserters are always working fine. I'm using no mods. Here is savegame file where 2 of these inserters are stuck.
That's a different "bug" that's not a bug and not related to this thread. See this thread for more info on your "bug": 49473
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13175
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.16.36] Inserters get stuck

Post by Rseding91 »

Thanks for the report and investigation. It's now fixed for the next version of 0.16 or 0.17 which ever comes first.
If you want to get ahold of me I'm almost always on Discord.

User avatar
Lubricus
Filter Inserter
Filter Inserter
Posts: 294
Joined: Sun Jun 04, 2017 12:13 pm
Contact:

Re: [0.16.36] Inserters get stuck

Post by Lubricus »

Great. Best devs ever.

Saiph
Inserter
Inserter
Posts: 22
Joined: Mon Jul 24, 2017 9:38 am
Contact:

Re: [0.16.36] Inserters get stuck

Post by Saiph »

Rseding91 wrote:Thanks for the report and investigation. It's now fixed for the next version of 0.16 or 0.17 which ever comes first.
Thank you thank you thank you for fixing this!

Jebula999
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Jul 23, 2018 8:11 pm
Contact:

Re: [0.16.36] Inserters get stuck

Post by Jebula999 »

Rseding91 wrote:Thanks for the report and investigation. It's now fixed for the next version of 0.16 or 0.17 which ever comes first.
Hi, Sorry to start this post again, but i am having the same issue mentioned above, with the latest release.

Has the update containing the fix been done? Or will it only be in 0.17?

coderpatsy
Long Handed Inserter
Long Handed Inserter
Posts: 68
Joined: Tue Apr 17, 2018 11:45 pm
Contact:

Re: [0.16.36] Inserters get stuck

Post by coderpatsy »

The update should be live on both stable and experimental. It apparently did not fix all causes of inserters getting stuck. See for example viewtopic.php?t=61705 viewtopic.php?t=59807 viewtopic.php?t=58984

Post Reply

Return to “Resolved Problems and Bugs”