Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 512718

Summary: media-sound/audacity: crash at startup, no tmp directory found
Product: Gentoo Linux Reporter: Kalisox <lsd>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kalisox 2014-06-08 08:27:58 UTC
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
Comment 1 Kalisox 2014-06-08 08:33:59 UTC
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
Comment 2 Kalisox 2014-06-08 08:34:54 UTC
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
Comment 3 Kalisox 2014-06-08 08:40:20 UTC
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)
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-08 11:36:34 UTC
Users should always have write access to /var/tmp, so this is not a problem in audacity. Something on your system is doing this.