Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
audacious-2.3_alpha2 freezes, crashes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Thu Feb 18, 2010 5:13 pm    Post subject: audacious-2.3_alpha2 freezes, crashes Reply with quote

So, audacious now takes a good 10 seconds to start, and then freezes if I try to skip ahead to the next track. It's a huge pain, and I can't really debug it except to use strace on it (which doesn't give me much information that I can understand). Maybe one of you can help? I'll give you cupcakes!

Here's what strace does when I'm starting audacious. The last line is where it sits for a good ten seconds:
Code:

open("/home/elassus/.mcs-backend", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mcs-backend", O_RDONLY)          = -1 ENOENT (No such file or directory)
mkdir("/home", 0755)                    = -1 EEXIST (File exists)
mkdir("/home/elassus", 0755)            = -1 EEXIST (File exists)
mkdir("/home/elassus/.config", 0755)    = -1 EEXIST (File exists)
mkdir("/home/elassus/.config/audacious", 0755) = -1 EEXIST (File exists)
open("/home/elassus/.config/audacious/config", O_RDONLY) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=6045, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f67556f9000
read(8, "[ALSA]\nbuffer_time=500\nperiod_ti"..., 4096) = 4096
read(8, "ard_mask=0\nforward_type=0\nbackwa"..., 4096) = 1949
read(8, "", 4096)                       = 0
close(8)                                = 0
munmap(0x7f67556f9000, 4096)            = 0
open("/home/elassus/.config/audacious/config.tmp", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f67556f9000
write(8, "[ALSA]\nbuffer_time=500\nperiod_ti"..., 4096) = 4096
write(8, "ard_mask=0\nforward_type=0\nbackwa"..., 1949) = 1949
close(8)                                = 0
munmap(0x7f67556f9000, 4096)            = 0
rename("/home/elassus/.config/audacious/config.tmp", "/home/elassus/.config/audacious/config") = 0
write(4, "Initializing signal handlers\n", 29) = 29
rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM], NULL, 8) = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_max(SCHED_OTHER)     = 0
mmap(NULL, 8392704, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f674aec1000
mprotect(0x7f674aec1000, 4096, PROT_NONE) = 0
clone(child_stack=0x7f674b6c0f70, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f674b6c19e0, tls=0x7f674b6c1710, child_tidptr=0x7f674b6c19e0) = 27170
write(4, "Handling commandline options, pa"..., 38) = 38
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC, 0) = 8
connect(8, {sa_family=AF_FILE, path=@"/tmp/dbus-RTRolVOs1p"}, 23) = 0
fcntl(8, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(8, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
geteuid()                               = 1000
getsockname(8, {sa_family=AF_FILE, NULL}, [2]) = 0
poll([{fd=8, events=POLLOUT}], 1, 0)    = 1 ([{fd=8, revents=POLLOUT}])
write(8, "\0", 1)                       = 1
sendto(8, "AUTH EXTERNAL 31303030\r\n", 24, MSG_NOSIGNAL, NULL, 0) = 24
poll([{fd=8, events=POLLIN}], 1, -1)    = 1 ([{fd=8, revents=POLLIN}])
read(8, "OK 7d447e607736cf6dacca63a34b7d7"..., 2048) = 37
poll([{fd=8, events=POLLOUT}], 1, -1)   = 1 ([{fd=8, revents=POLLOUT}])
sendto(8, "NEGOTIATE_UNIX_FD\r\n", 19, MSG_NOSIGNAL, NULL, 0) = 19
poll([{fd=8, events=POLLIN}], 1, -1)    = 1 ([{fd=8, revents=POLLIN}])
read(8, "AGREE_UNIX_FD\r\n", 2048)      = 15
poll([{fd=8, events=POLLOUT}], 1, -1)   = 1 ([{fd=8, revents=POLLOUT}])
sendto(8, "BEGIN\r\n", 7, MSG_NOSIGNAL, NULL, 0) = 7
poll([{fd=8, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=8, revents=POLLOUT}])
sendmsg(8, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\0\0\0\0\1\0\0\0n\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 128}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 128
poll([{fd=8, events=POLLIN}], 1, 25000) = 1 ([{fd=8, revents=POLLIN}])
recvmsg(8, {msg_name(0)=NULL, msg_iov(1)=[{"l\2\1\1\n\0\0\0\1\0\0\0=\0\0\0\6\1s\0\5\0\0\0:1.16\0\0\0"..., 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 260
recvmsg(8, 0x7fff204ca420, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
fstat(8, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
fcntl(8, F_GETFL)                       = 0x802 (flags O_RDWR|O_NONBLOCK)
sendmsg(8, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\1\1n\0\0\0\2\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 144}, {"i\0\0\0type='signal',sender='org.at"..., 110}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 254
sendmsg(8, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\1\1\244\0\0\0\3\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 144}, {"\237\0\0\0type='signal',sender='org.fr"..., 164}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 308
sendmsg(8, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\31\0\0\0\4\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 144}, {"\24\0\0\0org.atheme.audacious\0", 25}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 169
sendmsg(8, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\0\0\0\0\5\0\0\0p\0\0\0\1\1o\0\25\0\0\0/org/ath"..., 128}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 128
poll([{fd=8, events=POLLIN}], 1, 25000) = 1 ([{fd=8, revents=POLLIN}])
recvmsg(8, {msg_name(0)=NULL, msg_iov(1)=[{"l\2\1\1\0\0\0\0\3\0\0\0005\0\0\0\6\1s\0\5\0\0\0:1.16\0\0\0"..., 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 233
recvmsg(8, 0x7fff204ca280, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=8, events=POLLIN}], 1, 25000


And when it freezes
Code:
writev(5, [{"5\30\4\0\317\3`\3\26\0`\3L\0\20\0\225\4\5\0\320\3`\3\317\3`\3\f\1\0\0"..., 316}, {NULL, 0}, {"", 0}], 3) = 316
read(5, 0x66b0a4, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x66b0a4, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN}], 4, 25) = 0 (Timeout)
read(9, 0x7fff835b7d10, 72)             = -1 EAGAIN (Resource temporarily unavailable)
read(9, 0x7fff835b7d30, 72)             = -1 EAGAIN (Resource temporarily unavailable)
ioctl(13, 0x4122, 0)                    = 0
ioctl(13, 0x4122, 0xca97)               = 0
ioctl(13, 0x4122, 0xca98)               = 0
poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
writev(5, [{"\225\6\v\0x\0`\3\0\0\0\0\0\0\0\0\23\0011\0\0\0001\0\22\0\20\0^\0001\0"..., 400}, {NULL, 0}, {"", 0}], 3) = 400
read(5, 0x66b0a4, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN}], 4, 1) = 0 (Timeout)
ioctl(13, 0x4122, 0)                    = 0
ioctl(13, 0x4122, 0xcb56)               = 0
ioctl(13, 0x4122, 0xcb57)               = 0
read(5, 0x66b0a4, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN}], 4, 25) = 0 (Timeout)
poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
writev(5, [{"\225\6\v\0x\0`\3\0\0\0\0\0\0\0\0\23\0011\0\0\0001\0\22\0\20\0^\0001\0"..., 200}, {NULL, 0}, {"", 0}], 3) = 200
read(5, 0x66b0a4, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN}], 4, 1) = 0 (Timeout)
ioctl(13, 0x4122, 0)                    = 0
ioctl(13, 0x4122, 0xd154)               = 0
ioctl(13, 0x4122, 0xd155)               = 0
read(5, 0x66b0a4, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN}], 4, 0) = 0 (Timeout)
poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
writev(5, [{"5\30\4\0\334\3`\3\26\0`\3L\0\20\0\225\4\5\0\335\3`\3\334\3`\3\f\1\0\0"..., 316}, {NULL, 0}, {"", 0}], 3) = 316
read(5, 0x66b0a4, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x66b0a4, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN}], 4, 25) = 0 (Timeout)
poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
writev(5, [{"\225\6\v\0x\0`\3\0\0\0\0\0\0\0\0\23\0011\0\0\0001\0\22\0\20\0^\0001\0"..., 200}, {NULL, 0}, {"", 0}], 3) = 200
read(5, 0x66b0a4, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN}], 4, 1) = 0 (Timeout)
ioctl(13, 0x4122, 0)                    = 0
ioctl(13, 0x4122, 0xd74e)               = 0
ioctl(13, 0x4122, 0xd74f)               = 0
read(5, 0x66b0a4, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN}], 4, 0) = 0 (Timeout)
poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
writev(5, [{"5\30\4\0\343\3`\3\26\0`\3L\0\20\0\225\4\5\0\344\3`\3\343\3`\3\f\1\0\0"..., 316}, {NULL, 0}, {"", 0}], 3) = 316
read(5, 0x66b0a4, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x66b0a4, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN}], 4, 25) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\2f`\22'\372\221\vE\1\0\0E\1\0\0\0\0\0\0\334\5\356\2\334\5\356\2\34\0\1\0", 4096) = 32
read(5, 0x66b0a4, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)
read(9, 0x7fff835b7ab0, 72)             = -1 EAGAIN (Resource temporarily unavailable)
futex(0x7fa4a20369e0, FUTEX_WAIT, 27280, NULL


So, what's going on here? Anybody good at reading this stuff? I tried rolling audacious back one version, which didn't help. When this was happening before, I think it was a codec. But I'm not really sure what's up.

Thanks,

EE


Last edited by ExecutorElassus on Sat Apr 17, 2010 10:27 am; edited 2 times in total
Back to top
View user's profile Send private message
niuck
n00b
n00b


Joined: 16 Mar 2005
Posts: 60

PostPosted: Fri Mar 05, 2010 7:53 pm    Post subject: Reply with quote

I had the same problem with 2.3_beta1.

Try this:

Go into Preferences and alsa output plugins preferences and select "work around snd_pcm_drop hangup"
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Fri Mar 05, 2010 8:05 pm    Post subject: Reply with quote

yup. a dev left a note on the bug report I filed that this has been a workaround for some time. I should, uh, maybe read the comments on the installation more.

so, solved.

Thanks!
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Mar 05, 2010 9:22 pm    Post subject: Reply with quote

Audacious tends to have lots of bugs, it seems :(

audacious-plugins is a separate installation, just to annoy us compile-from-source people. Ho hum.

For audacious 1.5.1, I was using Ubuntu's patches, which worked great.

For audacious 2.2, I've just started (today) using Fedora's patches for audacious and audacious-plugins. I suggest these, if you want an up-to-date audacious which is decently bug-free and useable.
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Sat Apr 17, 2010 10:27 am    Post subject: Reply with quote

So, the "stable" (??) 2.3 version is out , and I have all sorts of problems with it. Playback randomly drops into playing digital noise (like the track is super-fast-forwarded), sometimes freezes, takes 20 seconds to start because it's waiting for some unavailable resource, etc. I have the pcm-drop-workaround checkbox checked.

Anybody else having this problem? I'm going to remove the [SOLVED] bit, as it seems to have been unsolved.

Thanks,

EE
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sat Apr 17, 2010 11:29 am    Post subject: Reply with quote

PaulBredbury wrote:
audacious-plugins is a separate installation, just to annoy us compile-from-source people. Ho hum.

audacious-plugins is separate so you don't have to recompile the GUI just to enable one plugin. Just like xorg-server.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Apr 17, 2010 11:42 am    Post subject: Reply with quote

I'm actually finding 2.3 to be OK, aside from the UI getting a yellow-ish-green tinge for no apparent reason :?

Ant_P wrote:
Just like xorg-server.

Aside from being a hundred-thousandth of the complexity :lol:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum