[16.35] intel_do_flush_locked failed: No space left on...

Bugs that are actually features.
Post Reply
wolandmaster
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Jul 23, 2016 7:08 pm
Contact:

[16.35] intel_do_flush_locked failed: No space left on...

Post by wolandmaster »

Recently the game very often crash with the following error message:

Code: Select all

1726.558 Info AppManager.cpp:260: Saving to _autosave3 (blocking).
1728.906 Info AppManagerStates.cpp:1642: Saving finished
intel_do_flush_locked failed: No space left on device
intel_do_flush_locked failed: Invalid argument
Segmentation fault
It is usually happens when a automatic save take place, so it is very
annoying that I lose 5 minutes gameplay and have to do the same things again.

I'm using Ubuntu 16.04.4 on Dell Latitude E7440 notebook.

Thanks in advance!
Attachments
long_play.zip
save game
(20.43 MiB) Downloaded 90 times
dpkg_intel.txt
dpkg -l | grep -iw intel
(1.25 KiB) Downloaded 96 times
factorio-current.log
log file of a crash
(4.78 KiB) Downloaded 112 times

rorror
Fast Inserter
Fast Inserter
Posts: 241
Joined: Fri Nov 21, 2014 9:02 pm
Contact:

Re: [16.35] intel_do_flush_locked failed: No space left on...

Post by rorror »

"No space left on device"
Check if your computer has enough disk space to save your game.

Tought that a few version back there was a change that they solved crashing when saving game, while computer had no diskspace. I guess there still an misstake there in the code.

Loewchen
Global Moderator
Global Moderator
Posts: 8321
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [16.35] intel_do_flush_locked failed: No space left on...

Post by Loewchen »

Post a log with crash please.

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

Re: [16.35] intel_do_flush_locked failed: No space left on...

Post by Rseding91 »

Thanks for the report however the log file doesn't show any crash in it.
If you want to get ahold of me I'm almost always on Discord.

wolandmaster
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Jul 23, 2016 7:08 pm
Contact:

Re: [16.35] intel_do_flush_locked failed: No space left on...

Post by wolandmaster »

The attached log was used/written during the crash
(yes, I also saw that the intel_do_flush_locked lines are missing from
the saved log, that's why added the end of the console output to the first post)
.

I think it is not related to the disk, it has enough space:

Code: Select all

# df -h
Filesystem                   Size  Used Avail Use% Mounted on
udev                         7.8G     0  7.8G   0% /dev
tmpfs                        1.6G  163M  1.5G  11% /run
/dev/mapper/ubuntu--vg-root  218G  150G   58G  73% /
tmpfs                        7.8G   45M  7.8G   1% /dev/shm
tmpfs                        5.0M  4.0K  5.0M   1% /run/lock
tmpfs                        7.8G     0  7.8G   0% /sys/fs/cgroup
/dev/sda2                    473M  136M  313M  31% /boot
/dev/sda1                    511M  4.7M  507M   1% /boot/efi

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

Re: [16.35] intel_do_flush_locked failed: No space left on...

Post by Rseding91 »

Looking online it looks like that's a driver error with the OS you're using and outside of anything we can control.
If you want to get ahold of me I'm almost always on Discord.

wolandmaster
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Jul 23, 2016 7:08 pm
Contact:

Re: [16.35] intel_do_flush_locked failed: No space left on...

Post by wolandmaster »

Hmm, OK, but this crash happens for roughly a month ago.
Do you think that an ubuntu (intel driver) update caused the problem?

Based on the dpkg log, the last intel related install was on last august:

Code: Select all

# zgrep -iw intel /var/log/dpkg.log*
/var/log/dpkg.log.2.gz:2017-08-01 11:22:42 install intel-gpu-tools:amd64 <none> 1.14-1
/var/log/dpkg.log.2.gz:2017-08-01 11:24:29 install xserver-xorg-video-intel-hwe-16.04:amd64 <none> 2:2.99.917+git20170309-0ubuntu1~16.04.1

User avatar
Mike5000
Fast Inserter
Fast Inserter
Posts: 133
Joined: Sun Mar 25, 2018 3:57 am
Contact:

Re: [16.35] intel_do_flush_locked failed: No space left on...

Post by Mike5000 »

You're getting ENOSPC which means some resource is exhausted. The default error text says no space left on device but ENOSPC can also happen when any other resource is exhausted.

Usually a developer with source code can tell you what resource was exhausted by seeing which syscall failed.

Meanwhile check the output of the ulimit command for unnecessary limits and also run "df -i" to see if you're short of inodes.

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

Re: [16.35] intel_do_flush_locked failed: No space left on...

Post by kitcat »

Apparently, the Intel driver fails with ENOSPC if there are too many textures bound/attached. It is not a disk space or file limit problem.

Ref: [1] [2]

wolandmaster
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Jul 23, 2016 7:08 pm
Contact:

Re: [16.35] intel_do_flush_locked failed: No space left on...

Post by wolandmaster »

Whats next? Should I change a configuration parameter? or is it a bug?

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [16.35] intel_do_flush_locked failed: No space left on...

Post by posila »

It's a bug in your graphics driver.

It looks like the driver crashes when the game is creating screenshot for preview image for save - if it didn't crash and produced "GL_OUT_OF_MEMORY" error instead (or some other error), the game would not crash as screenshot is not essentiel for the save.

You can work around the problem by reducing how much texture resources the game uses - enable "Low quality sprite rotation" or reduce "Sprite quality" to Normal.

wolandmaster
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Jul 23, 2016 7:08 pm
Contact:

Re: [16.35] intel_do_flush_locked failed: No space left on...

Post by wolandmaster »

It is crashing with enabled "Low quality sprite rotation" as well:

Code: Select all

...
  30.335 Sprites loaded
  30.335 Convert atlas 8192x6296 to: mipmap 
  30.959 Convert atlas 8192x8112 to: min-linear 
  31.894 Convert atlas 8192x528 to: min-linear 
  31.964 Convert atlas 8192x2100 to: trilinear-filtering 
  32.190 Convert atlas 8192x924 to: alpha-mask
  32.270 Custom inputs active: 0
  32.271 Info Updater.cpp:751: Downloading https://updater.factorio.com/get-available-versions?username=wolandmaster&token=<private>&apiVersion=2
  33.825 0 packages available to download (experimental updates enabled).
  33.920 Factorio initialised
  71.518 Loading map /home/esndoba/Games/factorio/saves/long_play.zip: 20982216 bytes.
  71.540 Loading Level.dat: 50431295 bytes.
  71.549 Info Scenario.cpp:136: Map version 0.16.35-0
  73.789 Loading script.dat: 313 bytes.
  73.793 Checksum for script /home/esndoba/Games/factorio/temp/currently-playing/control.lua: 55817070
  73.806 Checksum for script __blueprint-string__/control.lua: 1904438398
  73.809 Checksum for script __AutoDeconstruct__/control.lua: 1100852954
intel_do_flush_locked failed: No space left on device
  90.260 Error CrashHandler.cpp:520: Received SIGSEGV
intel_do_flush_locked failed: Invalid argument
Segmentation fault
Attachments
factorio-current.log
log
(3.86 KiB) Downloaded 85 times

wolandmaster
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Jul 23, 2016 7:08 pm
Contact:

Re: [16.35] intel_do_flush_locked failed: No space left on...

Post by wolandmaster »

It is crashed with normal Sprite quality and enabled Low quality sprite rotation.
Attachments
factorio-current.log
log
(10.18 KiB) Downloaded 82 times

Post Reply

Return to “Not a bug”