rhythmbox freezes after playing for some time intermitently

Bug #190059 reported by b
2
Affects Status Importance Assigned to Milestone
alsa-lib (Ubuntu)
Fix Released
Low
Daniel T Chen

Bug Description

Gutsy, rhythmbox 0.11.2-0ubuntu4,

After playing songs in my library eventually rhythmbox will freeze. The system tray icon does not respond on right-click, if the GUI is on a desktop it will not redraw. It freezes on a different song each time.

stdout seems to print this:

sh: jackd: not found

strace says this at the end before the freeze:

mmap2(NULL, 1053, PROT_READ, MAP_SHARED, 21, 0) = 0xb4bd9000
_llseek(21, 1053, [1053], SEEK_SET) = 0
munmap(0xb4bd9000, 1053) = 0
close(21) = 0
open("/dev/snd/controlC0", O_RDONLY) = 21
close(21) = 0
semget(0x56a4d5, 1, IPC_CREAT|0660) = 42663938
semctl(42663938, 0, IPC_64|IPC_STAT, 0xbf8d4118) = 0
semctl(42663938, 0, IPC_64|IPC_SET, 0xbf8d4118) = -1 EPERM (Operation not permitted)
semop(42663938, 0xbf8d41ee, 2

Trying with gdb now, but this can often take hours. I'll attach my full strace.

Ok, it froze again, after killing rhythmbox with ctrl-C bt gdb gives me:

Program received signal SIGINT, Interrupt.
[Switching to Thread -1231059264 (LWP 20635)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb6e4b03b in semop () from /lib/tls/i686/cmov/libc.so.6
#2 0xb6abd5a1 in snd_pcm_dmix_open () from /usr/lib/libasound.so.2
#3 0xb6abe287 in _snd_pcm_dmix_open () from /usr/lib/libasound.so.2
#4 0xb6a8c385 in ?? () from /usr/lib/libasound.so.2
#5 0xbf8624f8 in ?? ()
#6 0xb39dd3f0 in ?? ()
#7 0x089f7040 in ?? ()
#8 0xb39d6bc8 in ?? ()
#9 0x00000000 in ?? ()

I'm now on this kernel:

 2.6.22-14-generic #1 SMP

Now downloading the 2.6.22-14.51 image with update-manager.

Related branches

Revision history for this message
b (ben-ekran) wrote :
Revision history for this message
xor2003 (xorrezerv2) wrote :

I have same problem. Freeze on samphore. Problem is in alsa. When I switch to OSS - every thing works.

Revision history for this message
xor2003 (xorrezerv2) wrote :

When I switch from kernel 2.6.22 to 2.6.20 - sound over alsa works again

Daniel T Chen (crimsun)
Changed in alsa-lib:
assignee: nobody → crimsun
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package alsa-lib - 1.0.15-3ubuntu4

---------------
alsa-lib (1.0.15-3ubuntu4) hardy; urgency=low

  * Backport fixes from hg tip (no API/ABI changes):
    - fix_sem_deadlock_in_dmix.patch (LP: #190059),
    - fix_const_casts.patch,
    - fix_ioplug.patch,
    - fix_control_range.patch,
    - dont_use_hackish_callback_in_rate_plugin.patch,
    - fix_cpu_hog_in_rate_plug.patch,
    - fix_mmap_with_multi_plug.patch,
    - fix_wrong_return_values_in_direct_plug.patch,
    - fix_timestamp_in_status_pcm_direct_plug.patch,
    - fix_configs_error_handling.patch,
    - fix_not_updated_bit_set.patch,
    - fix_device_assignment.patch,
    - fix_missing_aliases.patch.

 -- Daniel T Chen <email address hidden> Tue, 11 Mar 2008 23:31:24 -0400

Changed in alsa-lib:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.