Sound Recorder doesn't work

Bug #60536 reported by Jame
14
Affects Status Importance Assigned to Milestone
gnome-media (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

System:
       Ubuntu LTS 6.06

Problem: Sound capture ?
      Basically, the microphone and sound device seem ok. I can hear my voice from mic. But the 'Sound Recorder' immediately hangs as soon as I press the <Record> button. So I have to force quit it.
      I can only record in the command line : rec -r 44000 test.wav, but not by 'arecord -f cd test.wav'.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. What version of Ubuntu do you use. What tool do you use? You speak about skype, is that using skype or gnome-media? When sound-recorder hangs, could you get a backtrace?
- gdb gnome-sound-recorder
(gdb) run
... get the hang
<Ctrl-C>
(gdb) thread apply all bt

Changed in gnome-media:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Jame (lliyan)
description: updated
Revision history for this message
Jame (lliyan) wrote :

Hi, Sebastien, Thank you for your consideration.
Please check the debuger:
.....
(no debugging symbols found)
(no debugging symbols found)
[New Thread -1254638672 (LWP 6981)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread -1282085968 (LWP 6988)]
[New Thread -1290478672 (LWP 6989)]
[Thread -1290478672 (LWP 6989) exited] # it hangs here

Revision history for this message
Jame (lliyan) wrote :
Download full text (5.1 KiB)

Description by jame:
# when I press once on <record> button, nothing respond.
# Countinuely, I press it for the second time. it hangs.

############# The first press on <record> button ######################

---Type <return> to continue, or q <return> to quit---return
Program received signal SIGINT, Interrupt.
[Switching to Thread -1224710464 (LWP 9179)]
0xffffe410 in __kernel_vsyscall ()
(gdb) thread apply all bt

Thread 4 (Thread -1290331216 (LWP 9206)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7452c76 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb53af309 in gst_ring_buffer_samples_done ()
   from /usr/lib/libgstaudio-0.10.so.0
#3 0xb53afe4a in gst_ring_buffer_read () from /usr/lib/libgstaudio-0.10.so.0
#4 0xb53aca04 in gst_base_audio_src_get_type ()
   from /usr/lib/libgstaudio-0.10.so.0
#5 0xb53df650 in gst_push_src_get_type () from /usr/lib/libgstbase-0.10.so.0
#6 0xb53d5055 in gst_base_src_set_format () from /usr/lib/libgstbase-0.10.so.0
#7 0xb53d5fc9 in gst_base_src_set_format () from /usr/lib/libgstbase-0.10.so.0
#8 0xb7ef4d9f in gst_task_get_type () from /usr/lib/libgstreamer-0.10.so.0
#9 0xb74b2448 in g_thread_pool_free () from /usr/lib/libglib-2.0.so.0
#10 0xb74b05a2 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#11 0xb7450341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb73e54ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread -1281938512 (LWP 9205)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb73db8c4 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb70f5836 in snd_pcm_wait_nocheck () from /usr/lib/libasound.so.2
---Type <return> to continue, or q <return> to quit---return
#3 0xb70fbc58 in snd_pcm_wait () from /usr/lib/libasound.so.2
#4 0xb70fc1ee in snd_pcm_read_areas () from /usr/lib/libasound.so.2
#5 0xb71156b4 in snd_pcm_mmap_readi () from /usr/lib/libasound.so.2
#6 0xb70f3be0 in snd_pcm_readi () from /usr/lib/libasound.so.2
#7 0xb53c2d9b in ?? () from /usr/lib/gstreamer-0.10/libgstalsa.so
#8 0x082f85d8 in ?? ()
#9 0x083d8af8 in ?? ()
#10 0x000001d6 in ?? ()
#11 0x082e2048 in ?? ()
#12 0xb3972418 in ?? ()
#13 0x00000001 in ?? ()
#14 0x00000001 in ?? ()
#15 0x082e1720 in ?? ()
#16 0x00000000 in ?? ()

Thread 2 (Thread -1254491216 (LWP 9198)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7452c76 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7ef0657 in gst_system_clock_obtain ()
   from /usr/lib/libgstreamer-0.10.so.0
#3 0xb74b05a2 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#4 0xb7450341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
---Type <return> to continue, or q <return> to quit---return
#5 0xb73e54ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1224710464 (LWP 9179)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb73db8c4 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb74977e8 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3 0xb7497cb8 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4 0xb7a37765 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#5 0x0804f62c in main ()
(gdb)

##################...

Read more...

Revision history for this message
Jame (lliyan) wrote :

Maybe it is concerned about ALSA driver.

Revision history for this message
Jame (lliyan) wrote :
Changed in gnome-media:
status: Needs Info → Unconfirmed
Jame (lliyan)
description: updated
description: updated
description: updated
Revision history for this message
Tomás Vírseda García (kaskaras) wrote :

gnome-sound-recorder crashed when I pressed the record button. The app was blocked for 30 sec more or less and after that it crashed.

System: ubuntu Edgy

Revision history for this message
Sebastien Bacher (seb128) wrote :

Tornas, are you sure that's the same bug? Jame, could you get a debug backtrace or an apport crash file?

Changed in gnome-media:
status: Unconfirmed → Needs Info
Revision history for this message
Sebastien Bacher (seb128) wrote :

No reply, bug closed. Feel free to reopen with the asked informations if you still get that problem

Changed in gnome-media:
importance: Undecided → Medium
status: Needs Info → Rejected
Revision history for this message
Ghpu (ghpu) wrote :

Same problem here ,but only when the ESD daemon is active. The problem disappears when i disactivate it in System/prefs/sound .

Revision history for this message
Josh Adams (knewter) wrote :

I have this exact same problem. Also, when I try to record, I get the following error:

Failed to construct test pipeline for 'gconfaudiosrc ! audioconvert ! audioresample ! gconfaudiosing profile=chat'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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