Waveform 9.3.4 Crash on arch linux [solved]

Discussion about: tracktion.com
RELATED
PRODUCTS

Post

The current beta segfaults on startup. I have an up to date arch linux 64bit system. The same version ran about a month ago. Is there a log file somewhere that might provide more info?

Code: Select all

terminate called without an active exception
Last edited by underdoeg on Thu Oct 04, 2018 8:04 pm, edited 1 time in total.

Post

In Windows 10 it's
c:\users\yourUserName\AppData\Roaming\Tracktion\Waveform\Temporary\Waveform9Log.txt

Which may point you in its general direction.
[W10-64, T5/6/7/W8/9/10/11/12/13, 32(to W8)&64 all, Spike],[W7-32, T5/6/7/W8, Gina16] everything underused.

Post

yes, similar in linux:
/home/yourUserName/.config/Tracktion/Waveform/Temporary/Waveform9Log.txt

Post

On Linux mint the log file resides in .config/Tracktion/Waveform/Temporary/Waveform9Log.txt

If you believe that it may be the case of an Edit became corrupted ( usually by a plugin etc ) and you had Waveform set to open the last project , then modify the file .config/Tracktion/waveform/CurrentUserSettings.trksettings and change the value for "reloadEdits" to "0" and restart Waveform.

Post

Thanks fo the quick replies. I tried it on two different computers with the same OS. Both crash. So it is probably not a corrupt project or setting.

This is my log file but the crash happens at an "unknown location"

Code: Select all

**********************************************************
Waveform 64-bit version: 9.3.4 (Built: 6 September 2018)
Log started: 2 Oct 2018 10:40:22pm

2 Oct 2018 22:40:22  Initialising...
2 Oct 2018 22:40:22  Initialising windows...
2 Oct 2018 22:40:22  Language: American English
2 Oct 2018 22:40:22  Initialising plugins...
2 Oct 2018 22:40:22  Last run failed to shut down cleanly
2 Oct 2018 22:40:22  /usr/bin/Waveform9
2 Oct 2018 22:40:22  Linux
2 Oct 2018 22:40:22  CPU: 3083MHz  Cores: 4  16026MB
2 Oct 2018 22:40:22  Events file size: 13.1 KB
2 Oct 2018 22:40:22  Initialising file formats...
2 Oct 2018 22:40:22  Initialising projects...
2 Oct 2018 22:40:22  Image database loaded 0 images in 0 seconds
2 Oct 2018 22:40:22  Initialising devices...
2 Oct 2018 22:40:22  Loop library loaded 4 loops in 45 ms
2 Oct 2018 22:40:22  Finding MIDI I/O
2 Oct 2018 22:40:22  MIDI output: Midi Through Port-0 (enabled)
2 Oct 2018 22:40:22  Wrote settings file: /home/philip/.config/Tracktion/Waveform/Tracktion.settings
2 Oct 2018 22:40:22  opening MIDI out device:Midi Through Port-0
2 Oct 2018 22:40:22  Wrote settings file: /home/philip/.config/Tracktion/Waveform/Tracktion.settings
2 Oct 2018 22:40:22  MIDI output: MPKmini2 MIDI 1 (enabled)
2 Oct 2018 22:40:22  Wrote settings file: /home/philip/.config/Tracktion/Waveform/Tracktion.settings
2 Oct 2018 22:40:22  opening MIDI out device:MPKmini2 MIDI 1
2 Oct 2018 22:40:22  Wrote settings file: /home/philip/.config/Tracktion/Waveform/Tracktion.settings
2 Oct 2018 22:40:22  MIDI input: Midi Through Port-0 (enabled)
2 Oct 2018 22:40:22  Wrote settings file: /home/philip/.config/Tracktion/Waveform/Tracktion.settings
2 Oct 2018 22:40:22  opening MIDI in device: Midi Through Port-0
2 Oct 2018 22:40:22  Wrote settings file: /home/philip/.config/Tracktion/Waveform/Tracktion.settings
2 Oct 2018 22:40:22  MIDI input: MPKmini2 MIDI 1 (enabled)
2 Oct 2018 22:40:22  Wrote settings file: /home/philip/.config/Tracktion/Waveform/Tracktion.settings
2 Oct 2018 22:40:22  opening MIDI in device: MPKmini2 MIDI 1
2 Oct 2018 22:40:22  Wrote settings file: /home/philip/.config/Tracktion/Waveform/Tracktion.settings
2 Oct 2018 22:40:22  Wrote settings file: /home/philip/.config/Tracktion/Waveform/Tracktion.settings
2 Oct 2018 22:40:22  ALSA: scanForDevices()
2 Oct 2018 22:40:22  ALSA: ID: null; desc: Discard all samples (playback) or generate zero samples (capture); ioid: 
2 Oct 2018 22:40:22  ALSA: ID: pulse; desc: PulseAudio Sound Server; ioid: 
2 Oct 2018 22:40:22  ALSA: ID: sysdefault:CARD=CODEC; desc: USB Audio CODEC, USB Audio
Default Audio Device; ioid: 
2 Oct 2018 22:40:22  ALSA: ID: front:CARD=CODEC,DEV=0; desc: USB Audio CODEC, USB Audio
Front speakers; ioid: 
2 Oct 2018 22:40:22  ALSA: ID: surround21:CARD=CODEC,DEV=0; desc: USB Audio CODEC, USB Audio
2.1 Surround output to Front and Subwoofer speakers; ioid: 
2 Oct 2018 22:40:22  ALSA: ID: surround40:CARD=CODEC,DEV=0; desc: USB Audio CODEC, USB Audio
4.0 Surround output to Front and Rear speakers; ioid: 
2 Oct 2018 22:40:22  ALSA: ID: surround41:CARD=CODEC,DEV=0; desc: USB Audio CODEC, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers; ioid: 
2 Oct 2018 22:40:22  ALSA: ID: surround50:CARD=CODEC,DEV=0; desc: USB Audio CODEC, USB Audio
5.0 Surround output to Front, Center and Rear speakers; ioid: 
2 Oct 2018 22:40:22  ALSA: ID: surround51:CARD=CODEC,DEV=0; desc: USB Audio CODEC, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers; ioid: 
2 Oct 2018 22:40:22  ALSA: ID: surround71:CARD=CODEC,DEV=0; desc: USB Audio CODEC, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers; ioid: 
2 Oct 2018 22:40:22  ALSA: ID: iec958:CARD=CODEC,DEV=0; desc: USB Audio CODEC, USB Audio
IEC958 (S/PDIF) Digital Audio Output; ioid: 
2 Oct 2018 22:40:22  ALSA: ID: sysdefault:CARD=PCH; desc: HDA Intel PCH, ALC889 Analog
Default Audio Device; ioid: 
2 Oct 2018 22:40:22  ALSA: ID: front:CARD=PCH,DEV=0; desc: HDA Intel PCH, ALC889 Analog
Front speakers; ioid: 
2 Oct 2018 22:40:22  ALSA: ID: surround21:CARD=PCH,DEV=0; desc: HDA Intel PCH, ALC889 Analog
2.1 Surround output to Front and Subwoofer speakers; ioid: Output
2 Oct 2018 22:40:22  ALSA: ID: surround40:CARD=PCH,DEV=0; desc: HDA Intel PCH, ALC889 Analog
4.0 Surround output to Front and Rear speakers; ioid: Output
2 Oct 2018 22:40:22  ALSA: ID: surround41:CARD=PCH,DEV=0; desc: HDA Intel PCH, ALC889 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers; ioid: Output
2 Oct 2018 22:40:22  ALSA: ID: surround50:CARD=PCH,DEV=0; desc: HDA Intel PCH, ALC889 Analog
5.0 Surround output to Front, Center and Rear speakers; ioid: Output
2 Oct 2018 22:40:22  ALSA: ID: surround51:CARD=PCH,DEV=0; desc: HDA Intel PCH, ALC889 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers; ioid: Output
2 Oct 2018 22:40:22  ALSA: ID: surround71:CARD=PCH,DEV=0; desc: HDA Intel PCH, ALC889 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers; ioid: Output
2 Oct 2018 22:40:22  ALSA: ID: iec958:CARD=PCH,DEV=0; desc: HDA Intel PCH, ALC889 Digital
IEC958 (S/PDIF) Digital Audio Output; ioid: Output
2 Oct 2018 22:40:22  ALSA: ID: hdmi:CARD=NVidia,DEV=0; desc: HDA NVidia, HDMI 0
HDMI Audio Output; ioid: Output
2 Oct 2018 22:40:22  ALSA: ID: hdmi:CARD=NVidia,DEV=1; desc: HDA NVidia, HDMI 1
HDMI Audio Output; ioid: Output
2 Oct 2018 22:40:22  ALSA: ID: hdmi:CARD=NVidia,DEV=2; desc: HDA NVidia, HDMI 2
HDMI Audio Output; ioid: Output
2 Oct 2018 22:40:22  ALSA: ID: sysdefault:CARD=MPKmini2; desc: Default Audio Device; ioid: 
2 Oct 2018 22:40:22  ALSA: getDeviceProperties(default)
2 Oct 2018 22:40:22  ALSA: getDeviceNumChannels: 1 10000
2 Oct 2018 22:40:22  ALSA: getDeviceNumChannels: 1 10000
2 Oct 2018 22:40:23  ALSA: testDevice: 'default' -> isInput: 1, isOutput: 1
2 Oct 2018 22:40:23  Audio block size: 1024  Rate: 44100
2 Oct 2018 22:40:23  Rebuilding Wave Device List...
2 Oct 2018 22:40:23  Wave In: capture_1 (enabled): 0 (L)
2 Oct 2018 22:40:23  Wave In: capture_2 (enabled): 1 (L)
2 Oct 2018 22:40:23  Wave In: monitor_1: 2 (L)
2 Oct 2018 22:40:23  Wave In: monitor_2: 3 (L)
2 Oct 2018 22:40:23  Wave Out: Output 1 + 2 (enabled): 0 (L), 1 (R)
2 Oct 2018 22:40:23  Default Wave: Output 1 + 2
2 Oct 2018 22:40:23  Default MIDI: Midi Through Port-0
2 Oct 2018 22:40:23  Initialising ReWire...
2 Oct 2018 22:40:23  Initialising controllers...
2 Oct 2018 22:40:23  Preset database loaded 284 presets in 634 ms seconds
2 Oct 2018 22:40:23  Creating Default Controllers...
2 Oct 2018 22:40:23  Loading Custom Controllers...
2 Oct 2018 22:40:23  Crash Location: UnknownLocation
2 Oct 2018 22:40:24  Reloading Windows...
2 Oct 2018 22:40:33  !! killing thread by force !!
2 Oct 2018 22:40:33  Crash Location: UnknownLocation
2 Oct 2018 22:40:33  Crashed
2 Oct 2018 22:40:33  

2 Oct 2018 22:40:33  Thread 0:
2 Oct 2018 22:40:33    0: MainWindow.cpp:MainWindow:2935
2 Oct 2018 22:40:33    1: WindowManager.cpp:createNewWindow:280
2 Oct 2018 22:40:33    2: ApplicationStartup.cpp:initialise:449

Post

Starting waveform like this:

Code: Select all

LD_PRELOAD=/usr/lib/libcurl.so.3 tracktion-waveform-beta
Seems to work

Post

I don't understand why you have to preload libcurl.
Is there some OS setting that stops dlopen from finding libcurl, libcurl.so.4 or libcurl.so.3? We look for them in that order.

Post

There shouldn't be anything stopping the app from finding a library within /usr/lib... But I just realized that I might have been to quick to think that this was it. I only did a test on my work PC and there the app loaded with the preload but crashed without it. (only tried once though) On my home pc the app crashes either way though...

Post

Oh ok... I just got that that launching with Waveform9 instead of tracktion-waveform-beta works. I did not realize before that /usr/bin/tracktion-waveform-beat is actually a shell script that adds "export LD_PRELOAD=/usr/lib/libcurl.so.4.4.0" before launching Waveform9. so solved then. thanks

Post

Where did "tracktion-waveform-beta" come from?

Post

not sure. I think it gets created by the MAKEPKG. But I dont know where the LD_PRELOAD is coming from.

Post

It's just that I've never written anything like "tracktion-waveform-beta" so I'm wondering how this has been installed if it's causing problems. How are you obtaining Waveform? The only place it should be available is from our main downloads page.

Post

This is from the main downloads page. But on arch it is common practice to provide aur helpers to help install third party software. these are scripts that for example convert the deb format to something installable or provide workarounds if necessary. so my guess is that at one point the preload was necessary for the software to run thus the maintainer added a launcher shell script.

Post

Ok, it's just that things that are outside of our standard workflows, it's very difficult to debug as there can be all sorts of things going on which we have no way of knowing about.

Post

Yes of course. That is why I also investigated the issue in the aur community.

I see it as a nice bonus that this software runs at all on a technically non supported linux distro.

Post Reply

Return to “Tracktion”