segmentation fault with alsasrc and spectrum specifically in Ubuntu Oneiric
victorvictor
nadaeck at hotmail.com
Sun Nov 20 04:15:33 PST 2011
Hello
I experience a new segmentation fault in my program in Ubuntu Oneiric; my
program was runing fine under Ubuntu 11.04 Natty and previous; as far as I
can see, it seems related to both the elemets 'alsasrc' and 'spectrum'
combined together (furthermore in my program, if I increase the "message"
interval time, the segmentation fault will appear later proportionally).
When I type the following gst-launch command : gst-launch alsasrc !
spectrum ! audioconvert ! fakesink , I get 2 types of messages :
1)
victor at victor-ThinkPad:~$ gst-launch alsasrc ! spectrum ! audioconvert !
fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstAudioSrcClock
Caught SIGSEGV accessing address 0x2
Spinning. Please run 'gdb gst-launch 2328' to continue debugging, Ctrl-C to
quit, or Ctrl-\ to dump core
or 2)
victor at victor-ThinkPad:~$ gst-launch alsasrc ! spectrum ! audioconvert !
fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstAudioSrcClock
Caught SIGSEGV accessing address (nil)
*** glibc detected *** /usr/bin/gst-launch-0.10: malloc(): memory corruption
(fast): 0xad701d38 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x6ebc2)[0xb7394bc2]
/lib/i386-linux-gnu/libc.so.6(+0x70cf3)[0xb7396cf3]
/lib/i386-linux-gnu/libc.so.6(__libc_malloc+0x68)[0xb7398498]
/usr/lib/i386-linux-gnu/libpulsecommon-1.0.so(pa_xmalloc+0x26)[0xb6b48266]
/usr/lib/i386-linux-gnu/libpulsecommon-1.0.so(pa_memtrap_add+0x72)[0xb6b6e462]
/usr/lib/i386-linux-gnu/libpulsecommon-1.0.so(pa_memimport_get+0x1cd)[0xb6b654ed]
/usr/lib/i386-linux-gnu/libpulsecommon-1.0.so(+0x359cf)[0xb6b719cf]
/usr/lib/i386-linux-gnu/libpulsecommon-1.0.so(+0x1fc18)[0xb6b5bc18]
/usr/lib/i386-linux-gnu/libpulse.so.0(pa_mainloop_dispatch+0x105)[0xb6bc4875]
/usr/lib/i386-linux-gnu/libpulse.so.0(pa_mainloop_iterate+0x53)[0xb6bc4d53]
/usr/lib/i386-linux-gnu/libpulse.so.0(pa_mainloop_run+0x34)[0xb6bc4e24]
/usr/lib/i386-linux-gnu/libpulse.so.0(+0x351ce)[0xb6bd61ce]
/usr/lib/i386-linux-gnu/libpulsecommon-1.0.so(+0x46216)[0xb6b82216]
/lib/i386-linux-gnu/libpthread.so.0(+0x6d31)[0xb74a8d31]
/lib/i386-linux-gnu/libc.so.6(clone+0x5e)[0xb73f80ce]
======= Memory map: ========
08048000-0804f000 r-xp 00000000 08:07 655821 /usr/bin/gst-launch-0.10
0804f000-08050000 r--p 00006000 08:07 655821 /usr/bin/gst-launch-0.10
08050000-08051000 rw-p 00007000 08:07 655821 /usr/bin/gst-launch-0.10
09423000-0967e000 rw-p 00000000 00:00 0 [heap]
a502a000-a902b000 r--s 00000000 00:12 8950
/run/shm/pulse-shm-1091294112
a902b000-a902c000 ---p 00000000 00:00 0
a902c000-a982c000 rw-p 00000000 00:00 0
abd00000-abd21000 rw-p 00000000 00:00 0
abd21000-abe00000 ---p 00000000 00:00 0
abedf000-abefb000 r-xp 00000000 08:07 1180602
/lib/i386-linux-gnu/libgcc_s.so.1
abefb000-abefc000 r--p 0001b000 08:07 1180602
/lib/i386-linux-gnu/libgcc_s.so.1
abefc000-abefd000 rw-p 0001c000 08:07 1180602
/lib/i386-linux-gnu/libgcc_s.so.1
abefd000-abefe000 ---p 00000000 00:00 0
abefe000-ac6fe000 rw-p 00000000 00:00 0
ac6fe000-ac6ff000 ---p 00000000 00:00 0
ac6ff000-aceff000 rw-p 00000000 00:00 0
aceff000-acf00000 ---p 00000000 00:00 0
acf00000-ad700000 rw-p 00000000 00:00 0
ad700000-ad721000 rw-p 00000000 00:00 0
ad721000-ad800000 ---p 00000000 00:00 0
ad82d000-ad82e000 ---p 00000000 00:00 0
ad82e000-ae02e000 rw-p 00000000 00:00 0
ae02e000-b202f000 rw-s 00000000 00:12 38127
/run/shm/pulse-shm-3318022169
b202f000-b2033000 r-xp 00000000 08:07 661613
/usr/lib/i386-linux-gnu/alsa-lib/libasound_module_ctl_pulse.so
b2033000-b2034000 r--p 00003000 08:07 661613
/usr/lib/i386-linux-gnu/alsa-lib/libasound_module_ctl_pulse.so
b2034000-b2035000 rw-p 00004000 08:07 661613
/usr/lib/i386-linux-gnu/alsa-lib/libasound_module_ctl_pulse.so
b2035000-b2036000 ---p 00000000 00:00 0
b2036000-b2836000 rw-p 00000000 00:00 0
b2836000-b6837000 rw-s 00000000 00:12 38125
/run/shm/pulse-shm-353956647
b6837000-b684a000 r-xp 00000000 08:07 1180643
/lib/i386-linux-gnu/libresolv-2.13.so
b684a000-b684b000 r--p 00012000 08:07 1180643
/lib/i386-linux-gnu/libresolv-2.13.so
b684b000-b684c000 rw-p 00013000 08:07 1180643
/lib/i386-linux-gnu/libresolv-2.13.so
b684c000-b684e000 rw-p 00000000 00:00 0
b684e000-b6854000 r-xp 00000000 08:07 660774
/usr/lib/i386-linux-gnu/libogg.so.0.7.1
b6854000-b6855000 r--p 00005000 08:07 660774
/usr/lib/i386-linux-gnu/libogg.so.0.7.1
b6855000-b6856000 rw-p 00006000 08:07 660774
/usr/lib/i386-linux-gnu/libogg.so.0.7.1
b6856000-b687f000 r-xp 00000000 08:07 660856
/usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
b687f000-b6880000 r--p 00028000 08:07 660856
/usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
b6880000-b6881000 rw-p 00029000 08:07 660856
/usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
b6881000-b69e7000 r-xp 00000000 08:07 660858
/usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
b69e7000-b69f8000 r--p 00165000 08:07 660858
/usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
b69f8000-b69f9000 rw-p 00176000 08:07 660858
/usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
b69f9000-b6a45000 r-xp 00000000 08:07 660525
/usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
b6a45000-b6a46000 r--p 0004b000 08:07 660525
/usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
b6a46000-b6a47000 rw-p 0004c000 08:07 660525
/usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
b6a47000-b6a4c000 r-xp 00000000 08:07 660582
/usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b6a4c000-b6a4d000 r--p 00004000 08:07 660582
/usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b6a4d000-b6a4e000 rw-p 00005000 08:07 660582
/usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b6a4e000-b6a50000 r-xp 00000000 08:07 660574
/usr/lib/i386-linux-gnu/libXau.so.6.0.0
b6a50000-b6a51000 r--p 00001000 08:07 660574
/usr/lib/i386-linux-gnu/libXau.so.6.0.0
b6a51000-b6a52000 rw-p 00002000 08:07 660574
/usr/lib/i386-linux-gnu/libXau.so.6.0.0
b6a52000-b6a57000 r-xp 00000000 08:07 660608
/usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
b6a57000-b6a58000 r--p 00004000 08:07 660608
/usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
b6a58000-b6a59000 rw-p 00005000 08:07 660608
/usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
b6a59000-b6ac4000 r-xp 00000000 08:07 660826
/usr/lib/i386-linux-gnu/libsndfile.so.1.0.24
b6ac4000-b6ac5000 r--p 0006b000 08:07 660826
/usr/lib/i386-linux-gnu/libsndfile.so.1.0.24
b6ac5000-b6ac6000 rw-p 0006c000 08:07 660826
/usr/lib/i386-linux-gnu/libsndfile.so.1.0.24
b6ac6000-b6aca000 rw-p 00000000 00:00 0
b6aca000-b6ad2000 r-xp 00000000 08:07 1180662
/lib/i386-linux-gnu/libwrap.so.0.7.6
b6ad2000-b6ad3000 r--p 00007000 08:07 1180662
/lib/i386-linux-gnu/libwrap.so.0.7.6
b6ad3000-b6ad4000 rw-p 00008000 08:07 1180662
/lib/i386-linux-gnu/libwrap.so.0.7.6
b6ad4000-b6af1000 r-xp 00000000 08:07 660870
/usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b6af1000-b6af2000 r--p 0001c000 08:07 660870
/usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b6af2000-b6af3000 rw-p 0001d000 08:07 660870
/usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b6af3000-b6b3a000 r-xp 00000000 08:07 1180591
/lib/i386-linux-gnu/libdbus-1.so.3.5.7
b6b3a000-b6b3b000 r--p 00046000 08:07 1180591
/lib/i386-linux-gnu/libdbus-1.so.3.5.7
b6b3b000-b6b3c000 rw-p 00047000 08:07 1180591
/lib/i386-linux-gnu/libdbus-1.so.3.5.7
b6b3c000-b6b9f000 r-xp 00000000 08:07 667655
/usr/lib/i386-linux-gnu/libpulsecommon-1.0.soAborted
This doesn't happen with the 'audiotestsrc' element.
Please could someone be of any help? Thanks in advance
Victor
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/segmentation-fault-with-alsasrc-and-spectrum-specifically-in-Ubuntu-Oneiric-tp4088503p4088503.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list