Linux: X11 Crash with Stumpwm Window Manager and Renoise

Hi,

I’m using StumpWM as a window manager on Ubuntu 14.04 (x64). When I start Renoise, it crashes the X server just as it is displaying the main screen. Renoise says:

============================================================
Version : Renoise V3.0.1 (Oct 13 2014)
Date : 2015-03-19
Time : 14:07:03
OS : Linux version 3.16.0-31-generic (buildd@klock) (gcc version 4.9.1 (Ubuntu 4.9.1-16ubuntu6) ) #43-Ubuntu SMP Tue Mar 10 17:37:36 UTC 2015

============================================================

CPU: Found 4 enabled unit(s) with 1 core(s) / 1 logical processor(s) per unit. 4 cores, 4 logical processors are enabled in total.

Application: Showing the splash window...

StartupWindow: Initialiting the startup window...

Graphport: Initialising XThreads...
Graphport: Opening XDisplay ':0.0' (configured via 'DISPLAY' env)...
Graphport: XDisplay was successfully opened
Graphport: Initializing Freeimage...

StartupWindow: using font '-misc-fixed-medium-r-normal--9-*-*-*-*-*-iso10646-1' for the splash screen
StartupWindow: Startup window successfully initialized...

Application: Initializing the API...

IPP: Detected CPU type: 0x46

File-IO: Enabling MP3 decoding support using system mpg123 library...

ALSA: Enumerating Devices...
ALSA: PLAYBACK info: card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
ALSA: PLAYBACK info: card 1: Generic_1 [HD-Audio Generic], device 0: CX20751/2 Analog [CX20751/2 Analog]
ALSA: CAPTURE info: card 1: Generic_1 [HD-Audio Generic], device 0: CX20751/2 Analog [CX20751/2 Analog]

MIDI-IO: Failed to open the MIDI input sequencer (error: No such file or directory)!
MIDI-IO: Failed to open the MIDI output sequencer (error: No such file or directory)!

Error Message: Failed to open the ALSA MIDI sequencers. MIDI is disabled.
Error Message: Please make sure that 'snd-seq' was successfully started.

GraphPort: Loading cursor images (libXcursor is present)...

System: Application path retrieved from /proc/self/exe: '/usr/local/bin/renoise-3.0.1'
System: Running from '/usr/local/bin'...

GraphPort: Initializing the Font Engine...
GraphPort: Enumerating system fonts...

Graphport: Initializing Keyboard mappings...
Graphport: Initializing XAtoms...

Application: Initializing Icon Bitmaps...
Application: Skipped high resolution icon image(s) (too less space for selection - cur: 159808, new: 524304, max: 262144)
Application: Start running...
Application: Loading the preferences...

ScriptingTools: Initializing Scripting Tool: '/usr/local/share/renoise-3.0.1/Scripts/Tools/com.renoise.ToolUpdater.xrnx/'...
ScriptingTools: Initializing Scripting Tool: '/usr/local/share/renoise-3.0.1/Scripts/Tools/com.renoise.UpdateChecker.xrnx/'...

Application: Init...

DspDevices: Registering native DSP effects...

LADSPA: LADSPA_PATH environment variable not set. Using '/usr/lib[64]/ladspa:/usr/local/lib[64]/ladspa:~/.ladspa'...

Audio Plugins: Skipping LADSPA plugin path '/usr/lib/ladspa/' (Directory does not exist)...
Audio Plugins: Skipping LADSPA plugin path '/usr/lib64/ladspa/' (Directory does not exist)...
Audio Plugins: Skipping LADSPA plugin path '/usr/local/lib/ladspa/' (Directory does not exist)...
Audio Plugins: Skipping LADSPA plugin path '/usr/local/lib64/ladspa/' (Directory does not exist)...
Audio Plugins: Skipping LADSPA plugin path '/home/matt/.ladspa/' (Directory does not exist)...

DSSI: DSSI_PATH environment variable not set. Using '/usr/lib[64]/dssi:/usr/local/lib[64]/dssi:~/.dssi'...

Audio Plugins: Skipping DSSI plugin path '/usr/lib/dssi/' (Directory does not exist)...
Audio Plugins: Skipping DSSI plugin path '/usr/lib64/dssi/' (Directory does not exist)...
Audio Plugins: Skipping DSSI plugin path '/usr/local/lib/dssi/' (Directory does not exist)...
Audio Plugins: Skipping DSSI plugin path '/usr/local/lib64/dssi/' (Directory does not exist)...
Audio Plugins: Skipping DSSI plugin path '/home/matt/.dssi/' (Directory does not exist)...

System: Application path retrieved from /proc/self/exe: '/usr/local/bin/renoise-3.0.1'

ALSA: Opening ALSA Playback Device 'hw:1,0 (CX20751/2 Analog)'...
ALSA: Open ALSA Output Device OK
ALSA: Max channels is 2 for Playback...
ALSA: Using 2 channels (2 requested) for Playback...
ALSA: Using access format RW_INTERLEAVED (requested RW_INTERLEAVED) for Playback...
ALSA: Using sample format S32_LE for Playback...
ALSA: Using samplerate 44100 (requested 44100) for Playback...
ALSA: Using period time 512 (requested 512) for Playback...
ALSA: Using 2 num periods (requested 2) for Playback...
ALSA: Using buffer size 1024 (requested 1024)...
ALSA: Setup Buffers...
ALSA: Configuring the Player...
ALSA: Creating the poll thread...
ALSA: Successfully created an ALSA RT thread
ALSA: Up and running...

Application: Creating a new document...

MIDI: Loading MIDI actions from file '/usr/local/share/renoise-3.0.1/Scripts/GlobalMidiActions.lua'...

Osc: Loading OSC actions from file '/usr/local/share/renoise-3.0.1/Scripts/GlobalOscActions.lua'...

Player: Constructing...
Player: Creating the slave threads...
Player: Start running...

GUI: Creating the Document GUI...
GUI: Successfully constructed

Application: A new document was created.

GraphPort: Initializing in WindowedMode...
GraphPort: Successfully initialized

Application: Init OK

System: X ERROR: Connection to the X server was cut. Bailing out...

I can’t see anything meaningful in the X or stumpwm logs, though I did notice that there is a cryptic little “Another window manager is running” on the bash prompt when it barfs. I can’t tell who said it though.

Stumpwm does take control of the window size and is trying to fit it to the full extent of the screen (though this is not necessarily fullscreen if you see what I mean). Any thoughts?