[Oxyd][Linux] Repeatable segfault on "xrandr ... --off"

This subforum contains all the issues which we already resolved.
Post Reply
dwhughes
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Mar 14, 2016 6:06 pm
Contact:

[Oxyd][Linux] Repeatable segfault on "xrandr ... --off"

Post by dwhughes »

I am on a Thinkpad T510 laptop (specs). I use xrandr to switch between the laptop screen (output LVDS-0) and my monitor (VGA-0) by using xrandr. (I do this in two separate operations because my window manager (i3) sometimes didn't like an atomic switch.)

Code: Select all

xrandr --output VGA-0 --auto
sleep 3
xrandr --output LVDS-0 --off
If Factorio is running, it repeatably crashes on the "xrandr ... --off" command. This happened whether I was switching from VGA-0 to LVDS-0 or the reverse.

Log:

Code: Select all

skierfe:/var/tmp/factorio % ./bin/x64/factorio
   0.000 2016-03-14 19:23:08; Factorio 0.12.26 (Build 17762, linux64)
   0.053 Operating system: Linux (Ubuntu 14.04)
   0.053 Program arguments: "./bin/x64/factorio" 
   0.053 Read data path: /var/tmp/factorio/data
   0.053 Write data path: /var/tmp/factorio
   0.053 Binaries path: /var/tmp/factorio/bin
   0.107 Available display adapters: 1
   0.107  [0]: resolution 1600x900px at [0,0]
   0.107 Create display on adapter 0. Size 1280x720 at position [150, 72].
   0.176 Initialised OpenGL:[0] NVS 3100M/PCIe/SSE2; driver: 3.3.0 NVIDIA 304.131
   0.199 Graphics options: [FullScreen: false] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: high] [Light scale: 20%] [Screen: 255]
   0.283 Loading mod core 0.0.0 (data.lua)
   0.286 Loading mod base 0.12.26 (data.lua)
   0.686 Initial atlas bitmap size is 8192
   0.737 Created atlas bitmap 8192x8189
   0.779 Created atlas bitmap 8192x2685
 139.865 Info Updater.cpp:752: Downloading https://www.factorio.com/updater/get-available-versions?username=dwhughes&token=<private>&apiVersion=2
 141.034 0 packages available to download (experimental updates disabled).
 141.076 Factorio initialised
 176.095 Warning Logger.cpp:330: Symbols.size() == 10, usedSize == 8
Factorio crashed. Generating symbolized stacktrace, please wait ...
 176.144 Warning Logger.cpp:330: Symbols.size() == 9, usedSize == 7
#0  0x7f54ce58ed40 in ?? at ??:0
#1  0xc13ce8 in xrandr_get_monitor_info at /tmp/factorio-tNI1Th/libraries/Allegro/src/x/xrandr.c:654
#2  0xc0ef26 in _al_xglx_display_configure at /tmp/factorio-tNI1Th/libraries/Allegro/src/x/xdisplay.c:981
#3  0xc1152f in _al_xglx_display_configure_event at /tmp/factorio-tNI1Th/libraries/Allegro/src/x/xdisplay.c:1012
#4  0xbbf01b in process_x11_event at /tmp/factorio-tNI1Th/libraries/Allegro/src/x/xevents.c:139
#5  0x7f54d01b2182 in _al_xwin_background_thread at /tmp/factorio-tNI1Th/libraries/Allegro/src/x/xevents.c:204
#6  0x7f54ce65247d in thread_proc_trampoline at /tmp/factorio-tNI1Th/libraries/Allegro/src/unix/uxthread.c:49
 176.145 Error Util.cpp:77: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.
zsh: segmentation fault (core dumped)  ./bin/x64/factorio
Screen details:

Code: Select all

skierfe:~ % xrandr
Screen 0: minimum 8 x 8, current 1920 x 1200, maximum 8192 x 8192
VGA-0 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200      60.0*+
   1920x1080      60.0  
   1680x1050      60.0  
   1600x1200      60.0  
   1440x900       59.9  
   1280x1024      60.0  
   1280x800       59.8  
   1280x720       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
LVDS-0 connected (normal left inverted right x axis y axis)
   1600x900       60.2 +   50.0  
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
If I can supply more information, please let me know.

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [Oxyd][Linux] Repeatable segfault on "xrandr ... --off"

Post by Oxyd »

The crash will be fixed in 0.12.27.

Post Reply

Return to “Resolved Problems and Bugs”