Every time I start Audacity it ask me to specif temp directory in my preferences because it can't find one itself. And then it just segment fault, after 2 "kde4-config: command not found". I tried 2 version: 2.0.2 and 2.0.5. Audacity USEs: alsa, flac, libsaxr, mp3, vorbis. Reproducible: Always
Maybe I figured out the problem! Audacity try to make a folder under 'var/tmp' but actually it does not have permission here. ls -l /var/tmp drwxr-xr-x 1 root root 60 1 giu 22.24 genkernel drwxrwxr-x 1 portage portage 42 8 giu 10.18 portage
Sorry, it's: ls -l /var/ drwxr-xr-x 1 root root 100 2 giu 00.11 cache drwxr-xr-x 1 root root 30 8 giu 10.18 db drwxr-xr-x 1 root root 64 1 giu 23.20 empty drwxr-xr-x 1 root root 224 7 giu 11.05 lib lrwxrwxrwx 1 root root 9 22 mag 13.13 lock -> /run/lock drwxr-xr-x 1 root root 254 7 giu 12.26 log lrwxrwxrwx 1 root root 15 8 giu 08.55 mail -> /var/spool/mail drwxr-xr-x 1 nullmail root 44 1 giu 23.04 nullmailer lrwxrwxrwx 1 root root 4 22 mag 13.13 run -> /run drwxr-xr-x 1 root root 34 8 giu 08.55 spool drwxr-xr-x 1 root root 32 1 giu 23.22 tmp
I used strace to prove that, here you see: stat("/var/tmp/audacity-kalisox", 0x7fffed85ce40) = -1 ENOENT (No such file or directory) mkdir("/var/tmp/audacity-kalisox", 0755) = -1 EACCES (Permission denied)
Users should always have write access to /var/tmp, so this is not a problem in audacity. Something on your system is doing this.